Remove configure tests for some linker -z options.
[glibc.git] / ChangeLog
blob1af65b834cabe817576e9fcfaabcf1686f17b045
1 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
3         * configure.ac (libc_cv_z_nodelete): Remove configure test.
4         (libc_cv_z_nodlopen): Likewise.
5         (libc_cv_z_initfirst): Likewise.
6         * configure: Regenerated.
8 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10         Simplify abilist format to be line-based.
11         * scripts/abilist.awk: Collect descriptors in the descs variable.
12         (emit): Write descs variable and sort it
13         externally, with sort.
14         * sysdeps/**/*.abilist: Convert to new format.
16 2015-11-06  Mark Wielaard  <mjw@redhat.com>
18         [BZ #11460]
19         * io/Makefile (routines): Add fts64.
20         (tests): Add tst-fts and tst-fts-lfs.
21         (CFLAGS-fts64.c): New.
22         * io/Versions (GLIBC_2.23): New.
23         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
24         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
25         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
27         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
28         (FTSENT64): Likewise.
29         (fts64_children): Likewise.
30         (fts64_close): Likewise.
31         (fts64_open): Likewise.
32         (fts64_read): Likewise.
33         (fts64_set): Likewise.
34         * io/fts64.c: New file.
35         * io/tst-fts.c: New test.
36         * io/tst-fts-lfs.c: Likewise.
37         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
38         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
39         fts64_set.
40         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
41         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
42         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
43         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
44         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
45         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
46         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
47         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
48         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
49         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
50         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
51         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
52         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
53         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
54         Likewise.
55         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
56         Likewise.
57         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
58         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
59         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
60         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
61         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
62         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
63         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
64         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
65         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
67         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
68         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
69         * sysdeps/wordsize-64/fts.c: New file.
70         * sysdeps/wordsize-64/fts64.c: Likewise.
71         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
72         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
73         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
74         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
76 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
78         * math/libm-test.inc (NON_FINITE): New macro.
79         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
80         * math/gen-libm-test.pl (show_exceptions): Add argument
81         $non_finite.
82         (parse_args): Update call to show_exceptions.
83         * math/test-math-finite.h: New file.
84         * math/test-math-no-finite.h: Likewise.
85         * math/test-double-finite.c: Likewise.
86         * math/test-float-finite.c: Likewise.
87         * math/test-ldouble-finite.c: Likewise.
88         * math/test-double.c: Include "test-math-no-finite.h".
89         * math/test-float.c: Include "test-math-no-finite.h".
90         * math/test-ldouble.c: Include "test-math-no-finite.h".
91         * math/test-math-inline.h (TEST_FINITE): New macro.
92         * math/test-math-vector.h (TEST_FINITE): Likewise.
93         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
94         (libm-tests): Add test-float-finite and test-double-finite.
95         ($(objpfx)test-float-finite.o): New dependency on
96         $(objpfx)libm-test.stmp.
97         ($(objpfx)test-double-finite.o): Likewise.
98         ($(objpfx)test-ldouble-finite.o): Likewise.
99         (libm-test-no-inline-cflags): New variable.
100         (libm-test-finite-cflags): Likewise.
101         (CFLAGS-test-float-finite.c): Likewise.
102         (CFLAGS-test-double-finite.c): Likewise.
103         (CFLAGS-test-ldouble-finite.c): Likewise.
104         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
105         (CFLAGS-test-double.c): Likewise.
106         (CFLAGS-test-ldouble.c): Likewise.
108 2015-11-05  Roland McGrath  <roland@hack.frob.com>
110         * io/fcntl.c (__fcntl): Add ... to prototype.
111         * misc/ioctl.c (__ioctl): Likewise.
112         * misc/syscall.c (syscall): Likewise.
114 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
116         * scripts/list-fixed-bugs.py: New file.
118         [BZ #19213]
119         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
120         returned for argument 1.
121         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
122         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
123         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
124         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
125         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
126         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
128         [BZ #19211]
129         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
130         __USE_XOPEN], not if [!__USE_ISOC99].
131         (lgammaf): Likewise.
132         (lgammal): Likewise.
133         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
134         (gammaf): Likewise.
135         (gammal): Likewise.
136         * math/test-signgam-finite-c11.c: New file.
137         * math/test-signgam-finite-c99.c: Likewise.
138         * math/test-signgam-finite.c: Likewise.
139         * math/Makefile (tests): Add test-signgam-finite,
140         test-signgam-finite-c99 and test-signgam-finite-c11.
141         (CFLAGS-test-signgam-finite.c): New variable.
142         (CFLAGS-test-signgam-finite-c99.c): Likewise.
143         (CFLAGS-test-signgam-finite-c11.c): Likewise.
145         [BZ #19212]
146         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
147         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
148         500].
149         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
150         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
151         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
152         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
153         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
154         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
155         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
156         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
157         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
158         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
160         [BZ #19209]
161         * math/bits/math-finite.h (ldexp): Remove declaration.
162         (ldexpf): Likewise.
163         (ldexpl): Likewise.
165         [BZ #19205]
166         * math/bits/math-finite.h (acosf): Condition declaration on
167         [__USE_ISOC99].
168         (acosl): Likewise.
169         (acoshf): Likewise.
170         (acoshl): Likewise.
171         (asinf): Likewise.
172         (asinl): Likewise.
173         (atan2f): Likewise.
174         (atan2l): Likewise.
175         (atanhf): Likewise.
176         (atanhl): Likewise.
177         (coshf): Likewise.
178         (coshl): Likewise.
179         (expf): Likewise.
180         (expl): Likewise.
181         (fmodf): Likewise.
182         (fmodl): Likewise.
183         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
184         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
185         (j0l): Likewise.
186         (y0f): Likewise.
187         (y0l): Likewise.
188         (j1f): Likewise.
189         (j1l): Likewise.
190         (y1f): Likewise.
191         (y1l): Likewise.
192         (jnf): Likewise.
193         (jnl): Likewise.
194         (ynf): Likewise.
195         (ynl): Likewise.
196         (lgammaf_r): Condition declaration on [__USE_ISOC99].
197         (lgammal_r): Likewise.
198         (__lgamma_r_finite): New declaration.
199         (__lgammaf_r_finite): Likewise.
200         (__lgammal_r_finite): Likewise.
201         (lgamma): Use __lgamma_r_finite.
202         (lgammaf): Condition definition on [__USE_ISOC99].  Use
203         __lgammaf_r_finite.
204         (lgammal): Condition definition on [__USE_ISOC99].  Use
205         __lgammal_r_finite.
206         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
207         __lgamma_r_finite.
208         (gammaf): Condition definition on [__USE_ISOC99].  Use
209         __lgammaf_r_finite.
210         (gammal): Condition definition on [__USE_ISOC99].  Use
211         __lgammal_r_finite.
212         (logf): Condition declaration on [__USE_ISOC99].
213         (logl): Likewise.
214         (log10f): Likewise.
215         (log10l): Likewise.
216         (ldexpf): Likewise.
217         (ldexpl): Likewise.
218         (powf): Likewise.
219         (powl): Likewise.
220         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
221         __USE_ISOC99].
222         (remainderf): Condition declaration on [__USE_ISOC99].
223         (remainderl): Likewise.
224         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
225         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
226         (scalbl): Likewise.
227         (sinhf): Condition declaration on [__USE_ISOC99].
228         (sinhl): Likewise.
229         (sqrtf): Likewise.
230         (sqrtl): Likewise.
232 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
234         * sysdeps/arm/atomic-machine.h
235         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
236         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
237         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
238         Remove conditional code.
239         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
240         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
241         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
242         Change conditional to [__ASSEMBLER__].
243         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
244         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
245         [!__ASSEMBLER__].
246         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
247         code.
248         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
249         conditional macro definitions.
250         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
251         (__arch_compare_and_exchange_val_16_acq): Likewise.
252         (__arch_compare_and_exchange_val_32_acq): Likewise.
253         (atomic_exchange_and_add): Likewise.
254         (atomic_add): Likewise.
255         (atomic_add_negative): Likewise.
256         (atomic_add_zero): Likewise.
257         (atomic_bit_set): Likewise.
258         (atomic_bit_test_set): Likewise.
259         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
260         code unconditional.
261         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
263         * math/test-math-errno.h: New file.
264         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
265         empty.
266         (TEST_ERRNO): New macro.
267         (TEST_EXCEPTIONS): Likewise.
268         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
269         (TEST_EXCEPTIONS): Likewise.
270         * math/test-math-vector.h (TEST_ERRNO): Likewise.
271         * math/test-double.c: Include "test-math-errno.h".
272         * math/test-float.c: Likewise.
273         * math/test-ldouble.c: Likewise.
274         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
275         code unconditional.
276         (test_exceptions): Only run code if TEST_EXCEPTIONS.
277         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
278         unconditional.
279         (test_errno): Only run code if TEST_ERRNO.
280         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
282 2015-11-04  Florian Weimer  <fweimer@redhat.com>
284         * nptl/tst-once5.cc: Remove attribution.
286 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
288         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
289         sqrt, tan, tanh, y0, y1 and yn.
290         * math/auto-libm-test-out: Regenerated.
291         * math/libm-test.inc (scalb_test_data): Add more tests.
292         (scalbn_test_data): Likewise.
293         (scalbln_test_data): Likewise.
294         (signbit_test_data): Likewise.
295         (sin_test_data): Likewise.
296         (sincos_test_data): Likewise.
297         (sinh_test_data): Likewise.
298         (sqrt_test_data): Likewise.
299         (tan_test_data): Likewise.
300         (tanh_test_data): Likewise.
301         (tgamma_test_data): Likewise.
302         (y0_test_data): Likewise.
303         (y1_test_data): Likewise.
304         (yn_test_data): Likewise.
305         (significand_test_data): Likewise.
306         * sysdeps/i386/fpu/libm-test-ulps: Update.
308 2015-11-03  David Kastrup  <dak@gnu.org>
310         [BZ #18604]
311         * assert/assert.h (assert): Don't macro-expand failed assertion
312         expression in error message.
313         * malloc/malloc.c (assert): Likewise.
315 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
317         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
318         test.
319         * configure: Regenerated.
321 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
323         * math/libm-test.inc (modf_test_data): Add more tests.
324         (nearbyint_test_data): Likewise.
325         (nextafter_test_data): Likewise.
326         (nexttoward_test_data): Likewise.
327         (pow_test_data): Likewise.
328         (remainder_test_data): Likewise.
329         (remquo_test_data): Likewise.
330         (rint_test_data): Likewise.
332         [BZ #19201]
333         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
334         Check for zero remainder in case of large exponents and ensure
335         correct sign of result in that case.
336         * math/libm-test.inc (remainder_test_data): Add more tests.
338         [BZ #6799]
339         * math/s_nextafter.c: Include <errno.h>.
340         (__nextafter): Set errno on overflow and underflow.
341         * math/s_nexttowardf.c: Include <errno.h>.
342         (__nexttowardf): Set errno on overflow and underflow.
343         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
344         (__nextafterl): Set errno on overflow and underflow.
345         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
346         (__nexttoward): Set errno on overflow and underflow.
347         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
348         (__nexttowardf): Set errno on overflow and underflow.
349         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
350         (__nextafterf): Set errno on overflow and underflow.
351         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
352         (__nextafterl): Set errno on overflow and underflow.
353         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
354         (__nexttoward): Set errno on overflow and underflow.
355         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
356         (__nexttowardf): Set errno on overflow and underflow.
357         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
358         (__nextafterl): Set errno on overflow and underflow.
359         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
360         (__nexttoward): Set errno on overflow and underflow.
361         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
362         (__nexttowardf): Set errno on overflow and underflow.
363         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
364         (__nexttoward): Set errno on overflow and underflow.
365         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
366         (__nexttowardf): Set errno on overflow and underflow.
367         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
368         (__nldbl_nexttowardf): Set errno on overflow and underflow.
369         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
370         (__nextafterl): Set errno on overflow and underflow.
371         * math/libm-test.inc (nextafter_test_data): Do not allow errno
372         setting to be missing on overflow.  Add more tests.
373         (nexttoward_test_data): Likewise.
375         * configure.ac (libc_cv_initfini_array): Remove configure test.
376         * configure: Regenerated.
378 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
380         [BZ #19189]
381         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
382         non-finite argument handle arguments with negative sign.
384         * math/libm-test.inc (j0_test_data): Do not test sign of zero
385         result from infinite argument.
386         (j1_test_data): Likewise.
387         (jn_test_data): Likewise.
388         (y0_test_data): Likewise.
389         (y1_test_data): Likewise.
390         (yn_test_data): Likewise.
392         [BZ #16171]
393         * math/w_remainder.c (drem): Define as weak alias of __remainder.
394         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
395         * math/w_remainderf.c (dremf): Define as weak alias of
396         __remainderf.
397         * math/w_remainderl.c (dreml): Define as weak alias of
398         __remainderl.
399         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
400         __remainder.
401         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
402         __remainderf.
403         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
404         __remainderl.
405         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
406         weak alias of remainderl.
407         * sysdeps/ieee754/ldbl-opt/w_remainder.c
408         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
409         alias of __remainder.
410         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
411         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
412         strong alias of __remainderl.
413         (dreml): Use long_double_symbol.
414         * math/Makefile (libm-calls): Remove w_drem.
415         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
416         (CFLAGS-nldbl-drem.c): Remove variable.
417         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
418         * math/w_drem.c: Remove file.
419         * math/w_dremf.c: Likewise.
420         * math/w_dreml.c: Likewise.
421         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
422         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
423         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
425         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
426         * sysdeps/i386/configure: Regenerated.
427         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
428         * sysdeps/x86_64/configure: Regenerated.
430         * configure.ac (libc_cv_asm_protected_directive): Remove configure
431         test.
432         (libc_cv_visibility_attribute): Likewise.
433         (libc_cv_protected_data): Test unconditionally.
434         (libc_cv_broken_visibility_attribute): Remove configure test.
435         (libc_cv_have_sdata_section): Test unconditionally.
436         * configure: Regenerated.
438         * include/libc-internal.h (libc_max_align_t): Remove typedef.
439         * include/scratch_buffer.h: Include <stddef.h> instead of
440         <libc-internal.h>.
441         (struct scratch_buffer): Use max_align_t instead of
442         libc_max_align_t.
444 2015-10-29  Florian Weimer  <fweimer@redhat.com>
446         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
447         instead of extend_alloca.  Change control flow to avoid a goto.
448         Remove assert which is trivially always true.
450 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
452         [BZ #16068]
453         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
454         (FE_ALL_EXCEPT_X86): New macro.
455         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
456         FE_ALL_EXCEPT.  Ensure precision control is included in
457         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
458         handle "denormal operand exception" and clear FZ and DAZ bits.
459         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
460         (FE_ALL_EXCEPT_X86): New macro.
461         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
462         FE_ALL_EXCEPT.  Ensure precision control is included in
463         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
464         handle "denormal operand exception" and clear FZ and DAZ bits.
465         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
466         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
467         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
468         test-fenv-x87 and test-fenv-sse-2.
469         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
471         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
472         * math/test-double.h (BUILD_COMPLEX): New macro.
473         * math/test-float.h (BUILD_COMPLEX): Likewise.
474         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
476         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
477         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
478         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
480         instead of DBL_DENORM_MIN in comment.
481         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
482         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
483         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
484         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
486         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
488 2015-10-28  Florian Weimer  <fweimer@redhat.com>
490         [BZ# 19048]
491         * malloc/malloc.c (struct malloc_state): Update comment.  Add
492         attached_threads member.
493         (main_arena): Initialize attached_threads.
494         * malloc/arena.c (list_lock): Update comment.
495         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
496         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
497         (deattach_arena): New function.
498         (_int_new_arena): Initialize arena reference count and deattach
499         replaced arena.
500         (get_free_list, reused_arena): Update reference count and deattach
501         replaced arena.
502         (arena_thread_freeres): Update arena reference count and only put
503         unreferenced arenas on the free list.
505 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
507         [BZ #19181]
508         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
509         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
510         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
511         * math/test-fenv-clear-main.c: New file.
512         * math/test-fenv-clear.c: Likewise.
513         * math/Makefile (tests): Add test-fenv-clear.
514         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
515         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
516         test-fenv-clear-sse.
517         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
519         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
520         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
521         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
523 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
525         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
526         static libc.
528 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
530         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
531         test.
532         * sysdeps/i386/configure: Regenerated.
533         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
534         test.
535         * sysdeps/x86_64/configure: Regenerated.
536         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
538         memset-avx2 unconditionally instead of conditionally on
539         [$(config-cflags-avx2) = yes].
540         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
541         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
542         unconditional.
543         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
544         * sysdeps/x86_64/multiarch/memset_chk.S
545         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
546         to [IS_IN (libc) && SHARED].
548 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
550         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
551         configure test.
552         * sysdeps/arm/configure: Regenerated.
553         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
554         Define variable if not already defined.
556         [BZ #17404]
557         * sysdeps/mips/atomic-machine.h
558         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
559         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
560         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
562         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
563         unconditional.
564         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
565         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
566         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
567         unconditional.
568         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
569         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
570         unconditional.
571         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
572         * stdlib/setenv.c
573         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
574         code unconditional.
575         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
576         Remove conditional code.
577         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
578         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
579         unconditional.
580         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
581         code.
582         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
583         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
584         unconditional.
585         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
586         code.
587         * sysdeps/ieee754/ldbl-128/k_tanl.c
588         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
589         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
590         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
591         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
592         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
593         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
594         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
595         unconditional.
596         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
597         code.
598         * sysdeps/ieee754/ldbl-96/k_tanl.c
599         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
600         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
602         * nptl/tst-initializers1-c11.c: New file.
603         * nptl/tst-initializers1-gnu11.c: Likewise.
604         * nptl/Makefile (tests): Add these new tests.
605         (CFLAGS-tst-initializers1-c11.c): New variable.
606         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
608         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
609         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
610         instead of -std=gnu99.
611         * configure.ac (systemtap): Test with -std=gnu11 instead of
612         -std=gnu99.
613         * configure: Regenerated.
614         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
615         in compilation command in comment.
617         * sysdeps/nptl/configure.ac: Remove file.
618         * sysdeps/nptl/configure: Remove generated file.
619         * configure.ac (libc_cv_forced_unwind): Do not substitute.
620         * configure: Regenerated.
621         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
622         * config.make.in (have-forced-unwind): Remove variable.
623         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
624         unconditional.
625         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
626         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
627         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
628         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
629         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
630         unconditional.
632 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
634         [BZ #19174]
635         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
636         .skip_lock_out_of_tbegin_retries.
637         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
638         (__lll_lock_elision): Likewise, and respect a value of
639         try_tbegin <= 0.
641 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
643         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
644         statement.
646 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
648         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
649         variable.
650         (test-xfail-ISO11/stdalign.h/conform): Likewise.
651         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
653         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
654         of -std=c1x -D_ISOC11_SOURCE.
656         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
657         * configure: Regenerated.
658         * manual/install.texi (Tools for Compilation): Document
659         requirement for GCC 4.7 or later.
660         * INSTALL: Regenerated.
662 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
664         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
665         on CNT to a conditional jump to 'puntdata'.
667 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
669         * configure.ac (libc_cv_gcc___thread): Remove configure test.
670         (libc_cv_gcc_tls_model_attr): Likewise.
671         * configure: Regenerated.
673         * configure.ac (libc_cv_need_minus_P): Remove configure test.
674         * configure: Regenerated.
675         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
677 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
679         * configure.ac (old_glibc_headers): Remove configure test.
680         * configure: Regenerated.
681         * config.make.in (old-glibc-headers): Remove variable.
682         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
683         (install): Remove dependency on remove-old-headers.
684         (headers2_0): Remove variable.
685         (remove-old-headers): Remove rule.
687         * configure.ac (libc_cv_dot_text): Remove configure test.
688         (libc_cv_asm_set_directive): Use .text instead of
689         ${libc_cv_dot_text} in configure test.
690         * configure: Regenerated.
692 2015-10-26  Florian Weimer  <fweimer@redhat.com>
694         [BZ #19168]
695         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
697 2015-10-26  Florian Weimer  <fweimer@redhat.com>
699         * configure.ac (CXX): Clear the variable if the C++ toolchain does
700         not support static linking.
701         * configure: Regenerate.
703 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
705         * math/libm-test.inc (check_float_internal): Do not special-case
706         errors up to 0.5 ulp.
708         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
709         log2.
710         * math/auto-libm-test-out: Regenerated.
711         * math/libm-test.inc (MAX_EXP): New macro.
712         (ilogb_test_data): Add more tests.
713         (isfinite_test_data): Likewise.
714         (isgreater_test_data): Likewise.
715         (isgreaterequal_test_data): Likewise.
716         (isinf_test_data): Likewise.
717         (isless_test_data): Likewise.
718         (islessequal_test_data): Likewise.
719         (islessgreater_test_data): Likewise.
720         (isnan_test_data): Likewise.
721         (isnormal_test_data): Likewise.
722         (issignaling_test_data): Likewise.
723         (isunordered_test_data): Likewise.
724         (j0_test_data): Likewise.
725         (j1_test_data): Likewise.
726         (jn_test_data): Likewise.
727         (lgamma_test_data): Likewise.
728         (log_test_data): Likewise.
729         (log10_test_data): Likewise.
730         (log1p_test_data): Likewise.
731         (log2_test_data): Likewise.
732         (logb_test_data): Likewise.
733         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
735         [BZ #18611]
736         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
737         avoid excess range and precision on underflow.
738         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
739         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
740         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
741         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
742         underflow.
743         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
744         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
745         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
746         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
747         * math/auto-libm-test-in: Do not allow missing errno setting for
748         tests of j1 and jn.
749         * math/auto-libm-test-out: Regenerated.
751 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
753         [BZ #15491]
754         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
755         floating-point environment instead of clearing all exceptions.
756         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
757         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
758         merging in "invalid" exceptions from frndint.
759         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
760         * math/test-nearbyint-except.c: New file.
761         * math/Makefile (tests): Add test-nearbyint-except.
763 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
765         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
767         * sysdeps/tile/libm-test-ulps: Regenerated.
769 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
772         (__NR_sync_file_range2): Assume it is always defined.
773         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
774         (__NR_sync_file_range): Assume it is always defined.
776 2015-10-22  Andreas Schwab  <schwab@suse.de>
778         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
779         INTERNAL_SYSCALL_ERRNO.
780         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
781         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
782         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
783         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
784         Likewise.
785         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
787 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
789         * io/tst-fcntl.c (fd): New static variable.
790         (do_prepare): Open temporary file here....
791         (do_test): ...not here.
793         * io/ftwtest-sh: Also trap on exit to remove temporary files.
795 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
797         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
798         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
799         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
800         Moved before "#ifdef __ASSEMBLER__".
802 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
804         [BZ #19156]
805         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
806         arguments very close to 0.
808 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
810         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
811         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
813 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
815         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
816         New.  Defined for GCC 5 and above when not compiling for
817         profiling.
818         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
820         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
821         Renamed to ...
822         (CFLAGS-epoll_pwait.o): This.
823         (CFLAGS-mmap.c): Renamed to ...
824         (CFLAGS-mmap.o): This.
825         (CFLAGS-mmap64.c): Renamed to ...
826         (CFLAGS-mmap64.o): This.
827         (CFLAGS-epoll_pwait.os): New.
828         (CFLAGS-mmap.os): Likewise.
829         (CFLAGS-mmap64.os): Likewise.
830         (CFLAGS-semtimedop.os): Likewise.
831         (CFLAGS-semtimedop.c): Renamed to ...
832         (CFLAGS-semtimedop.o): This.
834 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
836         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
837         warning message.
839 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
841         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
842         * Makefile ($(objpfx)c++-types-check.out): Filter out
843         $(+gccwarn-c) instead of -Wstrict-prototypes.
845         * io/fts.c (fts_open): Convert to prototype-style function
846         definition.
847         * malloc/mcheck.c (mcheck): Likewise.
848         (mcheck_pedantic): Likewise.
849         * posix/regexec.c (re_search_2_stub): Likewise.  Use
850         internal_function.
851         (re_search_internal): Likewise.
852         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
853         prototype-style function definition.
854         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
855         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
856         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
857         (xdr_utmpptr): Likewise.
858         (xdr_utmparr): Likewise.
859         (xdr_utmpidle): Likewise.
860         (xdr_utmpidleptr): Likewise.
861         (xdr_utmpidlearr): Likewise.
863         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
864         log, log10 and log2.
865         * math/auto-libm-test-out: Regenerated.
866         * math/libm-test.inc (fmod_test_data): Add more tests.
867         (fpclassify_test_data): Likewise.
868         (frexp_test_data): Likewise.
869         (hypot_test_data): Likewise.
870         (ilogb_test_data): Likewise.
872 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
874         * debug/fortify_fail.c (__fortify_fail): Convert to
875         prototype-style function definition.  Use internal_function.
876         * libio/genops.c (save_for_backup): Convert to prototype-style
877         function definition.
878         * libio/wgenops.c (save_for_wbackup): Likewise.
879         * login/grantpt.c (grantpt): Likewise.
880         * login/ptsname.c (ptsname): Likewise.
881         (__ptsname_r): Likewise.
882         * login/unlockpt.c (unlockpt): Likewise.
883         * mach/msgserver.c (__mach_msg_server): Likewise.
884         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
885         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
886         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
887         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
888         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
889         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
890         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
891         Likewise.
892         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
893         internal_function.
894         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
895         prototype-style function definition.
896         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
897         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
898         (__pthread_create_2_0): Likewise.
899         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
900         * nptl/register-atfork.c (__register_atfork): Likewise.
901         * posix/glob.c (glob): Likewise.
902         * posix/regcomp.c (re_comp): Likewise.
903         * posix/regexec.c (re_exec): Likewise.
904         * stdlib/add_n.c [__STDC__]: Make code unconditional.
905         [!__STDC__]: Remove conditional code.
906         * stdlib/cmp.c [__STDC__]: Make code unconditional.
907         [!__STDC__]: Remove conditional code.
908         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
909         [!__STDC__]: Remove conditional code.
910         * stdlib/divrem.c [__STDC__]: Make code unconditional.
911         [!__STDC__]: Remove conditional code.
912         * stdlib/lshift.c [__STDC__]: Make code unconditional.
913         [!__STDC__]: Remove conditional code.
914         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
915         [!__STDC__]: Remove conditional code.
916         * stdlib/mul.c [__STDC__]: Make code unconditional.
917         [!__STDC__]: Remove conditional code.
918         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
919         [!__STDC__]: Remove conditional code.
920         * stdlib/rshift.c [__STDC__]: Make code unconditional.
921         [!__STDC__]: Remove conditional code.
922         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
923         function definition.
924         (STRTOF): Likewise.
925         * stdlib/strtod_l.c (__STRTOF): Likewise.
926         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
927         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
928         (__strtol_l): Likewise.
929         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
930         [!__STDC__]: Remove conditional code.
931         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
932         definition.
933         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
934         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
935         type.
936         (__strcasecmp): Convert to prototype-style function definition.
937         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
938         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
939         type.
940         (__strncasecmp): Convert to prototype-style function definition.
941         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
942         * sunrpc/xdr.c (xdr_union): Likewise.
943         * sunrpc/xdr_array.c (xdr_array): Likewise.
944         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
945         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
946         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
947         Likewise.
948         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
949         Likewise.
950         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
951         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
952         Likewise.
953         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
954         (LOCALE_PARAM_PROTO): Likewise.
955         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
956         argument type.
957         (ut_argument_spec): Remove macro.
958         (ut_argument_spec_iso): Rename to ut_argument_spec.
959         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
960         prototype-style function definition.
961         (memcpy_uppcase): Likewise.
962         (__strftime_internal): Likewise.
963         (my_strftime): Likewise.
964         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
965         (LOCALE_PARAM_DECL): Likewise.
966         [_LIBC] (LOCALE_PARAM): Include argument type.
967         (__strptime_internal): Convert to prototype-style function
968         definition.
969         (strptime): Likewise.
970         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
971         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
972         type.
973         (__wcscasecmp): Convert to prototype-style function definition.
974         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
975         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
976         type.
977         (__wcsncasecmp): Convert to prototype-style function definition.
979         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
980         function definition.
981         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
982         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
983         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
984         * elf/dl-minimal.c (_itoa): Likewise.
985         * hurd/hurdmalloc.c (malloc): Likewise.
986         (free): Likewise.
987         (realloc): Likewise.
988         * inet/inet6_option.c (inet6_option_space): Likewise.
989         (inet6_option_init): Likewise.
990         (inet6_option_append): Likewise.
991         (inet6_option_alloc): Likewise.
992         (inet6_option_next): Likewise.
993         (inet6_option_find): Likewise.
994         * io/ftw.c (FTW_NAME): Likewise.
995         (NFTW_NAME): Likewise.
996         (NFTW_NEW_NAME): Likewise.
997         (NFTW_OLD_NAME): Likewise.
998         * libio/iofwide.c (_IO_fwide): Likewise.
999         * libio/strops.c (_IO_str_init_static_internal): Likewise.
1000         (_IO_str_init_static): Likewise.
1001         (_IO_str_init_readonly): Likewise.
1002         (_IO_str_overflow): Likewise.
1003         (_IO_str_underflow): Likewise.
1004         (_IO_str_count): Likewise.
1005         (_IO_str_seekoff): Likewise.
1006         (_IO_str_pbackfail): Likewise.
1007         (_IO_str_finish): Likewise.
1008         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
1009         (_IO_wstr_overflow): Likewise.
1010         (_IO_wstr_underflow): Likewise.
1011         (_IO_wstr_count): Likewise.
1012         (_IO_wstr_seekoff): Likewise.
1013         (_IO_wstr_pbackfail): Likewise.
1014         (_IO_wstr_finish): Likewise.
1015         * locale/programs/localedef.c (normalize_codeset): Likewise.
1016         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1017         (add_locales_to_archive): Likewise.
1018         (delete_locales_from_archive): Likewise.
1019         * malloc/malloc.c (__libc_mallinfo): Likewise.
1020         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
1021         * misc/tsearch.c (__tfind): Likewise.
1022         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
1023         * nptl/pthread_attr_getdetachstate.c
1024         (__pthread_attr_getdetachstate): Likewise.
1025         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1026         Likewise.
1027         * nptl/pthread_attr_getinheritsched.c
1028         (__pthread_attr_getinheritsched): Likewise.
1029         * nptl/pthread_attr_getschedparam.c
1030         (__pthread_attr_getschedparam): Likewise.
1031         * nptl/pthread_attr_getschedpolicy.c
1032         (__pthread_attr_getschedpolicy): Likewise.
1033         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
1034         Likewise.
1035         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
1036         Likewise.
1037         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1038         Likewise.
1039         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1040         Likewise.
1041         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
1042         (__pthread_attr_init_2_0): Likewise.
1043         * nptl/pthread_attr_setdetachstate.c
1044         (__pthread_attr_setdetachstate): Likewise.
1045         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1046         Likewise.
1047         * nptl/pthread_attr_setinheritsched.c
1048         (__pthread_attr_setinheritsched): Likewise.
1049         * nptl/pthread_attr_setschedparam.c
1050         (__pthread_attr_setschedparam): Likewise.
1051         * nptl/pthread_attr_setschedpolicy.c
1052         (__pthread_attr_setschedpolicy): Likewise.
1053         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
1054         Likewise.
1055         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
1056         Likewise.
1057         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1058         Likewise.
1059         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1060         Likewise.
1061         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
1062         Likewise.
1063         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
1064         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1065         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
1066         use internal_function.
1067         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
1068         prototype-style function definition.
1069         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1070         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
1071         internal_function.
1072         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
1073         Convert to prototype-style function definition.
1074         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1075         Likewise.
1076         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1077         Likewise.
1078         (__pthread_mutex_unlock): Likewise.
1079         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
1080         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
1081         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
1082         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
1083         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
1084         * nss/makedb.c (process_input): Likewise.
1085         * posix/fnmatch.c (__strchrnul): Likewise.
1086         (__wcschrnul): Likewise.
1087         (fnmatch): Likewise.
1088         * posix/fnmatch_loop.c (FCT): Likewise.
1089         * posix/glob.c (globfree): Likewise.
1090         (__glob_pattern_type): Likewise.
1091         (__glob_pattern_p): Likewise.
1092         * posix/regcomp.c (re_compile_pattern): Likewise.
1093         (re_set_syntax): Likewise.
1094         (re_compile_fastmap): Likewise.
1095         (regcomp): Likewise.
1096         (regerror): Likewise.
1097         (regfree): Likewise.
1098         * posix/regexec.c (regexec): Likewise.
1099         (re_match): Likewise.
1100         (re_search): Likewise.
1101         (re_match_2): Likewise.
1102         (re_search_2): Likewise.
1103         (re_search_stub): Likewise.  Use internal_function
1104         (re_copy_regs): Likewise.
1105         (re_set_registers): Convert to prototype-style function
1106         definition.
1107         (prune_impossible_nodes): Likewise.  Use internal_function.
1108         * resolv/inet_net_pton.c (inet_net_pton): Convert to
1109         prototype-style function definition.
1110         (inet_net_pton_ipv4): Likewise.
1111         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1112         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
1113         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1114         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
1115         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1116         Make variadic.
1117         * time/strptime_l.c (localtime_r): Convert to prototype-style
1118         function definition.
1119         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1120         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1121         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1122         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1124         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
1125         definition.
1126         (_ufc_doit_r): Likewise.
1127         * crypt/crypt_util.c (_ufc_copymem): Likewise.
1128         (_ufc_output_conversion_r): Likewise.
1129         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
1130         * inet/rcmd.c (rcmd_af): Likewise.
1131         (rcmd): Likewise.
1132         (ruserok_af): Likewise.
1133         (ruserok): Likewise.
1134         (ruserok2_sa): Likewise.
1135         (ruserok_sa): Likewise.
1136         (iruserok_af): Likewise.
1137         (iruserok): Likewise.
1138         (__ivaliduser): Likewise.
1139         (__validuser2_sa): Likewise.
1140         * inet/rexec.c (rexec_af): Likewise.
1141         (rexec): Likewise.
1142         * inet/ruserpass.c (ruserpass): Likewise.
1143         * locale/programs/xmalloc.c (xcalloc): Likewise.
1144         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
1145         * math/w_drem.c (__drem): Likewise.
1146         * math/w_dremf.c (__dremf): Likewise.
1147         * math/w_dreml.c (__dreml): Likewise.
1148         * misc/daemon.c (daemon): Likewise.
1149         * resolv/res_debug.c (p_fqnname): Likewise.
1150         * stdlib/div.c (div): Likewise.
1151         * string/memcmp.c (memcmp_bytes): Likewise.
1152         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1153         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1155         * crypt/cert.c (main): Convert to prototype-style function
1156         definition.
1157         * io/pipe.c (__pipe): Likewise.
1158         * io/pipe2.c (__pipe2): Likewise.
1159         * misc/futimesat.c (futimesat): Likewise.
1160         * misc/utimes.c (__utimes): Likewise.
1161         * posix/execve.c (__execve): Likewise.
1162         * posix/execvp.c (execvp): Likewise.
1163         * posix/execvpe.c (__execvpe): Likewise.
1164         * posix/fexecve.c (fexecve): Likewise.
1165         * socket/socketpair.c (socketpair): Likewise.
1166         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1167         * stdlib/erand48.c (erand48): Likewise.
1168         * stdlib/erand48_r.c (__erand48_r): Likewise.
1169         * stdlib/jrand48.c (jrand48): Likewise.
1170         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
1171         * stdlib/lcong48.c (lcong48): Likewise.
1172         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
1173         * stdlib/nrand48.c (nrand48): Likewise.
1174         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
1175         * stdlib/seed48.c (seed48): Likewise.
1176         * stdlib/seed48_r.c (__seed48_r): Likewise.
1177         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
1178         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
1179         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
1181 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1183         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
1184         * configure: Regenerated.
1185         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
1186         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
1187         unconditional.
1188         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1189         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1190         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1191         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
1192         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
1193         unconditional.
1194         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1196         * posix/Makefile (CFLAGS-regex.c): Remove variable.
1197         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
1199         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
1200         function definition.
1201         * crypt/crypt_util.c (__encrypt_r): Likewise.
1202         * libio/genops.c (_IO_no_init): Likewise.
1203         * libio/iofopncook.c (_IO_fopencookie): Likewise.
1204         (_IO_old_fopencookie): Likewise.
1205         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1206         * libio/iogetline.c (_IO_getline): Likewise.
1207         (_IO_getline_info): Likewise.
1208         * libio/iogetwline.c (_IO_getwline): Likewise.
1209         (_IO_getwline_info): Likewise.
1210         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1211         * libio/vswprintf.c (_IO_vswprintf): Likewise.
1212         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
1213         (find_entry): Likewise.
1214         (iterate_table): Likewise.
1215         (lookup): Likewise.
1216         * login/forkpty.c (forkpty): Likewise.
1217         * misc/hsearch_r.c (__hsearch_r): Likewise.
1218         * misc/select.c (__select): Likewise.
1219         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
1220         Likewise.
1221         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
1222         Likewise.
1223         * nptl/old_pthread_cond_timedwait.c
1224         (__pthread_cond_timedwait_2_0): Likewise.
1225         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1226         * nptl/pthread_barrierattr_getpshared.c
1227         (pthread_barrierattr_getpshared): Likewise.
1228         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1229         Likewise.
1230         * nptl/pthread_mutex_setprioceiling.c
1231         (pthread_mutex_setprioceiling): Likewise.
1232         * nptl/pthread_mutexattr_getprioceiling.c
1233         (pthread_mutexattr_getprioceiling): Likewise.
1234         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1235         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1236         Likewise.
1237         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1238         Likewise.
1239         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
1240         Likewise.
1241         * socket/recvfrom.c (__recvfrom): Likewise.
1242         * socket/sendto.c (__sendto): Likewise.
1243         * socket/setsockopt.c (__setsockopt): Likewise.
1244         * stdio-common/_itoa.c (_itoa): Likewise.
1245         * stdio-common/_itowa.c (_itowa): Likewise.
1246         * stdio-common/reg-printf.c (__register_printf_specifier):
1247         Likewise.
1248         (__register_printf_function): Likewise.
1249         * stdio-common/tempname.c (__path_search): Likewise.
1250         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
1251         * stdlib/mul_1.c (mpn_mul_1): Likewise.
1252         * stdlib/random_r.c (__initstate_r): Likewise.
1253         * stdlib/setenv.c (__add_to_environ): Likewise.
1254         * stdlib/submul_1.c (mpn_submul_1): Likewise.
1255         * streams/getpmsg.c (getpmsg): Likewise.
1256         * streams/putmsg.c (putmsg): Likewise.
1257         * streams/putpmsg.c (putpmsg): Likewise.
1258         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
1259         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1260         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
1261         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1262         * sunrpc/pm_getport.c (pmap_getport): Likewise.
1263         * sunrpc/svc_udp.c (cache_get): Likewise.
1264         * sunrpc/xdr_array.c (xdr_vector): Likewise.
1265         * sysdeps/mach/hurd/getcwd.c
1266         (__canonicalize_directory_name_internal): Likewise.
1267         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
1268         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
1269         * sysdeps/mach/hurd/select.c (__select): Likewise.
1270         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1271         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
1272         * sysdeps/sparc/nptl/pthread_barrier_init.c
1273         (__pthread_barrier_init): Likewise.
1274         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
1275         (__pthread_cond_timedwait): Likewise.
1276         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
1277         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
1278         Likewise.
1279         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
1280         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
1281         Likewise.
1282         * sysvipc/semtimedop.c (semtimedop): Likewise.
1283         * time/setitimer.c (__setitimer): Likewise.
1284         * time/strftime_l.c (emacs_strftime): Likewise.
1286 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1288         * config.make.in (have-ssp): Delete.
1289         (stack-protector): New variable.
1290         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
1291         cache test for -fstack-protector-strong.  Export stack_protector to
1292         the best ssp flag.
1293         * configure: Regenerated.
1294         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
1295         * nscd/Makefile (CFLAGS-nscd): Likewise.
1296         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1298 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
1300         [BZ #19122]
1301         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
1302         attribute_hidden.
1304 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1306         [BZ #18743]
1307         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
1308         code to...
1309         (ELIDE_LOCK): ...here.
1310         (__get_new_count): New function with part of the code from
1311         __elide_lock that updates the value of adapt_count after a
1312         transaction abort.
1313         (__elided_trylock): Moved this code to...
1314         (ELIDE_TRYLOCK): ...here.
1316 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1318         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
1319         * configure: Regenerate.
1320         * INSTALL: Regenerate.
1321         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
1322         and tweak grammar.
1324 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
1326         * login/programs/pt_chown.c: Include signal.h
1327         (main): Clear any signal mask from the parent process.
1329 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1331         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
1332         * configure: Regenerated.
1333         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
1334         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
1335         $(gnu89-inline-CFLAGS).
1337         * configure.ac (libc_cv_asm_weak_directive): Remove configure
1338         test.
1339         (libc_cv_asm_weakext_directive): Likewise.
1340         * configure: Regenerated.
1341         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
1342         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
1343         * include/libc-symbols.h
1344         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
1345         #error.
1346         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
1347         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
1349         * sysdeps/arm/backtrace.c (__backtrace): Convert to
1350         prototype-style function definition.
1351         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1352         * sysdeps/i386/ffs.c (__ffs): Likewise.
1353         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1354         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
1355         Likewise.
1356         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1357         Likewise.
1358         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1359         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1360         Likewise.
1361         * sysdeps/m68k/ffs.c (__ffs): Likewise.
1362         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
1363         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
1364         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
1365         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
1366         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
1367         * sysdeps/mach/hurd/access.c (__access): Likewise.
1368         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1369         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
1370         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
1371         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
1372         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
1373         (cthread_getspecific): Likewise.
1374         (cthread_setspecific): Likewise.
1375         (__libc_getspecific): Likewise.
1376         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
1377         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
1378         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
1379         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
1380         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
1381         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
1382         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
1383         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
1384         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
1385         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
1386         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
1387         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
1388         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
1389         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
1390         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
1391         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
1392         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
1393         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
1394         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
1395         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
1396         * sysdeps/mach/hurd/link.c (__link): Likewise.
1397         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
1398         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
1399         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
1400         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
1401         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1402         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
1403         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
1404         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
1405         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1406         * sysdeps/mach/hurd/rename.c (rename): Likewise.
1407         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
1408         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
1409         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
1410         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
1411         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
1412         * sysdeps/mach/hurd/send.c (__send): Likewise.
1413         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
1414         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
1415         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
1416         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
1417         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
1418         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
1419         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
1420         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
1421         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
1422         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
1423         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
1424         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1425         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
1426         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
1427         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1428         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1429         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
1430         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1431         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
1432         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1433         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
1434         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
1435         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
1436         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
1437         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
1438         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
1439         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
1440         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1441         * sysdeps/posix/alarm.c (alarm): Likewise.
1442         * sysdeps/posix/cuserid.c (cuserid): Likewise.
1443         * sysdeps/posix/dirfd.c (dirfd): Likewise.
1444         * sysdeps/posix/dup.c (__dup): Likewise.
1445         * sysdeps/posix/dup2.c (__dup2): Likewise.
1446         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
1447         (main): Likewise.
1448         * sysdeps/posix/flock.c (__flock): Likewise.
1449         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1450         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1451         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
1452         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
1453         * sysdeps/posix/isatty.c (__isatty): Likewise.
1454         * sysdeps/posix/killpg.c (killpg): Likewise.
1455         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1456         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
1457         * sysdeps/posix/raise.c (raise): Likewise.
1458         * sysdeps/posix/remove.c (remove): Likewise.
1459         * sysdeps/posix/rename.c (rename): Likewise.
1460         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
1461         * sysdeps/posix/seekdir.c (seekdir): Likewise.
1462         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1463         * sysdeps/posix/sigignore.c (sigignore): Likewise.
1464         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
1465         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
1466         * sysdeps/posix/sigset.c (sigset): Likewise.
1467         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
1468         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1469         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
1470         * sysdeps/posix/time.c (time): Likewise.
1471         * sysdeps/posix/ttyname.c (getttyname): Likewise.
1472         (ttyname): Likewise.
1473         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
1474         * sysdeps/posix/utime.c (utime): Likewise.
1475         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
1476         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1477         Likewise.
1478         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
1479         (pthread_spin_trylock): Likewise.
1480         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
1481         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
1482         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
1483         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
1484         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
1485         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
1486         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
1487         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
1488         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
1489         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
1490         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
1491         * sysdeps/s390/ffs.c (__ffs): Likewise.
1492         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
1493         Likewise.
1494         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1495         Likewise.
1496         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
1497         Likewise.
1498         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
1499         (pthread_barrier_destroy): Likewise.
1500         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1501         (__pthread_barrier_wait): Likewise.
1502         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
1503         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1504         (__pthread_barrier_wait): Likewise.
1505         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
1506         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
1507         (memcmp_not_common_alignment): Likewise.
1508         (MEMCMP): Likewise.
1509         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
1510         (_wordcopy_fwd_dest_aligned): Likewise.
1511         (_wordcopy_bwd_aligned): Likewise.
1512         (_wordcopy_bwd_dest_aligned): Likewise.
1513         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
1514         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
1515         * sysdeps/unix/bsd/stty.c (stty): Likewise.
1516         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
1517         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
1518         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
1519         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
1520         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
1521         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
1522         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
1523         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
1524         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1525         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
1526         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
1527         * sysdeps/unix/stime.c (stime): Likewise.
1528         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
1529         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
1530         Likewise.  Use internal_function.
1531         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
1532         Convert to prototype-style function definition.
1533         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1534         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1535         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
1536         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1537         Likewise.  Use internal_function.
1538         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
1539         prototype-style function definition
1540         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1541         Likewise.
1542         (__getlogin_r): Likewise.
1543         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
1544         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
1545         (__pthread_cond_broadcast): Likewise.
1546         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
1547         (__pthread_cond_destroy): Likewise.
1548         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
1549         (__pthread_cond_init): Likewise.
1550         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
1551         (__pthread_cond_signal): Likewise.
1552         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1553         (__pthread_cond_wait): Likewise.
1554         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
1555         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
1556         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
1557         Likewise.
1558         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
1559         Likewise.
1560         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1561         Likewise.
1562         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
1563         Likewise.
1564         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
1565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
1566         (__ftruncate64): Likewise.
1567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
1568         (truncate64): Likewise.
1569         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
1570         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
1571         (pthread_getcpuclockid): Likewise.
1572         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1573         Likewise.
1574         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1575         Likewise.
1576         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
1577         Likewise.
1578         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1579         Likewise.
1580         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
1581         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
1582         (__libc_sigaction): Likewise.
1583         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
1584         Likewise.
1585         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
1586         (__sigprocmask): Likewise.
1587         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
1588         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
1589         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
1590         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1591         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1592         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
1593         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1594         Likewise.
1595         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
1596         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1597         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1598         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
1599         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
1600         Likewise.
1601         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
1602         (__sigprocmask): Likewise.
1603         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
1604         (cfgetispeed): Likewise.
1605         (cfsetospeed): Likewise.
1606         (cfsetispeed): Likewise.
1607         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
1608         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
1609         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1610         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1611         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
1612         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
1613         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
1614         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
1615         Likewise.
1616         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
1617         Likewise.
1618         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
1619         Likewise.
1620         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
1621         Likewise.
1622         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1624 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1626         sunrpc: Rewrite with explicit TLS access using __thread.
1627         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
1628         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
1629         directly.
1630         (__rpc_thread_variables): Access thread_rpc_vars directly.
1631         Eliminate redundant assignment of the tvp variable.
1633 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1635         malloc: Rewrite with explicit TLS access using __thread.
1636         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
1637         (tsd_setspecific, tsd_getspecific): Remove.
1638         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
1639         (tsd_setspecific, tsd_getspecific): Likewise.
1640         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
1641         (tsd_setspecific, tsd_getspecific): Likewise.
1642         * malloc/arena.c (thread_arena): New TLS variable.
1643         (arena_key): Remove variable.
1644         (arena_get): Use thread_arena.
1645         (arena_lookup): Remove macro.
1646         (malloc_atfork, free_atfork, ptmalloc_lock_all)
1647         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
1648         (_int_new_arena, get_free_list, reused_arena)
1649         (arena_thread_freeres): Use thread_arena.
1650         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
1651         tsd_getspecific, tsd_setspecific from safety annotations.
1652         (Allocating Cleared Space): Remove arena_lookup from safety
1653         annotations.
1655 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1657         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
1658         struct scratch_buffer instead of extend_alloca.
1660 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1662         * sysdeps/unix/sysv/linux/kernel-features.h
1663         (__ASSUME_SOCK_CLOEXEC): Remove.
1664         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
1665         (__have_paccept): Remove unused macro.
1666         * include/unistd.h (__have_sock_cloexec): Remove declaration.
1667         * misc/syslog.c (openlog_internal): Remove fallback code for
1668         !__ASSUME_SOCK_CLOEXEC.
1669         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
1670         missing SOCK_CLOEXEC.
1671         * nscd/connections.c (have_sock_cloexec): Remove definition.
1672         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1673         * nscd/nscd_helper.c (open_socket): Remove fallback code for
1674         !__ASSUME_SOCK_CLOEXEC.
1675         * resolv/res_send.c (__have_o_nonblock): Remove definition.
1676         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1677         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
1678         definition.
1679         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
1680         code for !__ASSUME_SOCK_CLOEXEC.
1682 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1684         [BZ #18982]
1685         * manual/stdio.texi (Variable Arguments Output): Add portability
1686         note, explaining that vfprintf clobbers the va_list pointer.
1688 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1690         * math/libm-test.inc (fabs_test_data): Add more tests.
1691         (fdim_test_data): Likewise.
1692         (fma_test_data): Likewise.
1693         (fmax_test_data): Likewise.
1694         (fmin_test_data): Likewise.
1695         (fmod_test_data): Likewise.
1697 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
1699         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
1700         data.
1702 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1704         * math/libm-test.inc (ceil_test_data): Add more tests and more
1705         expectations for "inexact".
1706         (floor_test_data): Add more tests.
1707         (round_test_data): Likewise.
1708         (trunc_test_data): Likewise.
1710         * crypt/cert.c (good_bye): Convert to prototype-style function
1711         definition.
1712         (get8): Likewise.
1713         (put8): Likewise.
1714         * crypt/crypt-entry.c (crypt): Likewise.
1715         (__fcrypt): Likewise.
1716         * crypt/crypt_util.c (_ufc_prbits): Likewise.
1717         (_ufc_set_bits): Likewise.
1718         (_ufc_clearmem): Likewise.
1719         (__init_des_r): Likewise.
1720         (shuffle_sb): Likewise.
1721         (shuffle_sb): Likewise.
1722         (_ufc_setup_salt_r): Likewise.
1723         (_ufc_mk_keytab_r): Likewise.
1724         (_ufc_dofinalperm_r): Likewise.
1725         (encrypt): Likewise.
1726         (__setkey_r): Likewise.
1727         (setkey): Likewise.
1728         * crypt/md5.c (md5_init_ctx): Likewise.
1729         (md5_read_ctx): Likewise.
1730         (md5_finish_ctx): Likewise.
1731         (md5_stream): Likewise.
1732         (md5_buffer): Likewise.
1733         (md5_process_bytes): Likewise.
1734         * crypt/sha256.c (__sha256_init_ctx): Likewise.
1735         (__sha256_finish_ctx): Likewise.
1736         (__sha256_process_bytes): Likewise.
1737         * crypt/sha512.c (__sha512_init_ctx): Likewise.
1738         (__sha512_finish_ctx): Likewise.
1739         (__sha512_process_bytes): Likewise.
1740         * ctype/isctype.c (__isctype): Likewise.
1741         * debug/backtrace.c (__backtrace): Likewise.
1742         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
1743         * debug/fgets_chk.c (__fgets_chk): Likewise.
1744         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
1745         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
1746         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1747         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1748         * debug/memset_chk.c (__memset_chk): Likewise.
1749         * debug/strcat_chk.c (__strcat_chk): Likewise.
1750         * debug/strncat_chk.c (__strncat_chk): Likewise.
1751         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
1752         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
1753         * dirent/dirfd.c (dirfd): Likewise.
1754         * dirent/getdents.c (__getdirentries): Likewise.
1755         * dirent/getdents64.c (getdirentries64): Likewise.
1756         * dirent/rewinddir.c (__rewinddir): Likewise.
1757         * dirent/seekdir.c (seekdir): Likewise.
1758         * dirent/telldir.c (telldir): Likewise.
1759         * elf/sln.c (makesymlinks): Likewise.
1760         (makesymlink): Likewise.
1761         * gmon/gmon.c (__moncontrol): Likewise.
1762         (__monstartup): Likewise.
1763         (write_hist): Likewise.
1764         (write_call_graph): Likewise.
1765         (write_bb_counts): Likewise.
1766         * grp/setgroups.c (setgroups): Likewise.
1767         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1768         * inet/inet_net.c (inet_network): Likewise.
1769         * inet/inet_netof.c (inet_netof): Likewise.
1770         * inet/rcmd.c (rresvport_af): Likewise.
1771         (rresvport): Likewise.
1772         * io/access.c (__access): Likewise.
1773         * io/chdir.c (__chdir): Likewise.
1774         * io/chmod.c (__chmod): Likewise.
1775         * io/chown.c (__chown): Likewise.
1776         * io/close.c (__close): Likewise.
1777         * io/creat.c (creat): Likewise.
1778         * io/creat64.c (creat64): Likewise.
1779         * io/dup.c (__dup): Likewise.
1780         * io/dup2.c (__dup2): Likewise.
1781         * io/dup3.c (__dup3): Likewise.
1782         * io/euidaccess.c (__euidaccess): Likewise.
1783         * io/faccessat.c (faccessat): Likewise.
1784         * io/fchmod.c (__fchmod): Likewise.
1785         * io/fchmodat.c (fchmodat): Likewise.
1786         * io/fchown.c (__fchown): Likewise.
1787         * io/fchownat.c (fchownat): Likewise.
1788         * io/fcntl.c (__fcntl): Likewise.
1789         * io/flock.c (__flock): Likewise.
1790         * io/fts.c (fts_load): Likewise.
1791         (fts_close): Likewise.
1792         (fts_read): Likewise.
1793         (fts_set): Likewise.
1794         (fts_children): Likewise.
1795         (fts_build): Likewise.
1796         (fts_stat): Likewise.
1797         (fts_sort): Likewise.
1798         (fts_alloc): Likewise.
1799         (fts_lfree): Likewise.
1800         (fts_palloc): Likewise.
1801         (fts_padjust): Likewise.
1802         (fts_maxarglen): Likewise.
1803         (fts_safe_changedir): Likewise.
1804         * io/getwd.c (getwd): Likewise.
1805         * io/isatty.c (__isatty): Likewise.
1806         * io/lchown.c (__lchown): Likewise.
1807         * io/link.c (__link): Likewise.
1808         * io/linkat.c (linkat): Likewise.
1809         * io/lseek.c (__libc_lseek): Likewise.
1810         * io/mkdir.c (__mkdir): Likewise.
1811         * io/mkdirat.c (mkdirat): Likewise.
1812         * io/mkfifo.c (mkfifo): Likewise.
1813         * io/mkfifoat.c (mkfifoat): Likewise.
1814         * io/open.c (__libc_open): Likewise.
1815         * io/open64.c (__libc_open64): Likewise.
1816         * io/readlink.c (__readlink): Likewise.
1817         * io/readlinkat.c (readlinkat): Likewise.
1818         * io/rmdir.c (__rmdir): Likewise.
1819         * io/symlink.c (__symlink): Likewise.
1820         * io/symlinkat.c (symlinkat): Likewise.
1821         * io/ttyname.c (ttyname): Likewise.
1822         * io/ttyname_r.c (__ttyname_r): Likewise.
1823         * io/umask.c (__umask): Likewise.
1824         * io/unlink.c (__unlink): Likewise.
1825         * io/unlinkat.c (unlinkat): Likewise.
1826         * io/utime.c (utime): Likewise.
1827         * libio/clearerr.c (clearerr): Likewise.
1828         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
1829         * libio/feof.c (_IO_feof): Likewise.
1830         * libio/feof_u.c (feof_unlocked): Likewise.
1831         * libio/ferror.c (_IO_ferror): Likewise.
1832         * libio/ferror_u.c (ferror_unlocked): Likewise.
1833         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1834         * libio/fileno.c (__fileno): Likewise.
1835         * libio/fputc.c (fputc): Likewise.
1836         * libio/fputc_u.c (fputc_unlocked): Likewise.
1837         * libio/fputwc.c (fputwc): Likewise.
1838         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
1839         * libio/freopen.c (freopen): Likewise.
1840         * libio/freopen64.c (freopen64): Likewise.
1841         * libio/fseek.c (fseek): Likewise.
1842         * libio/fseeko.c (fseeko): Likewise.
1843         * libio/fseeko64.c (fseeko64): Likewise.
1844         * libio/ftello.c (__ftello): Likewise.
1845         * libio/ftello64.c (ftello64): Likewise.
1846         * libio/fwide.c (fwide): Likewise.
1847         * libio/genops.c (_IO_un_link): Likewise.
1848         (_IO_link_in): Likewise.
1849         (_IO_least_marker): Likewise.
1850         (_IO_switch_to_main_get_area): Likewise.
1851         (_IO_switch_to_backup_area): Likewise.
1852         (_IO_switch_to_get_mode): Likewise.
1853         (_IO_free_backup_area): Likewise.
1854         (_IO_switch_to_put_mode): Likewise.
1855         (__overflow): Likewise.
1856         (__underflow): Likewise.
1857         (__uflow): Likewise.
1858         (_IO_setb): Likewise.
1859         (_IO_doallocbuf): Likewise.
1860         (_IO_default_underflow): Likewise.
1861         (_IO_default_uflow): Likewise.
1862         (_IO_default_xsputn): Likewise.
1863         (_IO_sgetn): Likewise.
1864         (_IO_default_xsgetn): Likewise.
1865         (_IO_sync): Likewise.
1866         (_IO_default_setbuf): Likewise.
1867         (_IO_default_seekpos): Likewise.
1868         (_IO_default_doallocate): Likewise.
1869         (_IO_init): Likewise.
1870         (_IO_old_init): Likewise.
1871         (_IO_default_sync): Likewise.
1872         (_IO_default_finish): Likewise.
1873         (_IO_default_seekoff): Likewise.
1874         (_IO_sputbackc): Likewise.
1875         (_IO_sungetc): Likewise.
1876         (_IO_set_column): Likewise.
1877         (_IO_set_column): Likewise.
1878         (_IO_adjust_column): Likewise.
1879         (_IO_get_column): Likewise.
1880         (_IO_init_marker): Likewise.
1881         (_IO_remove_marker): Likewise.
1882         (_IO_marker_difference): Likewise.
1883         (_IO_marker_delta): Likewise.
1884         (_IO_seekmark): Likewise.
1885         (_IO_unsave_markers): Likewise.
1886         (_IO_nobackup_pbackfail): Likewise.
1887         (_IO_default_pbackfail): Likewise.
1888         (_IO_default_seek): Likewise.
1889         (_IO_default_stat): Likewise.
1890         (_IO_default_read): Likewise.
1891         (_IO_default_write): Likewise.
1892         (_IO_default_showmanyc): Likewise.
1893         (_IO_default_imbue): Likewise.
1894         (_IO_iter_next): Likewise.
1895         (_IO_iter_file): Likewise.
1896         * libio/getc.c (_IO_getc): Likewise.
1897         * libio/getwc.c (_IO_getwc): Likewise.
1898         * libio/iofclose.c (_IO_new_fclose): Likewise.
1899         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1900         * libio/iofflush.c (_IO_fflush): Likewise.
1901         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
1902         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
1903         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
1904         * libio/iofgets.c (_IO_fgets): Likewise.
1905         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
1906         * libio/iofgetws.c (fgetws): Likewise.
1907         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1908         * libio/iofopen64.c (_IO_fopen64): Likewise.
1909         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1910         (_IO_cookie_write): Likewise.
1911         (_IO_cookie_seek): Likewise.
1912         (_IO_cookie_close): Likewise.
1913         (_IO_cookie_seekoff): Likewise.
1914         (_IO_old_cookie_seek): Likewise.
1915         * libio/iofputs.c (_IO_fputs): Likewise.
1916         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
1917         * libio/iofputws.c (fputws): Likewise.
1918         * libio/iofputws_u.c (fputws_unlocked): Likewise.
1919         * libio/iofread.c (_IO_fread): Likewise.
1920         * libio/iofread_u.c (__fread_unlocked): Likewise.
1921         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1922         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1923         * libio/ioftell.c (_IO_ftell): Likewise.
1924         * libio/iofwrite.c (_IO_fwrite): Likewise.
1925         * libio/iogetdelim.c (_IO_getdelim): Likewise.
1926         * libio/iogets.c (_IO_gets): Likewise.
1927         * libio/iopadn.c (_IO_padn): Likewise.
1928         * libio/iopopen.c (_IO_new_proc_open): Likewise.
1929         (_IO_new_popen): Likewise.
1930         (_IO_new_proc_close): Likewise.
1931         * libio/ioputs.c (_IO_puts): Likewise.
1932         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
1933         (_IO_seekoff): Likewise.
1934         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
1935         (_IO_seekpos): Likewise.
1936         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
1937         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
1938         * libio/ioungetc.c (_IO_ungetc): Likewise.
1939         * libio/ioungetwc.c (ungetwc): Likewise.
1940         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1941         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1942         * libio/iowpadn.c (_IO_wpadn): Likewise.
1943         * libio/libc_fatal.c (__libc_fatal): Likewise.
1944         * libio/memstream.c (__open_memstream): Likewise.
1945         (_IO_mem_sync): Likewise.
1946         (_IO_mem_finish): Likewise.
1947         * libio/oldfileops.c (_IO_old_file_init): Likewise.
1948         (_IO_old_file_close_it): Likewise.
1949         (_IO_old_file_finish): Likewise.
1950         (_IO_old_file_fopen): Likewise.
1951         (_IO_old_file_attach): Likewise.
1952         (_IO_old_file_setbuf): Likewise.
1953         (_IO_old_do_write): Likewise.
1954         (old_do_write): Likewise.
1955         (_IO_old_file_underflow): Likewise.
1956         (_IO_old_file_overflow): Likewise.
1957         (_IO_old_file_sync): Likewise.
1958         (_IO_old_file_seekoff): Likewise.
1959         (_IO_old_file_write): Likewise.
1960         (_IO_old_file_xsputn): Likewise.
1961         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1962         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1963         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
1964         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
1965         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1966         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
1967         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
1968         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
1969         (_IO_old_popen): Likewise.
1970         (_IO_old_proc_close): Likewise.
1971         * libio/oldpclose.c (__old_pclose): Likewise.
1972         * libio/pclose.c (__new_pclose): Likewise.
1973         * libio/peekc.c (_IO_peekc_locked): Likewise.
1974         * libio/putc.c (_IO_putc): Likewise.
1975         * libio/putc_u.c (putc_unlocked): Likewise.
1976         * libio/putchar.c (putchar): Likewise.
1977         * libio/putchar_u.c (putchar_unlocked): Likewise.
1978         * libio/putwc.c (putwc): Likewise.
1979         * libio/putwc_u.c (putwc_unlocked): Likewise.
1980         * libio/putwchar.c (putwchar): Likewise.
1981         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1982         * libio/rewind.c (rewind): Likewise.
1983         * libio/setbuf.c (setbuf): Likewise.
1984         * libio/setlinebuf.c (setlinebuf): Likewise.
1985         * libio/vasprintf.c (_IO_vasprintf): Likewise.
1986         * libio/vscanf.c (_IO_vscanf): Likewise.
1987         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
1988         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
1989         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1990         * libio/wgenops.c (_IO_least_wmarker): Likewise.
1991         (_IO_switch_to_main_wget_area): Likewise.
1992         (_IO_switch_to_wbackup_area): Likewise.
1993         (_IO_wsetb): Likewise.
1994         (_IO_wdefault_pbackfail): Likewise.
1995         (_IO_wdefault_finish): Likewise.
1996         (_IO_wdefault_uflow): Likewise.
1997         (__woverflow): Likewise.
1998         (__wuflow): Likewise.
1999         (__wunderflow): Likewise.
2000         (_IO_wdefault_xsputn): Likewise.
2001         (_IO_wdefault_xsgetn): Likewise.
2002         (_IO_wdoallocbuf): Likewise.
2003         (_IO_wdefault_doallocate): Likewise.
2004         (_IO_switch_to_wget_mode): Likewise.
2005         (_IO_free_wbackup_area): Likewise.
2006         (_IO_switch_to_wput_mode): Likewise.
2007         (_IO_sputbackwc): Likewise.
2008         (_IO_sungetwc): Likewise.
2009         (_IO_adjust_wcolumn): Likewise.
2010         (_IO_init_wmarker): Likewise.
2011         (_IO_wmarker_delta): Likewise.
2012         (_IO_seekwmark): Likewise.
2013         (_IO_unsave_wmarkers): Likewise.
2014         * libio/wmemstream.c (open_wmemstream): Likewise.
2015         (_IO_wmem_sync): Likewise.
2016         (_IO_wmem_finish): Likewise.
2017         * locale/nl_langinfo.c (nl_langinfo): Likewise.
2018         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
2019         * locale/programs/simple-hash.c (init_hash): Likewise.
2020         (delete_hash): Likewise.
2021         (insert_entry): Likewise.
2022         (set_entry): Likewise.
2023         (next_prime): Likewise.
2024         (is_prime): Likewise.
2025         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
2026         (xmalloc): Likewise.
2027         (xrealloc): Likewise.
2028         * locale/programs/xstrdup.c (xstrdup): Likewise.
2029         * localedata/collate-test.c (xstrcoll): Likewise.
2030         * localedata/xfrm-test.c (xstrcmp): Likewise.
2031         * login/getlogin_r.c (__getlogin_r): Likewise.
2032         * login/getpt.c (__posix_openpt): Likewise.
2033         * login/login_tty.c (login_tty): Likewise.
2034         * login/setlogin.c (setlogin): Likewise.
2035         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
2036         (mach_msg_destroy_port): Likewise.
2037         (mach_msg_destroy_memory): Likewise.
2038         * malloc/mcheck.c (flood): Likewise.
2039         * misc/acct.c (acct): Likewise.
2040         * misc/brk.c (__brk): Likewise.
2041         * misc/chflags.c (chflags): Likewise.
2042         * misc/chroot.c (chroot): Likewise.
2043         * misc/fchflags.c (fchflags): Likewise.
2044         * misc/fstab.c (getfsspec): Likewise.
2045         (getfsfile): Likewise.
2046         * misc/fsync.c (fsync): Likewise.
2047         * misc/ftruncate.c (__ftruncate): Likewise.
2048         * misc/ftruncate64.c (__ftruncate64): Likewise.
2049         * misc/getdomain.c (getdomainname): Likewise.
2050         (getdomainname): Likewise.
2051         * misc/gethostname.c (__gethostname): Likewise.
2052         * misc/getpass.c (getpass): Likewise.
2053         * misc/getttyent.c (skip): Likewise.
2054         (value): Likewise.
2055         * misc/gtty.c (gtty): Likewise.
2056         * misc/hsearch.c (hsearch): Likewise.
2057         (hcreate): Likewise.
2058         * misc/hsearch_r.c (__hcreate_r): Likewise.
2059         (__hdestroy_r): Likewise.
2060         * misc/ioctl.c (__ioctl): Likewise.
2061         * misc/mkdtemp.c (mkdtemp): Likewise.
2062         * misc/mkostemp.c (mkostemp): Likewise.
2063         * misc/mkostemp64.c (mkostemp64): Likewise.
2064         * misc/mkostemps.c (mkostemps): Likewise.
2065         * misc/mkostemps64.c (mkostemps64): Likewise.
2066         * misc/mkstemp.c (mkstemp): Likewise.
2067         * misc/mkstemp64.c (mkstemp64): Likewise.
2068         * misc/mkstemps.c (mkstemps): Likewise.
2069         * misc/mkstemps64.c (mkstemps64): Likewise.
2070         * misc/mktemp.c (__mktemp): Likewise.
2071         * misc/preadv.c (preadv): Likewise.
2072         * misc/preadv64.c (preadv64): Likewise.
2073         * misc/pwritev.c (pwritev): Likewise.
2074         * misc/pwritev64.c (pwritev64): Likewise.
2075         * misc/readv.c (__readv): Likewise.
2076         * misc/revoke.c (revoke): Likewise.
2077         * misc/setdomain.c (setdomainname): Likewise.
2078         * misc/setegid.c (setegid): Likewise.
2079         * misc/seteuid.c (seteuid): Likewise.
2080         * misc/sethostid.c (sethostid): Likewise.
2081         * misc/sethostname.c (sethostname): Likewise.
2082         * misc/setregid.c (__setregid): Likewise.
2083         * misc/setreuid.c (__setreuid): Likewise.
2084         * misc/sstk.c (sstk): Likewise.
2085         * misc/stty.c (stty): Likewise.
2086         * misc/syscall.c (syscall): Likewise.
2087         * misc/syslog.c (setlogmask): Likewise.
2088         * misc/truncate.c (__truncate): Likewise.
2089         * misc/truncate64.c (truncate64): Likewise.
2090         * misc/ualarm.c (ualarm): Likewise.
2091         * misc/usleep.c (usleep): Likewise.
2092         * misc/ustat.c (ustat): Likewise.
2093         * misc/writev.c (__writev): Likewise.
2094         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
2095         * nptl/old_pthread_cond_broadcast.c
2096         (__pthread_cond_broadcast_2_0): Likewise.
2097         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
2098         Likewise.
2099         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
2100         Likewise.
2101         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
2102         Likewise.
2103         * nptl/pt-raise.c (raise): Likewise.
2104         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
2105         Likewise.
2106         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
2107         * nptl/pthread_barrierattr_destroy.c
2108         (pthread_barrierattr_destroy): Likewise.
2109         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
2110         Likewise.
2111         * nptl/pthread_barrierattr_setpshared.c
2112         (pthread_barrierattr_setpshared): Likewise.
2113         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2114         Likewise.
2115         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2116         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2117         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2118         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
2119         Likewise.
2120         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
2121         Likewise.
2122         * nptl/pthread_condattr_getpshared.c
2123         (pthread_condattr_getpshared): Likewise.
2124         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
2125         Likewise.
2126         * nptl/pthread_condattr_setpshared.c
2127         (pthread_condattr_setpshared): Likewise.
2128         * nptl/pthread_detach.c (pthread_detach): Likewise.
2129         * nptl/pthread_equal.c (__pthread_equal): Likewise.
2130         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
2131         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
2132         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
2133         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
2134         Likewise.
2135         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2136         Likewise.
2137         * nptl/pthread_mutex_getprioceiling.c
2138         (pthread_mutex_getprioceiling): Likewise.
2139         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
2140         Likewise.
2141         * nptl/pthread_mutexattr_getprotocol.c
2142         (pthread_mutexattr_getprotocol): Likewise.
2143         * nptl/pthread_mutexattr_getpshared.c
2144         (pthread_mutexattr_getpshared): Likewise.
2145         * nptl/pthread_mutexattr_getrobust.c
2146         (pthread_mutexattr_getrobust): Likewise.
2147         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2148         Likewise.
2149         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
2150         Likewise.
2151         * nptl/pthread_mutexattr_setprioceiling.c
2152         (pthread_mutexattr_setprioceiling): Likewise.
2153         * nptl/pthread_mutexattr_setprotocol.c
2154         (pthread_mutexattr_setprotocol): Likewise.
2155         * nptl/pthread_mutexattr_setpshared.c
2156         (pthread_mutexattr_setpshared): Likewise.
2157         * nptl/pthread_mutexattr_setrobust.c
2158         (pthread_mutexattr_setrobust): Likewise.
2159         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
2160         Likewise.
2161         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
2162         Likewise.
2163         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
2164         Likewise.
2165         * nptl/pthread_rwlockattr_getkind_np.c
2166         (pthread_rwlockattr_getkind_np): Likewise.
2167         * nptl/pthread_rwlockattr_getpshared.c
2168         (pthread_rwlockattr_getpshared): Likewise.
2169         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
2170         Likewise.
2171         * nptl/pthread_rwlockattr_setkind_np.c
2172         (pthread_rwlockattr_setkind_np): Likewise.
2173         * nptl/pthread_rwlockattr_setpshared.c
2174         (pthread_rwlockattr_setpshared): Likewise.
2175         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
2176         Likewise.
2177         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
2178         Likewise.
2179         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
2180         Likewise.
2181         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2182         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
2183         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
2184         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
2185         * nptl/sem_close.c (sem_close): Likewise.
2186         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
2187         * nptl/sem_init.c (__old_sem_init): Likewise.
2188         * nptl/sigaction.c (__sigaction): Likewise.
2189         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2190         * posix/_exit.c (_exit): Likewise.
2191         * posix/alarm.c (alarm): Likewise.
2192         * posix/confstr.c (confstr): Likewise.
2193         * posix/fpathconf.c (__fpathconf): Likewise.
2194         * posix/getgroups.c (__getgroups): Likewise.
2195         * posix/getpgid.c (__getpgid): Likewise.
2196         * posix/group_member.c (__group_member): Likewise.
2197         * posix/pathconf.c (__pathconf): Likewise.
2198         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
2199         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
2200         * posix/setgid.c (__setgid): Likewise.
2201         * posix/setpgid.c (__setpgid): Likewise.
2202         * posix/setuid.c (__setuid): Likewise.
2203         * posix/sleep.c (__sleep): Likewise.
2204         * posix/sysconf.c (__sysconf): Likewise.
2205         * posix/times.c (__times): Likewise.
2206         * posix/uname.c (__uname): Likewise.
2207         * posix/waitid.c (__waitid): Likewise.
2208         * pwd/getpw.c (__getpw): Likewise.
2209         * resolv/base64.c (b64_pton): Likewise.
2210         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2211         * resolv/gethnamaddr.c (Dprintf): Likewise.
2212         (gethostbyname): Likewise.
2213         (gethostbyname2): Likewise.
2214         (gethostbyaddr): Likewise.
2215         (_sethtent): Likewise.
2216         (_gethtbyname): Likewise.
2217         (_gethtbyname2): Likewise.
2218         (_gethtbyaddr): Likewise.
2219         (map_v4v6_address): Likewise.
2220         (map_v4v6_hostent): Likewise.
2221         (addrsort): Likewise.
2222         (ht_sethostent): Likewise.
2223         (ht_gethostbyname): Likewise.
2224         (ht_gethostbyaddr): Likewise.
2225         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
2226         (inet_net_ntop_ipv4): Likewise.
2227         * resolv/inet_neta.c (inet_neta): Likewise.
2228         * resolv/inet_ntop.c (inet_ntop): Likewise.
2229         (inet_ntop4): Likewise.
2230         (inet_ntop6): Likewise.
2231         * resolv/inet_pton.c (__inet_pton): Likewise.
2232         (inet_pton4): Likewise.
2233         (inet_pton6): Likewise.
2234         * resolv/res_debug.c (loc_aton): Likewise.
2235         (loc_ntoa): Likewise.
2236         * resource/getpriority.c (__getpriority): Likewise.
2237         * resource/getrusage.c (__getrusage): Likewise.
2238         * resource/nice.c (nice): Likewise.
2239         * resource/setpriority.c (__setpriority): Likewise.
2240         * resource/setrlimit64.c (setrlimit64): Likewise.
2241         * resource/vlimit.c (vlimit): Likewise.
2242         * resource/vtimes.c (vtimes): Likewise.
2243         * rt/aio_error.c (aio_error): Likewise.
2244         * rt/aio_return.c (aio_return): Likewise.
2245         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
2246         * signal/kill.c (__kill): Likewise.
2247         * signal/killpg.c (killpg): Likewise.
2248         * signal/raise.c (raise): Likewise.
2249         * signal/sigaction.c (__sigaction): Likewise.
2250         * signal/sigaddset.c (sigaddset): Likewise.
2251         * signal/sigaltstack.c (sigaltstack): Likewise.
2252         * signal/sigandset.c (sigandset): Likewise.
2253         * signal/sigblock.c (__sigblock): Likewise.
2254         * signal/sigdelset.c (sigdelset): Likewise.
2255         * signal/sigempty.c (sigemptyset): Likewise.
2256         * signal/sigfillset.c (sigfillset): Likewise.
2257         * signal/sighold.c (sighold): Likewise.
2258         * signal/sigignore.c (sigignore): Likewise.
2259         * signal/sigintr.c (siginterrupt): Likewise.
2260         * signal/sigisempty.c (sigisemptyset): Likewise.
2261         * signal/sigismem.c (sigismember): Likewise.
2262         * signal/signal.c (signal): Likewise.
2263         * signal/sigorset.c (sigorset): Likewise.
2264         * signal/sigpause.c (__sigpause): Likewise.
2265         * signal/sigpending.c (sigpending): Likewise.
2266         * signal/sigprocmask.c (__sigprocmask): Likewise.
2267         * signal/sigrelse.c (sigrelse): Likewise.
2268         * signal/sigreturn.c (__sigreturn): Likewise.
2269         * signal/sigset.c (sigset): Likewise.
2270         * signal/sigsetmask.c (__sigsetmask): Likewise.
2271         * signal/sigstack.c (sigstack): Likewise.
2272         * signal/sigsuspend.c (__sigsuspend): Likewise.
2273         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
2274         * signal/sysv_signal.c (__sysv_signal): Likewise.
2275         * socket/accept.c (accept): Likewise.
2276         * socket/accept4.c (__libc_accept4): Likewise.
2277         * socket/bind.c (__bind): Likewise.
2278         * socket/connect.c (__connect): Likewise.
2279         * socket/getpeername.c (getpeername): Likewise.
2280         * socket/getsockname.c (__getsockname): Likewise.
2281         * socket/getsockopt.c (getsockopt): Likewise.
2282         * socket/listen.c (__listen): Likewise.
2283         * socket/recv.c (__recv): Likewise.
2284         * socket/recvmsg.c (__recvmsg): Likewise.
2285         * socket/send.c (__send): Likewise.
2286         * socket/sendmsg.c (__sendmsg): Likewise.
2287         * socket/shutdown.c (shutdown): Likewise.
2288         * socket/sockatmark.c (sockatmark): Likewise.
2289         * socket/socket.c (__socket): Likewise.
2290         * stdio-common/ctermid.c (ctermid): Likewise.
2291         * stdio-common/cuserid.c (cuserid): Likewise.
2292         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
2293         * stdio-common/remove.c (remove): Likewise.
2294         * stdio-common/rename.c (rename): Likewise.
2295         * stdio-common/renameat.c (renameat): Likewise.
2296         * stdio-common/tempname.c (__gen_tempname): Likewise.
2297         * stdio-common/xbug.c (InitBuffer): Likewise.
2298         (AppendToBuffer): Likewise.
2299         (ReadFile): Likewise.
2300         * stdlib/a64l.c (a64l): Likewise.
2301         * stdlib/drand48_r.c (drand48_r): Likewise.
2302         * stdlib/getcontext.c (getcontext): Likewise.
2303         * stdlib/getenv.c (getenv): Likewise.
2304         * stdlib/l64a.c (l64a): Likewise.
2305         * stdlib/llabs.c (llabs): Likewise.
2306         * stdlib/lldiv.c (lldiv): Likewise.
2307         * stdlib/lrand48_r.c (lrand48_r): Likewise.
2308         * stdlib/mrand48_r.c (mrand48_r): Likewise.
2309         * stdlib/putenv.c (putenv): Likewise.
2310         * stdlib/random.c (__srandom): Likewise.
2311         (__initstate): Likewise.
2312         (__setstate): Likewise.
2313         * stdlib/random_r.c (__srandom_r): Likewise.
2314         (__setstate_r): Likewise.
2315         (__random_r): Likewise.
2316         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
2317         * stdlib/setcontext.c (setcontext): Likewise.
2318         * stdlib/setenv.c (setenv): Likewise.
2319         (unsetenv): Likewise.
2320         * stdlib/srand48.c (srand48): Likewise.
2321         * stdlib/srand48_r.c (__srand48_r): Likewise.
2322         * stdlib/swapcontext.c (swapcontext): Likewise.
2323         * stdlib/system.c (__libc_system): Likewise.
2324         * stdlib/tst-strtod.c (expand): Likewise.
2325         * stdlib/tst-strtol.c (expand): Likewise.
2326         * stdlib/tst-strtoll.c (expand): Likewise.
2327         * streams/fattach.c (fattach): Likewise.
2328         * streams/fdetach.c (fdetach): Likewise.
2329         * streams/getmsg.c (getmsg): Likewise.
2330         * streams/isastream.c (isastream): Likewise.
2331         * string/ffs.c (__ffs): Likewise.
2332         * string/ffsll.c (ffsll): Likewise.
2333         * string/memcmp.c (memcmp_common_alignment): Likewise.
2334         (memcmp_not_common_alignment): Likewise.
2335         (MEMCMP): Likewise.
2336         * string/memcpy.c (memcpy): Likewise.
2337         * string/memmove.c (MEMMOVE): Likewise.
2338         * string/memset.c (memset): Likewise.
2339         * string/rawmemchr.c (RAWMEMCHR): Likewise.
2340         * string/strchrnul.c (STRCHRNUL): Likewise.
2341         * string/strerror.c (strerror): Likewise.
2342         * string/strndup.c (__strndup): Likewise.
2343         * string/strverscmp.c (__strverscmp): Likewise.
2344         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
2345         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
2346         (clnttcp_freeres): Likewise.
2347         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
2348         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
2349         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
2350         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
2351         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
2352         (xdr_callhdr): Likewise.
2353         * sunrpc/rpcinfo.c (udpping): Likewise.
2354         (tcpping): Likewise.
2355         (pstatus): Likewise.
2356         (pmapdump): Likewise.
2357         (brdcst): Likewise.
2358         (deletereg): Likewise.
2359         (getprognum): Likewise.
2360         (getvers): Likewise.
2361         (get_inet_address): Likewise.
2362         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
2363         * sunrpc/svc_udp.c (svcudp_create): Likewise.
2364         (svcudp_stat): Likewise.
2365         (svcudp_recv): Likewise.
2366         (svcudp_reply): Likewise.
2367         (svcudp_getargs): Likewise.
2368         (svcudp_freeargs): Likewise.
2369         (svcudp_destroy): Likewise.
2370         * sunrpc/xdr.c (xdr_bytes): Likewise.
2371         (xdr_netobj): Likewise.
2372         (xdr_string): Likewise.
2373         (xdr_wrapstring): Likewise.
2374         * sunrpc/xdr_float.c (xdr_float): Likewise.
2375         (xdr_double): Likewise.
2376         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
2377         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
2378         * sysvipc/ftok.c (ftok): Likewise.
2379         * sysvipc/msgctl.c (msgctl): Likewise.
2380         * sysvipc/msgget.c (msgget): Likewise.
2381         * sysvipc/msgrcv.c (msgrcv): Likewise.
2382         * sysvipc/msgsnd.c (msgsnd): Likewise.
2383         * sysvipc/semget.c (semget): Likewise.
2384         * sysvipc/semop.c (semop): Likewise.
2385         * sysvipc/shmat.c (shmat): Likewise.
2386         * sysvipc/shmctl.c (shmctl): Likewise.
2387         * sysvipc/shmdt.c (shmdt): Likewise.
2388         * sysvipc/shmget.c (shmget): Likewise.
2389         * termios/cfmakeraw.c (cfmakeraw): Likewise.
2390         * termios/speed.c (cfgetospeed): Likewise.
2391         (cfgetispeed): Likewise.
2392         (cfsetospeed): Likewise.
2393         (cfsetispeed): Likewise.
2394         * termios/tcflow.c (tcflow): Likewise.
2395         * termios/tcflush.c (tcflush): Likewise.
2396         * termios/tcgetattr.c (__tcgetattr): Likewise.
2397         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
2398         * termios/tcgetsid.c (tcgetsid): Likewise.
2399         * termios/tcsendbrk.c (tcsendbreak): Likewise.
2400         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
2401         * time/adjtime.c (__adjtime): Likewise.
2402         * time/dysize.c (dysize): Likewise.
2403         * time/ftime.c (ftime): Likewise.
2404         * time/getitimer.c (__getitimer): Likewise.
2405         * time/gettimeofday.c (__gettimeofday): Likewise.
2406         * time/gmtime.c (__gmtime_r): Likewise.
2407         (gmtime): Likewise.
2408         * time/localtime.c (__localtime_r): Likewise.
2409         (localtime): Likewise.
2410         * time/offtime.c (__offtime): Likewise.
2411         * time/settimeofday.c (__settimeofday): Likewise.
2412         * time/stime.c (stime): Likewise.
2413         * time/strftime_l.c (tm_diff): Likewise.
2414         (iso_week_days): Likewise.
2415         * time/strptime.c (strptime): Likewise.
2416         * time/time.c (time): Likewise.
2417         * time/timespec_get.c (timespec_get): Likewise.
2418         * time/tzset.c (tzset_internal): Likewise.
2419         (compute_change): Likewise.
2420         (__tz_compute): Likewise.
2421         * wcsmbs/btowc.c (__btowc): Likewise.
2422         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
2423         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
2424         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
2425         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
2426         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
2427         * wcsmbs/wcscat.c (__wcscat): Likewise.
2428         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2429         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
2430         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
2431         * wcsmbs/wcscspn.c (wcscspn): Likewise.
2432         * wcsmbs/wcsdup.c (wcsdup): Likewise.
2433         * wcsmbs/wcslen.c (__wcslen): Likewise.
2434         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
2435         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
2436         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
2437         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
2438         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2439         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
2440         * wcsmbs/wcsspn.c (wcsspn): Likewise.
2441         * wcsmbs/wcsstr.c (wcsstr): Likewise.
2442         * wcsmbs/wcstok.c (wcstok): Likewise.
2443         * wcsmbs/wctob.c (wctob): Likewise.
2444         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
2445         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2446         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
2447         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
2448         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
2449         * wcsmbs/wmemset.c (__wmemset): Likewise.
2450         * wctype/wcfuncs.c (__towlower): Likewise.
2451         (__towupper): Likewise.
2453         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
2454         (lll_unlock_elision): Add adapt_count parameter.
2456 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2458         * sysdeps/nptl/configure.ac: Do not give errors based on the
2459         results of top-level configure tests.
2460         * sysdeps/nptl/configure: Regenerated.
2462         * configure.ac (libc_cv_Bgroup): Remove configure test.
2463         * configure: Regenerated.
2464         * config.make.in (have-Bgroup): Remove variable.
2466         * configure.ac (sizeof_long_double): Remove configure test.
2467         * configure: Regenerated.
2468         * config.make.in (sizeof-long-double): Remove variable.
2470         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
2471         * configure: Regenerated.
2472         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
2473         variable.
2474         (exceptions): Likewise.
2475         * sysdeps/arm/configure: Regenerated.
2476         * config.make.in (exceptions): Remove variable.
2477         * Makeconfig (uses-callbacks): Use -fexceptions instead of
2478         $(exceptions).
2479         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
2480         (CFLAGS-vdprintf_chk.c): Likewise.
2481         (CFLAGS-printf_chk.c): Likewise.
2482         (CFLAGS-fprintf_chk.c): Likewise.
2483         (CFLAGS-vprintf_chk.c): Likewise.
2484         (CFLAGS-vfprintf_chk.c): Likewise.
2485         (CFLAGS-gets_chk.c): Likewise.
2486         (CFLAGS-fgets_chk.c): Likewise.
2487         (CFLAGS-fgets_u_chk.c): Likewise.
2488         (CFLAGS-fread_chk.c): Likewise.
2489         (CFLAGS-fread_u_chk.c): Likewise.
2490         (CFLAGS-wprintf_chk.c): Likewise.
2491         (CFLAGS-fwprintf_chk.c): Likewise.
2492         (CFLAGS-vwprintf_chk.c): Likewise.
2493         (CFLAGS-vfwprintf_chk.c): Likewise.
2494         (CFLAGS-fgetws_chk.c): Likewise.
2495         (CFLAGS-fgetws_u_chk.c): Likewise.
2496         * libio/Makefile (CFLAGS-fileops.c): Likewise.
2497         (CFLAGS-fputc.c): Likewise.
2498         (CFLAGS-fputwc.c): Likewise.
2499         (CFLAGS-freopen64.c): Likewise.
2500         (CFLAGS-freopen.c): Likewise.
2501         (CFLAGS-fseek.c): Likewise.
2502         (CFLAGS-fseeko64.c): Likewise.
2503         (CFLAGS-fseeko.c): Likewise.
2504         (CFLAGS-ftello64.c): Likewise.
2505         (CFLAGS-ftello.c): Likewise.
2506         (CFLAGS-fwide.c): Likewise.
2507         (CFLAGS-genops.c): Likewise.
2508         (CFLAGS-getc.c): Likewise.
2509         (CFLAGS-getchar.c): Likewise.
2510         (CFLAGS-getwc.c): Likewise.
2511         (CFLAGS-getwchar.c): Likewise.
2512         (CFLAGS-iofclose.c): Likewise.
2513         (CFLAGS-iofflush.c): Likewise.
2514         (CFLAGS-iofgetpos64.c): Likewise.
2515         (CFLAGS-iofgetpos.c): Likewise.
2516         (CFLAGS-iofgets.c): Likewise.
2517         (CFLAGS-iofgetws.c): Likewise.
2518         (CFLAGS-iofputs.c): Likewise.
2519         (CFLAGS-iofputws.c): Likewise.
2520         (CFLAGS-iofread.c): Likewise.
2521         (CFLAGS-iofsetpos64.c): Likewise.
2522         (CFLAGS-iofsetpos.c): Likewise.
2523         (CFLAGS-ioftell.c): Likewise.
2524         (CFLAGS-iofwrite.c): Likewise.
2525         (CFLAGS-iogetdelim.c): Likewise.
2526         (CFLAGS-iogetline.c): Likewise.
2527         (CFLAGS-iogets.c): Likewise.
2528         (CFLAGS-iogetwline.c): Likewise.
2529         (CFLAGS-ioputs.c): Likewise.
2530         (CFLAGS-ioseekoff.c): Likewise.
2531         (CFLAGS-ioseekpos.c): Likewise.
2532         (CFLAGS-iosetbuffer.c): Likewise.
2533         (CFLAGS-iosetvbuf.c): Likewise.
2534         (CFLAGS-ioungetc.c): Likewise.
2535         (CFLAGS-ioungetwc.c): Likewise.
2536         (CFLAGS-oldfileops.c): Likewise.
2537         (CFLAGS-oldiofclose.c): Likewise.
2538         (CFLAGS-oldiofgetpos64.c): Likewise.
2539         (CFLAGS-oldiofgetpos.c): Likewise.
2540         (CFLAGS-oldiofsetpos64.c): Likewise.
2541         (CFLAGS-oldiofsetpos.c): Likewise.
2542         (CFLAGS-peekc.c): Likewise.
2543         (CFLAGS-putc.c): Likewise.
2544         (CFLAGS-putchar.c): Likewise.
2545         (CFLAGS-putwc.c): Likewise.
2546         (CFLAGS-putwchar.c): Likewise.
2547         (CFLAGS-rewind.c): Likewise.
2548         (CFLAGS-wfileops.c): Likewise.
2549         (CFLAGS-wgenops.c): Likewise.
2550         (CFLAGS-oldiofopen.c): Likewise.
2551         (CFLAGS-iofopen.c): Likewise.
2552         (CFLAGS-iofopen64.c): Likewise.
2553         (CFLAGS-oldtmpfile.c): Likewise.
2554         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
2555         (CFLAGS-fprintf.c): Likewise.
2556         (CFLAGS-printf.c): Likewise.
2557         (CFLAGS-vfwprintf.c): Likewise.
2558         (CFLAGS-vfscanf.c): Likewise.
2559         (CFLAGS-vfwscanf.c): Likewise.
2560         (CFLAGS-fscanf.c): Likewise.
2561         (CFLAGS-scanf.c): Likewise.
2562         (CFLAGS-isoc99_vfscanf.c): Likewise.
2563         (CFLAGS-isoc99_vscanf.c): Likewise.
2564         (CFLAGS-isoc99_fscanf.c): Likewise.
2565         (CFLAGS-isoc99_scanf.c): Likewise.
2566         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
2567         (CFLAGS-isoc99_fwscanf.c): Likewise.
2568         (CFLAGS-isoc99_vwscanf.c): Likewise.
2569         (CFLAGS-isoc99_vfwscanf.c): Likewise.
2571         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
2572         after mkstemp64.
2573         * login/tst-utmp.c (do_prepare): Likewise.
2574         * rt/tst-aio.c (do_prepare): Likewise.
2575         * rt/tst-aio64.c (do_prepare): Likewise.
2577 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2579         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2580         (__lll_lock_elision): Remove adapt_count decrement...
2581         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2582         (__lll_trylock_elision): Likewise.
2583         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2584         (__lll_unlock_elision): ... to here. And utilize
2585         new adapt_count parameter.
2586         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2587         (__lll_unlock_elision): Update to include adapt_count
2588         parameter.
2589         (lll_unlock_elision): Pass pointer to adapt_count
2590         variable.
2592 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2594         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
2595         Add elision adapt_count parameter to list of arguments.
2596         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2597         (lll_unlock_elision): Update with new parameter list
2598         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2599         (lll_unlock_elision): Likewise
2600         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
2601         (lll_unlock_elision): Likewise
2603 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2605         [BZ #19122]
2606         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
2607         attribute_hidden.
2609         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
2610         attribute_hidden.
2611         [IS_IN (rtld)] (__strdup): Likewise.
2612         [IS_IN (rtld)] (__strerror_r): Likewise.
2613         [IS_IN (rtld)] (__strsep_g): Likewise.
2614         [IS_IN (rtld)] (memchr): Likewise.
2615         [IS_IN (rtld)] (memcmp): Likewise.
2616         [IS_IN (rtld)] (memcpy): Likewise.
2617         [IS_IN (rtld)] (memmove): Likewise.
2618         [IS_IN (rtld)] (memset): Likewise.
2619         [IS_IN (rtld)] (rawmemchr): Likewise.
2620         [IS_IN (rtld)] (stpcpy): Likewise.
2621         [IS_IN (rtld)] (strchr): Likewise.
2622         [IS_IN (rtld)] (strcmp): Likewise.
2623         [IS_IN (rtld)] (strlen): Likewise.
2624         [IS_IN (rtld)] (strnlen): Likewise.
2625         [IS_IN (rtld)] (strsep): Likewise.
2627         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
2628         attribute_hidden.
2629         [IS_IN (rtld)] (__strtoul_internal): Likewise.
2631         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
2632         attribute_hidden.
2633         [IS_IN (rtld)] (__libc_sigaction): Likewise.
2635         * include/setjmp.h (__longjmp): Add attribute_hidden.
2636         [IS_IN (rtld)] (__sigsetjmp): Likewise.
2638         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
2639         Add attribute_hidden.
2641         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
2642         [IS_IN (rtld)] (__open): Likewise.
2643         [IS_IN (rtld)] (__fcntl): Likewise.
2645         * include/dirent.h (__opendirat): Add attribute_hidden.
2646         (__getdents): Likewise.
2647         (__getdents64): Likewise.
2648         (__alloc_dir): Likewise.
2649         [IS_IN (rtld)] (__closedir): Likewise.
2650         [IS_IN (rtld)] (__fdopendir): Likewise.
2651         [IS_IN (rtld)] (__readdir): Likewise.
2652         [IS_IN (rtld)] (__readdir64): Likewise.
2653         [IS_IN (rtld)] (__rewinddir): Likewise.
2655         * include/dlfcn.h (_dl_catch_error): Moved to ...
2656         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
2657         attribute_hidden.
2659         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
2660         (_itoa_word): Likewise.
2662         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
2663         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
2664         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
2665         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
2666         (_dl_higher_prime_number): Likewise.
2667         (_dl_debug_printf_c): Likewise.
2668         (_dl_signal_cerror): Likewise.
2669         (_dl_receive_error): Likewise.
2670         (_dl_reloc_bad_type): Likewise.
2671         (_dl_resolve_conflicts): Likewise.
2672         (_dl_check_all_versions): Likewise.
2673         (_dl_check_map_versions): Likewise.
2674         (_dl_sort_fini): Likewise.
2675         (_dl_debug_initialize): Likewise.
2676         (_dl_init_paths): Likewise.
2677         (_dl_show_auxv): Likewise.
2678         (_dl_next_ld_env_entry): Likewise.
2679         (_dl_important_hwcaps): Likewise.
2680         (_dl_load_cache_lookup): Likewise.
2681         (_dl_update_slotinfo): Likewise.
2682         (_dl_show_scope): Likewise.
2684         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
2685         attribute_hidden.
2686         (_wordcopy_fwd_dest_aligned): Likewise.
2687         (_wordcopy_bwd_aligned): Likewise.
2688         (_wordcopy_bwd_dest_aligned): Likewise.
2690         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2691         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2692         Likewise.
2693         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2694         Likewise.
2695         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
2697 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2699         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
2700         GCC 5 requirement.
2702 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2704         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
2705         test.
2706         * sysdeps/i386/configure: Regenerated.
2707         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
2708         code unconditional.
2710         * configure.ac (libc_cv_asm_previous_directive): Remove configure
2711         test.
2712         (libc_cv_asm_popsection_directive): Likewise.
2713         * configure: Regenerated.
2714         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
2715         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
2716         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
2717         (__make_section_unallocated): Make definition unconditional.
2718         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
2719         Remove conditional definition.
2720         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
2721         (__make_section_unallocated): Likewise.
2723         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
2724         * configure: Regenerated.
2725         * config.make.in (static-libgcc): Remove variable.
2726         * Makerules (build-shlib-helper): Use -static-libgcc instead of
2727         $(static-libgcc).
2728         (build-module-helper): Likewise.
2730         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
2731         * configure: Regenerated.
2733 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2735         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
2736         (struct char_buffer): New type.
2737         (char_buffer_start, char_buffer_size, char_buffer_error)
2738         (char_buffer_rewind, char_buffer_add): New functions.
2739         (ADDW): Remove macro, replaced by the char_buffer_add function.
2740         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
2741         of extend_alloca.  Make control flow more explicit.
2743 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2745         [BZ #19137]
2746         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2747         Add -fomit-frame-pointer.
2748         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
2750 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2752         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
2753         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
2754         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
2755         only if !__GNUC_PREREQ (5,0).
2756         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
2757         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
2758         (INTERNAL_SYSCALL_NCS): Likewise.
2759         (LOADREGS_0): New macro for GCC 5.
2760         (ASMARGS_0): Likewise.
2761         (LOADREGS_1): Likewise.
2762         (ASMARGS_1): Likewise.
2763         (LOADREGS_2): Likewise.
2764         (ASMARGS_2): Likewise.
2765         (LOADREGS_3): Likewise.
2766         (ASMARGS_3): Likewise.
2767         (LOADREGS_4): Likewise.
2768         (ASMARGS_4): Likewise.
2769         (LOADREGS_5): Likewise.
2770         (ASMARGS_5): Likewise.
2771         (LOADREGS_6): Likewise.
2772         (ASMARGS_6): Likewise.
2774 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2776         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
2777         -fomit-frame-pointer.
2778         (CFLAGS-mmap64.c): Likewise.
2779         (CFLAGS-semtimedop.c): Likewise.
2780         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
2781         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
2782         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2783         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2785 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2787         [BZ #18928]
2788         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
2789         _dl_pointer_guard member.
2790         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
2791         initializer.
2792         (security_init): Always set up pointer guard.
2793         (process_envvars): Do not process LD_POINTER_GUARD.
2795 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
2797         [BZ #19134]
2798         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
2799         (.LC2): Likewise.
2800         (.LC3): Likewise.
2801         (__lround): Do not add 0.5 to integer or out-of-range arguments.
2803 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2805         [BZ #19129]
2806         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
2807         r0 and r1.
2809 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
2811         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
2813 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
2815         * include/stap-probe.h: Fix macro definition formatting.
2817 2015-10-14  Florian Weimer  <fweimer@redhat.com>
2819         [BZ #19074]
2820         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
2821         load and store num_ifs.
2823 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2825         [BZ #18822]
2826         * sysdeps/unix/sysv/linux/sched_getaffinity.c
2827         (__sched_getaffinity_new): Add libc_hidden_proto and
2828         libc_hidden_def.
2830 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2832         [BZ #19007]
2833         * scripts/localplt.awk: Also allow GOT references.
2834         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
2835         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
2836         with "+ REL R_386_GLOB_DAT".
2837         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
2838         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
2840 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2842         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
2843         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2844         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
2845         Likewise.
2846         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2847         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
2848         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2849         INTERNAL_SYSCALLINTERNAL_SYSCALL and
2850         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2851         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2852         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2853         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2854         Likewise.
2855         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2857 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2859         [BZ #19125]
2860         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
2861         <math_private.h> and <stdint.h>.
2862         (__llround): Avoid conversions to and from long long int, and
2863         subtractions, where those might raise spurious exceptions.
2864         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
2865         <math_private.h> and <stdint.h>.
2866         (__llroundf): Avoid conversions to and from long long int, and
2867         subtractions, where those might raise spurious exceptions.
2869 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2871         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
2872         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2873         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2874         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
2875         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2876         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2877         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
2878         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
2879         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
2880         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2881         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2882         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2883         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
2884         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2885         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2886         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
2887         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
2888         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2889         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
2890         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
2891         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2892         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
2893         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
2894         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2895         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
2896         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2897         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
2898         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2899         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2900         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
2901         (__xstat64_conv): Likewise.
2902         (__xstat32_conv): Likewise.
2904 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2906         * sysdeps/unix/sysv/linux/sysdep.h: New file.
2907         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
2908         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
2909         <sysdeps/unix/sysv/linux/sysdep.h>.
2910         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2911         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
2912         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
2913         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2914         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2915         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
2916         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
2917         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2918         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2921         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2922         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2923         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2924         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2925         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2926         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
2927         (sysdep-dl-routines): Add sysdep.
2928         [$(subdir) == nptl] (libpthread-routines): Likewise.
2929         [$(subdir) == rt] (librt-routines): Likewise.
2930         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
2931         PIC when branching to SYSCALL_ERROR_LABEL.
2932         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
2933         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
2934         <sysdeps/unix/sysv/linux/sysdep.h>.
2935         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
2936         (SYSCALL_ERROR_ERRNO): Removed.
2937         (SYSCALL_ERROR_HANDLER): Changed to empty.
2938         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
2939         (__syscall_error): New prototype.
2940         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
2941         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
2943 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2945         [BZ #19124]
2946         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
2947         (_dl_runtime_resolve_avx512): Make it a hidden alias of
2948         _dl_runtime_resolve_avx.
2949         (_dl_runtime_profile_avx512): Make it a hidden alias of
2950         _dl_runtime_profile_avx.
2952 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2954         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
2955         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
2956         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
2957         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
2959         [BZ #16422]
2960         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
2961         New configure test.
2962         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
2963         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
2964         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
2965         <math_private.h> and <stdint.h>.
2966         (__llrint): Avoid conversions to long long int where those might
2967         raise spurious exceptions.
2968         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
2969         <math_private.h> and <stdint.h>.
2970         (__llrintf): Avoid conversions to long long int where those might
2971         raise spurious exceptions.
2973 2015-10-12  Andreas Schwab  <schwab@suse.de>
2975         [BZ #18969]
2976         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
2977         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
2978         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
2979         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
2980         $(gen-locales).
2981         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
2982         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
2983         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
2984         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
2985         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
2986         $(gen-locales).
2987         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
2988         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
2989         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
2990         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
2991         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
2992         ($(objpfx)tst-ftell-active-handler.out)
2993         ($(objpfx)tst-ftell-append.out)
2994         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
2995         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
2996         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
2997         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
2998         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
2999         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
3000         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
3001         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
3002         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
3003         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
3004         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
3005         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
3006         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
3007         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
3008         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
3009         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
3010         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
3011         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
3012         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
3013         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
3014         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
3015         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
3016         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
3017         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
3018         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
3019         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
3020         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
3021         $(gen-locales).
3022         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
3023         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
3024         $(gen-locales).
3025         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
3026         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
3027         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
3028         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
3029         $(gen-locales).
3030         * libio/tst_wprintf2.c (main): Use explicit locale.
3031         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
3033 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3035         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
3036         __msg_sig_post.
3037         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
3039 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3041         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3042         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3044         * sysdeps/arm/libm-test-ulps: Regenerated.
3046         [BZ #15470]
3047         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
3049         [BZ #16399]
3050         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
3051         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
3052         and <fix-fp-int-convert-overflow.h>.
3053         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3054         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3055         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
3056         and <fix-fp-int-convert-overflow.h>.
3057         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
3058         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3059         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
3060         <fix-fp-int-convert-overflow.h>.
3061         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3062         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3063         * sysdeps/ieee754/dbl-64/s_lround.c: Include
3064         <fix-fp-int-convert-overflow.h>.
3065         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
3066         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3067         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
3068         and <fix-fp-int-convert-overflow.h>.
3069         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3070         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3071         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
3072         <limits.h> and <fix-fp-int-convert-overflow.h>.
3073         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3074         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3075         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
3076         and <fix-fp-int-convert-overflow.h>.
3077         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3078         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3079         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
3080         and <fix-fp-int-convert-overflow.h>.
3081         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3082         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3083         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
3085 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3087         [BZ #18589]
3088         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
3089         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
3090         $(gen-locales).
3092 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3093             Phil Blundell <pb@pbcl.net>
3095         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
3096         * nptl/tst-cancel26.c: New file.
3097         * nptl/tst-cancel27.c: Likewise.
3099 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
3101         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
3102         __ILP32__ isn't defined.
3103         (lrint): Likewise.
3104         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
3105         (lrintf): Likewise.
3106         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
3107         (lrintl): Likewise.
3108         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
3109         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
3110         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
3112 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3114         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3115         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3117         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
3118         file.
3119         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
3120         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3122 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3124         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
3125         configure test.
3126         * sysdeps/i386/configure: Regenerated.
3127         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
3128         configure test.
3129         * sysdeps/x86_64/configure: Regenerated.
3130         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
3131         Make code unconditional.
3133         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
3134         test.
3135         * sysdeps/i386/configure: Regenerated.
3136         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
3137         test.
3138         * sysdeps/x86_64/configure: Regenerated.
3139         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
3140         Make code unconditional.
3141         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3142         Likewise.
3143         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
3144         Likewise.
3145         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3146         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
3147         code unconditional.
3148         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3149         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
3150         code unconditional.
3151         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3152         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
3153         code unconditional.
3154         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
3155         code unconditional.
3156         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3157         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
3158         code unconditional.
3159         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3160         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
3161         code unconditional.
3162         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3163         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
3164         code unconditional.
3165         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3166         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
3167         code unconditional.
3168         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3169         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
3171         [BZ #19095]
3172         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
3173         mantissa to long int before shifting left.
3175 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3177         [BZ #19094]
3178         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
3179         <limits.h>.
3180         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3181         when result overflows but exception would not result from cast.
3182         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
3183         <limits.h>.
3184         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3185         when result overflows but exception would not result from cast.
3186         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
3187         <limits.h>.
3188         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3189         when result overflows but exception would not result from cast.
3190         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
3191         <limits.h>.
3192         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3193         when result overflows but exception would not result from cast.
3194         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
3195         <limits.h>.
3196         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3197         when result overflows but exception would not result from cast.
3198         * math/libm-test.inc (lrint_test_data): Add more tests.
3199         (llrint_test_data): Likewise.
3201 2015-10-08  Roland McGrath  <roland@hack.frob.com>
3203         [BZ #18872]
3204         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
3205         Move out from under [$(run-built-tests) = yes] conditional.
3206         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
3207         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
3209 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
3211         [BZ #18589]
3212         * string/Makefile (tests): Add bug-strcoll2.
3213         (LOCALES): Add cs_CZ.UTF-8.
3214         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
3216         [BZ #18589]
3217         * string/bug-strcoll2.c: New file.
3218         * locale/categories.def: Revert commit
3219         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
3220         * locale/langinfo.h: Likewise.
3221         * locale/localeinfo.h: Likewise.
3222         * locale/C-collate.c: Likewise.
3223         * locale/programs/ld-collate.c (collate_output): Likewise.
3224         * string/strcoll_l.c (STRDIFF): Likewise.
3225         (STRCOLL): Likewise.
3226         * wcsmbs/wcscoll_l.c: Likewise.
3228 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3230         * math/libm-test.inc (lround_test_data): Do not expect the absence
3231         of "inexact" for some tests with non-integer arguments.
3232         (llround_test_data): Likewise.
3234         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
3235         test.
3236         (libc_cv_cc_sse2avx): Likewise.
3237         * sysdeps/i386/configure: Regenerated.
3238         * sysdeps/i386/i686/multiarch/Makefile
3239         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
3240         [$(subdir) = math].
3241         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
3242         code unconditional.
3243         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3244         Likewise.
3245         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
3246         Likewise.
3247         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3248         Likewise.
3249         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
3250         test.
3251         (libc_cv_cc_sse2avx): Likewise.
3252         * sysdeps/x86_64/configure: Regenerated.
3253         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
3254         unconditional.
3255         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
3256         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
3257         unconditional.
3258         (_dl_runtime_profile)
3259         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
3260         conditional code.
3261         * sysdeps/x86_64/fpu/multiarch/Makefile
3262         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
3263         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3264         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3265         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3266         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3267         * sysdeps/x86_64/fpu/multiarch/e_log.c
3268         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3269         * sysdeps/x86_64/fpu/multiarch/s_atan.c
3270         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3271         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3272         Likewise.
3273         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3274         Likewise.
3275         * sysdeps/x86_64/fpu/multiarch/s_sin.c
3276         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3277         * sysdeps/x86_64/fpu/multiarch/s_tan.c
3278         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3279         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
3280         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
3281         (HAVE_SSE2AVX_SUPPORT): Likewise.
3283 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
3285         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
3286         instead of #pragma optimize.
3288 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3290         [BZ #17195]
3291         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
3292         as is similarly done in systrim and _int_free already.
3294 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3296         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
3298 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3300         [BZ #19088]
3301         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
3302         <limits.h>.
3303         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3304         overflows but exception would not result from cast.
3305         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
3306         and <limits.h>.
3307         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3308         overflows but exception would not result from cast.
3309         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
3310         <limits.h>.
3311         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3312         overflows but exception would not result from cast.
3313         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
3314         <limits.h>.
3315         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3316         overflows but exception would not result from cast.
3317         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
3318         <limits.h>.
3319         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3320         overflows but exception would not result from cast.
3321         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
3322         <limits.h>.
3323         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3324         overflows but exception would not result from cast.
3325         * math/libm-test.inc (lround_test_data): Add more tests.
3326         (llround_test_data): Likewise.
3328 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
3330         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
3331         (CFLAGS-ialloc.c): Ditto.
3332         (CFLAGS-scheck.c): Ditto.
3334 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3336         [BZ #19086]
3337         * manual/filesys.texi (Storage Allocation): Fix argument order for
3338         posix_fallocate64.
3340 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3342         [BZ #19085]
3343         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
3344         exponent below 48 inside case for non-overflowing exponent.
3345         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
3347 2015-10-07  Florian Weimer  <fweimer@redhat.com>
3349         * iconvdata/cp737.h (from_idx): Add const.
3350         * iconvdata/cp775.h (from_idx): Likewise.
3352 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3354         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
3355         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
3356         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
3358         [BZ #19079]
3359         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
3360         file, conditioned on [!_LP64].
3361         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
3362         [!_LP64] (__lround): Do not define as function or alias.
3363         [!_LP64] (lround): Likewise.
3364         [!_LP64] (__lroundl): Likewise.
3365         [!_LP64] (lroundl): Likewise.
3366         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
3367         macro.
3368         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3369         Likewise.
3371 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
3373         * math/libm-test.inc (lrint_test_data): Add more tests.
3374         (llrint_test_data): Likewise.
3375         (lround_test_data): Likewise.
3376         (llround_test_data): Likewise.
3378         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
3379         (llrint_test_data): Add tests used for lrint.
3381         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
3382         test.
3383         * sysdeps/i386/configure: Regenerated.
3384         * sysdeps/i386/i686/multiarch/Makefile
3385         [$(config-cflags-sse4) = yes]: Make code unconditional.
3386         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
3387         Likewise.
3388         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
3389         Likewise.
3390         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
3391         test.
3392         * sysdeps/x86_64/configure: Regenerated.
3393         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
3394         Make code unconditional.
3395         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
3396         Likewise.
3397         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
3398         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
3400         * scripts/rpm2dynsym.sh: Remove file.
3402 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3404         * configure.ac (libc_cv_cxx_thread_local): Define.
3405         * configure: Regenerate.
3406         * config.make.in (have-cxx-thread_local): Define.
3407         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
3408         (LDLIBS-tst-thread_local1): Define.
3409         (tests): Add tst-thread_local1.
3410         [have-cxx-thread_local != yes] (tests-unsupported): Add
3411         tst-thread_local1.
3412         * nptl/tst-thread_local1.cc: New file.
3414 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
3416         [BZ #19078]
3417         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
3418         (u_thres): Likewise.
3419         (__expl): Determine whether to call __kernel_standard_l based on
3420         value of result, not argument.
3422         * math/libm-test.inc (scalb_test_data): Add more expectations for
3423         the "inexact" exception.
3425         [BZ #19077]
3426         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
3427         0.0L for argument 1.0L.
3429         [BZ #19076]
3430         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
3431         constant 0.0L when computing infinite result.
3433 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3435         [BZ #10432]
3436         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
3437         malloc_usable_size.
3439 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3441         [BZ #19018]
3442         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3443         Mangle function pointer before storing it.
3444         (__call_tls_dtors): Demangle function pointer before calling it.
3446 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3448         [BZ #19012]
3449         * iconv/gconv_db.c (gen_steps): Check for additional errors.
3450         Clean up on failure.
3452 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
3454         [BZ #19071]
3455         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
3456         long int variable to store possibly incremented high part of
3457         mantissa.
3458         * math/libm-test.inc (lround_test_data): Add tests used for
3459         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
3460         for tests requiring 64-bit long.  Do not condition tests on
3461         [TEST_FLOAT] unnecessarily.
3462         (llround_test_data): Add tests used for lround.  Add another
3463         expectation for the "inexact" exception.  Do not condition tests
3464         on [TEST_FLOAT] unnecessarily.
3466         [BZ #887]
3467         [BZ #19049]
3468         [BZ #19050]
3469         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
3470         * sysdeps/ieee754/dbl-64/e_log10.c: Include
3471         <fix-int-fp-convert-zero.h>.
3472         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3473         * sysdeps/ieee754/dbl-64/e_log2.c: Include
3474         <fix-int-fp-convert-zero.h>.
3475         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3476         * sysdeps/ieee754/dbl-64/s_erf.c: Include
3477         <fix-int-fp-convert-zero.h>.
3478         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3479         * sysdeps/ieee754/dbl-64/s_logb.c: Include
3480         <fix-int-fp-convert-zero.h>.
3481         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3482         * sysdeps/ieee754/flt-32/e_log10f.c: Include
3483         <fix-int-fp-convert-zero.h>.
3484         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3485         * sysdeps/ieee754/flt-32/e_log2f.c: Include
3486         <fix-int-fp-convert-zero.h>.
3487         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3488         * sysdeps/ieee754/flt-32/s_erff.c: Include
3489         <fix-int-fp-convert-zero.h>.
3490         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3491         * sysdeps/ieee754/flt-32/s_logbf.c: Include
3492         <fix-int-fp-convert-zero.h>.
3493         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3494         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
3495         <fix-int-fp-convert-zero.h>.
3496         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3497         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
3498         <fix-int-fp-convert-zero.h>.
3499         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3500         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
3501         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
3502         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
3503         file.
3504         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
3506 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3508         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3510 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
3512         [BZ #19059]
3513         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
3514         overflowing computation.
3515         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3516         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3517         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3518         Likewise.
3519         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3520         Likewise.
3521         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3522         Likewise.
3523         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3524         Likewise.
3525         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3526         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3527         Likewise.
3528         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3529         Likewise.
3530         * math/libm-test.inc (nexttoward_test_data): Add more tests.
3532         * nss/rewrite_field.c (__nss_rewrite_field): Use
3533         internal_function.
3534         * nss/valid_field.c (__nss_valid_field): Likewise.
3535         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
3537 2015-10-02  Florian Weimer  <fweimer@redhat.com>
3539         [BZ #18724]
3540         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
3541         (__nss_invalid_field_characters, __nss_valid_field)
3542         (__nss_valid_list_field, __nss_rewrite_field): Declare.
3543         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
3544         tst-field.c: New file.
3545         * nss/Makefile (routines): Add valid_field, rewrite_field.
3546         (tests-static): Define unconditionally.
3547         (tests): Include tests-static.
3548         [build-static-nss] (tests-static): Use append.
3549         [build-static-nss] (tests): Remove modification.
3550         * nss/getent.c (print_group): Call putgrent.  Report error.
3551         (print_gshadow): Call putsgent.  Report error.
3552         (print_passwd): Call putpwent.  Report error.
3553         (print_shadow): Call putspent.  Report error.
3554         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
3555         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
3556         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
3557         name, password, directory, shell fields for valid syntax.  Rewrite
3558         GECOS field to match syntax.
3559         * pwd/Makefile (tests): Add tst-putpwent.
3560         * pwd/tst-putpwent.c: New file.
3561         * grp/putgrent.c (putgrent): Convert to ISO function definition.
3562         Check grName, grpasswd, gr_mem fields for valid syntax.
3563         Change loop variable i to size_t.
3564         * grp/Makefile (tests): Add tst-putgrent.
3565         * grp/tst-putgrent.c: New file.
3566         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
3567         valid syntax.
3568         * shadow/Makefile (tests): Add tst-putspent.
3569         * shadow/tst-putspent.c: New file.
3570         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
3571         sg_mem fields for valid syntax.
3572         * gshadow/Makefile (tests): Add tst-putsgent.
3573         * gshadow/tst-putsgent.c: New file.
3575 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3577         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
3578         assembly instructions.
3580 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3582         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
3583         prefix from operands.
3585 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
3587         [BZ #16347]
3588         [BZ #19046]
3589         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
3590         <libc-internal.h>.
3591         (MAXLGM): Do not use diagnostic control macros.
3592         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
3593         threshold for ldbl-128ibm.
3594         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
3595         instead of multiplying by log then subtracting.
3596         * math/auto-libm-test-in: Add more tests of lgamma.
3597         * math/auto-libm-test-out: Regenerated.
3599         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
3600         (TYPE_HEX_DIG): Likewise.
3601         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
3602         precisions when printing floating-point numbers.
3603         (check_float_internal): Likewise.
3605 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
3607         [BZ #16620]
3608         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
3609         of log (10) rounded downward to 48 bits.
3610         (log10_low): Use corresponding low part of log (10).
3612         [BZ #19032]
3613         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
3614         compute result as (x - x) / (x - x) not as 0 / 0.
3615         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3616         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
3618         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3619         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
3620         and expm1.
3621         * math/auto-libm-test-out: Regenerated.
3622         * math/libm-test.inc (acos_test_data): Add more tests.
3623         (asin_test_data): Likewise.
3624         (asinh_test_data): Likewise.
3625         (atan_test_data): Likewise.
3626         (atanh_test_data): Likewise.
3627         (atan2_test_data): Likewise.
3628         (cbrt_test_data): Likewise.
3629         (ceil_test_data): Likewise.
3630         (copysign_test_data): Likewise.
3631         (cos_test_data): Likewise.
3632         (cosh_test_data): Likewise.
3633         (erf_test_data): Likewise.
3634         (erfc_test_data): Likewise.
3635         (exp_test_data): Likewise.
3636         (exp10_test_data): Likewise.
3637         (exp2_test_data): Likewise.
3638         (expm1_test_data): Likewise.
3639         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3641 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
3643         [BZ #19006]
3644         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
3645         to ...
3646         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
3647         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
3648         to ...
3649         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
3650         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
3651         to ...
3652         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
3653         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
3654         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
3655         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
3656         to ...
3657         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
3658         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3659         Moved to ...
3660         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
3661         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3662         Moved to ...
3663         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
3664         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
3665         to ...
3666         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
3667         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3668         Moved to ...
3669         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
3670         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
3671         to ...
3672         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
3673         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
3674         Removed.
3675         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
3676         Likewise.
3677         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
3678         Likewise.
3679         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
3680         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
3681         Likewise.
3682         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3683         Likewise.
3684         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3685         Likewise.
3686         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3687         Likewise.
3688         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3689         Likewise.
3690         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
3691         Likewise.
3692         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
3693         Likewise.
3694         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
3695         Likewise.
3696         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
3697         Likewise.
3698         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
3699         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
3700         Likewise.
3701         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3702         Likewise.
3703         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3704         Likewise.
3705         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3706         Likewise.
3707         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
3708         Likewise.
3709         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3710         Replace ../i486/pthread_cond_timedwait.S with
3711         ../pthread_cond_timedwait.S.
3713 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
3715         * math/libm-test.inc (acos_test_data): Refine expectations for
3716         errno and "inexact" exceptions.
3717         (acosh_test_data): Likewise.
3718         (asin_test_data): Likewise.
3719         (asinh_test_data): Likewise.
3720         (atan_test_data): Likewise.
3721         (atanh_test_data): Likewise.
3722         (atan2_test_data): Likewise.
3723         (cbrt_test_data): Likewise.
3724         (ceil_test_data): Likewise.
3725         (copysign_test_data): Likewise.
3726         (cosh_test_data): Likewise.
3727         (erf_test_data): Likewise.
3728         (erfc_test_data): Likewise.
3729         (exp_test_data): Likewise.
3730         (exp10_test_data): Likewise.
3731         (exp2_test_data): Likewise.
3732         (expm1_test_data): Likewise.
3733         (fabs_test_data): Likewise.
3734         (floor_test_data): Likewise.
3735         (fma_test_data): Likewise.
3736         (fmax_test_data): Likewise.
3737         (fmin_test_data): Likewise.
3738         (fmod_test_data): Likewise.
3739         (fpclassify_test_data): Likewise.
3740         (frexp_test_data): Likewise.
3741         (hypot_test_data): Likewise.
3742         (ilogb_test_data): Likewise.
3743         (isgreater_test_data): Likewise.
3744         (isgreaterequal_test_data): Likewise.
3745         (isinf_test_data): Likewise.
3746         (isless_test_data): Likewise.
3747         (islessequal_test_data): Likewise.
3748         (islessgreater_test_data): Likewise.
3749         (isnan_test_data): Likewise.
3750         (isnormal_test_data): Likewise.
3751         (issignaling_test_data): Likewise.
3752         (isunordered_test_data): Likewise.
3753         (j0_test_data): Likewise.
3754         (j1_test_data): Likewise.
3755         (jn_test_data): Likewise.
3756         (lgamma_test_data): Likewise.
3757         (lrint_test_data): Likewise.
3758         (llrint_test_data): Likewise.
3759         (log_test_data): Likewise.
3760         (log10_test_data): Likewise.
3761         (log1p_test_data): Likewise.
3762         (log2_test_data): Likewise.
3763         (logb_test_data): Likewise.
3764         (lround_test_data): Likewise.
3765         (llround_test_data): Likewise.
3766         (modf_test_data): Likewise.
3767         (nearbyint_test_data): Likewise.
3768         (nextafter_test_data): Likewise.
3769         (nexttoward_test_data): Likewise.
3770         (pow_test_data): Likewise.
3771         (remainder_test_data): Likewise.
3772         (remquo_test_data): Likewise.
3773         (rint_test_data): Likewise.
3774         (round_test_data): Likewise.
3775         (signbit_test_data): Likewise.
3776         (sinh_test_data): Likewise.
3777         (sqrt_test_data): Likewise.
3778         (tanh_test_data): Likewise.
3779         (tgamma_test_data): Likewise.
3780         (trunc_test_data): Likewise.
3781         (y0_test_data): Likewise.
3782         (y1_test_data): Likewise.
3783         (yn_test_data): Likewise.
3784         (significand_test_data): Likewise.
3786 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
3788         * manual/filesys.texi (Storage Allocation): Document that
3789         posix_fallocate emulation fails when fd is open with O_WRONLY.
3791 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3793         [BZ #19016]
3794         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
3795         allow more cases with X^2 + Y^2 >= 0.5.
3796         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
3797         normal element in sum instead of special-casing based on values of
3798         arguments.
3799         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
3800         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
3801         -1 as normal element in sum instead of special-casing based on
3802         values of arguments.
3803         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
3804         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
3805         (__x2y2m1): Update comment.
3806         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
3807         as normal element in sum instead of special-casing based on values
3808         of arguments.
3809         * math/s_clog.c (__clog): Handle more cases using log1p without
3810         hypot.
3811         * math/s_clog10.c (__clog10): Likewise.
3812         * math/s_clog10f.c (__clog10f): Likewise.
3813         * math/s_clog10l.c (__clog10l): Likewise.
3814         * math/s_clogf.c (__clogf): Likewise.
3815         * math/s_clogl.c (__clogl): Likewise.
3816         * math/auto-libm-test-in: Add more tests of clog and clog10.
3817         * math/auto-libm-test-out: Regenerated.
3818         * sysdeps/i386/fpu/libm-test-ulps: Update.
3819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3821 2015-09-28  Martin Sebor  <msebor@redhat.com>
3823         [BZ #18969]
3824         * string/Makefile (LOCALES): Define.
3825         (gen-locales.mk): Include.
3826         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
3827         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
3828         * string/tst-strxfrm2.c (do_test): Print the name of the locale
3829         on setlocale failure.
3831 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3833         [BZ #18985]
3834         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
3835         (__strftime_internal): Likewise.
3836         * time/tst-strftime.c (do_bz18985): New test.
3837         (do_test): Call it.
3839 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
3841         [BZ #18956]
3842         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
3843         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
3844         extracting high part.
3845         * math/auto-libm-test-in: Add another test of pow.
3846         * math/auto-libm-test-out: Regenerated.
3847         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3849 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3851         [BZ #18825]
3852         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
3853         New macro.
3854         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
3855         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3856         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
3857         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
3858         DBL_NARROW_EVAL, reloading the PIC register as needed.
3859         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
3860         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
3861         FLT_NARROW_EVAL.  Use separate return path for case when first
3862         argument is NaN.
3863         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
3864         DEFINE_LDBL_MIN.
3865         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
3866         PIC register.
3867         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
3868         math_check_force_underflow_nonneg.
3869         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
3870         underflow for subnormal result.
3871         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3872         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
3873         math_check_force_underflow_nonneg.
3874         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
3875         math_check_force_underflow.
3876         * sysdeps/x86_64/fpu/x86_64-math-asm.h
3877         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
3878         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
3879         DEFINE_LDBL_MIN.
3880         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
3881         * math/auto-libm-test-in: Add more tests of pow.
3882         * math/auto-libm-test-out: Regenerated.
3884 2015-09-25  Florian Weimer  <fweimer@redhat.com>
3886         * nss/bug17079.c (init_test_items): Add diagnostic for
3887         inconsistent entries.
3888         (test_buffer_size): Skip inconsistent entries.
3890 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3892         [BZ #13304]
3893         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
3894         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
3895         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
3897         [BZ #13304]
3898         * sysdeps/microblaze/s_fma.c: New file.
3899         * sysdeps/microblaze/s_fmaf.c: Likewise.
3900         * sysdeps/microblaze/sfp-machine.h: Likewise.
3902 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
3904         [BZ #17250]
3905         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
3906         member.
3908 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3910         [BZ #18803]
3911         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
3912         (MO): New macro.
3913         (__ieee754_hypot) [PIC]: Load PIC register.
3914         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
3915         DBL_NARROW_EVAL.
3916         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
3917         math_check_force_underflow_nonneg in case where result might be
3918         tiny.
3919         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3920         Likewise.
3921         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3922         Likewise.
3923         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3924         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
3925         * math/auto-libm-test-in: Add more tests of hypot.
3926         * math/auto-libm-test-out: Regenerated.
3928 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
3930         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
3932 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3934         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
3935         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
3936         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3937         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3938         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
3939         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3940         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3942         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
3943         LOAD_PIC_REG.
3945         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
3946         (FLT_CHECK_FORCE_UFLOW): Likewise.
3947         (DBL_CHECK_FORCE_UFLOW): Likewise.
3948         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
3949         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
3950         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
3951         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3952         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3953         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3954         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3955         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3956         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
3957         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3958         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
3959         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
3960         (flt_min): Replace with use of DEFINE_FLT_MIN.
3961         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
3962         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
3963         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3964         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
3965         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
3966         (flt_min): Replace with use of DEFINE_FLT_MIN.
3967         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
3968         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
3969         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3970         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
3971         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
3972         (flt_min): Replace with use of DEFINE_FLT_MIN.
3973         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
3974         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
3975         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3976         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3977         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
3978         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3979         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3980         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
3981         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3982         (__atan): Use DBL_CHECK_FORCE_UFLOW.
3983         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
3984         (flt_min): Replace with use of DEFINE_FLT_MIN.
3985         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
3986         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
3987         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3988         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
3989         main computation.
3990         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
3991         (flt_min): Replace with use of DEFINE_FLT_MIN.
3992         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
3993         main computation.
3994         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
3995         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3996         (MO): New macro.
3997         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
3998         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
3999         (flt_min): Replace with use of DEFINE_FLT_MIN.
4000         (MO): New macro.
4001         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
4002         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
4003         (__log1pl): Use MO.
4005         [BZ #19003]
4006         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
4007         $(config-cflags-nofma).
4009 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4011         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4013 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
4015         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
4016         (TWO127): Likewise.
4018         * sysdeps/generic/math_private.h (fabs_tg): New macro.
4019         (min_of_type): Likewise.
4020         (math_check_force_underflow): Likewise.
4021         (math_check_force_underflow_nonneg): Likewise.
4022         (math_check_force_underflow_complex): Likewise.
4023         * math/e_exp2l.c (__ieee754_exp2l): Use
4024         math_check_force_underflow_nonneg.
4025         * math/k_casinh.c (__kernel_casinh): Likewise.
4026         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4027         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4028         * math/s_catan.c (__catan): Use
4029         math_check_force_underflow_complex.
4030         * math/s_catanf.c (__catanf): Likewise.
4031         * math/s_catanh.c (__catanh): Likewise.
4032         * math/s_catanhf.c (__catanhf): Likewise.
4033         * math/s_catanhl.c (__catanhl): Likewise.
4034         * math/s_catanl.c (__catanl): Likewise.
4035         * math/s_ccosh.c (__ccosh): Likewise.
4036         * math/s_ccoshf.c (__ccoshf): Likewise.
4037         * math/s_ccoshl.c (__ccoshl): Likewise.
4038         * math/s_cexp.c (__cexp): Likewise.
4039         * math/s_cexpf.c (__cexpf): Likewise.
4040         * math/s_cexpl.c (__cexpl): Likewise.
4041         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
4042         * math/s_clog10.c (__clog10): Likewise.
4043         * math/s_clog10f.c (__clog10f): Likewise.
4044         * math/s_clog10l.c (__clog10l): Likewise.
4045         * math/s_clogf.c (__clogf): Likewise.
4046         * math/s_clogl.c (__clogl): Likewise.
4047         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
4048         * math/s_csinf.c (__csinf): Likewise.
4049         * math/s_csinh.c (__csinh): Likewise.
4050         * math/s_csinhf.c (__csinhf): Likewise.
4051         * math/s_csinhl.c (__csinhl): Likewise.
4052         * math/s_csinl.c (__csinl): Likewise.
4053         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
4054         * math/s_csqrtf.c (__csqrtf): Likewise.
4055         * math/s_csqrtl.c (__csqrtl): Likewise.
4056         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
4057         * math/s_ctanf.c (__ctanf): Likewise.
4058         * math/s_ctanh.c (__ctanh): Likewise.
4059         * math/s_ctanhf.c (__ctanhf): Likewise.
4060         * math/s_ctanhl.c (__ctanhl): Likewise.
4061         * math/s_ctanl.c (__ctanl): Likewise.
4062         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
4063         instead of volatile.
4064         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
4065         math_check_force_underflow.
4066         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4067         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
4068         volatile when forcing underflow.
4069         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4070         math_check_force_underflow_nonneg.
4071         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4072         Likewise.
4073         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
4074         math_check_force_underflow.
4075         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4076         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4077         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4078         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
4079         math_check_force_underflow_nonneg.
4080         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
4081         math_check_force_underflow.
4082         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
4084         instead of volatile.
4085         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
4086         math_check_force_underflow.
4087         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4088         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4089         math_check_force_underflow_nonneg.
4090         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
4091         math_check_force_underflow.
4092         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
4093         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4094         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
4095         math_check_force_underflow_nonneg.
4096         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4097         Likewise.
4098         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
4099         math_check_force_underflow.
4100         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4101         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4102         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4103         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
4104         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4105         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
4106         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4107         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4108         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4109         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
4110         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
4111         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4112         Likewise.
4113         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
4114         math_check_force_underflow_nonneg.
4115         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4116         Likewise.
4117         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
4118         math_check_force_underflow.
4119         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4120         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4121         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4122         Likewise.
4123         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4124         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
4125         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
4126         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
4127         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
4128         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
4130         instead of volatile.
4131         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
4132         math_check_force_underflow.
4133         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4134         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
4135         math_check_force_underflow.
4136         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
4137         Likewise.
4138         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4139         Use math_check_force_underflow_nonneg.
4140         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
4141         math_check_force_underflow.
4142         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4143         Likewise.
4144         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4145         Likewise.
4146         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4147         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4148         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4149         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4150         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
4151         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4152         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4153         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4154         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
4155         math_check_force_underflow_nonneg.
4156         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
4157         math_check_force_underflow.
4158         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4159         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4160         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
4161         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
4162         math_check_force_underflow_nonneg.
4163         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
4164         math_check_force_underflow.
4165         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4166         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
4167         instead of volatile.
4168         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
4169         math_check_force_underflow.
4171         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
4172         * stdlib/strtod_l.c: Include <math_private.h>.
4173         (overflow_value): Use math_narrow_eval.
4174         (underflow_value): Likewise.
4175         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4176         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4177         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
4178         (__ieee754_gamma_r): Likewise.
4179         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
4180         Likewise.
4181         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4182         Likewise.
4183         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4184         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
4185         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4186         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4187         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4188         (__ieee754_gammaf_r): Likewise.
4189         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4190         Likewise.
4191         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4192         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
4193         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4194         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4195         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
4196         volatile.
4197         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4198         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
4199         math_narrow_eval.
4200         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4201         Likewise.
4202         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4203         Likewise.
4204         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
4205         Likewise.
4206         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
4207         volatile.
4208         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4209         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
4210         math_narrow_eval.
4211         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4212         Likewise.
4213         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4214         Likewise.
4216 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
4218         * nptl/Versions: Remove ignored symbols.
4220 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4222         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
4223         * nss/Makefile (tests): Update.
4225 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4227         * nss/bug18287.c: New file.
4228         * nss/Makefile (tests): Add bug18287.
4230 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4232         * mach/Versions (__mach_host_self_): Add symbol.
4234 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4236         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
4237         vm_page_size.
4239 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4241         Really fix sysdeps/i386/fpu/s_scalbn.S build
4243         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
4244         (libc: GLIBC_2_22): Remove unused version set.
4246 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4248         * config.make.in (enable-timezone-tools): New variable.
4249         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
4250         (enable_timezone_tools): Export to generated files.
4251         * configure: Regenerate.
4252         * INSTALL: Regenerate.
4253         * manual/install.texi (--disable-timezone-tools): Document new flag.
4254         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
4255         ifeq ($(enable-timezone-tools),yes) check.
4257 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4259         * timezone/Makefile: Revert previous change.
4261         [BZ #18980]
4262         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
4263         (DEFINE_DBL_MIN): Likewise.
4264         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4265         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4266         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4267         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4268         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
4269         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4270         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4271         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
4272         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
4273         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4274         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4275         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
4276         (flt_min): Replace with use of DEFINE_FLT_MIN.
4277         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4278         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
4279         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4280         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4281         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
4282         (flt_min): Replace with use of DEFINE_FLT_MIN.
4283         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4284         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
4285         (flt_min): Replace with use of DEFINE_FLT_MIN.
4286         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4287         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
4288         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
4289         (__ieee754_hypot): Use DBL_NARROW_EVAL.
4290         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
4291         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
4292         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
4293         (__ieee754_pow): Use DBL_NARROW_EVAL.
4294         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
4295         (__ieee754_powf): Use FLT_NARROW_EVAL.
4296         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
4297         (__ieee754_expf_sse2): Convert double-precision result to single
4298         precision.
4299         * sysdeps/i386/fpu/libm-test-ulps: Update.
4301 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4303         * timezone/Makefile: Ignore unused variable errors due to private.h
4304         (time_t_min) and (time_t_max).
4305         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
4306         Likewise.
4308 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4310         [BZ #18981]
4311         * sysdeps/i386/fpu/i386-math-asm.h: New file.
4312         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
4313         (__ieee754_scalb): Use DBL_NARROW_EVAL.
4314         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
4315         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
4316         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
4317         (__scalbn): Use DBL_NARROW_EVAL.
4318         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
4319         (__scalbnf): Use FLT_NARROW_EVAL.
4321 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4323         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
4324         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
4325         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
4326         * stdio-common/printf_fp.c (___printf_fp):
4327         Use signbit to get the sign. Use isinf macro to allow inlining.
4328         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
4329         * stdio-common/printf_size.c (__printf_size): Likewise.
4331 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4333         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
4335 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4337         [BZ #18980]
4338         * sysdeps/generic/math_private.h: Include <float.h>.
4339         (math_narrow_eval): New macro.
4340         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
4341         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
4342         math_narrow_eval on overflowing return value.
4343         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
4344         Likewise.
4345         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4346         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
4347         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
4348         Likewise.
4349         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4351 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4353         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
4354         * math/Makefile: Remove isinf_ns.c.
4355         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
4356         * math/multc3.c (__multc3): Likewise.
4357         * math/s_casin.c (__casin): Likewise.
4358         * math/s_casinf.c (__casinf): Likewise.
4359         * math/s_casinl.c (__casinl): Likewise.
4360         * math/s_cproj.c (__cproj): Likewise.
4361         * math/s_cprojf.c (__cprojf): Likewise.
4362         * math/s_cprojl.c (__cprofl): Likewise.
4363         * math/s_ctan.c (__ctan): Likewise.
4364         * math/s_ctanf.c (__ctanf): Likewise.
4365         * math/s_ctanh.c (__ctanh): Likewise.
4366         * math/s_ctanhf.c (__ctanhf): Likewise.
4367         * math/s_ctanhl.c (__ctanhl): Likewise.
4368         * math/s_ctanl.c (__ctanl): Likewise.
4369         * math/w_fmod.c (__fmod): Likewise.
4370         * math/w_fmodf.c (__fmodf): Likewise.
4371         * math/w_fmodl.c (_fmodl): Likewise.
4372         * math/w_remainder.c (__remainder): Likewise.
4373         * math/w_remainderf.c (__remainderf): Likewise.
4374         * math/w_remainderl.c (__remainderl): Likewise.
4375         * math/w_scalb.c (__scalb): Likewise.
4376         * math/w_scalbf.c (__scalbf): Likewise.
4377         * math/w_scalbl.c (__scalbl): Likewise.
4378         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
4379         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
4380         with isinf.
4381         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
4382         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
4383         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
4384         __isinf_nsf with isinf.
4385         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
4386         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
4387         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
4388         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
4389         with isinf.
4390         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
4391         __isinf_nsl with isinf.
4392         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
4393         with isinf.
4394         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
4395         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
4396         __isinf_nsl with isinf.
4397         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
4398         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
4399         with isinf.
4401 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4403         * resolv/base64.c (rcsid): Remove unused static.
4404         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
4405         static.  (tqpi1): Likewise.
4406         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
4407         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
4408         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
4409         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
4410         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
4411         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
4412         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
4413         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
4414         Likewise.
4416 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
4418         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
4419         <nptl/pthreadP.h>.
4420         (_longjmp_unwind): Use __libc_ptf_call.
4421         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
4423 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
4425         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
4426         * sysdeps/arm/__longjmp.S: Likewise
4428 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4430         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
4431         Use __builtin_signbit.
4432         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
4433         Use __builtin_signbitf.
4434         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
4435         Use __builtin_signbitl.
4436         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4437         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
4439 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4441         [BZ #15367]
4442         [BZ #17441]
4444         * math/Makefile: Build test-snan.c with -fsignaling-nans.
4445         * math/math.h (fpclassify): Use __builtin_fpclassify when
4446         available.  (signbit): Use __builtin_signbit(f/l).
4447         (isfinite): Use__builtin_isfinite.  (isnormal): Use
4448         __builtin_isnormal.  (isnan): Use __builtin_isnan.
4449         (isinf): Use __builtin_isinf_sign.
4451 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4453         * benchtests/Makefile: Add bench-math-inlines, link with libm.
4454         * benchtests/bench-math-inlines.c: New benchmark.
4455         * benchtests/bench-util.h: New file.
4456         * benchtests/bench-util.c: New file.
4457         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
4459 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
4461         * elf/tst-dlmopen1.c: Define TEST_SO.
4462         (do_test): Use TEST_SO.
4464         * elf/dl-load.c: Include libc-internal.h.
4465         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
4467 2015-09-18  Vincent Bernat  <vincent@bernat.im>
4469         [BZ #17887]
4470         * time/strptime_l.c (__strptime_internal): Make %z accept
4471         [+-]HH:MM time zones.
4473 2015-09-18  Vincent Bernat  <vincent@bernat.im>
4475         [BZ #17886]
4476         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
4477         valid time zone.
4479 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
4481         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
4482         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
4483         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4484         (__ASSUME_FDATASYNC): Delete.
4486 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4488         * conform/linknamespace.pl: Require weak undefined symbols to be
4489         in the standard namespace.
4490         (%strong_syms): Rename to %seen_syms.
4491         (%strong_seen): Rename to %seen_where.
4493 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
4495         [BZ #18970]
4496         * misc/error.c (error): Replace pthread_setcancelstate with
4497         __pthread_setcancelstate.
4498         (error_at_line): Likewise.
4499         * posix/wordexp.c (parse_comm): Likewise.
4500         * stdlib/fmtmsg.c (fmtmsg): Likewise.
4501         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
4502         (__pthread_setcancelstate): This.
4503         (pthread_setcancelstate): Add an alias.
4504         * nptl/nptl-init.c (pthread_functions): Replace
4505         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
4506         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
4507         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
4508         hidden_proto.
4509         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
4510         it with hidden_def.
4511         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
4512         (pthread_setcancelstate): Renamed to ...
4513         (__pthread_setcancelstate): This.
4514         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
4515         __libc_ptf_call with __pthread_setcancelstate.
4517 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4518             Andreas Schwab  <schwab@suse.de>
4520         [BZ #17118]
4521         * math/s_ctan.c (__ctan): Determine sign of zero real part of
4522         result when imaginary part of argument is infinite using sine and
4523         cosine.
4524         * math/s_ctanf.c (__ctanf): Likewise.
4525         * math/s_ctanl.c (__ctanl): Likewise.
4526         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
4527         of result when real part of argument is infinite using sine and
4528         cosine.
4529         * math/s_ctanhf.c (__ctanhf): Likewise.
4530         * math/s_ctanhl.c (__ctanhl): Likewise.
4531         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
4532         (ctanh_test_data): Add more tests of ctanh.
4534 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4536         [BZ #15384]
4537         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
4538         bit-mask as in subtraction.
4539         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
4540         Likewise.
4541         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
4542         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
4543         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
4545         [BZ #18951]
4546         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
4547         underflow exception for small results.
4548         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4549         Likewise.
4550         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4551         Likewise.
4552         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4553         Likewise.
4554         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4555         Likewise.
4556         * math/auto-libm-test-in: Add more tests of tgamma.
4557         * math/auto-libm-test-out: Regenerated.
4559 2015-09-17  Andreas Schwab  <schwab@suse.de>
4561         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
4563 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
4565         [BZ #18977]
4566         * math/bits/mathcalls.h
4567         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
4568         not declare.
4569         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
4570         Likewise.
4571         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
4572         Likewise.
4573         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
4574         Likewise.
4575         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
4576         Likewise.
4577         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
4578         Likewise.
4579         * conform/data/math.h-data
4580         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
4581         function.
4582         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
4583         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
4584         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
4585         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
4586         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
4587         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
4588         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
4589         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
4590         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
4591         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
4592         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
4594         [BZ #6803]
4595         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
4596         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
4597         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
4598         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
4599         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
4600         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
4601         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
4602         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
4603         [NO_LONG_DOUBLE] (scalbnl): Likewise.
4604         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
4605         Likewise.
4606         [NO_LONG_DOUBLE] (scalbnl): Likewise.
4607         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
4608         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
4609         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
4610         long_double_symbol calls.
4611         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
4612         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
4613         strong alias of __ldexpl.
4614         (scalbnl): Define using long_double_symbol.
4615         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
4616         Remove alias.
4617         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
4618         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
4619         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
4620         (scalbln_test_data): Add more errno expectations.
4622 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
4624         Cache the host port like we cache the task port.  This way we do not
4625         need to call the kernel just to get the port.  Furthermore, we no
4626         longer increase the reference count on every invocation of
4627         `mach_host_self'.
4629         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
4630         Protect declarations against the macro expansion.
4631         * mach/mach_init.c (__mach_host_self_): New variable.
4632         (mach_init): Initialize `__mach_host_self_'.
4633         * mach/mach_init.h (__mach_host_self_): New declaration.
4634         (__mach_host_self, mach_host_self): New macros.
4635         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
4636         Release reference.
4638 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
4640         [BZ #4404]
4641         * po/de.po: Update from Translation Project.
4643         [BZ #16415]
4644         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
4645         (__expm1l): Remove code to handle positive infinity and overflow.
4646         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
4647         variable.
4648         (__expm1l): Remove code to handle positive infinity and overflow.
4650 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
4651             Paul Pluzhnikov  <ppluzhnikov@google.com>
4653         [BZ #18872]
4654         * stdio-common/Makefile (tst-printf-bz18872): New test.
4655         (tst-printf-bz18872-mem.out): Likewise.
4656         * stdio-common/tst-printf-bz18872.sh: Generate new test.
4657         * stdio-common/vfprintf.c: Fix memory leaks.
4659 2015-09-16  Andreas Schwab  <schwab@suse.de>
4661         [BZ #17244]
4662         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
4663         Remove extra va_start/va_end calls.
4665         [BZ #17243]
4666         * posix/execl.c (execl): Add missing va_end.
4667         * posix/execle.c (execle): Likewise.
4668         * posix/execlp.c (execlp): Likewise.
4670 2015-09-15  Roland McGrath  <roland@hack.frob.com>
4672         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
4673         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
4675 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
4677         [BZ #18967]
4678         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
4679         undefine around includes of <bits/mathcalls.h>.
4680         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
4681         not declare function.
4682         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
4683         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
4684         (scalb): Likewise.
4685         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
4686         not define macro.
4687         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
4688         variable.
4689         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4690         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4691         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4693         [BZ #18857]
4694         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
4695         return non-finite argument without doing ordered comparisons on
4696         it.
4698         [BZ #16296]
4699         * math/fenv.h (fegetround): Use __attribute_pure__.
4700         * include/fenv.h (__fegetround): Likewise.
4702         [BZ #18595]
4703         * math/s_ctan.c (__ctan): Force underflow exception for results
4704         whose real or imaginary part has small absolute value.
4705         * math/s_ctanf.c (__ctanf): Likewise.
4706         * math/s_ctanh.c (__ctanh): Likewise.
4707         * math/s_ctanhf.c (__ctanhf): Likewise.
4708         * math/s_ctanhl.c (__ctanhl): Likewise.
4709         * math/s_ctanl.c (__ctanl): Likewise.
4710         * math/auto-libm-test-in: Do not allow missing underflow for ctan
4711         and ctanh.  Add more tests of ctan and ctanh.
4713         [BZ #15918]
4714         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
4715         handling of cases where one argument is an infinity.
4717         [BZ #18875]
4718         [BZ #18966]
4719         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
4720         (MO): New macro.
4721         (__ieee754_exp10): For small results, force underflow exception
4722         and remove excess range and precision from return value.
4723         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
4724         (MO): New macro.
4725         (__ieee754_exp10f): For small results, force underflow exception
4726         and remove excess range and precision from return value.
4727         * math/auto-libm-test-in: Add more tests of exp10.
4728         * math/auto-libm-test-out: Regenerated.
4730 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
4732         [BZ #18875]
4733         [BZ #18961]
4734         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
4735         (MO): New macro.
4736         (__ieee754_exp): For small results, force underflow exception and
4737         remove excess range and precision from return value.
4738         (__exp_finite): Likewise.
4739         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
4740         (MO): New macro.
4741         (__ieee754_expf): For small results, force underflow exception and
4742         remove excess range and precision from return value.
4743         (__expf_finite): Likewise.
4744         * math/auto-libm-test-in: Add more tests of exp.
4745         * math/auto-libm-test-out: Regenerated.
4747         [BZ #16521]
4748         [BZ #18875]
4749         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
4750         small results.
4751         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
4752         (MO): New macro.
4753         (__ieee754_exp2): For small results, force underflow exception and
4754         remove excess range and precision from return value.
4755         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
4756         (MO): New macro.
4757         (__ieee754_exp2f): For small results, force underflow exception
4758         and remove excess range and precision from return value.
4759         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
4760         (MO): New macro.
4761         (__ieee754_exp2l): Force underflow exception for small results.
4762         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4763         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4764         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
4765         (MO): New macro.
4766         (__ieee754_exp2l): Force underflow exception for small results.
4767         * math/auto-libm-test-in: Add more tests or exp2.
4768         * math/auto-libm-test-out: Regenerated.
4770 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
4772         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
4774         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
4775         /dev/null.
4777 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4779         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4780         io fs process)): Drop spurious backslash.
4782 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4784         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
4785         Use sysinfo system call instead of parsing /proc/meminfo.
4786         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
4787         Likewise.
4789 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
4791         [BZ #16985]
4792         * programs/localedef.c (main): Display argv[remaining] when
4793         output_path is NULL.
4795 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4797         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4798         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
4799         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
4800         tanh.
4801         * math/auto-libm-test-out: Regenerated.
4802         * sysdeps/i386/fpu/libm-test-ulps: Update.
4803         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4804         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4807 2015-09-11  Roland McGrath  <roland@hack.frob.com>
4809         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
4810         Use 'override' keyword to freeze the value here, preventing
4811         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
4813 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4815         [BZ #14912]
4816         * sysdeps/aarch64/bits/atomic.h: Move to ...
4817         * sysdeps/aarch64/atomic-machine.h: ...here.
4818         (_AARCH64_BITS_ATOMIC_H): Rename macro to
4819         _AARCH64_ATOMIC_MACHINE_H.
4820         * sysdeps/alpha/bits/atomic.h: Move to ...
4821         * sysdeps/alpha/atomic-machine.h: ...here.
4822         * sysdeps/arm/bits/atomic.h: Move to ...
4823         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
4824         * bits/atomic.h: Move to ...
4825         * sysdeps/generic/atomic-machine.h: ...here.
4826         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4827         * sysdeps/i386/bits/atomic.h: Move to ...
4828         * sysdeps/i386/atomic-machine.h: ...here.
4829         * sysdeps/ia64/bits/atomic.h: Move to ...
4830         * sysdeps/ia64/atomic-machine.h: ...here.
4831         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
4832         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
4833         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4834         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
4835         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
4836         * sysdeps/microblaze/bits/atomic.h: Move to ...
4837         * sysdeps/microblaze/atomic-machine.h: ...here.
4838         * sysdeps/mips/bits/atomic.h: Move to ...
4839         * sysdeps/mips/atomic-machine.h: ...here.
4840         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
4841         * sysdeps/powerpc/bits/atomic.h: Move to ...
4842         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
4843         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
4844         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
4845         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
4846         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
4847         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
4848         <atomic-machine.h> instead of <bits/atomic.h>.
4849         * sysdeps/s390/bits/atomic.h: Move to ...
4850         * sysdeps/s390/atomic-machine.h: ...here.
4851         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
4852         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
4853         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4854         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
4855         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
4856         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
4857         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
4858         * sysdeps/tile/bits/atomic.h: Move to ...
4859         * sysdeps/tile/atomic-machine.h: ...here.
4860         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
4861         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
4862         <sysdeps/tile/atomic-machine.h> instead of
4863         <sysdeps/tile/bits/atomic.h>.
4864         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4865         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
4866         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
4867         <sysdeps/tile/atomic-machine.h> instead of
4868         <sysdeps/tile/bits/atomic.h>.
4869         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4870         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
4871         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
4872         <sysdeps/arm/atomic-machine.h> instead of
4873         <sysdeps/arm/bits/atomic.h>.
4874         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
4875         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
4876         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4877         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
4878         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
4879         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4880         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
4881         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
4882         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
4883         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
4884         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
4885         * sysdeps/x86_64/bits/atomic.h: Move to ...
4886         * sysdeps/x86_64/atomic-machine.h: ...here.
4887         * include/atomic.h: Include <atomic-machine.h> instead of
4888         <bits/atomic.h>.
4890         * sysdeps/mips/mips32/libm-test-ulps: Update.
4891         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4893         [BZ #18952]
4894         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
4895         not convert non-integer negative arguments to int to determine the
4896         value of signgam.
4897         * math/auto-libm-test-in: Add more tests of lgamma.
4898         * math/auto-libm-test-out: Regenerated.
4900         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
4901         cosh, csqrt, erfc, expm1 and lgamma.
4902         * math/auto-libm-test-out: Regenerated.
4903         * sysdeps/i386/fpu/libm-test-ulps: Update.
4904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4906 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
4908         [BZ #2542]
4909         [BZ #2543]
4910         [BZ #2558]
4911         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
4912         __lgamma_neg for arguments from -28.0 to -2.0.
4913         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
4914         __lgamma_negf for arguments from -15.0 to -2.0.
4915         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4916         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
4917         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
4918         Call __lgamma_negl for arguments from -33.0 to -2.0.
4919         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
4920         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4921         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
4922         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
4923         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4924         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4925         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
4926         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
4927         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
4928         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4929         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
4930         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
4931         (__lgamma_neg): Likewise.
4932         (__lgamma_negl): Likewise.
4933         (__lgamma_product): Likewise.
4934         (__lgamma_productl): Likewise.
4935         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
4936         * math/auto-libm-test-in: Add more tests of lgamma.
4937         * math/auto-libm-test-out: Regenerated.
4938         * sysdeps/i386/fpu/libm-test-ulps: Update.
4939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4941 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
4943         [BZ #18675]
4944         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
4946 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
4948         [BZ #14912]
4949         * bits/libc-lock.h: Move to ...
4950         * sysdeps/generic/libc-lock.h: ...here.
4951         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4952         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
4953         * sysdeps/mach/hurd/libc-lock.h: ...here.
4954         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4955         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
4956         * sysdeps/mach/bits/libc-lock.h: Move to ...
4957         * sysdeps/mach/libc-lock.h: ...here.
4958         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4959         * sysdeps/nptl/bits/libc-lock.h: Move to ...
4960         * sysdeps/nptl/libc-lock.h: ...here.
4961         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4962         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
4963         * sysdeps/nptl/libc-lockP.h: ...here.
4964         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
4965         * crypt/crypt_util.c: Include <libc-lock.h> instead of
4966         <bits/libc-lock.h>.
4967         * dirent/scandir-tail.c: Likewise.
4968         * dlfcn/dlerror.c: Likewise.
4969         * elf/dl-close.c: Likewise.
4970         * elf/dl-iteratephdr.c: Likewise.
4971         * elf/dl-lookup.c: Likewise.
4972         * elf/dl-open.c: Likewise.
4973         * elf/dl-support.c: Likewise.
4974         * elf/dl-writev.h: Likewise.
4975         * elf/rtld.c: Likewise.
4976         * grp/fgetgrent.c: Likewise.
4977         * gshadow/fgetsgent.c: Likewise.
4978         * gshadow/sgetsgent.c: Likewise.
4979         * iconv/gconv_conf.c: Likewise.
4980         * iconv/gconv_db.c: Likewise.
4981         * iconv/gconv_dl.c: Likewise.
4982         * iconv/gconv_int.h: Likewise.
4983         * iconv/gconv_trans.c: Likewise.
4984         * include/link.h: Likewise.
4985         * inet/getnameinfo.c: Likewise.
4986         * inet/getnetgrent.c: Likewise.
4987         * inet/getnetgrent_r.c: Likewise.
4988         * intl/bindtextdom.c: Likewise.
4989         * intl/dcigettext.c: Likewise.
4990         * intl/finddomain.c: Likewise.
4991         * intl/gettextP.h: Likewise.
4992         * intl/loadmsgcat.c: Likewise.
4993         * intl/localealias.c: Likewise.
4994         * intl/textdomain.c: Likewise.
4995         * libidn/idn-stub.c: Likewise.
4996         * libio/libioP.h: Likewise.
4997         * locale/duplocale.c: Likewise.
4998         * locale/freelocale.c: Likewise.
4999         * locale/newlocale.c: Likewise.
5000         * locale/setlocale.c: Likewise.
5001         * login/getutent_r.c: Likewise.
5002         * login/getutid_r.c: Likewise.
5003         * login/getutline_r.c: Likewise.
5004         * login/utmp-private.h: Likewise.
5005         * login/utmpname.c: Likewise.
5006         * malloc/mtrace.c: Likewise.
5007         * misc/efgcvt.c: Likewise.
5008         * misc/error.c: Likewise.
5009         * misc/fstab.c: Likewise.
5010         * misc/getpass.c: Likewise.
5011         * misc/mntent.c: Likewise.
5012         * misc/syslog.c: Likewise.
5013         * nis/nis_call.c: Likewise.
5014         * nis/nis_callback.c: Likewise.
5015         * nis/nss-default.c: Likewise.
5016         * nis/nss_compat/compat-grp.c: Likewise.
5017         * nis/nss_compat/compat-initgroups.c: Likewise.
5018         * nis/nss_compat/compat-pwd.c: Likewise.
5019         * nis/nss_compat/compat-spwd.c: Likewise.
5020         * nis/nss_nis/nis-alias.c: Likewise.
5021         * nis/nss_nis/nis-ethers.c: Likewise.
5022         * nis/nss_nis/nis-grp.c: Likewise.
5023         * nis/nss_nis/nis-hosts.c: Likewise.
5024         * nis/nss_nis/nis-network.c: Likewise.
5025         * nis/nss_nis/nis-proto.c: Likewise.
5026         * nis/nss_nis/nis-pwd.c: Likewise.
5027         * nis/nss_nis/nis-rpc.c: Likewise.
5028         * nis/nss_nis/nis-service.c: Likewise.
5029         * nis/nss_nis/nis-spwd.c: Likewise.
5030         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5031         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5032         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5033         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5034         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
5035         * nis/nss_nisplus/nisplus-network.c: Likewise.
5036         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5037         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5038         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5039         * nis/nss_nisplus/nisplus-service.c: Likewise.
5040         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5041         * nis/ypclnt.c: Likewise.
5042         * nptl/libc_pthread_init.c: Likewise.
5043         * nss/getXXbyYY.c: Likewise.
5044         * nss/getXXent.c: Likewise.
5045         * nss/getXXent_r.c: Likewise.
5046         * nss/nss_db/db-XXX.c: Likewise.
5047         * nss/nss_db/db-netgrp.c: Likewise.
5048         * nss/nss_db/nss_db.h: Likewise.
5049         * nss/nss_files/files-XXX.c: Likewise.
5050         * nss/nss_files/files-alias.c: Likewise.
5051         * nss/nsswitch.c: Likewise.
5052         * posix/regex_internal.h: Likewise.
5053         * posix/wordexp.c: Likewise.
5054         * pwd/fgetpwent.c: Likewise.
5055         * resolv/res_hconf.c: Likewise.
5056         * resolv/res_libc.c: Likewise.
5057         * shadow/fgetspent.c: Likewise.
5058         * shadow/lckpwdf.c: Likewise.
5059         * shadow/sgetspent.c: Likewise.
5060         * socket/opensock.c: Likewise.
5061         * stdio-common/reg-modifier.c: Likewise.
5062         * stdio-common/reg-printf.c: Likewise.
5063         * stdio-common/reg-type.c: Likewise.
5064         * stdio-common/vfprintf.c: Likewise.
5065         * stdio-common/vfscanf.c: Likewise.
5066         * stdlib/abort.c: Likewise.
5067         * stdlib/cxa_atexit.c: Likewise.
5068         * stdlib/fmtmsg.c: Likewise.
5069         * stdlib/random.c: Likewise.
5070         * stdlib/setenv.c: Likewise.
5071         * string/strsignal.c: Likewise.
5072         * sunrpc/auth_none.c: Likewise.
5073         * sunrpc/bindrsvprt.c: Likewise.
5074         * sunrpc/create_xid.c: Likewise.
5075         * sunrpc/key_call.c: Likewise.
5076         * sunrpc/rpc_thread.c: Likewise.
5077         * sysdeps/arm/backtrace.c: Likewise.
5078         * sysdeps/generic/ldsodefs.h: Likewise.
5079         * sysdeps/generic/stdio-lock.h: Likewise.
5080         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
5081         * sysdeps/i386/backtrace.c: Likewise.
5082         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5083         * sysdeps/m68k/backtrace.c: Likewise.
5084         * sysdeps/mach/hurd/cthreads.c: Likewise.
5085         * sysdeps/mach/hurd/dirstream.h: Likewise.
5086         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5087         * sysdeps/nptl/malloc-machine.h: Likewise.
5088         * sysdeps/nptl/stdio-lock.h: Likewise.
5089         * sysdeps/posix/dirstream.h: Likewise.
5090         * sysdeps/posix/getaddrinfo.c: Likewise.
5091         * sysdeps/posix/system.c: Likewise.
5092         * sysdeps/pthread/aio_suspend.c: Likewise.
5093         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5094         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5095         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5096         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5097         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
5098         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
5099         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
5100         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5101         * sysdeps/unix/sysv/linux/system.c: Likewise.
5102         * sysdeps/x86_64/backtrace.c: Likewise.
5103         * time/alt_digit.c: Likewise.
5104         * time/era.c: Likewise.
5105         * time/tzset.c: Likewise.
5106         * wcsmbs/wcsmbsload.c: Likewise.
5107         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
5108         instead of <bits/libc-lock.h> in comment.
5110 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
5112         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
5113         Only use .set mips2 if the current ISA is below mips2.
5114         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
5115         Likewise.
5116         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
5117         mips32r2 if the current ISA is below mips32r2.
5118         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
5119         (TLS_IE): Updated to use the TLD_RDHWR macro.
5120         (TLS_LE): Likewise.
5121         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
5122         __ASSEMBLER__ condition.
5124 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5126         Fix parallel build of before-compile targets.
5128         * sysdeps/mach/Makefile ($(patsubst
5129         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
5130         mach-before-compile target.
5131         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5132         io fs process)): Move rule to dedicated hurd-before-compile target.
5134 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5136         Fix rules generating headers in hurd/ and mach/ when initial make call
5137         has subdir= explicitly set.
5139         * sysdeps/mach/Makefile ($(patsubst
5140         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
5141         calling $(MAKE).
5142         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5143         io fs process)): Force subdir to hurd when calling $(MAKE).
5144         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
5145         subdir to mach when calling $(MAKE).
5147 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
5149         Check sysheaders when looking for Mach and Hurd headers
5151         * sysdeps/mach/configure.ac: Add sysheaders check.
5152         * sysdeps/mach/configure: Regenerate.
5153         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
5154         * sysdeps/mach/hurd/configure: Regenerate.
5156 2015-09-04  Roland McGrath  <roland@hack.frob.com>
5158         [BZ #18921]
5159         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
5160         Fix inverted sense of test of 'o_directory_works' value.
5161         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
5162         Bernhard Voelker <mail@bernhard-voelker.de>.
5164 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5166         [BZ #14912]
5167         * bits/linkmap.h: Move to ...
5168         * sysdeps/generic/linkmap.h: ...here.
5169         * sysdeps/aarch64/bits/linkmap.h: Move to ...
5170         * sysdeps/aarch64/linkmap.h: ...here.
5171         * sysdeps/arm/bits/linkmap.h: Move to ...
5172         * sysdeps/arm/linkmap.h: ...here.
5173         * sysdeps/hppa/bits/linkmap.h: Move to ...
5174         * sysdeps/hppa/linkmap.h: ...here.
5175         * sysdeps/ia64/bits/linkmap.h: Move to ...
5176         * sysdeps/ia64/linkmap.h: ...here.
5177         * sysdeps/mips/bits/linkmap.h: Move to ...
5178         * sysdeps/mips/linkmap.h: ...here.
5179         * sysdeps/s390/bits/linkmap.h: Move to ...
5180         * sysdeps/s390/linkmap.h: ...here.
5181         * sysdeps/sh/bits/linkmap.h: Move to ...
5182         * sysdeps/sh/linkmap.h: ...here.
5183         * sysdeps/x86/bits/linkmap.h: Move to ...
5184         * sysdeps/x86/linkmap.h: ...here.
5185         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
5187 2015-09-04  Andreas Schwab  <schwab@suse.de>
5189         [BZ #18635]
5190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
5191         (__makecontext): Terminate FDE before return label.
5192         (__novec_makecontext): Likewise.
5194 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5196         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
5197         first member of struct sv in syscall macro.
5199 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5201         [BZ #14912]
5202         * bits/stdio-lock.h: Move to ...
5203         * sysdeps/generic/stdio-lock.h: ...here.
5204         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5205         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
5206         * sysdeps/nptl/stdio-lock.h: ...here.
5207         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5208         * include/libio.h: Include <stdio-lock.h> instead of
5209         <bits/stdio-lock.h>.
5210         * sysdeps/nptl/fork.c: Likewise.
5211         * sysdeps/pthread/flockfile.c: Likewise.
5212         * sysdeps/pthread/ftrylockfile.c: Likewise.
5213         * sysdeps/pthread/funlockfile.c: Likewise.
5215         [BZ #14912]
5216         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
5217         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
5218         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
5219         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
5220         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
5221         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5222         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
5224 2015-09-03  Roland McGrath  <roland@hack.frob.com>
5226         * elf/Makefile (test-xfail-tst-protected1a): New variable.
5227         (test-xfail-tst-protected1b): New variable.
5229 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
5231         [BZ #14912]
5232         * bits/libc-tsd.h: Move to ...
5233         * sysdeps/generic/libc-tsd.h: ...here.
5234         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
5235         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
5236         * sysdeps/mach/hurd/libc-tsd.h: ...here.
5237         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
5238         * include/ctype.h: Include <libc-tsd.h> instead of
5239         <bits/libc-tsd.h>.
5240         * include/rpc/rpc.h: Likewise.
5241         * locale/localeinfo.h: Likewise.
5242         * sunrpc/rpc_thread.c: Likewise.
5243         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5244         * sysdeps/nptl/malloc-machine.h: Likewise.
5246         * Makefile (headers): Remove bits/libc-lock.h.
5247         * libio/Makefile (headers): Remove bits/stdio-lock.h.
5249         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
5250         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
5251         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
5252         <bits/stdio-lock.h>.
5253         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
5254         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
5256 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5258         [BZ #18757]
5259         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
5260         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
5261         BZ #18757.
5263 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5265         * malloc/mtrace.pl: Filter out NULL entries.
5267 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
5269         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
5270         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
5271         macro.
5273         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
5274         (TCP_CC_INFO): Likewise.
5275         (TCP_SAVE_SYN): Likewise.
5276         (TCP_SAVED_SYN): Likewise.
5278 2015-08-31  Brett Neumeier <brett@neumeier.us>
5280         [BZ #18870]
5281         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
5283 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
5285         [BZ #18873]
5286         Fix broken overflow check in posix_fallocate
5287         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
5288         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5289         Fix parenthesization typo.
5291 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
5293         [BZ #18887]
5294         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
5295         tst-mntent-blank-passno.
5296         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
5297         * misc/tst-mntent-blank-corrupt.c: New test.
5298         * misc/tst-mntent-blank-passno.c: New test ripped from ...
5299         * misc/tst-mntent.c (do_test): ... here.
5301 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
5303         [BZ #4404]
5304         * po/de.po: Fix SIGALRM typo.
5306 2015-08-28  James Perkins  <james@loowit.net>
5308         * time/tst-strptime2.c (tests): Replace short list of test
5309         strings for strptime %z specifier with code which exhaustively
5310         tests every combination of sign and 0 to 5 digits. Tests for
5311         rejection of invalid strings.
5313 2015-08-28  James Perkins  <james@loowit.net>
5315         [BZ #16141]
5316         * time/strptime_l.c (__strptime_internal): Fix %z minutes
5317         calculation, removing incorrect decimal time rounding, so that
5318         all minute values result in a valid seconds value.
5319         * time/strptime_l.c (__strptime_internal): Extend %z time zone
5320         offset range limits to UTC-99:59 through UTC+99:59 to parse
5321         current and historical use cases.
5322         * time/tst-strptime2.c (tests): Modify and add tests for the
5323         strptime %z input field descriptor, specifically conversion of
5324         minutes to seconds and validating an offset range of -9959 to
5325         +9959.
5327 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5328             Dmitry V. Levin  <ldv@altlinux.org>
5330         [BZ #18877]
5331         * posix/Makefile (tests): Add tst-mmap-offset.
5332         * posix/tst-mmap.c: New file.
5333         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
5334         offset calculation for negative values.
5336 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5338         * sysdeps/i386/init-arch.h: New file.
5339         * sysdeps/i386/i586/init-arch.h: Likewise.
5340         * sysdeps/i386/i686/init-arch.h: Likewise.
5341         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
5342         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
5343         * sysdeps/x86/cpu-features.h (bit_I586): New.
5344         (bit_I686): Likewise.
5345         (bit_CX8): Likewise.
5346         (bit_CMOV): Likewise.
5347         (index_CX8): Likewise.
5348         (index_CMOV): Likewise.
5349         (index_I586): Likewise.
5350         (index_I686): Likewise.
5351         (reg_CX8): Likewise.
5352         (reg_CMOV): Likewise.
5353         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
5354         available at compile-time.
5355         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
5356         available at compile-time.
5357         * sysdeps/x86/init-arch.h (USE_I586): New macro.
5358         (USE_I686): Likewise.
5360 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5362         * sysdeps/i386/bcopy.S: New file.
5363         * sysdeps/i386/bzero.S: Likewise.
5364         * sysdeps/i386/memcpy.S: Likewise.
5365         * sysdeps/i386/memmove.S: Likewise.
5366         * sysdeps/i386/mempcpy.S: Likewise.
5367         * sysdeps/i386/memset.S: Likewise.
5368         * sysdeps/i386/bzero.c: Removed.
5369         * sysdeps/i386/memset.c: Likewise.
5370         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
5371         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
5372         * sysdeps/i386/i586/memset_chk.S: Likewise.
5373         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
5374         * sysdeps/i386/memcpy_chk.S: Here.
5375         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
5376         * sysdeps/i386/memmove_chk.S: Here.
5377         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
5378         * sysdeps/i386/mempcpy_chk.S: Likewise.
5379         * sysdeps/i386/i686/memset_chk.S: Moved to ...
5380         * sysdeps/i386/memset_chk.S: Likewise.
5382 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
5384         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
5385         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
5386         file, move DIAG_POP_NEEDS_COMMENT to end of file.
5387         * soft-fp/fmadf4.c: Ditto.
5388         * soft-fp/fmatf4.c: Ditto.
5390 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5392         * sysdeps/i386/i586/Implies: Removed.
5393         * sysdeps/i386/i686/Implies: Likewise.
5395 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5397         * sysdeps/i386/i486/strlen.S: Moved to ...
5398         * sysdeps/i386/strlen.S: Here.
5400 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5402         * sysdeps/i386/i486/strcat.S: Moved to ...
5403         * sysdeps/i386/strcat.S: Here.
5405 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5407         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
5408         * sysdeps/i386/pthread_spin_trylock.S: Here.
5409         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
5410         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
5412 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5414         * sysdeps/i386/i486/string-inlines.c: Moved to ...
5415         * sysdeps/i386/string-inlines.c: Here.
5417 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5419         * sysdeps/i386/i486/htonl.S: Moved ...
5420         * sysdeps/i386/htonl.S: here.
5422 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5424         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
5425         * sysdeps/i386/bits/atomic.h: Here.
5427 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5429         * sysdeps/i386/i486/Versions: Removed.
5431 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5433         [BZ #2898]
5434         * misc/mktemp.c: Add mkdtemp to the link_warning message.
5435         Based on patch by Aurelien Jarno.
5437 2015-08-26  Stan Shebs  <stanshebs@google.com>
5439         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
5440         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5442 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5444         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
5445         * sysdeps/powerpc/dl-procinfo.c:
5446         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
5447         feature so it shows when LD_SHOW_AUXV=1.
5449 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5451         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5452         (__arch_compare_and_exchange_val_32_acq): Remove and use common
5453         definition.  ISA 2.07B no longer requires full sync.
5455 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
5457         [BZ #18863]
5458         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
5459         (si_call_addr): Define.
5460         (si_syscall): Define.
5461         (si_arch): Define.
5463 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
5465         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
5466         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
5467         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
5468         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
5469         (__memset_zero_constant_len_parameter): New.
5470         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
5471         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
5472         (__memset_zero_constant_len_parameter): Don't define if
5473         __memset_chk or USE_AS_BZERO are defined.
5475         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
5476         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
5477         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
5479         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
5480         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
5481         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
5482         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
5483         comments.
5484         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
5485         -mno-mmx for $(all-rtld-routines).
5486         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
5487         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
5488         i386.
5490 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5492         * sysdeps/generic/unwind.h
5493         (_Unwind_Word): Use __mode__(__unwind_word__)
5494         instead of __mode__(__word__).
5495         (_Unwind_Sword): Likewise.
5497         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5498         (MAX_NEEDED_INPUT): New define.
5499         (MAX_NEEDED_OUTPUT): New define.
5501         * NEWS: New item for IBM z13 string optimizations.
5503         * sysdeps/s390/multiarch/memrchr-c.c: New File.
5504         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
5505         * sysdeps/s390/multiarch/memrchr.c: Likewise.
5506         * sysdeps/s390/multiarch/Makefile
5507         (sysdep_routines): Add memrchr functions.
5508         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5509         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
5511         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
5512         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
5513         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
5514         * sysdeps/s390/multiarch/Makefile
5515         (sysdep_routines): Add wmemcmp functions.
5516         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5517         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
5518         * benchtests/bench-wmemcmp.c: New File.
5519         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
5521         * sysdeps/s390/multiarch/wmemset-c.c: New File.
5522         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
5523         * sysdeps/s390/multiarch/wmemset.c: Likewise.
5524         * sysdeps/s390/multiarch/Makefile
5525         (sysdep_routines): Add wmemset functions.
5526         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5527         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
5528         * wcsmbs/wmemset.c: Use WMEMSET if defined.
5529         * string/test-memset.c: Add wmemset support.
5530         * wcsmbs/test-wmemset.c: New File.
5531         * wcsmbs/Makefile (strop-tests): Add wmemset.
5532         * benchtests/bench-memset.c: Add wmemset support.
5533         * benchtests/bench-wmemset.c: New File.
5534         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
5536         * sysdeps/s390/multiarch/memccpy-c.c: New File.
5537         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
5538         * sysdeps/s390/multiarch/memccpy.c: Likewise.
5539         * sysdeps/s390/multiarch/Makefile
5540         (sysdep_routines): Add memccpy functions.
5541         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5542         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
5543         * string/memccpy.c: Use MEMCCPY if defined.
5545         * sysdeps/s390/multiarch/memchr-vx.S: New File.
5546         * sysdeps/s390/multiarch/memchr.c: Likewise.
5547         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
5548         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
5549         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5550         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
5551         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
5552         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5553         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
5554         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5555         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
5556         and rawmemchr functions.
5557         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5558         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
5559         and wmemchr.
5560         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
5561         * string/test-memchr.c: Add wmemchr support.
5562         * wcsmbs/test-wmemchr.c: New File.
5563         * wcsmbs/Makefile (strop-tests): Add wmemchr.
5564         * benchtests/bench-memchr.c: Add wmemchr support.
5565         * benchtests/bench-wmemchr.c: New File.
5566         * benchtests/Makefile (wcsmbs-bench): wmemchr.
5568         * sysdeps/s390/multiarch/strcspn-c.c: New File.
5569         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
5570         * sysdeps/s390/multiarch/strcspn.c: Likewise.
5571         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
5572         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
5573         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
5574         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
5575         wcscspn functions.
5576         * sysdeps/s390/multiarch/ifunc-impl-list.c
5577         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
5578         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
5579         * string/test-strcspn.c: Add wcscspn support.
5580         * wcsmbs/test-wcscspn.c: New File.
5581         * wcsmbs/Makefile (strop-tests): Add wcscspn.
5582         * benchtests/bench-strcspn.c: Add wcscspn support.
5583         * benchtests/bench-wcscspn.c: New File.
5584         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
5586         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
5587         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
5588         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5589         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
5590         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
5591         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5592         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
5593         wcspbrk functions.
5594         * sysdeps/s390/multiarch/ifunc-impl-list.c
5595         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
5596         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
5597         * string/test-strpbrk.c: Add wcspbrk support.
5598         * wcsmbs/test-wcspbrk.c: New File.
5599         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
5600         * benchtests/bench-strpbrk.c: Add wcspbrk support.
5601         * benchtests/bench-wcspbrk.c: New File.
5602         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
5604         * sysdeps/s390/multiarch/strspn-c.c: New File.
5605         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
5606         * sysdeps/s390/multiarch/strspn.c: Likewise.
5607         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
5608         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
5609         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5610         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
5611         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
5612         wcsspn functions.
5613         * sysdeps/s390/multiarch/ifunc-impl-list.c
5614         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
5615         * string/test-strspn.c: Add wcsspn support.
5616         * wcsmbs/test-wcsspn.c: New File.
5617         * wcsmbs/Makefile (strop-tests): Add wcsspn.
5618         * benchtests/bench-strspn.c: Add wcsspn support.
5619         * benchtests/bench-wcsspn.c: New File.
5620         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
5622         * sysdeps/s390/multiarch/strrchr-c.c: New File.
5623         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
5624         * sysdeps/s390/multiarch/strrchr.c: Likewise.
5625         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
5626         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
5627         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
5628         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
5629         wcsrchr functions.
5630         * sysdeps/s390/multiarch/ifunc-impl-list.c
5631         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
5632         * benchtests/bench-wcsrchr.c: New File.
5633         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
5635         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
5636         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
5637         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
5638         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
5639         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
5640         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
5641         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
5642         wcschrnul functions.
5643         * sysdeps/s390/multiarch/ifunc-impl-list.c
5644         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
5645         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
5646         * string/test-strchr.c: Add wcschrnul support.
5647         * wcsmbs/test-wcschrnul.c: New File.
5648         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
5649         * benchtests/bench-strchr.c: Add wcschrnul support.
5650         * benchtests/bench-wcschrnul.c: New File.
5651         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
5653         * sysdeps/s390/multiarch/strchr-c.c: New File.
5654         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
5655         * sysdeps/s390/multiarch/strchr.c: Likewise.
5656         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
5657         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
5658         * sysdeps/s390/multiarch/wcschr.c: Likewise.
5659         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
5660         wcschr functions.
5661         * sysdeps/s390/multiarch/ifunc-impl-list.c
5662         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
5663         * string/strchr.c (STRCHR): Define and use macro.
5664         * benchtests/bench-wcschr.c: New File.
5665         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
5667         * sysdeps/s390/multiarch/strncmp-c.c: New File.
5668         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
5669         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5670         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
5671         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
5672         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
5673         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
5674         wcsncmp functions.
5675         * sysdeps/s390/multiarch/ifunc-impl-list.c
5676         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
5677         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
5678         * benchtests/bench-strncmp.c: Add wcsncmp support.
5679         * benchtests/bench-wcsncmp.c: New File.
5680         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
5682         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
5683         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5684         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
5685         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
5686         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5687         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
5688         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5689         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
5690         wcscmp functions.
5691         * sysdeps/s390/multiarch/ifunc-impl-list.c
5692         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
5693         * string/strcmp.c (STRCMP): Define and use macro.
5694         * benchtests/bench-wcscmp.c: New File.
5695         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
5696         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
5697         instead of _HAVE_STRING_ARCH_memchr.
5699         * sysdeps/s390/multiarch/strncat-c.c: New File.
5700         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
5701         * sysdeps/s390/multiarch/strncat.c: Likewise.
5702         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
5703         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
5704         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
5705         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
5706         wcsncat functions.
5707         * sysdeps/s390/multiarch/ifunc-impl-list.c
5708         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
5709         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
5710         * string/test-strncat.c: Add wcsncat support.
5711         * wcsmbs/test-wcsncat.c: New File.
5712         * wcsmbs/Makefile (strop-tests): Add wcsncat.
5713         * benchtests/bench-strncat.c: Add wcsncat support.
5714         * benchtests/bench-wcsncat.c: New File.
5715         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
5717         * sysdeps/s390/multiarch/strcat-c.c: New File.
5718         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
5719         * sysdeps/s390/multiarch/strcat.c: Likewise.
5720         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
5721         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
5722         * sysdeps/s390/multiarch/wcscat.c: Likewise.
5723         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
5724         wcscat functions.
5725         * sysdeps/s390/multiarch/ifunc-impl-list.c
5726         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
5727         * string/strcat.c (STRCAT): Define and use macro.
5728         * wcsmbs/wcscat.c: Use WCSCAT if defined.
5729         * string/test-strcat.c: Add wcscat support.
5730         * wcsmbs/test-wcscat.c: New File.
5731         * wcsmbs/Makefile (strop-tests): Add wcscat.
5732         * benchtests/bench-strcat.c: Add wcscat support.
5733         * benchtests/bench-wcscat.c: New File.
5734         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
5736         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
5737         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
5738         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5739         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
5740         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
5741         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
5742         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
5743         wcpncpy functions.
5744         * sysdeps/s390/multiarch/ifunc-impl-list.c
5745         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
5746         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
5747         * string/test-stpncpy.c: Add wcpncpy support.
5748         * wcsmbs/test-wcpncpy.c: New File.
5749         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
5750         * benchtests/bench-stpncpy.c: Add wcpncpy support.
5751         * benchtests/bench-wcpncpy.c: New File.
5752         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
5754         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
5755         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5756         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
5757         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
5758         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
5759         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
5760         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5761         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
5762         wcsncpy functions.
5763         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
5764         * sysdeps/s390/multiarch/ifunc-impl-list.c
5765         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
5766         * string/test-strncpy.c: Add wcsncpy support.
5767         * wcsmbs/test-wcsncpy.c: New File.
5768         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
5769         * benchtests/bench-strncpy.c: Add wcsncpy support.
5770         * benchtests/bench-wcsncpy.c: New File.
5771         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
5773         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
5774         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
5775         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5776         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
5777         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
5778         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
5779         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
5780         wcpcpy functions.
5781         * string/stpcpy.c: Use STPCPY if defined.
5782         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
5783         * sysdeps/s390/multiarch/ifunc-impl-list.c
5784         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
5785         * string/test-stpcpy.c: Add wcpcpy support.
5786         * wcsmbs/test-wcpcpy.c: New File.
5787         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
5788         * benchtests/bench-stpcpy.c: Add wcpcpy support.
5789         * benchtests/bench-wcpcpy.c: New File.
5790         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
5792         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
5793         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5794         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
5795         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
5796         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
5797         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
5798         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5799         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
5800         wcscpy functions.
5801         * sysdeps/s390/multiarch/ifunc-impl-list.c
5802         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
5803         * benchtests/bench-wcscpy.c: New File.
5804         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
5806         * sysdeps/s390/multiarch/strnlen-c.c: New File.
5807         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
5808         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5809         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
5810         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
5811         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
5812         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
5813         wcsnlen functions.
5814         * sysdeps/s390/multiarch/ifunc-impl-list.c
5815         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
5816         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
5817         * string/test-strnlen.c: Add wcsnlen support.
5818         * wcsmbs/test-wcsnlen.c: New File.
5819         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
5820         * benchtests/bench-strnlen.c: Add wcsnlen support.
5821         * benchtests/bench-wcsnlen.c: New File.
5822         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
5824         * sysdeps/s390/multiarch/Makefile: New File.
5825         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
5826         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
5827         * sysdeps/s390/multiarch/strlen.c: Likewise.
5828         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
5829         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
5830         * sysdeps/s390/multiarch/wcslen.c: Likewise.
5831         * string/strlen.c (STRLEN): Define and use macro.
5832         * sysdeps/s390/multiarch/ifunc-impl-list.c
5833         (IFUNC_VX_IMPL): New macro function.
5834         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
5835         * benchtests/Makefile (wcsmbs-bench): New variable.
5836         (string-bench-all): Added wcsmbs-bench.
5837         * benchtests/bench-wcslen.c: New File.
5839         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
5840         s390_vx_libc_ifunc2): New macro function.
5842         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
5843         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
5844         assembler support.
5845         * sysdeps/s390/configure: Regenerated.
5847         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
5848         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
5850         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
5851         * sysdeps/s390/dl-procinfo.h: Add vector capability.
5852         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
5854         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5855         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
5856         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
5857         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
5858         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
5859         (memcmp, bcmp): Use __memcmp_default as alias source.
5860         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
5861         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
5862         Rename to __memcmp_default.
5863         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
5864         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
5865         (memcpy): Use __memcpy_default as alias source.
5866         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
5867         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
5868         Rename to __memcpy_default.
5869         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
5870         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
5871         (memset): Use __memset_default as alias source.
5872         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
5873         * sysdeps/s390/s390-32/memset.S (__memset_g5):
5874         Rename to __memset_default.
5875         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
5876         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
5877         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
5878         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
5879         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
5880         (memcmp, bcmp): Use __memcmp_default as alias source.
5881         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
5882         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
5883         Rename to __memcmp_default.
5884         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
5885         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
5886         (memcpy): Use __memcpy_default as alias source.
5887         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
5888         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
5889         Rename to __memcpy_default.
5890         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
5891         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
5892         (memset): Use __memset_default as alias source.
5893         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
5894         * sysdeps/s390/s390-64/memset.S (__memset_z900):
5895         Rename to __memset_default.
5896         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
5897         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
5899         [BZ #18610]
5900         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
5901         __ieee_instruction_pointer to __unused.
5902         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
5903         __ieee_instruction_pointer.
5904         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
5905         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
5906         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5907         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
5908         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
5909         Mark dxc-field as reserved.
5911 2015-08-25  Roland McGrath  <roland@hack.frob.com>
5913         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
5914         if the weak reference is not null.
5916 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5918         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
5920         [BZ #11214]
5921         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
5923 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5925         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
5926         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
5927         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
5928         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
5929         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
5930         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
5931         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
5932         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
5933         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
5934         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
5935         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
5936         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
5937         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
5938         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
5939         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
5940         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
5941         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
5942         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
5944 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5946         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
5947         register other than r0 for tabort, it has special meaning.
5948         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
5949         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
5950         transaction before starting syscall.
5952 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5954         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
5956 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5958         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
5960         * sysdeps/x86_64/rtld-memcmp.c: Removed.
5961         * sysdeps/x86_64/rtld-memset.S: Likewise.
5962         * sysdeps/x86_64/rtld-strchr.S: Likewise.
5963         * sysdeps/x86_64/rtld-strlen.S: Likewise.
5964         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
5965         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5967         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
5969 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
5971         * debug/strcpy_chk.c: Improve performance.
5972         * debug/stpcpy_chk.c: Likewise.
5973         * sysdeps/x86_64/strcpy_chk.S: Remove.
5974         * sysdeps/x86_64/stpcpy_chk.S: Remove.
5976         [BZ #18240]
5977         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
5979 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5981         [BZ #15128]
5982         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
5983         ifuncmain8.
5984         (modules-names): Add ifuncmod8.
5985         ($(objpfx)ifuncmain8): New rule.
5986         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
5987         <cpuid.h>.
5988         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
5989         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
5990         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
5991         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
5992         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
5993         * sysdeps/x86_64/dl-trampoline.h: Likewise.
5994         * sysdeps/x86_64/ifuncmain8.c: New file.
5995         * sysdeps/x86_64/ifuncmod8.c: Likewise.
5996         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
5997         Removed.
5998         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
5999         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
6000         Change rtld_savespace_sse to __glibc_unused2.
6001         (RTLD_CHECK_FOREIGN_CALL): Removed.
6002         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
6003         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
6004         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
6006 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6008         * sysdeps/aarch64/bzero.S (__bzero): Remove.
6010 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6012         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
6013         Unconditionally set __fpcr to avoid uninialized warning.
6014         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
6016 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6018         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
6019         is corrupt.
6021         * malloc/arena.c (arena_get2): Drop unused argument.
6022         (arena_lock): Adjust.
6023         (arena_get_retry): Likewise.
6025 2015-08-24  Andreas Schwab  <schwab@suse.de>
6027         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
6028         Don't define.
6029         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6030         (__ASSUME_IPC64): Don't undef.
6031         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
6032         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6033         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6034         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
6035         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
6036         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
6037         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
6038         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
6039         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
6040         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
6041         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
6042         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
6043         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
6044         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
6045         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
6046         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
6047         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
6048         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
6049         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
6050         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
6051         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
6053 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
6055         * manual/Makefile (install): Only build manual when perl is available.
6057 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6059         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
6060         '#undef memcpy' by '#undef memchr'.
6062 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6064         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
6065         memchr not point to the internal __GI_memchr implementation.
6067 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6069         * timezone/Makefile (CFLAGS-zdump.c): Remove
6070         -Wno-strict-prototypes.
6071         (CFLAGS-zic.c): Likewise.
6072         (CFLAGS-ialloc.c): Likewise.
6073         (CFLAGS-scheck.c): Likewise.
6075         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
6076         -Wno-error=undef.
6078 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6080         * i386/i686/multiarch/strcasestr-c.c: Removed.
6081         * x86_64/multiarch/strcasestr.c: Likewise.
6082         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6083         Remove strcasestr.
6085 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6087         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
6089         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
6090         variables for high and low parts before possibly modifying them.
6092 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6094         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
6095         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
6096         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6097         of "multiarch/init-arch.h".
6098         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
6099         * sysdeps/x86/init-arch.h: This.
6101 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6103         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
6104         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
6106 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
6108         [BZ #17787]
6109         * manual/macros.texi: Add twoexp macro.
6110         * manual/filesys.texi: Fix exponents.
6111         * manual/llio.texi: Likewise.
6112         * manual/stdio.texi: Likewise.
6114 2015-08-20  Florian Weimer  <fweimer@redhat.com>
6116         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
6117         incorrect use.
6119 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6121         [BZ #18370]
6122         * math/s_csqrt.c (__csqrt): Force underflow exception for results
6123         whose real or imaginary part has small absolute value.
6124         * math/s_csqrtf.c (__csqrtf): Likewise.
6125         * math/s_csqrtl.c (__csqrtl): Likewise.
6126         * math/auto-libm-test-in: Add more tests of csqrt.
6127         * math/auto-libm-test-out: Regenerated.
6128         * sysdeps/i386/fpu/libm-test-ulps: Update.
6130 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6132         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
6133         __ppc_set_ppr_very_low): New functions.
6134         * manual/platform.texi: Add documentation about
6135         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
6137 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
6139         * string/stpncpy.c (stpncpy): Improve performance using
6140         __strnlen/memcpy/memset.
6142 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6144         [BZ #18796]
6145         * scripts/test-installation.pl: Don't add -lmvec to build options if
6146         libmvec wasn't built.
6148 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6150         [BZ #14341]
6151         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
6152         case when there is a gap between DT_REL and DT_JMPREL sections.
6153         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
6154         (LDFLAGS-tst-split-dynreloc): New.
6155         (tst-split-dynreloc-ENV): Likewise.
6156         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
6157         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
6159 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6161         [BZ #18822]
6162         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
6163         attribute_hidden.
6164         (__xstat64_conv): Likewise.
6165         (__xstat32_conv): Likewise.
6167 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6169         [BZ #18822]
6170         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
6171         Don't load %ebx when calling __setcontext.  Call __setcontext
6172         with HIDDEN_JUMPTARGET.
6173         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
6174         libc_hidden_def.
6176 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6178         * sysdeps/i386/i686/Makefile
6179         [$(subdir) == string] (sysdep_routines): Moved to ...
6180         * sysdeps/i386/Makefile: Here.
6181         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
6182         * sysdeps/i386/cacheinfo.c: Here.
6183         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
6184         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
6185         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
6186         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
6188 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6190         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
6191         __i586__ is defined.
6192         (HAS_I686): Defined to 1 if __i686__ is defined.
6194 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6196         * elf/Makefile [$(have-z-execstack) = yes]
6197         (CPPFLAGS-tst-execstack.c): New variable.
6199         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
6200         conditional to [defined UTMPX || _HAVE_UT_TYPE].
6201         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
6202         UTMPX || _HAVE_UT_TV].
6203         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
6204         UTMPX || _HAVE_UT_TV - 0].
6206 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
6208         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
6209         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
6210         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
6212 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6214         * sysdeps/powerpc/dl-procinfo.c:
6215         (_dl_powerpc_cap_flags): Added missing strings for some
6216         hwcap features.
6217         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
6219 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6221         Port the 0x7efe...feff pattern to GCC 6.
6222         See Steve Ellcey's bug report in:
6223         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
6224         * string/memrchr.c (MEMRCHR):
6225         * string/rawmemchr.c (RAWMEMCHR):
6226         * string/strchr.c (strchr):
6227         * string/strchrnul.c (STRCHRNUL):
6228         Rewrite code to avoid issues with signed shift overflow.
6230 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
6232         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
6233         whether cpuid is available only if HAS_CPUID is 0.
6234         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
6235         (HAS_I586): Likewise.
6236         (HAS_I686): Likewise.
6238 2015-08-18  Zack Weinberg  <zackw@panix.com>
6240         * misc/Versions (libc): Add GLIBC_2.23.
6242 2015-08-18  Alan Modra  <amodra@gmail.com>
6244         [BZ #18421]
6245         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
6246         .Lp__global.
6247         (_start): Load %dp via .Lp__global.
6248         [!SHARED]: Use .section .rodata.
6250 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6252         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
6253         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
6255 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6257         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
6258         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
6260 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6262         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
6263         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
6265 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6267         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
6268         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
6270 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6272         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
6273         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
6275 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6277         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
6278         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
6280 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6282         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
6284 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6286         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
6287         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
6288         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6289         (__ASSUME_LWS_CAS): Delete.
6291 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6293         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
6294         * sysdeps/hppa/configure: Regenerated.
6295         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
6296         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
6297         * sysdeps/hppa/nptl/tls.h: Likewise.
6299 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
6301         [BZ #18823]
6302         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
6303         for scaling up small arguments.
6304         * math/s_csqrtf.c (__csqrtf): Likewise.
6305         * math/s_csqrtl.c (__csqrtl): Likewise.
6306         * math/auto-libm-test-in: Add more tests of csqrt.
6307         * math/auto-libm-test-out: Regenerated.
6309 2015-08-17  Andreas Schwab  <schwab@suse.de>
6311         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
6312         version set GLIBC_2.19.
6314 2015-08-16  Zack Weinberg  <zackw@panix.com>
6316         [BZ #18681]
6317         * misc/regexp.h: This interface is no longer supported.
6318         Remove all contents, leaving only an #error directive.
6319         * misc/regexp.c (loc1, loc2, locs, step, advance):
6320         Demote to compatibility symbols.
6322 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
6324         [BZ #18084]
6325         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
6326         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
6327         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6328         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
6329         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
6330         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
6331         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
6332         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
6333         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6335 2015-08-15  Zack Weinberg  <zackw@panix.com>
6337         [BZ #18795]
6338         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
6339         buffer length is known to be too large, not if it's known to be
6340         small enough.
6341         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
6342         overflow at runtime, involving a length parameter, twice: once
6343         with a compile-time constant length parameter, once without.
6345 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
6347         [BZ #18824]
6348         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
6349         scaling x * y up instead of down.
6350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6351         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6352         * math/auto-libm-test-in: Add more tests of fma.
6353         * math/auto-libm-test-out: Regenerated.
6355 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6357         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6359 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6361         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
6362         unnecessary movq.
6363         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
6364         Likewise.
6366 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
6368         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6369         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
6370         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
6371         and tgamma.
6372         * math/auto-libm-test-out: Regenerated.
6373         * sysdeps/i386/fpu/libm-test-ulps: Update.
6374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6376         [BZ #16520]
6377         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
6378         (__tanh): Force underflow exception for arguments with small
6379         absolute value.
6380         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
6381         (__tanhf): Force underflow exception for arguments with small
6382         absolute value.
6383         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
6384         (__tanhl): Force underflow exception for arguments with small
6385         absolute value.
6386         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
6387         (__tanhl): Force underflow exception for arguments with small
6388         absolute value.
6389         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
6390         (__tanhl): Force underflow exception for arguments with small
6391         absolute value.
6392         * math/auto-libm-test-in: Add more tests of tanh.
6393         * math/auto-libm-test-out: Regenerated.
6394         * sysdeps/i386/fpu/libm-test-ulps: Update.
6396 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6398         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
6399         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
6401 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6403         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
6404         <cpuid.h>.
6406 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6408         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
6409         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
6411 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6413         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
6414         Remove $(objpfx)init-arch.o.
6415         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
6416         init-arch.
6417         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
6418         (INIT_ARCH_EXT): Defined as empty.
6419         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
6420         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
6421         __init_cpu_features call.  Replace HAS_XXX with
6422         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6423         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
6424         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
6425         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
6426         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
6427         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6428         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
6429         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
6430         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6431         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
6432         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
6433         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6434         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
6435         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
6436         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6437         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
6438         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
6439         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6440         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6441         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
6442         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
6443         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6444         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
6445         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
6446         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6447         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
6448         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
6449         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6450         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
6451         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
6452         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6453         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
6454         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
6455         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6456         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
6457         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
6459 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6461         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
6462         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6463         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
6464         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
6465         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
6466         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
6467         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
6468         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
6469         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
6470         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
6471         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
6472         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
6473         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6474         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6475         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6476         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6477         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6478         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6479         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6480         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6481         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6482         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6483         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6484         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6485         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6486         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6487         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6488         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6489         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6490         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6491         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6492         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6493         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6494         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6495         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6496         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6497         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6498         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6499         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6500         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6501         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6502         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6503         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6505 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6507         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
6508         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6509         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6510         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6511         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6512         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
6513         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6514         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
6515         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6516         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6517         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6518         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
6519         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
6520         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
6521         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
6522         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
6523         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
6524         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
6525         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
6526         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
6527         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6528         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
6529         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
6530         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6531         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6532         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
6533         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
6534         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
6535         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6536         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6537         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6538         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6539         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6540         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6541         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6542         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6543         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6544         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6545         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6546         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6547         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6548         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6549         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6551 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6553         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
6554         (dl_platform_init): Call init_cpu_features.
6555         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
6556         * sysdeps/i386/i686/cacheinfo.c
6557         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
6558         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
6559         * sysdeps/i386/i686/multiarch/Versions: Removed.
6560         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
6561         Removed.
6562         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
6563         * sysdeps/unix/sysv/linux/x86/Makefile
6564         (libpthread-sysdep_routines): Remove init-arch.
6565         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
6566         <sysdeps/x86_64/dl-procinfo.c> instead of
6567         sysdeps/generic/dl-procinfo.c>.
6568         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
6569         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
6570         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
6571         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
6572         [$(subdir) == elf] (tests-static): Add
6573         tst-get-cpu-features-static.
6574         * sysdeps/x86/Versions: New file.
6575         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
6576         * sysdeps/x86/cpu-features.c: Likewise.
6577         * sysdeps/x86/cpu-features.h: Likewise.
6578         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
6579         * sysdeps/x86/libc-start.c: Likewise.
6580         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6581         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
6582         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
6583         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6584         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
6585         Assume USE_MULTIARCH is defined and don't check it.
6586         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
6587         (is_amd): Likewise.
6588         (max_cpuid): Likewise.
6589         (intel_check_word): Likewise.
6590         (__cache_sysconf): Don't call __init_cpu_features.
6591         (__x86_preferred_memory_instruction): Removed.
6592         (init_cacheinfo): Don't call __init_cpu_features. Replace
6593         __cpu_features with GLRO(dl_x86_cpu_features).
6594         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
6595         (dl_platform_init): Call init_cpu_features.
6596         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
6597         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
6598         * sysdeps/x86_64/multiarch/Versions: Removed.
6599         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
6600         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
6601         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
6602         Removed.
6603         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
6605 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6607         [BZ #18820]
6608         * libio/Makefile (test-fmemopen-mem): New test.
6609         * libio/test-fmemopen.c (do_bz18820): New test.
6610         * libio/fmemopen.c (__fmemopen): Fix memory leak.
6611         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
6613 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6615         [BZ #16734]
6616         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
6617         (FREE_BUF): Delete.
6618         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
6619         * libio/genops.c (_IO_setb): Use malloc and free directly.
6620         (_IO_default_doallocate, _IO_default_finish): Likewise.
6621         ( _IO_unbuffer_all): Likewise.
6622         ( libc_freeres_fn): Likewise.
6623         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6624         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
6625         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
6626         (_IO_wdefault_doallocate): Likewise.
6628 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6630         [BZ #18086]
6631         * sysdeps/posix/nice.c (nice): Restore old errno.
6632         * posix/tst-nice.c (do_test): Add test for BZ #18086.
6634 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
6636         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
6638 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6640         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
6641         __bcopy and add a weak_alias to bcopy.
6642         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
6643         for static build.
6645         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
6646         cleanup macro usage.
6647         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
6648         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
6649         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6650         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
6651         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6652         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
6653         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
6654         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
6655         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6656         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
6657         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6658         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
6659         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6660         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
6661         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6662         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
6663         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
6664         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
6665         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
6667         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
6668         libc_hidden_def.
6669         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
6671         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
6672         (sysdep_routines): Add strstr-ppc64.
6673         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
6675 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
6677         [BZ #18778]
6678         * elf/Makefile (tests): Add Add tst-nodelete2.
6679         (modules-names): Add tst-nodelete2mod.
6680         (tst-nodelete2mod.so-no-z-defs): New.
6681         ($(objpfx)tst-nodelete2): Likewise.
6682         ($(objpfx)tst-nodelete2.out): Likewise.
6683         (LDFLAGS-tst-nodelete2): Likewise.
6684         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
6685         out of loop through all loaded libraries.
6686         * elf/tst-nodelete2.c: New file.
6687         * elf/tst-nodelete2mod.c: Likewise.
6688         * elf/tst-znodelete-zlib.cc: Delete.
6690 2015-08-11  Andreas Schwab  <schwab@suse.de>
6692         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
6693         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
6694         (__openat64_nocancel): Likewise.
6696 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
6698         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
6699         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
6700         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
6701         * math/auto-libm-test-out: Regenerated.
6702         * sysdeps/i386/fpu/libm-test-ulps: Update.
6703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6705 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6707         [BZ #18790]
6708         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
6709         threshold for returning +/- 1.
6710         * math/auto-libm-test-in: Add more tests of tanh.
6711         * math/auto-libm-test-out: Regenerated.
6712         * sysdeps/i386/fpu/libm-test-ulps: Update.
6714 2015-08-10  Andreas Schwab  <schwab@suse.de>
6716         [BZ #18781]
6717         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
6718         MORE_OFLAGS to oflag.
6719         * io/test-lfs.c (do_test): Test openat64.
6721 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6723         [BZ #18789]
6724         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
6725         smaller threshold for returning the argument.
6726         * math/auto-libm-test-in: Add more tests of sinh.
6727         * math/auto-libm-test-out: Regenerated.
6728         * sysdeps/i386/fpu/libm-test-ulps: Update.
6730 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6732         [BZ #18674]
6733         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
6734         break.
6736 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6738         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
6739         (generated): Don't add $(addprefix z.,$(tzfiles)).
6741 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6743         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
6744         * scripts/sysd-rules.awk: Likewise.
6746 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6748         * iconvdata/tst-tables.sh: Change echo -n to printf.
6749         * nss/db-Makefile: Likewise.
6750         * posix/tst-getconf.sh: Likewise.
6751         * stdio-common/tst-unbputc.sh: Likewise.
6753 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6755         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
6756         MADV_*_PAGES defines behind this feature check.
6758 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
6760         [BZ #18480]
6761         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
6762         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
6763         Define.
6764         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
6765         LOAD_REGS_5, LOAD_REGS_6): Update.
6766         (INTERNAL_SYSCALL): Update using new LOAD defines.
6767         (INTERNAL_SYSCALL_NCS): Likewise.
6768         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
6770 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6772         [BZ #16734]
6773         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
6775 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6777         [BZ #17905]
6778         * catgets/Makefile (tst-catgets-mem): New test.
6779         * catgets/catgets.c (catopen): Don't use unbounded alloca.
6780         * catgets/open_catalog.c (__open_catalog): Likewise.
6781         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
6783 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
6785         [BZ #18787]
6786         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
6787         clobber registers.
6788         (atomic_compare_and_exchange_val_acq): Use register asms to assign
6789         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
6790         Cast return to __typeof (oldval).
6792 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
6794         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
6795         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
6796         and delete sys/syscall.h include.
6798 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
6800         [BZ #16517]
6801         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
6802         (tan): Force underflow exception for arguments with small absolute
6803         value.
6804         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
6805         (__kernel_tanf): Force underflow exception for arguments with
6806         small absolute value.
6807         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
6808         (__kernel_tanl): Force underflow exception for arguments with
6809         small absolute value.
6810         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
6811         (__kernel_tanl): Force underflow exception for arguments with
6812         small absolute value.
6813         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
6814         (__kernel_tanl): Force underflow exception for arguments with
6815         small absolute value.
6816         * math/auto-libm-test-in: Add more tests of tan.
6817         * math/auto-libm-test-out: Regenerated.
6819 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6821         Fix sysdeps/i386/fpu/s_scalbn.S build
6823         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
6825 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
6827         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6829 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6831         Fix gcrt0.o compilation
6833         When static-start-installed-name is different from
6834         start-installed-name, we must not use the shared objects.
6836         * csu/Makefile
6837         (extra-objs): Add gmon-start.o when building shared library and
6838         $(static-start-installed-name) is different from
6839         $(start-installed-name).
6840         $(objpfx)g$(static-start-installed-name): When building shared
6841         library and $(static-start-installed-name) is different from
6842         $(static-start-installed-name), revert to non-shared rule,
6843         i.e. using $(objpfx)% and gmon-start.o.
6845 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
6847         [BZ #16519]
6848         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
6849         (__ieee754_sinh): Force underflow exception for arguments with
6850         small absolute value.
6851         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
6852         (__ieee754_sinhf): Force underflow exception for arguments with
6853         small absolute value.
6854         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
6855         (__ieee754_sinhl): Force underflow exception for arguments with
6856         small absolute value.
6857         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
6858         (__ieee754_sinhl): Force underflow exception for arguments with
6859         small absolute value.
6860         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
6861         (__ieee754_sinhl): Force underflow exception for arguments with
6862         small absolute value.
6863         * math/auto-libm-test-in: Add more tests of sinh.
6864         * math/auto-libm-test-out: Regenerated.
6865         * sysdeps/i386/fpu/libm-test-ulps: Update.
6867 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6869         * libio/oldfileops.c: Include unistd.h.
6871 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
6873         * stdlib/isomac.c: Include ctype.h.
6875 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
6877         * dirent/tst-seekdir.c (main): Converted to ...
6878         (do_test): ... this.
6879         (TEST_FUNCTION): New macro.
6880         Include test-skeleton.c.
6881         * elf/tst-dlmodcount.c (main): Converted to ...
6882         (do_test): ... this.
6883         (TEST_FUNCTION): New macro.
6884         Include test-skeleton.c.
6885         * elf/tst-order-main.c (main): Converted to ...
6886         (do_test): ... this.
6887         (TEST_FUNCTION): New macro.
6888         Include test-skeleton.c.
6889         * elf/tst-pie2.c (main): Converted to ...
6890         (do_test): ... this.
6891         (TEST_FUNCTION): New macro.
6892         Include test-skeleton.c.
6893         * inet/tst-ether_aton.c (main): Converted to ...
6894         (do_test): ... this.
6895         (TEST_FUNCTION): New macro.
6896         Include test-skeleton.c.
6897         * misc/tst-mntent.c (main): Converted to ...
6898         (do_test): ... this.
6899         (TEST_FUNCTION): New macro.
6900         Include test-skeleton.c.
6901         * misc/tst-tsearch.c (main): Converted to ...
6902         (do_test): ... this.
6903         (TEST_FUNCTION): New macro.
6904         Include test-skeleton.c.
6905         * posix/tst-regexloc.c (main): Converted to ...
6906         (do_test): ... this.
6907         (TEST_FUNCTION): New macro.
6908         Include test-skeleton.c.
6909         * resolv/tst-aton.c (main): Converted to ...
6910         (do_test): ... this.
6911         (TEST_FUNCTION): New macro.
6912         Include test-skeleton.c.
6913         * stdio-common/test-fwrite.c (main): Converted to ...
6914         (do_test): ... this.
6915         (TEST_FUNCTION): New macro.
6916         Include test-skeleton.c.
6917         * stdio-common/tst-ferror.c (main): Converted to ...
6918         (do_test): ... this.
6919         (TEST_FUNCTION): New macro.
6920         Include test-skeleton.c.
6921         * stdio-common/tst-printf.c (main): Converted to ...
6922         (do_test): ... this.
6923         (TEST_FUNCTION): New macro.
6924         Include test-skeleton.c.
6925         * stdio-common/tst-printfsz.c (main): Converted to ...
6926         (do_test): ... this.
6927         (TEST_FUNCTION): New macro.
6928         Include test-skeleton.c.
6929         * stdlib/tst-strtod.c (main): Converted to ...
6930         (do_test): ... this.
6931         (TEST_FUNCTION): New macro.
6932         Include test-skeleton.c.
6933         * string/tst-strlen.c (main): Converted to ...
6934         (do_test): ... this.
6935         (TEST_FUNCTION): New macro.
6936         Include test-skeleton.c.
6937         * string/tst-svc.c (main): Converted to ...
6938         (do_test): ... this.
6939         (TEST_FUNCTION): New macro.
6940         Include test-skeleton.c.
6941         * time/tst-strptime.c (main): Converted to ...
6942         (do_test): ... this.
6943         (TEST_FUNCTION): New macro.
6944         Include test-skeleton.c.
6945         * timezone/tst-timezone.c (main): Converted to ...
6946         (do_test): ... this.
6947         (TEST_FUNCTION): New macro.
6948         Include test-skeleton.c.
6950 2015-08-05  Zack Weinberg  <zackw@panix.com>
6952         * misc/regexp.h: Update comments.
6954 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
6956         [BZ #18635]
6957         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
6958         before return label.
6960 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6962         [BZ #18661]
6963         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
6964         when calling __errno_location.
6965         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
6966         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
6968 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6970         [BZ #18661]
6971         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
6972         (__lll_timedwait_tid): Align stack to 16 bytes when calling
6973         __gettimeofday.
6975 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6977         [BZ #18661]
6978         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6979         (__start_context): Don't use pop to restore %rdi so that stack
6980         is aligned to 16 bytes when calling __setcontext.
6982 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6984         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
6985         only for libc.
6986         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6988 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6990         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
6991         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
6992         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
6994 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6996         * string/memccpy.c (memccpy):
6997         Improve performance by using memchr/memcpy/__mempcpy.
6999 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7001         * string/strncpy.c (strncpy):
7002         Improve performance by using __strnlen/memcpy.
7004 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7006         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7007         Optimize to avoid an unnecessary FPCR read.
7009 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7011         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7012         Optimize to reduce FPCR/FPSR accesses.
7014 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7016         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
7017         dead->data[category] != NULL.
7019 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
7021         [BZ #18647]
7022         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
7023         and |x| close to 1, use absolute value of x when computing log.
7024         * math/auto-libm-test-in: Add more tests of pow.
7025         * math/auto-libm-test-out: Regenerated.
7027 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7029         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
7030         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
7031         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
7033 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
7035         [BZ #18525]
7036         * locales/km_KH: Remove timezone definition.
7037         * locales/lo_LA: Likewise.
7038         * locales/my_MM: Likewise.
7039         * locales/nan_TW@latin: Likewise.
7040         * locales/th_TH: Likewise.
7041         * locales/uk_UA: Likewise.
7043 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7045         [BZ #18265]
7046         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
7047         (wcsncat): Likewise.
7048         (wcscmp): Likewise.
7049         (wcsncmp): Likewise.
7051 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7053         * test-skeleton.c (usage): New function.
7054         (main): Call usage when opt is '?'.
7056 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7058         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
7059         before first use.
7061 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7063         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
7064         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
7065         in there too.
7067 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
7069         * version.h (RELEASE): Set to "development".
7070         (VERSION): Set to "2.22.90"
7072         * version.h (RELEASE): Set to "stable".
7073         (VERSION): Set to "2.22"
7074         * include/features.h (__GLIBC_MINOR__): Set to 22.
7076 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
7078         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
7079         Restructure macro to avoid "value computed is not used" warning.
7080         (atomic_compare_and_exchange_val_acq): Likewise.
7082 2015-08-04  Andreas Schwab  <schwab@suse.de>
7084         [BZ #18635]
7085         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
7086         ret.
7087         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
7089 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
7091         * po/pl.po: Updated translation.
7092         * po/uk.po: Likewise.
7093         * po/fi.po: Likewise.
7094         * po/ko.po: Likewise.
7095         * po/ru.po: Likewise.
7096         * po/vi.po: Likewise.
7098 2015-07-31  Zack Weinberg  <zackw@panix.com>
7100         [BZ #18681]
7101         * regexp.h: Add unconditional #warning stating that this header
7102         will be removed soon.  Revise banner comment to match.
7103         (compile): Consistently use ERROR instead of RETURN to report
7104         errors (partial fix for bz#18681).
7105         * regexp.c: Don't include regexp.h. Remove some unnecessary
7106         declarations.
7108 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
7110         * po/libc.pot: Regenerated.
7112 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7114         [BZ #18740]
7115         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
7116         float-vlen4-arch-ext-cflags): Removed.
7117         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
7118         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
7120 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7122         [BZ #14113]
7123         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
7124         aligned to __aligned__.
7125         (pthread_cond_t, pthread_rwlock_t): Likewise.
7127 2015-07-30  Torvald Riegel  <triegel@redhat.com>
7129         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
7131 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7133         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
7134         (struct sigaction): Change sa_flags from a long to an int, and add
7135         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
7137 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7139         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
7140         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
7141         sysdeps/generic/sysdep.h include.
7142         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
7143         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
7144         sysdeps/hppa/sysdep.h.
7145         (ENTRY, PSEUDO): Undefine before defining.
7147 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7149         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
7150         from scratch to use INTERNAL_SYSCALL.
7152 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
7154         [BZ #18078]
7155         * scripts/check-localplt.awk: Support alternate relocations.
7156         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
7157         sections.
7158         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
7159         malloc entries with + REL R_386_GLOB_DAT.
7160         * sysdeps/x86_64/localplt.data: New file.
7162 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
7164         [BZ #18731]
7165         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
7166         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7167         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7169 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7171         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
7173 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7175         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
7176         directly in terms of __sync_fetch_and_add and delete (int) cast.
7178 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7180         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
7181         the -D_ASM_IA64_CURRENT_H flag.
7183 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7185         [BZ #18641]
7186         * pwd/pwd.h (putpwent): Delete __nonnull markings.
7188 2015-07-27  Andreas Schwab  <schwab@suse.de>
7190         * conform/conformtest.pl (checknamespace): Filter out string
7191         literals while tokenizing.
7193 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7195         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7196         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
7197         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7199 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7201         * nptl/tst-join7mod.c: Add #include <string.h>.
7203 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7205         * sysdeps/nios2/libm-test-ulps: Update.
7207 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7209         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
7210         Fix order of arguments to the rt_sigprocmask syscall.
7211         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
7212         Likewise.
7214 2015-07-24  Roland McGrath  <roland@hack.frob.com>
7216         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
7218 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7220         [BZ #18457]
7221         * nptl/Makefile (tests): New test case tst-join7.
7222         (modules-names): New test case module tst-join7mod.
7223         * nptl/tst-join7.c: New file.
7224         * nptl/tst-join7mod.c: New file.
7225         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
7226         all translation units in libc.so, libpthread.so and rtld.
7228 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7232 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7234         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
7235         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7236         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7237         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7238         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7239         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7240         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7241         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7242         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7243         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7244         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7245         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7246         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
7247         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
7248         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
7249         implementation.
7251 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7253         [BZ #17711]
7254         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7255         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
7256         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7257         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7258         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
7259         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7261 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7263         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
7264         instead of just saying load lock in the comments.
7266 2015-07-23  Roland McGrath  <roland@hack.frob.com>
7268         * sysdeps/unix/Subdirs: Moved ...
7269         * sysdeps/posix/Subdirs: ... here.
7270         * login/pty.h (struct termios, struct winsize): Add forward decls.
7271         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
7272         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
7273         * sysdeps/arm/nacl/libc.abilist: Updated.
7274         * sysdeps/nacl/libutil.abilist: New file.
7276         * bits/signum.h: Update comments to mention 1003.1-2013 too.
7277         (SIGWINCH): New macro.
7279         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
7280         * sysdeps/arm/nacl/libc.abilist: Add it.
7282 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7284         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
7286 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7288         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7289         Swap __glibc_reserved0 and sa_flags order.
7291 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7293         [BZ #18657]
7294         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
7295         are pending TLS destructor calls.
7296         * include/link.h (struct link_map): Add concurrency note for
7297         L_TLS_DTOR_COUNT.
7298         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7299         Don't touch the link map flag.  Atomically increment
7300         l_tls_dtor_count.
7301         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
7302         Avoid taking the load lock and don't touch the link map flag.
7303         * stdlib/tst-tls-atexit-nodelete.c: New test case.
7304         * stdlib/Makefile (tests): Use it.
7305         * stdlib/tst-tls-atexit.c (do_test): dlopen
7306         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
7307         to allow tst-tls-atexit-nodelete test case to use it.
7309 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7311         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
7312         to bits/types.h.
7313         (msgqnum_t): New typedef.
7314         (msglen_t): Likewise.
7315         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
7316         and msg_qbytes type to msglen_t.
7318 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7320         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
7321         pad0 to __glibc_reserved0.
7322         (struct stat64): Likewise.
7324 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7326         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7327         Change sa_flags from a long to an int and add __glibc_reserved0 before
7328         it for padding.
7330 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7332         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
7333         anonymous by deleting "siginfo" name.
7335 2015-07-21  Roland McGrath  <roland@hack.frob.com>
7337         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
7338         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
7339         rather than __nacl_irt_filename.
7340         * sysdeps/nacl/xstat.c (__xstat): Likewise.
7342         * NEWS: New item for arm-nacl port.
7343         * sysdeps/arm/nacl/libc.abilist: New file.
7344         * sysdeps/nacl/ld.abilist: New file.
7345         * sysdeps/nacl/libBrokenLocale.abilist: New file.
7346         * sysdeps/nacl/libanl.abilist: New file.
7347         * sysdeps/nacl/libcrypt.abilist: New file.
7348         * sysdeps/nacl/libdl.abilist: New file.
7349         * sysdeps/nacl/libm.abilist: New file.
7350         * sysdeps/nacl/libpthread.abilist: New file.
7351         * sysdeps/nacl/libresolv.abilist: New file.
7352         * sysdeps/nacl/librt.abilist: New file.
7354 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
7356         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
7357         __startcontext to initialize the new context.
7358         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
7359         up CFI directive to forbid further backtracing.
7361 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
7363         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
7364         reference.
7365         * charmaps/ANSI_X3.4-1968: Likewise.
7366         * charmaps/BS_4730: Likewise.
7367         * charmaps/BS_VIEWDATA: Likewise.
7368         * charmaps/CP1250: Likewise.
7369         * charmaps/CP1251: Likewise.
7370         * charmaps/CP1252: Likewise.
7371         * charmaps/CP1253: Likewise.
7372         * charmaps/CP1254: Likewise.
7373         * charmaps/CP1255: Likewise.
7374         * charmaps/CP1256: Likewise.
7375         * charmaps/CSN_369103: Likewise.
7376         * charmaps/EBCDIC-DK-NO: Likewise.
7377         * charmaps/GB_1988-80: Likewise.
7378         * charmaps/GREEK-CCITT: Likewise.
7379         * charmaps/GREEK7: Likewise.
7380         * charmaps/INIS-8: Likewise.
7381         * charmaps/ISIRI-3342: Likewise.
7382         * charmaps/ISO_2033-1983: Likewise.
7383         * charmaps/ISO_5427-EXT: Likewise.
7384         * locales/POSIX: Likewise.
7385         * locales/ar_SA: Likewise.
7386         * locales/be_BY: Likewise.
7387         * locales/be_BY@latin: Likewise.
7388         * locales/ca_ES: Likewise.
7389         * locales/cs_CZ: Likewise.
7390         * locales/da_DK: Likewise.
7391         * locales/de_BE: Likewise.
7392         * locales/de_CH: Likewise.
7393         * locales/de_LU: Likewise.
7394         * locales/en_AU: Likewise.
7395         * locales/en_BW: Likewise.
7396         * locales/en_CA: Likewise.
7397         * locales/en_DK: Likewise.
7398         * locales/en_GB: Likewise.
7399         * locales/en_IE: Likewise.
7400         * locales/en_NZ: Likewise.
7401         * locales/en_ZA: Likewise.
7402         * locales/en_ZW: Likewise.
7403         * locales/es_AR: Likewise.
7404         * locales/es_BO: Likewise.
7405         * locales/es_CL: Likewise.
7406         * locales/es_CO: Likewise.
7407         * locales/es_DO: Likewise.
7408         * locales/es_EC: Likewise.
7409         * locales/es_ES: Likewise.
7410         * locales/es_HN: Likewise.
7411         * locales/es_MX: Likewise.
7412         * locales/es_PA: Likewise.
7413         * locales/es_PE: Likewise.
7414         * locales/es_PY: Likewise.
7415         * locales/es_SV: Likewise.
7416         * locales/es_US: Likewise.
7417         * locales/es_UY: Likewise.
7418         * locales/es_VE: Likewise.
7419         * locales/et_EE: Likewise.
7420         * locales/fa_IR: Likewise.
7421         * locales/fo_FO: Likewise.
7422         * locales/fr_CA: Likewise.
7423         * locales/fr_CH: Likewise.
7424         * locales/gv_GB: Likewise.
7425         * locales/he_IL: Likewise.
7426         * locales/hr_HR: Likewise.
7427         * locales/id_ID: Likewise.
7428         * locales/is_IS: Likewise.
7429         * locales/it_CH: Likewise.
7430         * locales/iw_IL: Likewise.
7431         * locales/kl_GL: Likewise.
7432         * locales/ko_KR: Likewise.
7433         * locales/kw_GB: Likewise.
7434         * locales/lg_UG: Likewise.
7435         * locales/lt_LT: Likewise.
7436         * locales/lv_LV: Likewise.
7437         * locales/mi_NZ: Likewise.
7438         * locales/nhn_MX: Likewise.
7439         * locales/nl_BE: Likewise.
7440         * locales/pl_PL: Likewise.
7441         * locales/sk_SK: Likewise.
7442         * locales/sl_SI: Likewise.
7443         * locales/sv_FI: Likewise.
7444         * locales/tl_PH: Likewise.
7445         * locales/tr_TR: Likewise.
7446         * locales/vi_VN: Likewise.
7448 2015-07-21  Khem Raj  <raj.khem@gmail.com>
7450         [BZ #17475]
7451         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
7452         of tu_IN and bh_IN.
7454 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
7456         [BZ #18694]
7457         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
7458         bits/wordsize.h.
7459         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
7461 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7463         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
7464         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
7465         (spawn_thread): New function.
7466         (load): Rename to reg_dtor_and_close.  Move dlopen to...
7467         (do_test): ... here.  Use IS_LOADED to test for its
7468         availability.
7470 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
7472         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7474 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
7476         [BZ #18696]
7477         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
7478         si_addr_bnd.
7479         (si_lower): New.
7480         (si_upper): Likewise.
7482 2015-07-16  David S. Miller  <davem@davemloft.net>
7484         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7486 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7488         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
7489         buffer.
7490         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
7491         fail output information.
7493 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
7496         and strstr-ppc64..
7497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7498         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
7499         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
7500         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
7501         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
7503 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
7505         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
7506         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7507         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
7508         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7510 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
7512         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7513         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
7514         rtld_hidden_proto.
7515         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
7517 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7519         * tst-nodelete-opened.c (do_test): Add comment to clarify how
7520         the test can fail.
7522         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
7524         [BZ #18676]
7525         * elf/tst-nodelete-opened.c: New test case.
7526         * elf/tst-nodelete-opened-lib.c: New test case module.
7527         * elf/Makefile (tests, modules-names): Use them.
7528         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
7529         early.
7531 2015-07-15  David S. Miller  <davem@davemloft.net>
7533         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
7534         futex-intenal.h
7535         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
7536         * sysdeps/sparc/sparc64/Makefile: Likewise.
7537         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
7538         Remove space from macro define.
7539         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
7541 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
7543         [BZ #17475]
7544         * locale/iso-639.def: Update Bhili and Tulu language codes as
7545         per iso639-3.
7547 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
7549         * elf/tst-leaks1.c (main): Converted to ...
7550         (do_test): ... this.
7551         (TEST_FUNCTION): New macro.
7552         Include test-skeleton.c.
7553         * localedata/tst-langinfo.c (main): Converted to ...
7554         (do_test): ... this.
7555         (TEST_FUNCTION): New macro.
7556         Include test-skeleton.c.
7557         * math/test-fpucw.c (main): Converted to ...
7558         (do_test): ... this.
7559         (TEST_FUNCTION): New macro.
7560         Include test-skeleton.c.
7561         * math/test-tgmath.c (main): Converted to ...
7562         (do_test): ... this.
7563         (TEST_FUNCTION): New macro.
7564         Include test-skeleton.c.
7565         * math/test-tgmath2.c (main): Converted to ...
7566         (do_test): ... this.
7567         (TEST_FUNCTION): New macro.
7568         Include test-skeleton.c.
7569         * setjmp/tst-setjmp.c (main): Converted to ...
7570         (do_test): ... this.
7571         (TEST_FUNCTION): New macro.
7572         Include test-skeleton.c.
7573         * stdio-common/tst-sscanf.c (main): Converted to ...
7574         (do_test): ... this.
7575         (TEST_FUNCTION): New macro.
7576         Include test-skeleton.c.
7577         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
7578         (do_test): ... this.
7579         (TEST_FUNCTION): New macro.
7580         Include test-skeleton.c.
7582         * elf/tst-audit9.c (main): Converted to ...
7583         (do_test): ... this.
7584         (TEST_FUNCTION): New macro.
7585         Include test-skeleton.c.
7587 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
7589         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
7591 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7593         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
7594         New variable.
7596 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7598         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7600 2015-07-14  Roland McGrath  <roland@hack.frob.com>
7602         * sysdeps/generic/dl-fileid.h: New file.
7603         * sysdeps/posix/dl-fileid.h: New file.
7604         * sysdeps/nacl/dl-fileid.h: New file.
7605         * include/link.h: Include <dl-fileid.h>.
7606         (struct link_map): Replace l_dev and l_ino with l_file_id.
7607         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
7608         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
7609         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
7611 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7613         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
7615 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7617         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
7618         Add iff $CXX is set.
7619         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
7620         Likewise.
7621         (tst-nodelete-zmodiff): Likewise.
7622         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
7624 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7626         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
7628 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
7630         * sysdeps/aarch64/fpu/math_private.h
7631         (define math_opt_barrier): Add AArch64 version.
7632         (math_force_eval): Likewise.
7634 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
7636         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
7638 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
7640         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
7641         %ld with %jd and cast to intmax_t.
7642         (do_test_length_zero): Likewise.
7644 2015-07-10  Roland McGrath  <roland@hack.frob.com>
7646         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
7648 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
7650         * sysdeps/tile/libm-test-ulps: Regenerated.
7652         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
7653         Comment out the whole function, not just its body.
7655 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7657         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
7658         locks.
7660         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
7662 2015-07-10  Torvald Riegel  <triegel@redhat.com>
7664         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
7665         (sem_assume_only_signals_cause_futex_EINTR): Remove.
7667 2015-07-10  Torvald Riegel  <triegel@redhat.com>
7669         * sysdeps/nptl/futex-internal.h: New file.
7670         * sysdeps/nacl/futex-internal.h: New file.
7671         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
7672         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
7673         error checking.
7674         (setxid_unmark_thread): Likewise.
7675         (__nptl_setxid): Likewise.
7676         (__wait_lookup_done): Likewise.
7677         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
7678         * nptl/nptl-init.c (sighandler_setxid): Likewise.
7679         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
7680         * nptl/pthread_once.c (clear_once_control): Likewise.
7681         (__pthread_once_slow): Likewise.
7682         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7683         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
7684         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
7685         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7686         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
7687         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
7688         Likewise.
7689         (__pthread_rwlock_rdlock): Likewise.
7690         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7691         Likewise.
7692         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7693         Likewise.
7694         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7695         Likewise.
7696         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
7697         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
7698         Likewise.
7699         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
7700         __ASSUME_PRIVATE_FUTEX check.
7701         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
7702         Check that shared futexes are supported.
7703         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
7704         wrappers with error checking.
7705         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
7706         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
7707         * nptl/pthread_barrierattr_setpshared.c
7708         (pthread_barrierattr_setpshared): Check that shared futexes are
7709         supported.
7710         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
7711         Likewise.
7712         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
7713         Likewise.
7714         * nptl/sem_init.c (futex_private_if_supported): Remove.
7715         (__new_sem_init): Adapt and check that shared futexes are supported.
7716         * nptl/sem_open.c (sem_open): Likewise.
7717         * nptl/sem_post.c (futex_wake): Remove.
7718         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
7719         (do_futex_wait): Use futex wrappers with error checking.
7720         * nptl/sem_wait.c: Include lowlevellock.h.
7721         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
7722         Use futex_supports_pshared.
7723         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
7724         Use futex wrappers with error checking.
7725         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
7726         Likewise.
7727         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
7728         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
7729         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
7730         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
7731         (futex_wake): Likewise.
7732         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
7733         (do_futex_wait): Use futex wrappers with error checking.
7734         (__new_sem_wait_slow): Update EINTR handling.
7735         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
7737 2015-07-09  Martin Sebor  <msebor@redhat.com>
7739         [BZ #18435]
7740         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7741         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
7742         * nptl/Makefile (test-xfail-tst-once5): Define.
7744 2015-07-09  Roland McGrath  <roland@hack.frob.com>
7746         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
7747         * elf/dl-minimal.c: For readability, reorder some definitions and
7748         introduce more page breaks.  Include <stdio.h>.
7749         (__libc_fatal): New function.
7751         * include/unistd.h: Add rtld_hidden_proto for _exit.
7752         * posix/_exit.c: Add rtld_hidden_def.
7753         * sysdeps/mach/hurd/_exit.c: Likewise.
7754         * sysdeps/nacl/_exit.c: Likewise.
7755         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
7756         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
7758 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
7760         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
7761         bndmov encoding with zero displacement.
7763 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7764             H.J. Lu  <hongjiu.lu@intel.com>
7766         [BZ #18134]
7767         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
7768         * sysdeps/i386/configure: Regenerated.
7769         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7770         (_dl_runtime_profile): Save and restore Intel MPX return bound
7771         registers when calling _dl_call_pltexit.  Add
7772         PRESERVE_BND_REGS_PREFIX before return.
7773         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
7774         (LRV_BND1_OFFSET): Likewise.
7775         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
7776         lrv_bnd1.
7777         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
7778         typo in bndmov encoding.
7779         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
7780         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
7781         branch instructions to preserve bounds.
7783 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7786         [GLIBC_2.22]: Add fmemopen.
7788 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7790         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
7791         returns an error, also try to use host port from __mach_host_self for
7792         the __vm_wire call.
7793         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
7795 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7797         [BZ #18400]
7798         [BZ #18648]
7799         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
7800         Fix pr_uid and pr_gid members.
7801         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
7802         definition to elf_greg_t.
7804 2015-07-08  Roland McGrath  <roland@hack.frob.com>
7806         [BZ #18383]
7807         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
7808         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
7809         * sysdeps/arm/configure: Regenerated.
7810         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
7811         (test-xfail-tst-tlsalign-static): Variable removed.
7813         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
7814         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
7815         rather than explicit 'ln -s'.
7817         * resolv/rpc/netdb.h: New file.
7818         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
7820 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7822         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
7823         length buffers.
7824         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7825         test-skeleton.c.
7827         [BZ #6544]
7828         [BZ #11216]
7829         [BZ #12836]
7830         [BZ #13151]
7831         [BZ #13152]
7832         [BZ #14292]
7833         * include/stdio.h (fmemopen): Remove hidden prototype.
7834         (__fmemopen): Add new hidden prototype.
7835         * libio/Makefile: Add oldfmemopen object.
7836         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
7837         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
7838         compliance.
7839         * libio/oldfmemopen.c: New file: old fmemopen implementation for
7840         symbol compatibility.
7841         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
7842         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
7843         fmemopen.
7844         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
7845         on append and read mode.
7846         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
7847         fmemopen.
7848         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
7849         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
7850         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
7851         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
7852         Likewise.
7853         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7854         [GLIBC_2.22]: Likewise.
7855         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
7856         Likewise.
7857         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
7858         Likewise.
7859         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7860         [GLIBC_2.22]: Likewise.
7861         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7862         [GLIBC_2.22]: Likewise.
7863         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7864         [GLIBC_2.22]: Likewise.
7865         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7866         [GLIBC_2.22]: Likewise.
7867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7868         [GLIBC_2.22]: Likewise.
7869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7870         [GLIBC_2.22]: Likewise.
7871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7872         [GLIBC_2.22]: Likewise.
7873         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
7874         Likewise.
7875         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
7876         Likewise.
7877         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
7878         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7879         [GLIBC_2.22]: Likewise.
7880         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7881         [GLIBC_2.22]: Likewise.
7882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7883         [GLIBC_2.22]: Likewise.
7884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7885         [GLIBC_2.22]: Likewise.
7886         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
7887         Likewise.
7888         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
7889         Likewise.
7890         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
7891         Likewise.
7892         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
7893         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
7895 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7897         [BZ #18643]
7898         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
7899         IPV6_PATHMTU, and IPV6_DONTFRAG.
7901 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
7903         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
7904         and _IO_UNBUFFERED.
7905         * libio/oldfileops.c: Likewise.
7906         * libio/wfileops.c: Likewise.
7908 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7910         * nscd/selinux.c: Delete selinux/flask.h include.
7912 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7914         [BZ #18641]
7915         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
7916         (putpwent): Likewise.
7917         (getpwnam): Likewise.
7918         (getpwent_r): Likewise.
7919         (getpwuid_r): Likewise.
7920         (getpwnam_r): Likewise.
7921         (fgetpwent_r): Likewise.
7923 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7925         [BZ #18557]
7926         * inet/rcmd.c (__validuser2_sa): Check user first to
7927         short-circuit host check.
7929 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
7930             Mikhail Ilin  <m.ilin@samsung.com>
7932         [BZ #17833]
7933         * elf/Makefile (tests): Add tst-nodelete.
7934         (modules-names): Add tst-nodelete-uniquemod.
7935         (tst-nodelete-uniquemod.so-no-z-defs): New.
7936         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
7937         (tst-nodelete-zmod.so-no-z-defs): Likewise.
7938         ($(objpfx)tst-nodelete): Likewise.
7939         ($(objpfx)tst-nodelete.out): Likewise.
7940         (LDFLAGS-tst-nodelete): Likewise.
7941         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
7942         * elf/dl-close.c (_dl_close_worker): Add a parameter to
7943         implement forced object deletion.
7944         (_dl_close): Pass false to _dl_close_worker.
7945         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
7946         * elf/tst-nodelete.cc: New file.
7947         * elf/tst-nodeletelib.cc: Likewise.
7948         * elf/tst-znodeletelib.cc: Likewise.
7949         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
7951 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7953         [BZ #18508]
7954         * stdlib/Makefile ($(objpfx)tst-makecontext3):
7955         Depend on $(libdl).
7956         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
7957         is not called infinitely times.
7958         (backtrace_helper): New function.
7959         (trace_arg): New struct.
7960         (st1): Enlarge stack size.
7961         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7962         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
7963         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7964         Likewise.
7966 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7968         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7970 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7972         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
7973         Include sys/types.h instead of bits/types.h.
7974         Remove inclusion of bits/wordsize.h.
7976 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7978         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
7979         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
7980         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
7981         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
7982         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
7983         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
7985 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7987         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
7988         link-defines.sym.
7989         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
7990         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
7991         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
7992         and LR_SIZE.
7993         * sysdeps/i386/link-defines.sym: New file.
7995 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7997         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
7998         (modules-names): Add tst-auditmod3a tst-auditmod3b.
7999         ($(objpfx)tst-audit3): New rule.
8000         ($(objpfx)tst-audit3.out): Likewise.
8001         * sysdeps/i386/tst-audit3.c: New file.
8002         * sysdeps/i386/tst-audit3.h: Likewise.
8003         * sysdeps/i386/tst-auditmod3a.c: Likewise.
8004         * sysdeps/i386/tst-auditmod3b.c: Likewise.
8006 2015-07-07  Torvald Riegel  <triegel@redhat.com>
8008         [BZ #18633]
8009         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
8010         pointer in C code.
8011         (__strcat_c): Likewise.
8012         (__strcat_g): Likewise.
8014 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
8016         [BZ #18592]
8017         * misc/sbrk.c: Set errno to ENOMEM on overflow.
8019 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8021         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
8022         New function.  (__ieee754_sqrtf): New function.
8023         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
8024         New function.
8025         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
8026         New function.
8028 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8030         * sysdeps/ieee754/support.c: Remove unused file.
8032 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8034         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
8035         registers instead of d ones so the layout is kernel abi compatible.
8036         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
8037         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
8038         Likewise.
8040 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8042         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8044 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8046         [BZ #18619]
8047         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
8048         and return argument in case of subnormal argument.
8050 2015-07-01  Martin Sebor  <msebor@redhat.com>
8052         [BZ #18435]
8053         * nptl/Makefile: Add tst-once5.cc.
8054         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8055         Remove macro redefinitions.
8056         * nptl/tst-once5.cc: New test.
8058 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8060         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8062         * sysdeps/arm/libm-test-ulps: Regenerated.
8064         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8065         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8067 2015-06-30  Torvald Riegel  <triegel@redhat.com>
8069         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
8070         lll_lock_wait_private and lll_futex_wake probes.
8072         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8073         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
8074         Likewise.
8075         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8076         atomic_spin_nop.
8077         * sysdeps/x86_64/bits/atomic.h: Likewise.
8078         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
8079         to atomic_spin_nop and move ...
8080         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8081         ... here and ...
8082         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
8083         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8084         atomic_spin_nop instead of BUSY_WAIT_NOP.
8085         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
8086         Likewise.
8087         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
8088         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8089         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
8090         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
8091         instead of atomic_delay.
8093 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
8095         [BZ #18613]
8096         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
8097         X_ADJ not X when adjusting exponent.
8098         (__ieee754_gamma_r): Do intermediate computations in
8099         round-to-nearest then adjust overflowing and underflowing results
8100         as needed.
8101         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
8102         of X_ADJ not X when adjusting exponent.
8103         (__ieee754_gammaf_r): Do intermediate computations in
8104         round-to-nearest then adjust overflowing and underflowing results
8105         as needed.
8106         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
8107         log of X_ADJ not X when adjusting exponent.
8108         (__ieee754_gammal_r): Do intermediate computations in
8109         round-to-nearest then adjust overflowing and underflowing results
8110         as needed.  Use 1.0L not 1.0f as numerator of division.
8111         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
8112         log of X_ADJ not X when adjusting exponent.
8113         (__ieee754_gammal_r): Do intermediate computations in
8114         round-to-nearest then adjust overflowing and underflowing results
8115         as needed.  Use 1.0L not 1.0f as numerator of division.
8116         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
8117         of X_ADJ not X when adjusting exponent.
8118         (__ieee754_gammal_r): Do intermediate computations in
8119         round-to-nearest then adjust overflowing and underflowing results
8120         as needed.  Use 1.0L not 1.0f as numerator of division.
8121         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
8122         to auto-libm-test-in.
8123         (tgamma_test): Use ALL_RM_TEST.
8124         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
8125         tests of tgamma with spurious-overflow.
8126         * math/auto-libm-test-out: Regenerated.
8127         * math/gen-libm-have-vector-test.sh: Do not check for START.
8128         * sysdeps/i386/fpu/libm-test-ulps: Update.
8129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8131         [BZ #18612]
8132         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
8133         arguments, just return 0.5 times the argument, with underflow
8134         forced as needed.
8135         * math/auto-libm-test-in: Add more tests of j1.
8136         * math/auto-libm-test-out: Regenerated.
8138         [BZ #16559]
8139         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
8140         (__ieee754_j1): Force underflow exception for small results.
8141         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8142         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8143         (__ieee754_j1f): Force underflow exception for small results.
8144         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8145         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8147         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
8148         (__ieee754_j1l): Force underflow exception for small results.
8149         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8150         * math/auto-libm-test-in: Add more tests of j1 and jn.
8151         * math/auto-libm-test-out: Regenerated.
8153         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
8154         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
8155         (PF_MPLS): Likewise.
8156         (AF_IB): Likewise.
8157         (AF_MPLS): Likewise.
8158         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
8159         value and macro.
8160         (MS_RMT_MASK): Include MS_LAZYTIME.
8162 2015-06-26  Mel Gorman  <mgorman@suse.de>
8164         [BZ #18502]
8165         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
8166         already minimal.
8168 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
8170         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
8171         (DT_MIPS_NUM): Update.
8172         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
8173         DT_MIPS_RLD_MAP_REL.
8175 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
8177         [BZ #16559]
8178         [BZ #18602]
8179         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
8180         round-to-nearest internally then recompute results that
8181         underflowed to zero in the original rounding mode.
8182         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8183         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8184         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8185         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
8186         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
8187         * sysdeps/i386/fpu/libm-test-ulps: Update.
8188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8190 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
8192         * NEWS: Fixed description of link with vector math library.
8194 2015-06-25  Andreas Schwab  <schwab@suse.de>
8196         [BZ #18549]
8197         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
8198         * libio/test-fmemopen.c (do_test): Add test for it.
8200 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
8202         [BZ #17841]
8203         * Makeconfig (no-pie-ldflag): New.
8204         (+link): Set to $(+link-pie) if default to PIE.
8205         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
8206         * config.make.in (build-pie-default): New.
8207         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
8208         is default.  AC_SUBST.
8209         * configure: Regenerated.
8210         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
8212 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8214         * nptl/descr.h (struct pthread): Change type of field setxid_futex
8215         to 'unsigned int'.
8217         * resolv/gai_misc.h (struct waitlist): Change type of field
8218         counterp to 'volatile unsigned int *'.
8219         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
8220         FUTEXADDR and OLDVAL.
8221         * resolv/getaddrinfo_a.c (getaddrinfo_a):
8222         Give local variable TOTAL type 'volatile unsigned int'.
8223         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8224         * resolv/gai_suspend.c (gai_suspend):
8225         Give local variable CNTR type 'unsigned int'.
8227         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
8228         counterp to 'volatile unsigned int *'.
8229         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
8230         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
8231         (aio_suspend): Give local variable CNTR type 'unsigned int'.
8232         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
8233         Give local variable TOTAL type 'volatile unsigned int'.
8234         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8236 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8238         [BZ #18383]
8239         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
8240         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
8241         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
8242         comment for i386/x86-64.
8243         (test-xfail-tst-tlsalign-extern-static): Removed.
8245 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8247         * math/test-double.h: New file.
8248         * math/test-float.h: Likewise.
8249         * math/test-ldouble.h: Likewise.
8250         * math/test-math-inline.h: Likewise.
8251         * math/test-math-no-inline.h: Likewise.
8252         * math/test-math-scalar.h: Likewise.
8253         * math/test-math-vector.h: Likewise.
8254         * math/test-vec-loop.h: Remove file.  Contents moved into
8255         test-math-vector.h.
8256         * math/libm-test.inc (MATHCONST): Do not document macro.
8257         * math/test-double.c: Include test-double.h, test-math-no-inline.h
8258         and test-math-scalar.h.
8259         (FUNC): Remove macro.
8260         (FUNC_TEST): Likewise.
8261         (FLOAT): Likewise.
8262         (MATHCONST): Likewise.
8263         (PRINTF_EXPR): Likewise.
8264         (PRINTF_XEXPR): Likewise.
8265         (PRINTF_NEXPR): Likewise.
8266         (TEST_DOUBLE): Likewise.
8267         (TEST_MATHVEC): Likewise.
8268         (__NO_MATH_INLINES): Likewise.
8269         * math/test-float.c: Include test-float.h, test-math-no-inline.h
8270         and test-math-scalar.h.
8271         (FUNC): Remove macro.
8272         (FUNC_TEST): Likewise.
8273         (FLOAT): Likewise.
8274         (MATHCONST): Likewise.
8275         (PRINTF_EXPR): Likewise.
8276         (PRINTF_XEXPR): Likewise.
8277         (PRINTF_NEXPR): Likewise.
8278         (TEST_FLOAT): Likewise.
8279         (TEST_MATHVEC): Likewise.
8280         (__NO_MATH_INLINES): Likewise.
8281         * math/test-idouble.c: Include test-double.h, test-math-inline.h
8282         and test-math-scalar.h.
8283         (FUNC): Remove macro.
8284         (FUNC_TEST): Likewise.
8285         (FLOAT): Likewise.
8286         (MATHCONST): Likewise.
8287         (PRINTF_EXPR): Likewise.
8288         (PRINTF_XEXPR): Likewise.
8289         (PRINTF_NEXPR): Likewise.
8290         (TEST_DOUBLE): Likewise.
8291         (TEST_MATHVEC): Likewise.
8292         (TEST_INLINE): Likewise.
8293         (__NO_MATH_INLINES): Likewise.
8294         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
8295         test-math-scalar.h.
8296         (FUNC): Remove macro.
8297         (FUNC_TEST): Likewise.
8298         (FLOAT): Likewise.
8299         (MATHCONST): Likewise.
8300         (PRINTF_EXPR): Likewise.
8301         (PRINTF_XEXPR): Likewise.
8302         (PRINTF_NEXPR): Likewise.
8303         (TEST_FLOAT): Likewise.
8304         (TEST_MATHVEC): Likewise.
8305         (TEST_INLINE): Likewise.
8306         (__NO_MATH_INLINES): Likewise.
8307         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
8308         and test-math-scalar.h.
8309         (FUNC): Remove macro.
8310         (FUNC_TEST): Likewise.
8311         (FLOAT): Likewise.
8312         (MATHCONST): Likewise.
8313         (PRINTF_EXPR): Likewise.
8314         (PRINTF_XEXPR): Likewise.
8315         (PRINTF_NEXPR): Likewise.
8316         (TEST_LDOUBLE): Likewise.
8317         (TEST_MATHVEC): Likewise.
8318         (TEST_INLINE): Likewise.
8319         (__NO_MATH_INLINES): Likewise.
8320         * math/test-ldouble.c: Include test-ldouble.h,
8321         test-math-no-inline.h and test-math-scalar.h.
8322         (FUNC): Remove macro.
8323         (FUNC_TEST): Likewise.
8324         (FLOAT): Likewise.
8325         (MATHCONST): Likewise.
8326         (PRINTF_EXPR): Likewise.
8327         (PRINTF_XEXPR): Likewise.
8328         (PRINTF_NEXPR): Likewise.
8329         (TEST_LDOUBLE): Likewise.
8330         (TEST_MATHVEC): Likewise.
8331         (__NO_MATH_INLINES): Likewise.
8332         * math/test-double-vlen2.h: Include test-double.h,
8333         test-math-no-inline.h and test-math-vector.h.
8334         (FLOAT): Remove macro.
8335         (FUNC): Likewise.
8336         (MATHCONST): Likewise.
8337         (PRINTF_EXPR): Likewise.
8338         (PRINTF_XEXPR): Likewise.
8339         (PRINTF_NEXPR): Likewise.
8340         (TEST_DOUBLE): Likewise.
8341         (TEST_MATHVEC): Likewise.
8342         (__NO_MATH_INLINES): Likewise.
8343         (CNCT): Likewise.
8344         (CONCAT): Likewise.
8345         (WRAPPER_NAME): Likewise.
8346         (WRAPPER_DECL): Likewise.
8347         (WRAPPER_DECL_ff): Likewise.
8348         (WRAPPER_DECL_fFF): Likewise.
8349         (VECTOR_WRAPPER): Likewise.
8350         (VECTOR_WRAPPER_ff): Likewise.
8351         (VECTOR_WRAPPER_fFF): Likewise.
8352         (VEC_LEN): New macro.
8353         * math/test-double-vlen4.h: Include test-double.h,
8354         test-math-no-inline.h and test-math-vector.h.
8355         (FLOAT): Remove macro.
8356         (FUNC): Likewise.
8357         (MATHCONST): Likewise.
8358         (PRINTF_EXPR): Likewise.
8359         (PRINTF_XEXPR): Likewise.
8360         (PRINTF_NEXPR): Likewise.
8361         (TEST_DOUBLE): Likewise.
8362         (TEST_MATHVEC): Likewise.
8363         (__NO_MATH_INLINES): Likewise.
8364         (CNCT): Likewise.
8365         (CONCAT): Likewise.
8366         (WRAPPER_NAME): Likewise.
8367         (WRAPPER_DECL): Likewise.
8368         (WRAPPER_DECL_ff): Likewise.
8369         (WRAPPER_DECL_fFF): Likewise.
8370         (VECTOR_WRAPPER): Likewise.
8371         (VECTOR_WRAPPER_ff): Likewise.
8372         (VECTOR_WRAPPER_fFF): Likewise.
8373         (VEC_LEN): New macro.
8374         * math/test-double-vlen8.h: Include test-double.h,
8375         test-math-no-inline.h and test-math-vector.h.
8376         (FLOAT): Remove macro.
8377         (FUNC): Likewise.
8378         (MATHCONST): Likewise.
8379         (PRINTF_EXPR): Likewise.
8380         (PRINTF_XEXPR): Likewise.
8381         (PRINTF_NEXPR): Likewise.
8382         (TEST_DOUBLE): Likewise.
8383         (TEST_MATHVEC): Likewise.
8384         (__NO_MATH_INLINES): Likewise.
8385         (CNCT): Likewise.
8386         (CONCAT): Likewise.
8387         (WRAPPER_NAME): Likewise.
8388         (WRAPPER_DECL): Likewise.
8389         (WRAPPER_DECL_ff): Likewise.
8390         (WRAPPER_DECL_fFF): Likewise.
8391         (VECTOR_WRAPPER): Likewise.
8392         (VECTOR_WRAPPER_ff): Likewise.
8393         (VECTOR_WRAPPER_fFF): Likewise.
8394         (VEC_LEN): New macro.
8395         * math/test-float-vlen4.h: Include test-float.h,
8396         test-math-no-inline.h and test-math-vector.h.
8397         (FLOAT): Remove macro.
8398         (FUNC): Likewise.
8399         (MATHCONST): Likewise.
8400         (PRINTF_EXPR): Likewise.
8401         (PRINTF_XEXPR): Likewise.
8402         (PRINTF_NEXPR): Likewise.
8403         (TEST_FLOAT): Likewise.
8404         (TEST_MATHVEC): Likewise.
8405         (__NO_MATH_INLINES): Likewise.
8406         (CNCT): Likewise.
8407         (CONCAT): Likewise.
8408         (WRAPPER_NAME): Likewise.
8409         (WRAPPER_DECL): Likewise.
8410         (WRAPPER_DECL_ff): Likewise.
8411         (WRAPPER_DECL_fFF): Likewise.
8412         (VECTOR_WRAPPER): Likewise.
8413         (VECTOR_WRAPPER_ff): Likewise.
8414         (VECTOR_WRAPPER_fFF): Likewise.
8415         (VEC_LEN): New macro.
8416         * math/test-float-vlen8.h: Include test-float.h,
8417         test-math-no-inline.h and test-math-vector.h.
8418         (FLOAT): Remove macro.
8419         (FUNC): Likewise.
8420         (MATHCONST): Likewise.
8421         (PRINTF_EXPR): Likewise.
8422         (PRINTF_XEXPR): Likewise.
8423         (PRINTF_NEXPR): Likewise.
8424         (TEST_FLOAT): Likewise.
8425         (TEST_MATHVEC): Likewise.
8426         (__NO_MATH_INLINES): Likewise.
8427         (CNCT): Likewise.
8428         (CONCAT): Likewise.
8429         (WRAPPER_NAME): Likewise.
8430         (WRAPPER_DECL): Likewise.
8431         (WRAPPER_DECL_ff): Likewise.
8432         (WRAPPER_DECL_fFF): Likewise.
8433         (VECTOR_WRAPPER): Likewise.
8434         (VECTOR_WRAPPER_ff): Likewise.
8435         (VECTOR_WRAPPER_fFF): Likewise.
8436         (VEC_LEN): New macro.
8437         * math/test-float-vlen16.h: Include test-float.h,
8438         test-math-no-inline.h and test-math-vector.h.
8439         (FLOAT): Remove macro.
8440         (FUNC): Likewise.
8441         (MATHCONST): Likewise.
8442         (PRINTF_EXPR): Likewise.
8443         (PRINTF_XEXPR): Likewise.
8444         (PRINTF_NEXPR): Likewise.
8445         (TEST_FLOAT): Likewise.
8446         (TEST_MATHVEC): Likewise.
8447         (__NO_MATH_INLINES): Likewise.
8448         (CNCT): Likewise.
8449         (CONCAT): Likewise.
8450         (WRAPPER_NAME): Likewise.
8451         (WRAPPER_DECL): Likewise.
8452         (WRAPPER_DECL_ff): Likewise.
8453         (WRAPPER_DECL_fFF): Likewise.
8454         (VECTOR_WRAPPER): Likewise.
8455         (VECTOR_WRAPPER_ff): Likewise.
8456         (VECTOR_WRAPPER_fFF): Likewise.
8457         (VEC_LEN): New macro.
8458         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
8459         test-vec-loop.h.
8460         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8461         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8462         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8463         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8464         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8465         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8466         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8468 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8470         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
8471         (__getlogin_r): ... this.
8473 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8475         [BZ #18594]
8476         * math/s_ccosh.c (__ccosh): Compare with least normal value
8477         instead of comparing class with FP_SUBNORMAL.
8478         * math/s_ccoshf.c (__ccoshf): Likewise.
8479         * math/s_ccoshl.c (__ccoshl): Likewise.
8480         * math/s_cexp.c (__cexp): Likewise.
8481         * math/s_cexpf.c (__cexpf): Likewise.
8482         * math/s_cexpl.c (__cexpl): Likewise.
8483         * math/s_csin.c (__csin): Likewise.
8484         * math/s_csinf.c (__csinf): Likewise.
8485         * math/s_csinh.c (__csinh): Likewise.
8486         * math/s_csinhf.c (__csinhf): Likewise.
8487         * math/s_csinhl.c (__csinhl): Likewise.
8488         * math/s_csinl.c (__csinl): Likewise.
8489         * math/s_ctan.c (__ctan): Likewise.
8490         * math/s_ctanf.c (__ctanf): Likewise.
8491         * math/s_ctanh.c (__ctanh): Likewise.
8492         * math/s_ctanhf.c (__ctanhf): Likewise.
8493         * math/s_ctanhl.c (__ctanhl): Likewise.
8494         * math/s_ctanl.c (__ctanl): Likewise.
8495         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
8496         csin, csinh, ctan and ctanh.
8497         * math/auto-libm-test-out: Regenerated.
8498         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
8499         * sysdeps/i386/fpu/libm-test-ulps: Update.
8500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8502 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8504         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
8505         return value is wrong, print the expected value too.
8507 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8509         [BZ #18585]
8510         * elf/readlib.c (is_gdb_python_file): New.
8511         (process_file): Don't issue errors on filenames with -gdb.py
8512         suffix.
8514 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8516         * math/auto-libm-test-in: Add more tests of csin and csinh.
8517         * math/auto-libm-test-out: Regenerated.
8518         * math/libm-test.inc (csin_test_data): Remove tests moved to
8519         auto-libm-test-in.
8520         (csinh_test_data): Likewise.
8522         [BZ #18593]
8523         * math/s_csin.c (__csin): Negate before rather than after possibly
8524         overflowing multiplication.
8525         * math/s_csinf.c (__csinf): Likewise.
8526         * math/s_csinh.c (__csinh): Likewise.
8527         * math/s_csinhf.c (__csinhf): Likewise.
8528         * math/s_csinhl.c (__csinhl): Likewise.
8529         * math/s_csinl.c (__csinl): Likewise.
8530         * math/auto-libm-test-in: Add some tests of csin and csinh.
8531         * math/auto-libm-test-out: Regenerated.
8532         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
8533         (csinh_test_data): Likewise.
8534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8536         [BZ #18586]
8537         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
8538         underflow exception for small results.
8540 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8542         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
8543         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
8544         variable and included header.
8545         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
8546         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
8547         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
8548         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
8549         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
8550         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8551         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8552         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
8553         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
8554         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
8555         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
8556         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
8557         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
8558         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
8559         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
8560         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
8562 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8564         [BZ #16526]
8565         [BZ #16538]
8566         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
8567         (__sin): Force underflow exception for arguments with small
8568         absolute value.
8569         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
8570         (__kernel_sinf): Force underflow exception for arguments with
8571         small absolute value.
8572         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
8573         (__kernel_sincosl): Force underflow exception for arguments with
8574         small absolute value.
8575         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
8576         (__kernel_sinl): Force underflow exception for arguments with
8577         small absolute value.
8578         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
8579         (__kernel_sincosl): Force underflow exception for arguments with
8580         small absolute value.
8581         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
8582         (__kernel_sinl): Force underflow exception for arguments with
8583         small absolute value.
8584         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
8585         (__kernel_sinl): Force underflow exception for arguments with
8586         small absolute value.
8587         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
8588         (__kernel_sinf): Force underflow exception for arguments with
8589         small absolute value.
8590         * math/auto-libm-test-in: Add more tests of sin and sincos.
8591         * math/auto-libm-test-out: Regenerated.
8593         [BZ #18245]
8594         [BZ #18583]
8595         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
8596         (__kernel_standard_l): Use feholdexcept and fesetenv around
8597         conversion to double instead of special-casing overflow and
8598         underflow.
8599         * math/libm-test.inc (fmod_test_data): Add more tests.
8600         (remainder_test_data): Likewise.
8601         (sqrt_test_data): Likewise.
8603 2015-06-23  Torvald Riegel  <triegel@redhat.com>
8605         [BZ #17403]
8606         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
8607         atomic_read_barrier, atomic_write_barrier): Define.
8608         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
8609         atomic_read_barrier, atomic_write_barrier): Define.
8611 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8613         * math/Makefile [$(PERL) != no]
8614         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
8615         dependency on libm-test.stmp below the inclusion of Rules.
8617 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
8619         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
8620         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
8621         and included header.
8622         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
8623         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
8624         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
8625         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
8626         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
8627         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
8628         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8629         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8630         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
8631         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
8632         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
8633         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
8634         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
8635         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
8636         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
8637         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
8638         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
8639         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
8640         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
8642 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8644         [BZ #18371]
8645         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
8646         intermediate but not final result might underflow.
8647         * math/s_csqrtf.c (__csqrtf): Likewise.
8648         * math/s_csqrtl.c (__csqrtl): Likewise.
8649         * math/auto-libm-test-in: Add more tests of csqrt.
8650         * math/auto-libm-test-out: Regenerated.
8651         * sysdeps/i386/fpu/libm-test-ulps: Update.
8653         [BZ #18219]
8654         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
8655         threshold on absolute value of exponent for which scaling is used.
8656         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8657         * math/auto-libm-test-in: Add more tests of exp2.
8658         * math/auto-libm-test-out: Regenerated.
8660 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
8662         [BZ #17977]
8663         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
8664         when initializing interface list, based on the bug analysis
8665         and the patch proposed by Eric Newton.
8666         * resolv/tst-res_hconf_reorder.c: New test.
8667         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
8668         tst-res_hconf_reorder.
8669         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
8670         and $(shared-thread-library).
8671         (tst-res_hconf_reorder-ENV): New variable.
8673         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
8674         in comment.
8676 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
8678         [BZ #16353]
8679         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
8680         (__expm1): Force underflow exception for arguments with small
8681         absolute value.
8682         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
8683         (__expm1f): Force underflow exception for arguments with small
8684         absolute value.
8685         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
8686         (__expm1): Force underflow exception for arguments with small
8687         absolute value.
8688         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
8689         (__expm1f): Force underflow exception for arguments with small
8690         absolute value.
8691         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8692         Check for small arguments before calling __expm1.
8693         * math/auto-libm-test-in: Do not mark underflow exceptions as
8694         possibly missing for bug 16353.
8695         * math/auto-libm-test-out: Regenerated.
8697 2015-06-22  Andreas Schwab  <schwab@suse.de>
8699         [BZ #18513]
8700         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
8701         PTR queries.
8703 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
8705         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
8707         * string/strcoll_l.c: Remove unused struct element idxnow.
8709 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
8711         [BZ #18569]
8712         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
8713         underflow and return argument in case of subnormal argument.
8714         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8715         Likewise.
8716         * math/auto-libm-test-in: Add more tests of expm1.
8717         * math/auto-libm-test-out: Regenerated.
8719         [BZ #16361]
8720         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8721         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8722         tiny results.
8723         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8724         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8725         tiny results.
8726         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
8727         mark underflow exceptions as possibly missing for bug 16361.
8728         * math/auto-libm-test-out: Regenerated.
8730 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
8732         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
8733         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
8734         Remove variable.
8735         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8736         (test-xfail-XOPEN2K8/utmpx.h/conform).
8738         * conform/conformtest.pl ($xerrors): New variable.
8739         (note_error): New function.
8740         (compiletest): New argument $xfail.  Use not_error.
8741         (runtest): Likewise.
8742         (top level): Handle xfail- lines.  Update calls to compiletest and
8743         runtest.  Handle xfail- and optional- in headers listed with
8744         allow-header.
8745         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
8746         (O_EXEC): Likewise.
8747         (O_SEARCH): Likewise.
8748         * conform/data/stropts.h-data (ioctl): Likewise.
8749         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
8750         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
8751         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
8752         (msghdr.msg_controllen): Likewise.
8753         (cmsghdr.cmsg_len): Likewise.
8754         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
8755         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
8756         variable.
8757         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8758         (test-xfail-XPG4/stropts.h/conform): Likewise.
8759         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8760         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8761         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8762         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8763         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8764         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8765         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8766         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8767         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8768         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8769         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8770         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8771         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8772         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8773         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8774         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8775         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8776         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8777         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8779 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8781         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
8782         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
8783         definitions for proper unfolding of __MATHDECL_VEC.
8785 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8787         * benchtests/bench-strcoll.c:
8788         Include string.h.
8789         (main): Remove unused variable res.
8791 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8793         * timezone/Makefile (%/UTC %/Universal):
8794         Generate test-result files for UTC and Universal.
8796 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8798         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8800 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
8802         [BZ #16350]
8803         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
8804         for arguments with small absolute value.
8805         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
8806         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
8807         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
8808         (__asinh): Force underflow exception for arguments with small
8809         absolute value.
8810         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
8811         (__asinhf): Force underflow exception for arguments with small
8812         absolute value.
8813         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
8814         (__asinhl): Force underflow exception for arguments with small
8815         absolute value.
8816         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
8817         (__asinhl): Force underflow exception for arguments with small
8818         absolute value.
8819         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
8820         (__asinhl): Force underflow exception for arguments with small
8821         absolute value.
8822         * math/auto-libm-test-in: Do not mark underflow exceptions as
8823         possibly missing for bug 16350.
8824         * math/auto-libm-test-out: Regenerated.
8826         * include/bits/ipc.h: Remove file.
8827         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
8828         variable.
8829         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8830         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8831         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8832         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8833         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8834         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8835         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8836         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8837         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8839         * math/auto-libm-test-in: Remove spurious underflow allowance for
8840         tests of cexp.
8841         * math/auto-libm-test-out: Regenerated.
8843         [BZ #18558]
8844         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
8845         unconditional definition.
8846         (MCAST_BLOCK_SOURCE): Likewise.
8847         (MCAST_UNBLOCK_SOURCE): Likewise.
8848         (MCAST_LEAVE_GROUP): Likewise.
8849         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8850         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8851         (MCAST_MSFILTER): Likewise.
8852         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
8853         Remove variable.
8854         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8855         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8856         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8857         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8858         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8860 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
8862         * NEWS: Mention addition of x86_64 vector sincosf.
8863         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
8864         * math/test-float-vlen4.h: Likewise.
8865         * math/test-float-vlen8.h: Likewise.
8866         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8867         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
8868         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8869         * sysdeps/x86_64/fpu/Versions: New versions added.
8870         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8871         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8872         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8873         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
8874         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8875         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
8876         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8877         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
8878         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8879         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
8880         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
8881         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
8882         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
8883         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
8884         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
8885         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
8886         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
8887         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8888         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8889         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8890         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8891         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8892         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8893         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8895         * NEWS: Mention addition of x86_64 vector sincos.
8896         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
8897         * math/math.h (__MATHDECL_VEC): New macro.
8898         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
8899         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
8900         declaration under condition.
8901         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
8902         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
8903         TEST_VEC_LOOP change.
8904         * math/test-double-vlen4.h: Likewise.
8905         * math/test-double-vlen8.h: Likewise.
8906         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
8907         * math/test-float-vlen4.h: Likewise.
8908         * math/test-float-vlen8.h: Likewise.
8909         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8910         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
8911         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8912         * sysdeps/x86_64/fpu/Versions: New versions added.
8913         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8914         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8915         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8916         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
8917         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
8918         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
8919         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
8920         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
8921         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
8922         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
8923         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
8924         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
8925         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
8926         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
8927         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
8928         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
8929         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
8930         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8931         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8932         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8933         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8934         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8935         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8936         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8938         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8939         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8940         redirections for powf.
8941         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8942         * sysdeps/x86_64/fpu/Versions: New versions added.
8943         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8944         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8945         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8946         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
8947         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
8948         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
8949         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
8950         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
8951         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
8952         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
8953         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
8954         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
8955         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
8956         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
8957         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
8958         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
8959         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
8960         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8961         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8962         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8964         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8965         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8966         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8967         * math/test-float-vlen16.h: Fixed 2 argument macro.
8968         * math/test-float-vlen4.h: Likewise.
8969         * math/test-float-vlen8.h: Likewise.
8970         * NEWS: Mention addition of x86_64 vector powf.
8972 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
8974         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8975         and redefine.
8976         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8977         and redefine.
8978         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
8979         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8980         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8982         [BZ #18553]
8983         * resource/getpriority.c (getpriority): Rename to __getpriority
8984         and define as weak alias of __getpriority.
8985         * resource/setpriority.c (setpriority): Rename to __setpriority
8986         and define as weak alias of __setpriority.
8987         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
8988         __getpriority and define as weak alias of __getpriority.
8989         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
8990         __setpriority and define as weak alias of __setpriority.
8991         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
8992         strong name.
8993         (setpriority): Use __setpriority as strong name.
8994         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
8995         __getpriority and define as weak alias of __getpriority.
8996         * include/sys/resource.h (__getpriority): Declare.  Use
8997         libc_hidden_proto.
8998         (__setpriority): Likewise.
8999         (getpriority): Don't use libc_hidden_proto.
9000         (setpriority): Likewise.
9001         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
9002         getpriority.  Call __setpriority instead of setpriority.
9003         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
9004         Remove variable.
9006         [BZ #18547]
9007         * misc/getttyent.c (getttynam): Rename to __getttynam and define
9008         as weak alias of __getttynam.  Use prototype function definition.
9009         Call __setttyent, __getttyent and __endttyent instead of
9010         setttyent, getttyent and endttyent.
9011         (getttyent): Rename to __getttyent and define as weak alias of
9012         __getttyent.  Call __setttyent instead of setttyent.  Call
9013         __fgets_unlocked instead of fgets_unlocked.
9014         (setttyent): Rename to __setttyent and define as weak alias of
9015         __setttyent.
9016         (endttyent): Rename to __endttyent and define as weak alias of
9017         __endttyent.
9018         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
9019         (__setttyent): Likewise.
9020         (__endttyent): Likewise.
9021         (getttyent): Don't use libc_hidden_proto.
9022         (setttyent): Likewise.
9023         (endttyent): Likewise.
9024         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
9025         __endttyent instead of setttyent, getttyent and endttyent.
9026         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
9027         Remove variable.
9029         [BZ #18546]
9030         * socket/recv.c (__recv): Use libc_hidden_def.
9031         * socket/socket.c (__socket): Likewise.
9032         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9033         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9034         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
9035         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
9036         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
9037         libc_hidden_def.
9038         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
9039         libc_hidden_weak.
9040         * include/sys/socket.h (__socket): Do not use attribute_hidden.
9041         Use libc_hidden_proto.
9042         (__recv): Likewise.
9043         * socket/Versions (libc): Export __recv and __socket at version
9044         GLIBC_PRIVATE.
9045         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
9046         instead of recv.
9047         (init_mq_netlink): Call __socket instead of socket.
9048         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
9049         Remove variable.
9051         [BZ #18545]
9052         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
9053         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
9054         hidden_weak.
9055         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
9056         define as alias of __mq_timedsend.  Use hidden_weak.
9057         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
9058         __mq_timedsend as strong name.
9059         (mq_timedreceive): Use __mq_timedreceive as strong name.
9060         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
9061         (__mq_timedreceive): Likewise.
9062         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
9063         __mq_timedreceive instead of mq_timedreceive.
9064         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
9065         instead of mq_timedsend.
9066         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
9067         Remove variable.
9069         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
9070         hidden_def and hidden_weak instead of libc_hidden_def and
9071         libc_hidden_weak.
9072         (top level): Refer to hidden_def in comment.
9073         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
9074         macro.  Use it instead of libc_hidden_def.
9075         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
9076         specify __GI_* name explicitly.
9077         (mq_timedreceive): Likewise.
9078         (mq_setattr): Likewise.
9080         [BZ #18544]
9081         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
9082         __pthread_barrier_init and define as weak alias of
9083         __pthread_barrier_init.
9084         * sysdeps/sparc/nptl/pthread_barrier_init.c
9085         (pthread_barrier_init): Likewise.
9086         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
9087         __pthread_barrier_wait and define as weak alias of
9088         __pthread_barrier_wait.
9089         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9090         (pthread_barrier_wait): Likewise.
9091         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9092         (pthread_barrier_wait): Likewise.
9093         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
9094         (pthread_barrier_wait): Likewise.
9095         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
9096         (pthread_barrier_wait): Likewise.
9097         * nptl/Versions (libpthread): Export __pthread_barrier_init and
9098         __pthread_barrier_wait at version GLIBC_PRIVATE.
9099         * include/pthread.h (__pthread_barrier_init): Declare.
9100         (__pthread_barrier_wait): Likewise.
9101         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
9102         Call __pthread_barrier_wait instead of pthread_barrier_wait.
9103         (helper_thread): Likewise.
9104         (init_mq_netlink): Call __pthread_barrier_init instead of
9105         pthread_barrier_init.
9107         [BZ #18542]
9108         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
9109         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
9110         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
9111         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
9112         vswscanf.
9113         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
9114         Remove variable.
9116         [BZ #18540]
9117         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
9118         strong alias of _IO_fflush.  Use libc_hidden_def.
9119         * libio/iofflush_u.c (fflush_unlocked): Rename to
9120         __fflush_unlocked and define as weak alias of __fflush_unlocked.
9121         Use libc_hidden_weak.
9122         * include/stdio.h (__fflush_unlocked): Declare.  Use
9123         libc_hidden_proto.
9124         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
9125         fflush_unlocked.
9126         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
9127         Remove variable.
9129         [BZ #18539]
9130         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
9131         define as weak alias of __addseverity.
9132         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
9133         Remove variable.
9134         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9135         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9136         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9138         [BZ #18536]
9139         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
9140         (__tfind): Likewise.
9141         (__tdelete): Likewise.
9142         (__twalk): Likewise.
9143         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
9144         __twalk to GLIBC_PRIVATE.
9145         * include/search.h (__tsearch): Use libc_hidden_proto.
9146         (__tfind): Likewise.
9147         (__tdelete): Likewise.
9148         (__twalk): Likewise.
9149         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
9150         Call __tdelete instead of tdelete.
9151         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
9152         tfind.  Call __tsearch instead of tsearch.
9153         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
9154         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
9155         Remove variable.
9156         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9158         [BZ #18534]
9159         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
9160         (dprintf): Define as a weak alias of __dprintf, not a strong
9161         alias.
9162         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
9163         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
9164         dprintf.
9165         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
9166         Remove variable.
9167         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9168         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9170         [BZ #18533]
9171         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
9172         not a strong alias.
9173         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
9174         Remove variable.
9176         [BZ #18532]
9177         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
9178         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
9179         (in6addr_loopback): Rename to __in6addr_loopback and define as
9180         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
9181         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
9182         libc_hidden_proto.
9183         (__in6addr_any): Likewise.
9184         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
9185         in6addr_any.
9186         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
9187         variable.
9188         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9190 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9192         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
9193         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
9194         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9195         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9196         redirections for pow.
9197         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9198         * sysdeps/x86_64/fpu/Versions: New versions added.
9199         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9200         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9201         build of SSE, AVX2 and AVX512 IFUNC versions.
9202         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
9203         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
9204         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
9205         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
9206         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
9207         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
9208         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
9209         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
9210         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
9211         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
9212         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
9213         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
9214         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
9215         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
9216         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9217         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9218         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9219         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9220         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9221         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9222         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9223         * NEWS: Mention addition of x86_64 vector pow.
9225         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9226         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9227         redirections for expf.
9228         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9229         * sysdeps/x86_64/fpu/Versions: New versions added.
9230         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9231         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9232         build of SSE, AVX2 and AVX512 IFUNC versions.
9233         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
9234         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
9235         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
9236         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
9237         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
9238         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
9239         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
9240         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
9241         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
9242         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
9243         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
9244         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
9245         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
9246         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9247         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9248         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9249         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9250         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9251         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9252         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9253         * NEWS: Mention addition of x86_64 vector expf.
9255         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
9256         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
9257         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9258         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9259         redirections for exp.
9260         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9261         * sysdeps/x86_64/fpu/Versions: New versions added.
9262         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9263         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9264         build of SSE, AVX2 and AVX512 IFUNC versions.
9265         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
9266         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
9267         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
9268         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
9269         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
9270         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
9271         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
9272         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
9273         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
9274         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
9275         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
9276         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
9277         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
9278         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9279         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9280         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9281         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9282         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9283         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9284         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9285         * NEWS: Mention addition of x86_64 vector exp.
9287         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9288         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9289         redirections for logf.
9290         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9291         * sysdeps/x86_64/fpu/Versions: New versions added.
9292         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9293         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9294         build of SSE, AVX2 and AVX512 IFUNC versions.
9295         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
9296         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
9297         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
9298         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
9299         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
9300         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
9301         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
9302         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
9303         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
9304         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
9305         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
9306         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
9307         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
9308         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9309         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9310         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9311         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9312         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9313         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9314         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9315         * NEWS: Mention addition of x86_64 vector logf.
9317         * bits/libm-simd-decl-stubs.h: Added stubs for log.
9318         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
9319         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9320         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9321         redirections for log.
9322         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9323         * sysdeps/x86_64/fpu/Versions: New versions added.
9324         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9325         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9326         build of SSE, AVX2 and AVX512 IFUNC versions.
9327         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
9328         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
9329         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
9330         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
9331         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
9332         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
9333         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
9334         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
9335         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
9336         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
9337         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
9338         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
9339         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
9340         test.
9341         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9342         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9343         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9344         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9345         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9346         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9347         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9348         * NEWS: Mention addition of x86_64 vector log.
9350 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9352         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
9353         cfi_adjust_cfa_offset argument.
9354         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
9355         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
9357         [BZ #18034]
9358         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
9359         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
9360         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
9361         ordering using ldar.
9362         (_dl_tlsdesc_dynamic): Likewise.
9363         (_dl_tlsdesc_return_lazy): Likewise.
9364         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
9365         relaxed atomics instead of volatile and synchronize with release store.
9366         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
9367         volatile.
9368         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9370 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
9372         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9373         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
9374         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9375         * sysdeps/x86_64/fpu/Versions: New versions added.
9376         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9377         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9378         build of SSE, AVX2 and AVX512 IFUNC versions.
9379         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
9380         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
9381         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
9382         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
9383         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
9384         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
9385         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
9386         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
9387         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
9388         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
9389         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
9390         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
9391         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
9392         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9393         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9394         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9395         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9396         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9397         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9398         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9399         * NEWS: Mention addition of x86_64 vector sinf.
9401 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
9403         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
9404         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
9405         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
9406         Remove variable.
9407         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9408         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9410 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
9412         [BZ #18530]
9413         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
9414         strong alias of _IO_fputs.  Use libc_hidden_def.
9415         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
9416         and define as weak alias of __fputs_unlocked.  Use
9417         libc_hidden_weak.
9418         * include/stdio.h (__fputs_unlocked): Declare.  Use
9419         libc_hidden_proto.
9420         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
9421         fputs_unlocked.
9423         [BZ #18529]
9424         * resolv/netdb.h [__USE_POSIX]: Change condition to
9425         [__USE_XOPEN2K].
9426         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
9427         not expect.
9428         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
9429         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
9430         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
9431         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
9432         [XPG4 || UNIX98] (AI_ALL): Likewise.
9433         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
9434         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
9435         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
9436         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
9437         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
9438         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
9439         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
9440         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
9441         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
9442         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
9443         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
9444         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
9445         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
9446         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
9447         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
9448         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
9449         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
9450         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
9451         [XPG4 || UNIX98] (gai_strerror): Likewise.
9452         [XPG4 || UNIX98] (getaddrinfo): Likewise.
9453         [XPG4 || UNIX98] (getnameinfo): Likewise.
9455         [BZ #18528]
9456         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
9457         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
9458         __USE_XOPEN2K8].
9459         (getgrent): Likewise.
9460         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
9461         expect.
9462         [XPG3 || POSIX2008] (endgrent): Likewise.
9463         [XPG3] (setgrent): Likewise.
9464         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
9465         variable.
9466         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9468         [BZ #18527]
9469         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
9470         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
9471         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
9472         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
9473         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
9474         * include/unistd.h (__getlogin_r): Declare.  Use
9475         libc_hidden_proto.
9476         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
9477         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
9478         variable.
9479         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9480         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9481         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9483 2015-06-12  Martin Sebor  <msebor@redhat.com>
9485         [BZ #18512]
9486         * Makerules (check-install-supported): New target.
9487         (install): Add check-install-supported as a dependency.
9488         * manual/install.texi (Installing the C Library): Document
9489         that overriding prefix and exec_prefix is not supported.
9490         Mention DESTDIR.
9491         * INSTALL: Regenerate from the above.
9493 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
9495         [BZ #18519]
9496         * posix/Versions (libc): Export __libc_pread at version
9497         GLIBC_PRIVATE.
9498         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
9499         instead of pread.
9500         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
9501         variable.
9503         [BZ #18522]
9504         * misc/efgcvt_r.c
9505         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
9506         (cvt_symbol): Use weak_alias instead of strong_alias.
9507         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
9508         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
9509         Remove variable.
9510         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9511         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9513         [BZ #18520]
9514         * inet/herrno.c (h_errno): Rename to __h_errno.
9515         (__libc_h_errno): Define as alias of __h_errno not h_errno.
9516         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
9517         to __h_errno instead of h_errno.
9518         * nptl/herrno.c (h_errno): Rename to __h_errno.
9519         (__h_errno_location): Refer to __h_errno not h_errno.
9520         * resolv/Versions (h_errno): Rename to __h_errno.
9521         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
9522         Remove variable.
9523         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9525 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
9527         * configure.ac: More strict check for AVX512 assembler support.
9528         * configure: Regenerated.
9530         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
9531         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
9532         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9533         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
9534         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9535         * sysdeps/x86_64/fpu/Versions: New versions added.
9536         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9537         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9538         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9539         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
9540         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
9541         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
9542         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
9543         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
9544         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
9545         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
9546         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
9547         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
9548         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
9549         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
9550         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
9551         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
9552         test.
9553         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9554         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9555         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9556         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9557         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9558         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9559         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9560         * NEWS: Mention addition of x86_64 vector sin.
9562 2015-06-11  Florian Weimer  <fweimer@redhat.com>
9564         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
9565         comment.
9567 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9569         [BZ #18479]
9570         * nptl/pt-interp.c: New file.
9571         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
9572         Add pt-interp.
9573         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
9574         $(common-objpfx)runtime-linker.h.
9576 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
9578         * Makeconfig (+interp): Remove unused variable.
9579         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
9580         only.  Depend on $(common-objpfx)runtime-linker.h instead of
9581         $(elf-objpfx)runtime-linker.h.
9582         ($(elf-objpfx)runtime-linker.h): Rename to
9583         $(common-objpfx)runtime-linker.h and move ...
9584         * Makerules [$(build-shared) = yes]: ... here.
9585         * elf/interp.c: Include <runtime-linker.h> instead of
9586         <elf/runtime-linker.h>.
9588 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9590         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
9591         (__gettimeofday_syscall): Remove vsyscall fallback.
9592         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
9593         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
9594         Add syscall fallback function.
9595         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
9596         if vDSO is not present.
9597         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
9598         fallback function.
9599         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
9600         present.
9601         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
9602         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9604 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
9606         [BZ #18497]
9607         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
9608         of wcscmp.
9609         (wcscmp): Define as weak alias of WCSCMP.
9610         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
9611         wcscoll.
9612         (USE_HIDDEN_DEF): Define.
9613         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
9614         __wcscoll.  Don't use libc_hidden_weak.
9615         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
9616         wcscmp.
9617         * sysdeps/i386/i686/multiarch/wcscmp-c.c
9618         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
9619         __GI_wcscmp.
9620         (weak_alias): Undefine and redefine.
9621         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
9622         __wcscmp and define as weak alias of __wcscmp.
9623         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
9624         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
9625         (__wcscoll): Likewise.
9626         (wcscmp): Don't use libc_hidden_proto.
9627         (wcscoll): Likewise.
9628         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
9629         wcscoll.
9630         * posix/regexec.c (check_node_accept_bytes): Likewise.
9631         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
9632         variable.
9633         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9634         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9636         [BZ #18507]
9637         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
9638         __fstatvfs and define as weak alias of __fstatvfs.  Use
9639         libc_hidden_weak.
9640         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
9641         and define as weak alias of __statvfs.  Use libc_hidden_weak.
9642         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
9643         Define as alias of __fstatvfs, not fstatvfs.
9644         (fstatvfs64): Likewise.
9645         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
9646         Define as alias of __statvfs, not statvfs.
9647         (statvfs64): Likewise.
9648         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
9649         Remove variable.
9651 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9654         (HAVE_GETCPU_VSYSCALL): Define.
9655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9656         (HAVE_GETCPU_VSYSCALL): Likewise.
9657         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
9658         * sysdeps/unix/sysv/linux/sched_getcpu.c
9659         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
9660         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
9661         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
9662         prototype.
9663         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9664         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
9665         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
9666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
9667         Define.
9668         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
9669         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9670         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
9671         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9673 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
9675         * sysdeps/x86_64/fpu/Makefile: New file.
9676         * sysdeps/x86_64/fpu/Versions: New file.
9677         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
9678         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
9679         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
9680         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
9681         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
9682         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
9683         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
9684         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
9685         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
9686         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
9687         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
9688         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
9689         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
9690         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9691         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9692         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
9693         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
9694         * sysdeps/x86_64/configure.ac: Options for libmvec build.
9695         * sysdeps/x86_64/configure: Regenerated.
9696         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
9697         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
9698         * manual/install.texi (Configuring and compiling): Document
9699         --disable-mathvec.
9700         * INSTALL: Regenerated.
9701         * NEWS: Mention addition of libmvec and x86_64 vector cos.
9703         * math/Makefile: Added rules for vector tests.
9704         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
9705         declaration under condition.
9706         * math/test-double-vlen2.h: New file.
9707         * math/test-double-vlen4.h: New file.
9708         * math/test-double-vlen8.h: New file.
9709         * math/test-vec-loop.h: Added initialization macro.
9710         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
9711         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
9712         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
9713         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
9714         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
9715         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
9716         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
9717         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
9718         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
9719         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
9720         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
9722         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9723         * sysdeps/x86_64/fpu/Versions: New versions added.
9724         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
9725         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
9726         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
9727         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
9728         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
9729         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
9730         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
9731         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
9732         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
9733         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
9734         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
9735         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
9736         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
9737         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9738         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9739         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9740         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
9741         * NEWS: Mention addition of x86_64 vector cosf.
9743         * math/Makefile: Added CFLAGS for new tests.
9744         * math/test-float-vlen16.h: New file.
9745         * math/test-float-vlen4.h: New file.
9746         * math/test-float-vlen8.h: New file.
9747         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
9748         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
9749         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9750         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
9751         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
9752         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
9753         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
9754         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
9755         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
9756         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
9757         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
9759 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
9761         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
9762         * locale/programs/ld-ctype.c: Likewise.
9764 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9766         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
9767         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
9768         bit_ZMM16_31_state): New macro.
9769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9770         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
9772 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
9774         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
9776 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
9778         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
9780 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
9782         [BZ #18498]
9783         * libio/memstream.c (open_memstream): Rename to __open_memstream
9784         and define as weak alias of __open_memstream.
9785         * include/stdio.h (__open_memstream): Declare.  Use
9786         libc_hidden_proto.
9787         (open_memstream): Don't use libc_hidden_proto.
9788         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
9789         open_memstream.
9790         * posix/getopt.c (_getopt_internal_r): Likewise.
9791         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
9792         variable.
9793         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9794         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9795         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9797         [BZ #18496]
9798         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
9799         instead of wcrtomb.
9801         [BZ #18483]
9802         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
9803         [__USE_XOPEN2K8].  Remove redundant #endif.
9804         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
9805         Remove redundant #if.
9806         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
9807         Remove variable.
9808         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9809         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9811         [BZ #18495]
9812         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
9813         (__iswlower): Likewise.
9814         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
9815         (__iswlower): Likewise.
9816         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
9817         instead of towlower.
9818         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
9819         instead of iswlower.  Call __towupper instead of towupper.
9820         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
9821         instead of iswalnum.
9823 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9825         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
9826         errors to stderr.
9828 2015-06-05  Florian Weimer  <fweimer@redhat.com>
9830         [BZ #15661]
9831         [BZ #17322]
9832         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9833         Check for overflow properly.  Check for O_APPEND.  Ignore large
9834         file system block sizes.  Add comments about problems.
9835         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
9836         * manual/filesys.texi (Storage Allocation): New node.
9838 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9840         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
9841         cancellable syscalls.
9842         (SYS_ify): Add guard to no redefine it.
9843         (INLINE_SYSCALL): Likewise.
9844         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
9845         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
9846         SYSCALL_CANCEL instead.
9847         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
9848         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9849         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9850         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9851         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9852         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
9853         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
9854         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
9855         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9856         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9857         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
9858         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
9859         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
9860         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
9861         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
9862         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9863         Likewise.
9864         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9865         (__libc_pread64): Likewise.
9866         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
9867         (__libc_preadv): Likewise.
9868         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
9869         (__libc_readv64): Likewise.
9870         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9871         (__libc_pwrite): Likewise.
9872         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9873         (__libc_pwrite64): Likewise.
9874         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
9875         (__libc_pwritev): Likewise.
9876         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
9877         (__libc_pwritev64): Likewise.
9878         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
9879         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9880         (sync_file_range): Likewise.
9881         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
9882         Likewise.
9883         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
9884         Likewise.
9885         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9886         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9887         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9888         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9889         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9890         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9891         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9892         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
9893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9894         Likewise.
9895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9896         (__libc_read64): Likewise.
9897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
9898         Likewise.
9899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
9900         Likewise.
9901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
9902         Likewise.
9903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
9904         Likewise.
9905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9906         (__libc_pread64): Likewise.
9907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
9908         Likewise.
9909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9910         (__libc_pwrite64): Likewise.
9911         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
9912         (sync_file_range): Likewise.
9913         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
9914         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9915         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9916         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
9917         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
9918         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9919         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9920         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
9921         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
9922         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9923         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9924         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9925         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9926         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9927         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
9928         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9929         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9930         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9931         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9932         Likewise.
9933         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
9934         Likewise.
9935         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
9936         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
9937         Likewise.
9938         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
9939         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
9940         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
9941         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
9942         Likewise.
9943         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
9944         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
9945         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
9946         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
9947         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
9949 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
9951         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
9952         Include dl-vdso.
9953         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
9954         Use VDSO routines for gettimeofday, clock_gettime if
9955         available.
9956         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
9957         Declare VDSO symbols.
9958         * sysdeps/unix/sysv/linux/arm/sysdep.h:
9959         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
9960         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9961         * sysdeps/unix/sysv/linux/arm/Versions: Add
9962         __vdso_clock_gettime.
9964 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9966         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
9967         be an inline implementation regardless of library is built within.
9968         (open_not_cancel_2): Likewise.
9969         (__read_nocancel): Likewise.
9970         (__write_nocancel): Likewise.
9971         (openat_not_cancel): Likewise.
9972         (openat_not_cancel_3): Likewise.
9973         (openat64_not_cancel): Likewise.
9974         (openat64_not_cancel_3): Likewise.
9975         (__close_nocancel): Likewise.
9976         (pause_not_cancel): Likewise.
9977         (nanosleep_not_cancel): Likewise.
9978         (sigsuspend_not_cancel): Likewise.
9980 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9982         [BZ #14958]
9983         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
9984         wake-up.
9985         (__pthread_rwlock_rdlock_slow): Likewise.
9986         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9987         Likewise.
9988         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9989         Likewise.
9990         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
9991         * nptl/tst-rwlock16.c: New file.
9992         * nptl/Makefile (tests): Add new test.
9994 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9996         [BZ #18324]
9997         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
9998         missing wake-up of readers.
9999         * nptl/tst-rwlock15.c: New file.
10000         * nptl/Makefile (tests): Add new test.
10002 2015-06-03  Roland McGrath  <roland@hack.frob.com>
10004         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
10005         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
10006         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
10007         and __nacl_supply_interface_rtld.
10008         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
10009         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
10010         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
10011         Add __nacl_supply_interface_rtld.
10012         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
10014 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10016         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
10017         isfinite.
10018         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10019         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
10021 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10023         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
10024         __signbit* with standard C99 macros.
10025         * math/e_exp10l.c: Likewise.
10026         * math/e_exp2l.c: Likewise.
10027         * math/e_scalb.c: Likewise.
10028         * math/e_scalbf.c: Likewise.
10029         * math/e_scalbl.c: Likewise.
10030         * math/s_ldexp.c: Likewise.
10031         * math/s_ldexpf.c: Likewise.
10032         * math/s_ldexpl.c: Likewise.
10033         * math/w_atan2.c: Likewise.
10034         * math/w_atan2f.c: Likewise.
10035         * math/w_atan2l.c: Likewise.
10036         * math/w_cosh.c: Likewise.
10037         * math/w_coshf.c: Likewise.
10038         * math/w_coshl.c: Likewise.
10039         * math/w_exp10.c: Likewise.
10040         * math/w_exp10f.c: Likewise.
10041         * math/w_exp10l.c: Likewise.
10042         * math/w_exp2.c: Likewise.
10043         * math/w_exp2f.c: Likewise.
10044         * math/w_exp2l.c: Likewise.
10045         * math/w_fmod.c: Likewise.
10046         * math/w_fmodf.c: Likewise.
10047         * math/w_fmodl.c: Likewise.
10048         * math/w_hypot.c: Likewise.
10049         * math/w_hypotf.c: Likewise.
10050         * math/w_hypotl.c: Likewise.
10051         * math/w_jnl.c: Likewise.
10052         * math/w_lgamma.c: Likewise.
10053         * math/w_lgamma_r.c: Likewise.
10054         * math/w_lgammaf.c: Likewise.
10055         * math/w_lgammaf_r.c: Likewise.
10056         * math/w_lgammal.c: Likewise.
10057         * math/w_lgammal_r.c: Likewise.
10058         * math/w_pow.c: Likewise.
10059         * math/w_powf.c: Likewise.
10060         * math/w_powl.c: Likewise.
10061         * math/w_remainder.c: Likewise.
10062         * math/w_remainderf.c: Likewise.
10063         * math/w_remainderl.c: Likewise.
10064         * math/w_scalb.c: Likewise.
10065         * math/w_scalbf.c: Likewise.
10066         * math/w_scalbl.c: Likewise.
10067         * math/w_scalbln.c: Likewise.
10068         * math/w_scalblnf.c: Likewise.
10069         * math/w_scalblnl.c: Likewise.
10070         * math/w_sinh.c: Likewise.
10071         * math/w_sinhf.c: Likewise.
10072         * math/w_sinhl.c: Likewise.
10073         * math/w_tgamma.c: Likewise.
10074         * math/w_tgammaf.c: Likewise.
10075         * math/w_tgammal.c: Likewise.
10076         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10077         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
10078         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10079         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10080         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10081         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10082         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10083         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10084         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10085         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10086         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10087         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10088         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10089         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10090         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10091         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10092         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10093         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10094         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10095         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10096         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10097         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10098         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10099         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10100         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10101         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10102         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
10103         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10104         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10105         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10106         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
10107         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
10108         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
10109         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
10110         * stdio-common/printf_fp.c: Likewise.
10111         * stdio-common/printf_fphex.c: Likewise.
10112         * stdio-common/printf_size.c: Likewise.
10114 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
10116         [BZ #18470]
10117         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
10118         strnlen.
10119         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
10120         Remove variable.
10121         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10122         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10123         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10124         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10125         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10126         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10127         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10128         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10129         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10130         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10132         [BZ #18468]
10133         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
10134         weak alias of __wmemchr.  Use libc_hidden_weak.
10135         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
10136         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
10137         instead of wmemchr.
10139 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10141         [BZ #18383]
10142         * elf/tst-tlsalign-extern.c: New file.
10143         * elf/tst-tlsalign-extern-static.c: New file.
10144         * elf/tst-tlsalign-vars.c: New file.
10145         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
10146         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
10147         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
10148         ($(objpfx)tst-tlsalign-extern-static): Likewise.
10149         (test-xfail-tst-tlsalign-extern-static): New variable.
10151 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
10153         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
10154         Use variable name _sc_err instead of err.
10155         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
10156         instead of ret.
10157         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
10158         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
10159         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
10160         (INLINE_SYSCALL): Likewise.
10162         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
10163         * include/string.h (__strnlen): Use libc_hidden_proto.
10164         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
10165         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
10166         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
10167         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
10168         (libc_hidden_def): Undefine and redefine.
10169         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
10170         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
10171         __GI_strnlen.
10172         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
10173         libc_hidden_def.
10174         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
10176         [BZ #18469]
10177         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
10178         weak alias of __towlower.  Use libc_hidden_weak.
10179         (towupper): Rename to __towupper and define as weak alias of
10180         __towupper.  Use libc_hidden_weak.
10181         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
10182         (__towupper): Likewise.
10183         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
10184         __towlower instead of towlower.
10186 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10188         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
10189         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
10191 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10193         * sysdeps/aarch64/libm-test-ulps: Update.
10195 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10197         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
10198         Define.
10199         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10200         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10201         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10202         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10203         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
10204         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
10205         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
10207 2015-06-01  Martin Sebor  <msebor@redhat.com>
10209         [BZ #18116]
10210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10211         (__setcontext): Use extended four-operand version of mtsf whenever
10212         possible.
10213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10214         (__novec_swapcontext): Likewise.
10216 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10218         * benchtests/scripts/compare_bench.py: New file.
10219         * benchtests/scripts/import_bench.py (mean): New function.
10220         (split_list): Likewise.
10221         (do_for_all_timings): Likewise.
10222         (compress_timings): Likewise.
10224         * benchtests/scripts/import_bench.py: New file.
10225         * benchtests/scripts/validate_benchout.py: Import import_bench
10226         instead of jsonschema.
10227         (validate_bench): Remove function.
10228         (main): Use import_bench.
10230 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
10232         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
10233         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
10235 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10239 2015-05-28  Roland McGrath  <roland@hack.frob.com>
10241         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
10242         set THREAD_SELF->tid to a magic value and futex-wake it.
10243         Pass its address to the thread_exit system call.
10244         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
10245         bit is clear.
10246         * sysdeps/nacl/lowlevellock.h: New file.
10247         * sysdeps/nacl/lll_timedwait_tid.c: New file.
10249         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
10250         Add TIMEOUT to current time, don't subtract it.
10252 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
10254         [BZ #2981]
10255         [BZ #18422]
10256         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
10257         ($(objpfx)tst-audit2.out): Also depend on
10258         $(objpfx)tst-auditmod9b.so.
10259         * elf/tst-audit2.c: Include <dlfcn.h>.
10260         (calloc_called): New.
10261         (calloc): Allow to be called more than once.
10262         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
10264 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
10266         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
10267         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
10269 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
10271         * stdlib/monetary.h: Fix comment.
10273 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
10275         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
10276         Avoid using variables in #defines that might cause shadowing.
10277         (INTERNAL_VSYSCALL_CALL): Likewise.
10279 2015-05-26  Roland McGrath  <roland@hack.frob.com>
10281         * sysdeps/nacl/lll_timedlock_wait.c: New file.
10283         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
10284         * nptl/lll_timedlock_wait.c: ... to this new file.
10285         * nptl/Makefile (libpthread-routines): Add it.
10286         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
10287         * nptl/lll_timedwait_tid.c: ... to this new file.
10288         * nptl/Makefile (libpthread-routines): Add it.
10289         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
10290         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
10291         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
10292         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
10293         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
10294         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
10295         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
10296         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
10297         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
10298         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
10300 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10302         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
10303         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10304         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10305         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
10306         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10307         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10308         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10309         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10310         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10311         * sysdeps/unix/sysv/linux/tile/sysdep.h
10312         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10313         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
10314         using vDSO syscall macro.
10316 2015-05-26  Andriy Rysin  <arysin@gmail.com>
10318         [BZ #17293]
10319         * uk_UA: Fix sorting order for Ukrainian locale
10321 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
10323         * stdlib/monetary.h: Fix comment.
10325 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10327         [BZ #18234]
10328         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
10329         st_mtim and st_ctim members.
10330         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
10331         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
10332         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
10333         (struct stat64): Likewise.
10334         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
10335         (struct stat64): Likewise.
10336         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
10337         (struct stat64): Likewise.
10339 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10341         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
10342         Define and include sysdep-vdso.h.
10343         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
10344         Likewise.
10345         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
10346         Likewise.
10347         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
10348         Define with VDSO_SYMBOL and use PTR_MANGLE.
10349         (__vdso_clock_gettime): Likewise.
10350         (__vdso_clock_getres): Likewise.
10351         (_libc_vdso_platform_setup): Likewise.
10352         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10353         Likewise.
10354         (_libc_vdso_platform_setup): Likewise.
10355         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
10356         Likewise.
10357         (__vdso_clock_gettime): Likewise.
10358         (__vdso_clock_getres): Likewise.
10359         (__vdso_get_tbfreq): Likewise.
10360         (__vdso_getcpu): Likewise.
10361         (__vdso_time): Likewise.
10362         (__vdso_sigtramp_rt64): Likewise.
10363         (__vdso_signtramp32): Likewise.
10364         (__vdso_sigtramp_rt32): Likewise.
10365         (_libc_vdso_platform_setup): Likewise.
10366         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
10367         Likewise.
10368         (__vdso_clock_gettime): Likewise.
10369         (__vdso_clock_getres): Likewise.
10370         (_libc_vdso_platform_setup): Likewise.
10371         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
10372         Likewise.
10373         (__vdso_clock_gettime): Likewise.
10374         (_libc_vdso_platform_setup): Likewise.
10375         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10376         Likewise.
10377         (__vdso_getcpu): Likewise.
10378         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
10379         Use VDSO_SYMBOL macro to define.
10380         (__vdso_clock_gettime): Likewise.
10381         (__vdso_clock_getres): Likewise.
10382         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
10383         Likewise.
10384         (__vdso_clock_gettime): Likewise.
10385         (__vdso_clock_getres): Likewise.
10386         (__vdso_get_tbfreq): Likewise.
10387         (__vdso_getcpu): Likewise.
10388         (__vdso_time): Likewise.
10389         (__vdso_sigtramp_rt64): Likewise.
10390         (__vdso_signtramp32): Likewise.
10391         (__vdso_sigtramp_rt32): Likewise.
10392         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
10393         Likewise.
10394         (__vdso_clock_gettime): Likewise.
10395         (__vdso_clock_getres): Likewise.
10396         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
10397         Likewise.
10398         (__vdso_clock_gettime): Likewise.
10399         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10400         Likewise.
10401         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
10402         macro.
10403         (INTERNAL_VSYSCALL): Likewise.
10404         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
10405         Remove macro.
10406         (INTERNAL_VSYSCALL): Likewise.
10407         (INTERNAL_VSYSCALL_NCS): Likewise.
10408         (INTERNAL_VSYSCALL_CALL): New macro.
10409         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
10410         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
10411         Likewise.
10412         (INTERNAL_VSYSCALL): Likewise.
10413         (INTERNAL_VSYSCALL_NCS): Likewise.
10414         (INTERNAL_VSYSCALL_CALL): New macro.
10415         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
10416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10417         (INLINE_VSYSCALL): Remove macro.
10418         (INTERNAL_VSYSCALL): Remove macro.
10419         (INTERNAL_VSYSCALL_NCS): Remove macro.
10420         (INTERNAL_VSYSCALL_CALL): New macro.
10421         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
10422         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
10423         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
10424         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
10425         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10427         (INLINE_VSYSCALL): Remove macro.
10428         (INTERNAL_VSYSCALL): Likewise.
10429         (INTERNAL_VSYSCALL_NCS): Likewise.
10430         (INTERNAL_VSYSCALL_CALL): New macro.
10431         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
10432         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
10433         PTR_DEMANGLE on vDSO pointer.
10434         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
10435         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
10436         macro.
10437         (INTERNAL_SYSCALL): Likewise.
10438         (INTERNAL_VSYSCALL_NCS): Remove macro.
10439         (INTERNAL_VSYSCALL_CALL): New macro.
10440         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
10441         Remove macro.
10442         (INTERNAL_VSYSCALL): Likewise.
10443         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
10444         sysdep-vdso.h instead of libc-vdso.h.
10445         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
10446         definition.
10447         (INLINE_VSYSCALL): Likewise.
10448         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
10449         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
10450         definition.
10451         (INLINE_VSYSCALL): Likewise.
10452         (INTERNAL_VSYSCALL): Likewise.
10453         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10454         * sysdeps/unix/sysv/linux/timespec_get.c
10455         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10456         (timespec_get): Use ANSI prototype.
10457         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
10458         and definition for Linux.
10460 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10462         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
10463         * include/libc-symbols.h: libmvec_hidden_* macro series added.
10465 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
10467         [BZ #2981]
10468         [BZ #18410]
10469         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
10470         for missing DT_PLTRELSZ.
10472 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
10474         Remove obsolete aliases that broke 'locale -a'
10475         [BZ #18412]
10476         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
10477         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
10478         breaking some applications that use 'locale -a' output.
10479         Change the encoding of this file from Latin-1 to ASCII to avoid
10480         other potential problems with people grepping this file.
10482 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10484         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
10485         -fasynchronous-unwind-tables.
10486         (CFLAGS-sendto.c): Likewise.
10487         (CFLAGS-sendmsg.c): Likewise.
10488         (CFLAGS-connect.c): Likewise.
10489         (CFLAGS-recvmsg.c): Likewise.
10490         (CFLAGS-recvfrom.c): Likewise.
10491         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
10492         (SOCKETCALL): New macro: non-cancellable socketcall.
10493         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
10494         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
10495         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
10496         * sysdeps/unix/sysv/linux/accept.c: New file.
10497         * sysdeps/unix/sysv/linux/bind.c: Likewise.
10498         * sysdeps/unix/sysv/linux/connect.c: Likewise.
10499         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
10500         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
10501         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
10502         * sysdeps/unix/sysv/linux/listen.c: Likewise.
10503         * sysdeps/unix/sysv/linux/recv.c: Likewise.
10504         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
10505         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
10506         * sysdeps/unix/sysv/linux/send.c: Likewise.
10507         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
10508         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
10509         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
10510         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
10511         * sysdeps/unix/sysv/linux/socket.c: Likewise.
10512         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
10513         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
10514         prototype.
10515         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
10516         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10517         instead of __internal_xxx function.
10518         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
10519         prototype.
10520         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
10521         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10522         instead of __internal_xxx function.
10523         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
10524         prototype.
10525         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
10526         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10527         instead of __internal_xxx function.
10528         * sysdeps/unix/sysv/linux/accept.S: Remove file.
10529         * sysdeps/unix/sysv/linux/bind.S: Likewise.
10530         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10531         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
10532         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
10533         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
10534         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
10535         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
10536         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
10537         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
10538         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
10539         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10540         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
10541         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
10542         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
10543         * sysdeps/unix/sysv/linux/listen.S: Likewise.
10544         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
10545         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
10546         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
10547         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
10548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
10549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
10550         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10551         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10552         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10553         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
10554         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
10555         * sysdeps/unix/sysv/linux/send.S: Likewise.
10556         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10557         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10558         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
10559         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
10560         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
10561         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
10562         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
10563         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
10564         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
10565         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
10566         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
10567         socketcall is implemented in GLIBC.
10569 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
10571         * soft-fp/fmadf4.c: Include <libc-internal.h>.
10572         (__fma): Ignore uninitialized warnings around packing.
10573         * soft-fp/fmasf4.c: Include <libc-internal.h>.
10574         (__fmaf): Ignore uninitialized warnings around packing.
10575         * soft-fp/fmatf4.c: Include <libc-internal.h>.
10576         (__fmal): Ignore uninitialized warnings around packing.
10578         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
10579         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10580         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
10581         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10583         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
10584         switch statement into default case.
10585         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
10587         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
10588         a conditional in forcing "inexact".
10589         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10590         Likewise.
10592 2015-05-22  Roland McGrath  <roland@hack.frob.com>
10594         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10595         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
10596         for each INTERNAL_SYSCALL use.
10598 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
10600         [BZ #438]
10601         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
10602         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
10603         variable.
10605         [BZ #18444]
10606         * string/basename.c (basename): Rename to __basename and define as
10607         weak alias of __basename.  Use libc_hidden_weak.
10608         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
10609         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
10610         __basename instead of basename.
10611         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
10612         Remove variable.
10613         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10615 2015-05-18  Florian Weimer  <fweimer@redhat.com>
10617         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
10618         (_IO_JUMPS_FILE_plus): New.
10619         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
10620         _IO_CAST_FIELD_ACCESS.
10621         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
10622         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
10623         * libio/freopen.c (freopen): Likewise.
10624         * libio/freopen64.c (freopen64): Likewise.
10625         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
10626         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
10627         * libio/iofwide.c (_IO_fwide): Likewise.
10628         * libio/memstream.c (open_memstream): Likewise.
10629         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10630         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10631         * libio/oldiopopen.c (_IO_old_popen): Likewise.
10633 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
10635         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
10636         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
10637         NADJ.
10638         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
10639         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
10640         NADJ.
10641         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
10642         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
10643         NADJ.
10645         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
10646         (p == 4) case.
10648         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
10649         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
10650         Remove variable.
10651         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10652         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10653         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10655 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10657         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
10658         Adjust jump table label generation macros.
10660 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10662         * stdio-common/vfprintf.c (vfprintf): Move local variables
10663         args_malloced, specs, specs_malloced, and the code after
10664         do_positional to the printf_positional function.
10665         (printf_positional): New function.
10667 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10669         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
10670         function.
10671         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
10672         STEP4_TABLE, process_arg): Move macro definitions
10673         out of the vfprintf function.  (Cosmetic change only.)
10675 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
10677         * benchtests/Makefile (stdio-common-bench): Define.
10678         (benchset): Add stdio-common-bench.
10679         * sprintf-inputs: New file.
10680         * sprintf-source.c: New file.
10682 2015-05-21  Andreas Schwab  <schwab@suse.de>
10684         [BZ #13028]
10685         [BZ #17053]
10686         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
10687         of struct __res_state.
10688         * resolv/res_send.c (__libc_res_nsend): Likewise.
10689         (get_nsaddr): New function.
10690         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
10691         statp directly.
10693 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
10695         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
10696         -D_POSIX_C_SOURCE=199506L.
10698         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
10700         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
10701         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
10702         Do not mention otherwise.
10703         [POSIX] (_XOPEN_VERSION): Do not expect.
10704         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
10705         [POSIX] (_POSIX2_C_BIND): Likewise.
10706         [POSIX] (_POSIX2_VERSION): Likewise.
10707         [POSIX] (_XOPEN_XPG2): Likewise.
10708         [POSIX] (_XOPEN_XPG3): Likewise.
10709         [POSIX] (_XOPEN_XPG4): Likewise.
10710         [POSIX] (_XOPEN_UNIX): Likewise.
10711         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
10712         [POSIX] (_POSIX_BARRIERS): Likewise.
10713         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
10714         [POSIX] (_POSIX_CPUTIME): Likewise.
10715         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
10716         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
10717         [POSIX] (_POSIX_SHELL): Likewise.
10718         [POSIX] (_POSIX_SPAWN): Likewise.
10719         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
10720         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
10721         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
10722         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
10723         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
10724         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
10725         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
10726         [POSIX] (_XBS5_LP64_OFF64): Likewise.
10727         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
10728         [POSIX] (_POSIX_TIMEOUTS): Likewise.
10729         [POSIX] (_POSIX2_PBS): Likewise.
10730         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
10731         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
10732         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
10733         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
10734         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
10735         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
10736         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
10737         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
10738         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
10739         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
10740         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
10741         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
10742         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
10743         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
10744         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
10745         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
10746         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
10747         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
10748         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
10749         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
10750         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
10751         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
10752         [POSIX] (_SC_2_C_BIND): Likewise.
10753         [POSIX] (_SC_2_C_VERSION): Likewise.
10754         [POSIX] (_SC_2_PBS): Likewise.
10755         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
10756         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
10757         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
10758         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
10759         [POSIX] (_SC_2_PBS_TRACK): Likewise.
10760         [POSIX] (_SC_ATEXIT_MAX): Likewise.
10761         [POSIX] (_SC_BARRIERS): Likewise.
10762         [POSIX] (_SC_BASE): Likewise.
10763         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
10764         [POSIX] (_SC_DEVICE_IO): Likewise.
10765         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
10766         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
10767         [POSIX] (_SC_FD_MGMT): Likewise.
10768         [POSIX] (_SC_FIFO): Likewise.
10769         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
10770         [POSIX] (_SC_FILE_LOCKING): Likewise.
10771         [POSIX] (_SC_FILE_SYSTEM): Likewise.
10772         [POSIX] (_SC_IOV_MAX): Likewise.
10773         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
10774         [POSIX] (_SC_NETWORKING): Likewise.
10775         [POSIX] (_SC_PAGE_SIZE): Likewise.
10776         [POSIX] (_SC_PASS_MAX): Likewise.
10777         [POSIX] (_SC_PIPE): Likewise.
10778         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
10779         [POSIX] (_SC_REGEXP): Likewise.
10780         [POSIX] (_SC_SHELL): Likewise.
10781         [POSIX] (_SC_SIGNALS): Likewise.
10782         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
10783         [POSIX] (_SC_SPIN_LOCKS): Likewise.
10784         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
10785         [POSIX] (_SC_USER_GROUPS): Likewise.
10786         [POSIX] (_SC_USER_GROUPS_R): Likewise.
10787         [POSIX] (_SC_STREAMS): Likewise.
10788         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
10789         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
10790         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
10791         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
10792         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
10793         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
10794         [POSIX] (_PC_FILESIZEBITS): Likewise.
10795         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
10796         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
10797         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
10798         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
10799         [POSIX] (uid_t): Likewise.
10800         [POSIX] (gid_t): Likewise.
10801         [POSIX] (off_t): Likewise.
10802         [POSIX] (pid_t): Likewise.
10803         [POSIX] (cuserid): Allow.
10804         (_SC_2_CHAR_TERM): Require constant.
10805         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
10806         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
10807         variable.
10809 2015-05-20  Roland McGrath  <roland@hack.frob.com>
10811         * sysdeps/nacl/pthread-pids.h: New file.
10812         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
10813         (create_thread): Use __nacl_get_tid to initialize PD->tid.
10815         * nptl/pthread-pids.h: New file.
10816         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
10817         * nptl/nptl-init.c: Include <pthread-pids.h>.
10818         (__pthread_initialize_minimal_internal):
10819         Call __pthread_initialize_pids instead of set_tid_address syscall.
10821         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
10822         * sysdeps/posix/usleep.c: ... here.
10824 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10826         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
10827         call_pselect6 object.
10828         [$(subdir) = io]: Remove call_sync_file_range object.
10829         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
10830         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
10831         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
10832         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
10834 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
10836         * math/s_cproj.c: Add include "math_private.h".
10837         * math/s_cprojf.c: Likewise.
10838         * math/s_cprojl.c: Likewise.
10840 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
10842         [BZ #18244]
10843         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
10844         high mantissa bit when testing whether P is a NaN.
10845         * math/libm-test.inc (remainder_test_data): Add more tests.
10846         (remquo_test_data): Likewise.
10848         [BZ #18049]
10849         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
10850         below -32, return the argument, with underflow if subnormal.
10851         * math/auto-libm-test-in: Add more tests of atanh.
10852         * math/auto-libm-test-out: Regenerated.
10854 2015-05-19  Roland McGrath  <roland@hack.frob.com>
10856         [BZ #18434]
10857         * nptl/tst-sem15.c: New file.
10858         * nptl/Makefile (tests): Add it.
10859         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
10860         s/<</>>/ to fix typo in EOVERFLOW check.
10861         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
10863 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10865         * manual/strings.texi (envz_remove): Fix typo in safety
10866         annotations.
10868 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
10869             Steve Ellcey  <sellcey@imgtec.com>
10871         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
10872         in order to avoid strict alias warnings.
10873         (iruserok_af): Ditto for ra.
10875 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
10877         [BZ #17581]
10878         * malloc/hooks.c
10879         (magicbyte): Convert to a function and avoid returning 0x01.
10880         (mem2mem_check): Avoid using a length byte equal to the magic byte.
10881         (mem2chunk_check): Fix unsigned comparisons to zero.
10882         Hoist defs of sz and magic.
10884 2015-05-19  Richard Henderson  <rth@redhat.com>
10886         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
10888         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10890 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10892         [BZ #16159]
10893         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
10894         * malloc/arena.c (arena_lock): Check if arena is corrupt.
10895         (reused_arena): Find a non-corrupt arena.
10896         (heap_trim): Pass arena to unlink.
10897         * malloc/hooks.c (malloc_check_get_size): Pass arena to
10898         malloc_printerr.
10899         (top_check): Likewise.
10900         (free_check): Likewise.
10901         (realloc_check): Likewise.
10902         * malloc/malloc.c (malloc_printerr): Add arena argument.
10903         (unlink): Likewise.
10904         (munmap_chunk): Adjust.
10905         (ARENA_CORRUPTION_BIT): New macro.
10906         (arena_is_corrupt): Likewise.
10907         (set_arena_corrupt): Likewise.
10908         (sysmalloc): Use mmap if there are no usable arenas.
10909         (_int_malloc): Likewise.
10910         (__libc_malloc): Don't fail if arena_get returns NULL.
10911         (_mid_memalign): Likewise.
10912         (__libc_calloc): Likewise.
10913         (__libc_realloc): Adjust for additional argument to
10914         malloc_printerr.
10915         (_int_free): Likewise.
10916         (malloc_consolidate): Likewise.
10917         (_int_realloc): Likewise.
10918         (_int_memalign): Don't touch corrupt arenas.
10919         * malloc/tst-malloc-backtrace.c: New test case.
10921         * Makefile (summarize-tests): Fix return value on success.
10923         * manual/string.texi (Envz Functions): Add envz_remove.
10925 2015-05-18  Roland McGrath  <roland@hack.frob.com>
10927         * sysdeps/posix/opendir.c: Include <stdbool.h>.
10928         (invalid_name): New function, broken out of ...
10929         (__opendirat): ... here.  Call it.
10930         (need_isdir_precheck): New function, broken out of ...
10931         (__opendirat): ... here.  Call it.
10932         Use __fxstatat64, not __xstatat64.
10933         (opendir_oflags): New function, broken out of ...
10934         (__opendirat): ... here.  Call it.
10935         (opendir_tail): New function, broken out of ...
10936         (__opendirat): ... here.  Call it.
10937         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
10938         opendir_tail, rather than punting to __opendirat.
10939         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
10941 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10943         * .gitignore: Ignore generated *.pyc.
10945 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
10947         * include/stdio.h: Define __need_wint_t.
10948         * test-skeleton.c: Avoid `for' loop initial declaration.
10949         * nptl/tst-initializers1.c: Use test-skeleton.c.
10951 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10953         [BZ #18418]
10954         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
10956 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10958         [BZ #16352]
10959         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
10960         (__ieee754_atanh): Force underflow exception for results with
10961         small absolute value.
10962         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
10963         (__ieee754_atanhf): Force underflow exception for results with
10964         small absolute value.
10965         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
10966         (__ieee754_atanh): Force underflow exception for results with
10967         small absolute value.
10968         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
10969         (__ieee754_atanhf): Force underflow exception for results with
10970         small absolute value.
10971         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
10972         (__ieee754_atanhl): Force underflow exception for results with
10973         small absolute value.
10974         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
10975         (__ieee754_atanhl): Force underflow exception for results with
10976         small absolute value.
10977         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
10978         (__ieee754_atanhl): Force underflow exception for results with
10979         small absolute value.
10980         * math/auto-libm-test-in: Do not allow missing underflow
10981         exceptions from atanh.
10982         * math/auto-libm-test-out: Regenerated.
10984         [BZ #18221]
10985         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
10986         2**-28 as threshold for returning x or +/- 1/x.
10987         * math/auto-libm-test-in: Add more tests of tan.
10988         * math/auto-libm-test-out: Regenerated.
10990         [BZ #18220]
10991         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10992         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
10993         * math/auto-libm-test-in: Add another test of lgamma.
10994         * math/auto-libm-test-out: Regenerated.
10996 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
10998         * stdio-common/printf_fp.c (___printf_fp): Use abs.
10999         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
11000         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
11001         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
11002         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
11003         (ADD2A): Use fabs.  (SUB2A): Use fabs.
11004         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
11005         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
11006         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
11007         (log1): Use fabs.  (my_log2): Use fabs.
11008         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
11009         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
11010         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
11011         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
11012         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
11013         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
11014         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
11015         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
11016         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
11017         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
11018         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
11020 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11022         [BZ #18217]
11023         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
11024         as threshold for returning 1 - x.
11025         * math/auto-libm-test-in: Add more tests of erfc.
11026         * math/auto-libm-test-out: Regenerated.
11028 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
11030         [BZ #18196]
11031         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
11032         threshold for large arguments.
11033         * math/auto-libm-test-in: Add another test of atan.
11034         * math/auto-libm-test-out: Regenerated.
11036         [BZ #16339]
11037         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
11038         (__log1p): Force underflow exception for results with small
11039         absolute value.
11040         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
11041         (__log1pf): Force underflow exception for results with small
11042         absolute value.
11043         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11044         (__log1p): Force underflow exception for results with small
11045         absolute value.
11046         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
11047         (__log1pf): Force underflow exception for results with small
11048         absolute value.
11049         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
11050         (__log1pl): Force underflow exception for results with small
11051         absolute value.
11052         * math/auto-libm-test-in: Do not allow missing underflow
11053         exceptions from log1p.
11054         * math/auto-libm-test-out: Regenerated.
11056 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
11057             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11059         [BZ #16704]
11060         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
11062 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
11064         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
11065         (libmvec): New variable.
11066         * configure.ac: Added option for mathvec build.
11067         * configure: Regenerated.
11068         * mathvec/Depend: New file.
11069         * mathvec/Makefile: New file.
11070         * shlib-versions: Added libmvec.
11071         * math/Makefile: Added rule for libm.so installation.
11073         * bits/math-vector.h: New file.
11074         * bits/libm-simd-decl-stubs.h: New header.
11075         * math/Makefile (headers): Added new header
11076         libm-simd-decl-stubs.h.
11077         * math/math.h (__MATHCALL_VEC): New macro.
11079         * math/gen-libm-have-vector-test.sh: Script generates series of macros
11080         for conditions in testing functions.
11081         * math/Makefile: Added call of libm-have-vector-test.sh.
11082         * math/libm-test.inc (HAVE_VECTOR): New macros.
11084         * math/libm-test.inc: START refactored.
11085         * math/test-double.c (TEST_MATHVEC): Add define.
11086         * math/test-float.c: Likewise.
11087         * math/test-idouble.c: Likewise.
11088         * math/test-ifloat.c: Likewise.
11089         * math/test-ildoubl.c: Likewise.
11090         * math/test-ldouble.c: Likewise.
11091         * sysdeps/generic/math-tests-arch.h
11092         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
11093         architecture check.
11095         * math/test-double.c (FUNC_TEST): New macro.
11096         * math/test-float.c: Likewise.
11097         * math/test-idouble.c: Likewise.
11098         * math/test-ifloat.c: Likewise.
11099         * math/test-ildoubl.c: Likewise.
11100         * math/test-ldouble.c: Likewise.
11101         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
11103 2015-05-13  Roland McGrath  <roland@hack.frob.com>
11105         * sysdeps/nacl/fdopendir.c: New file.
11107         * dirent/scandir-tail.c: New file.
11108         * dirent/scandir64-tail.c: New file.
11109         * dirent/Makefile (routines): Add them.
11110         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
11111         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
11112         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11113         [!SCANDIR] (SCANDIR_TAIL): New macro.
11114         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
11115         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
11116         (SCANDIRAT): Macro removed.
11117         (SCANDIR_TAIL): New macro.
11118         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
11119         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
11120         (SCANDIRAT): Just call __opendirat and __scandir_tail.
11121         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
11122         (READDIR): Macro removed.
11123         (SCANDIR_TAIL): New macro.
11124         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
11125         (SCANDIR_TAIL): New macro.
11127         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
11128         * dirent/scandir-cancel.c: ... to this new file.
11129         * dirent/Makefile (routines): Add it.
11130         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
11131         * sysdeps/unix/sysv/linux/i386/scandir64.c
11132         (SKIP_SCANDIR_CANCEL): Macro removed.
11133         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
11135         * dirent/tst-scandir.c: New file.
11136         * dirent/tst-scandir64.c: New file.
11137         * dirent/Makefile (tests): Add them.
11139 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11141         [BZ #18409]
11142         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
11144 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11146         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
11147         list.
11149 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
11151         * benchtests/bench-strcoll.c: New benchmark.
11152         * benchtests/Makefile: Generate locales and run benchmark.
11153         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
11154         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11155         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
11156         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
11157         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
11158         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
11159         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
11160         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
11161         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
11162         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
11163         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
11164         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
11165         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
11166         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
11167         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
11168         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
11169         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
11170         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
11171         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
11172         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
11173         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
11174         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
11175         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
11176         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
11178 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
11180         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
11181         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11183 2015-05-12  Roland McGrath  <roland@hack.frob.com>
11185         * posix/uname-values.h: New file.
11186         * posix/uname.c: Include that instead of <config-name.h>.
11187         * sysdeps/nacl/uname-values.h: New file.
11188         * sysdeps/arm/nacl/uname-values.h: New file.
11190 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
11192         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
11193         splitting into fields.
11195 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
11197         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
11198         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
11199         * locale/localeinfo.h: Add enum collation_encoding_type.
11200         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
11201         * programs/ld-collate.c (collate_output): Add encoding type info.
11202         * string/strcoll_l.c (STRDIFF): New function.
11203         * (STRCOLL): Use STRDIFF to skip over equal prefix.
11204         * wcsmbs/wcscoll_l.c: Define STRDIFF.
11206 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
11208         [BZ #18397]
11209         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
11210         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
11211         <fpu_control.h> instead of <math/fpu_control.c>.
11212         * sysdeps/mips/mips32/fpu/Makefile: New file.
11214 2015-05-11  Andreas Schwab  <schwab@suse.de>
11216         [BZ #18007]
11217         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
11218         nss_endgrent.
11219         (_nss_compat_endgrent): Call nss_endgrent.
11220         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
11221         nss_endpwent.
11222         (_nss_compat_endpwent): Call nss_endpwent.
11223         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
11224         needent, call nss_setspent only if non-zero.
11225         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
11226         (internal_endspent): Don't call nss_endspent.
11227         (_nss_compat_endspent): Call nss_endspent.
11228         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
11229         Remove.  All uses removed.
11230         (internal_setent): Remove parameter stayopen, add parameter
11231         stream.  Use it instead of global variable.
11232         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
11233         (internal_endent, internal_getent): Add parameter stream.  Use it
11234         instead of global variable.
11235         (CONCAT(_nss_files_end,ENTNAME))
11236         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
11237         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
11238         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
11239         uses removed.
11240         (internal_setent, internal_endent): Add parameter stream.  Use it
11241         instead of global variable.
11242         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
11243         stream.
11244         (get_next_alias): Add parameter stream.
11245         (_nss_files_getaliasent_r): Pass global stream.
11246         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
11247         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
11248         (_nss_files_gethostbyname4_r): Pass local stream to
11249         internal_setent, internal_getent and internal_endent.  Remove
11250         locking.
11252 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11254         * tst-strfmon1.c (tests): Update expected currency symbol.
11256 2015-05-08  Roland McGrath  <roland@hack.frob.com>
11258         * sysdeps/nacl/gethostname.c: New file.
11260 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
11262         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
11263         and sinh.
11264         * math/auto-libm-test-out: Regenerated.
11265         * sysdeps/i386/fpu/libm-test-ulps: Update.
11266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11268 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
11270         [BZ #18125]
11271         * stdlib/tst-setcontext3.c: New file.
11272         * stdlib/tst-setcontext3.sh: New file.
11273         * stdlib/Makefile (tests): Add tst-setcontext3.
11274         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
11275         to verify test program created output file.
11276         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
11277         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
11278         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
11279         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
11281 2015-05-06  Roland McGrath  <roland@hack.frob.com>
11283         [BZ #18383]
11284         * elf/tst-tlsalign.c: New file.
11285         * elf/tst-tlsalign-static.c: New file.
11286         * elf/tst-tlsalign-lib.c: New file.
11287         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
11288         (tests-static): Add tst-tlsalign-static.
11289         (modules-names): Add tst-tlsalign-lib.
11290         (test-xfail-tst-tlsalign): New variable.
11291         (test-xfail-tst-tlsalign-static): New variable.
11293         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
11294         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
11296 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
11298         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
11299         csqrt, erfc, sin and sincos.
11300         * math/auto-libm-test-out: Regenerated.
11301         * sysdeps/i386/fpu/libm-test-ulps: Update.
11302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11304 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11306         * sysdeps/aarch64/libm-test-ulps: Update.
11308 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
11310         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
11311         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
11312         * math/auto-libm-test-out: Regenerated.
11313         * sysdeps/i386/fpu/libm-test-ulps: Update.
11314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11316 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11318         [BZ #18265]
11319         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
11320         (wcsncpy): Likewise.
11322 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11324         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11325         Assume __ASSUME_FALLOCATE is always true.
11326         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11327         (__posix_fallocate64_l64): Likweise.
11328         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
11329         (posix_fallocate): Likewise.
11330         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
11331         (__posix_fallocate64_l64): Likewise.
11332         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11333         [!__ASSUME_FALLOCATE]: Add comment.
11335 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11337         * sysdeps/unix/sysv/linux/i386/Makefile
11338         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
11339         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
11340         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
11341         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11342         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11343         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
11344         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
11346 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
11348         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
11349         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
11350         tgamma.
11351         * math/auto-libm-test-out: Regenerated.
11352         * sysdeps/i386/fpu/libm-test-ulps: Update.
11353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11355 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
11357         * math/auto-libm-test-in: Add more tests of tgamma.
11358         * math/auto-libm-test-out: Regenerated.
11359         * sysdeps/i386/fpu/libm-test-ulps: Update.
11360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11362         * math/auto-libm-test-in: Add more tests of tanh.
11363         * math/auto-libm-test-out: Regenerated.
11364         * sysdeps/i386/fpu/libm-test-ulps: Update.
11365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11367         * math/auto-libm-test-in: Add more tests of tan.
11368         * math/auto-libm-test-out: Regenerated.
11369         * sysdeps/i386/fpu/libm-test-ulps: Update.
11370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11372         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
11373         * math/auto-libm-test-out: Regenerated.
11374         * sysdeps/i386/fpu/libm-test-ulps: Update.
11375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11377         * math/auto-libm-test-in: Add another test of pow.
11378         * math/auto-libm-test-out: Regenerated.
11379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11381         * math/auto-libm-test-in: Add more tests of lgamma.
11382         * math/auto-libm-test-out: Regenerated.
11383         * sysdeps/i386/fpu/libm-test-ulps: Update.
11384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11386         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
11387         log1p.
11388         * math/auto-libm-test-out: Regenerated.
11389         * sysdeps/i386/fpu/libm-test-ulps: Update.
11390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11392 2015-05-01  Mark Wielaard  <mjw@redhat.com>
11394         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
11395         Elf64_Chdr structs and ELFCOMPRESS constants.
11397 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
11399         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
11400         expm1.
11401         * math/auto-libm-test-out: Regenerated.
11402         * sysdeps/i386/fpu/libm-test-ulps: Update.
11403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11405         * math/auto-libm-test-in: Add more tests of erf and erfc.
11406         * math/auto-libm-test-out: Regenerated.
11407         * sysdeps/i386/fpu/libm-test-ulps: Update.
11408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11410 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11412         * config.h.in (HAVE_AARCH64_BE): Add.
11414 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
11416         * math/auto-libm-test-in: Add more tests of csqrt.
11417         * math/auto-libm-test-out: Regenerated.
11418         * sysdeps/i386/fpu/libm-test-ulps: Update.
11419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11421         * math/auto-libm-test-in: Add more tests of cosh and sinh.
11422         * math/auto-libm-test-out: Regenerated.
11423         * sysdeps/i386/fpu/libm-test-ulps: Update.
11424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11426         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
11428 2015-04-29  Roland McGrath  <roland@hack.frob.com>
11430         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
11431         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
11433         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
11434         (euidaccess, eaccess): Define as weak aliases.
11436         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
11437         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
11438         but __suseconds_t is often 'long int' so some sources assume that
11439         type is being used (e.g. they use %ld to print tv_usec).
11441 2015-04-29  Florian Weimer  <fweimer@redhat.com>
11443         [BZ #18007]
11444         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
11445         (CVE-2014-8121)
11446         * nss/tst-nss-getpwent.c: New file.
11447         * nss/Makefile (tests): Add new test.
11449 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
11451         [BZ #18346]
11452         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
11453         exponents less than 48 as cases where high part of mantissa needs
11454         examining to determine whether argument is integral.
11455         * math/libm-test.inc (round_test_data): Add more tests.
11457 2015-04-28  Mark Wielaard  <mjw@redhat.com>
11459         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
11461 2015-04-27  David S. Miller  <davem@davemloft.net>
11463         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
11464         __tls_get_addr.
11465         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11467 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
11469         [BZ#18333]
11470         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
11472 2015-04-27  Florian Weimer  <fweimer@redhat.com>
11474         [BZ#18333]
11475         * time/tzset.c (parse_tzname): Return error on memory allocation
11476         failure.
11477         * test-skeleton.c (struct temp_name_list): Change type of name
11478         member to non-const.
11479         (add_temp_file): Create a copy of the file name.
11480         (delete_temp_files): Deallocate memory.
11481         (create_temp_file): Add comment.
11483 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11485         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
11486         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
11488 2015-04-24  Roland McGrath  <roland@hack.frob.com>
11490         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
11491         * sysdeps/arm/configure: Regenerated.
11493 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11495         [BZ #17715]
11496         * time/tzfile.c (__tzfile_read): Check for large values of
11497         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
11498         * time/tzset.c (__tzstring_len): New function, based on the old
11499         __tzstring function.
11500         (__tzstring): Call __tzstring_len.
11501         (parse_tzname): New helper function extracted from
11502         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
11503         the input string.
11504         (parse_offset): New helper function extracted from
11505         __tzset_parse_tz.  Replace switch with fallthrough with
11506         initialization before sscanf.
11507         (parse_rule): Likewise.
11508         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
11509         new-style function definition.
11510         * timezone/Makefile (tests): Add tst-tzset.
11511         (tst-tzset.out): Dependencies on time zone files.
11512         (tst-tzset-ENV): Set TZDIR.
11513         (testdata/XT%): Copy crafted time zone files.
11514         * timezone/README: Mention crafted time zone files.
11515         * timezone/testdata/XT1, timezone/testdata/XT2,
11516         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
11517         files.
11518         * timezone/tst-tzset.c: New test.
11520 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11522         * Makeconfig (+gccwarn): Remove -Winline.
11524 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11526         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
11528 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11530         * NEWS: Mention sysconf() cache information support for s390.
11531         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
11533 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
11535         * math/k_casinh.c (__kernel_casinh): Use __copysign.
11536         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
11537         (__nearbyint): Likewise.
11538         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
11539         (copysignl): Likewise.
11541 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
11543         [BZ #18287]
11544         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
11545         based on padding.  (CVE-2015-1781)
11547 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11549         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
11550         libc-vdso.h.
11551         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
11552         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
11553         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
11554         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11555         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11556         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
11557         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
11558         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11559         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11560         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
11561         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11562         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11563         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11564         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
11565         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11566         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
11567         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
11568         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
11569         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
11570         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
11571         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
11572         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
11573         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
11575 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
11577         * stdlib/setenv.c (__add_to_environ):
11578         Dump core quickly if setenv (..., NULL, ...) is called.
11579         This time, do it the right way, and pacify GCC with a pragma.
11581 2015-04-17  Roland McGrath  <roland@hack.frob.com>
11583         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
11584         IMAP->l_prev cannot be null, and #if out the code for the contrary
11585         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
11586         believe that NS (&_dl_ns[NSID]) could point outside the array.
11588         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
11589         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
11590         before using NSID as an index.
11592 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
11594         [BZ #17825]
11595         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
11596         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
11597         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11599 2015-04-17  Roland McGrath  <roland@hack.frob.com>
11601         Add preliminary port to Google Native Client on ARM.
11602         * abi-tags (.*-.*-nacl.*): New entry.
11603         * sysdeps/arm/nacl: New directory.
11604         * sysdeps/nacl: New directory.
11606 2015-04-16  David S. Miller  <davem@davemloft.net>
11608         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
11609         lowlevellock-futex.h
11611 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
11613         * sysdeps/tile/configure.ac: New file.
11614         * sysdeps/tile/configure: Regenerated.
11616 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11618         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
11619         conditionals for weak_alias and libc_hidden_weak.
11620         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
11621         libc_hidden_weak and weak_alias.
11622         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
11623         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
11624         and weak_alias for static one.
11626 2015-04-15  David S. Miller  <davem@davemloft.net>
11628         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11630 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11632         [BZ #18206]
11633         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
11634           Use signed comparision instead of substraction to avoid
11635           overflow bug.
11636         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
11637           Take the sign of ret.
11638         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
11639           Do not expect precise return values. Only the sign matters.
11640         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
11641         * wcsmbs/test-wcsncmp.c: New File.
11642         * string/test-strncmp.c: Add wcsncmp support.
11644 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11646         [BZ #6792]
11647         * math/w_log1p.c: New file.
11648         * math/w_log1pf.c: Likewise.
11649         * math/w_log1pl.c: Likewise.
11650         * math/Makefile (libm-calls): Add w_log1p.
11651         * math/s_log1pl.c (log1pl): Remove weak_alias.
11652         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
11653         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
11654         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
11655         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
11656         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
11657         [NO_LONG_DOUBLE] (log1pl): Likewise.
11658         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
11659         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
11660         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
11661         (log1p): Remove long_double_symbol.
11662         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
11663         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
11664         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
11665         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
11666         remove weak_alias for corresponding log1p function.
11667         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
11668         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11669         * sysdeps/ia64/fpu/w_log1p.c: New file.
11670         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
11671         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
11672         * math/libm-test.inc (log1p_test_data): Add errno expectations.
11674 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
11676         [BZ #18247]
11677         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
11678         decimal exponent by 1.
11679         * stdlib/tst-strtod-round-data: Add more tests.
11680         * stdlib/tst-strtod-round.c (tests): Regenerated.
11682 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
11684         * math/auto-libm-test-in: Add more tests of clog and clog10.
11685         * math/auto-libm-test-out: Regenerated.
11686         * sysdeps/i386/fpu/libm-test-ulps: Update.
11687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11689 2015-04-09  Roland McGrath  <roland@hack.frob.com>
11691         * Makeconfig (module-cppflags): Exclude all .v.i files.
11692         (skip-module-cppflags): Variable removed.
11694         * configure.ac (libc_config_ok): Initialize before reading
11695         preconfigure scripts, not after.
11696         * configure: Regenerated.
11698         * test-skeleton.c (TIMEOUT): Move #define to top level.
11699         (main): Grok environment variable TEST_DIRECT.  If set, print
11700         test expectation details into that file and then behave as if
11701         given --direct.
11703 2015-04-09  Florian Weimer  <fweimer@redhat.com>
11705         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
11706         warning on 32-bit.
11708 2015-04-08  David S. Miller  <davem@davemloft.net>
11710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11712 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11714         * math/auto-libm-test-in: Add more tests of atanh.
11715         * math/auto-libm-test-out: Regenerated.
11716         * sysdeps/i386/fpu/libm-test-ulps: Update.
11717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11719         * math/auto-libm-test-in: Add more tests of atan.
11720         * math/auto-libm-test-out: Regenerated.
11721         * sysdeps/i386/fpu/libm-test-ulps: Update.
11722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11724 2015-04-08  Florian Weimer  <fweimer@redhat.com>
11726         * elf/pldd.c (main): Rewrite to use struct
11727         scratch_buffer instead of extend_alloca.
11728         * elf/pldd-xx.c (find_maps): Likewise.
11729         * grp/initgroups.c: Include <scratch_buffer.h> instead of
11730         <alloca.h>.
11731         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
11732         scratch_buffer instead of extend_alloca.
11733         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
11734         grp/compat-initgroups.c.
11735         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
11736         Rewrite to use struct scratch_buffer instead of extend_alloca.
11737         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
11738         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11740 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11742         * math/auto-libm-test-in: Add more tests of cbrt.
11743         * math/auto-libm-test-out: Regenerated.
11744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11746         * math/auto-libm-test-in: Add more tests of cabs.
11747         * math/auto-libm-test-out: Regenerated.
11748         * sysdeps/i386/fpu/libm-test-ulps: Update.
11749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11751         [BZ #18210]
11752         [BZ #18211]
11753         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
11754         (__ieee754_atan2): Set FE_TONEAREST mode for internal
11755         computations.
11756         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
11757         clog10.
11758         * math/auto-libm-test-out: Regenerated.
11759         * sysdeps/i386/fpu/libm-test-ulps: Update.
11760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11762         [BZ #18197]
11763         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
11764         (atan): Set FE_TONEAREST mode for internal computations.
11765         * math/auto-libm-test-in: Add more tests of atan.
11766         * math/auto-libm-test-out: Regenerated.
11768 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
11770         [BZ #17930]
11771         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
11773 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11775         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
11777 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11779         * include/scratch_buffer.h: New file.
11780         * malloc/scratch_buffer_grow.c: Likewise.
11781         * malloc/scratch_buffer_grow_preserve.c: Likewise.
11782         * malloc/scratch_buffer_set_array_size.c: Likewise.
11783         * malloc/tst-scratch_buffer.c: Likewise.
11784         * malloc/Makefile (routines): Add scratch_buffer_grow.
11785         (tests): Add test case.
11786         * malloc/Versions (GLIBC_PRIVATE): Export
11787         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
11788         __libc_scratch_buffer_set_array_size.
11790 2015-04-06  Richard Henderson  <rth@redhat.com>
11792         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
11793         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11795         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
11796         unsigned int before printing.
11798 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11800         [BZ #17596]
11801         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
11802         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11804 2015-04-02  Florian Weimer  <fweimer@redhat.com>
11806         * include/libc-internal.h (libc_max_align_t): Define.
11808 2015-04-02  Andreas Schwab  <schwab@suse.de>
11810         [BZ #16850]
11811         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
11813 2015-04-02  Mel Gorman  <mgorman@suse.de>
11815         [BZ #17195]
11816         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
11817         as well as the main arena.
11819 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11821         [BZ #18185]
11822         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
11823         sharing L2 cache to 2 for Silvermont/Knights Landing.
11825 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11827         [BZ #17711]
11828         * config.make.in (have-protected-data): New.
11829         * configure.ac: Check linker support for protected data symbol.
11830         * configure: Regenerated.
11831         * elf/Makefile (modules-names): Add tst-protected1moda and
11832         tst-protected1modb if $(have-protected-data) is yes.
11833         (tests): Add tst-protected1a and tst-protected1b if
11834         $(have-protected-data) is yes.
11835         ($(objpfx)tst-protected1a): New.
11836         ($(objpfx)tst-protected1b): Likewise.
11837         (tst-protected1modb.so-no-z-defs): Likewise.
11838         * elf/tst-protected1a.c: New file.
11839         * elf/tst-protected1b.c: Likewise.
11840         * elf/tst-protected1mod.h: Likewise.
11841         * elf/tst-protected1moda.c: Likewise.
11842         * elf/tst-protected1modb.c: Likewise.
11844 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11846         [BZ #17711]
11847         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
11848         indicates it is called from do_lookup_x on relocation against
11849         protected data, skip the data definion in the executable from
11850         copy reloc.
11851         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
11852         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
11853         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
11854         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
11855         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
11856         otherwise to 0.
11857         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11858         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
11859         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
11860         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11861         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
11862         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
11864 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
11866         * sysdeps/nptl/pthread.h: Remove duplicate definition of
11867         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
11869 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
11871         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
11872         THREAD_SETMEM_NC.
11873         * sysdeps/x86_64/nptl/tls.h: Ditto.
11875 2015-03-27  Roland McGrath  <roland@hack.frob.com>
11877         * dlfcn/tststatic.c (main): Converted to ...
11878         (do_test): ... this.
11879         (TEST_FUNCTION): New macro.
11880         Include test-skeleton.c.
11882 2015-03-26  Alan Modra  <amodra@gmail.com>
11884         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
11885         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
11886         zero for undefined weak.
11887         (elf_machine_plt_conflict): Similarly.
11889 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11891         * math/auto-libm-test-in: Add more tests of acosh, asinh and
11892         atanh.
11893         * math/auto-libm-test-out: Regenerated.
11894         * sysdeps/i386/fpu/libm-test-ulps: Update.
11895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11897         * math/auto-libm-test-in: Add another test of asin.
11898         * math/auto-libm-test-out: Regenerated.
11899         * sysdeps/i386/fpu/libm-test-ulps: Update.
11900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11902         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
11903         Remove macro.
11904         (LLL_EBX_REG): Likewise.
11905         (LLL_ENTER_KERNEL): Likewise.
11907         * math/auto-libm-test-in: Add more tests of asin.
11908         * math/auto-libm-test-out: Regenerated.
11909         * sysdeps/i386/fpu/libm-test-ulps: Update.
11910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11912         [BZ #18138]
11913         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
11914         libc_do_syscall_args): New structure.
11915         (INTERNAL_SYSCALL_MAIN_0): New macro.
11916         (INTERNAL_SYSCALL_MAIN_1): Likewise.
11917         (INTERNAL_SYSCALL_MAIN_2): Likewise.
11918         (INTERNAL_SYSCALL_MAIN_3): Likewise.
11919         (INTERNAL_SYSCALL_MAIN_4): Likewise.
11920         (INTERNAL_SYSCALL_MAIN_5): Likewise.
11921         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
11922         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
11923         Replace conditional definitions by conditional definitions of ....
11924         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
11925         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
11926         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
11927         (libpthread-sysdep_routines): Add libc-do-syscall.
11928         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
11929         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
11930         to __NR_futex not 240.
11932 2015-03-25  Alan Modra  <amodra@gmail.com>
11934         * NEWS: Advertise TLS optimization.
11935         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
11936         (DT_PPC_NUM): Increment.
11937         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
11938         (CHECK_STATIC_TLS): Use here.
11939         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
11940         TLS descriptors.
11941         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11942         * sysdeps/powerpc/dl-tls.c: New file.
11943         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
11944         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
11945         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
11946         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
11947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
11948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11951 2015-03-25  Alan Modra  <amodra@gmail.com>
11953         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
11954         for overlapping .opd entries" to "support...".
11955         * sysdeps/powerpc/powerpc64/configure: Regenerate
11957 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11959         * math/auto-libm-test-in: Add more tests of acos.
11960         * math/auto-libm-test-out: Regenerated.
11961         * sysdeps/i386/fpu/libm-test-ulps: Update.
11962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11964         * math/auto-libm-test-in: Add more tests of expm1.
11965         * math/auto-libm-test-out: Regenerated.
11966         * sysdeps/i386/fpu/libm-test-ulps: Update.
11967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11969 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
11971         * math/auto-libm-test-in: Add more tests of cosh and sinh.
11972         * math/auto-libm-test-out: Regenerated.
11973         * sysdeps/i386/fpu/libm-test-ulps: Update.
11974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11976         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11979         * math/auto-libm-test-in: Add more tests of log2.
11980         * math/auto-libm-test-out: Regenerated.
11981         * sysdeps/i386/fpu/libm-test-ulps: Update.
11982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11984 2015-03-23  Roland McGrath  <roland@hack.frob.com>
11986         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
11987         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
11988         _IO_IS_APPENDING bit in READ_WRITE instead.
11990 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11992         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11993         (__determine_cpumask_size): Replace extend_alloca with a
11994         variable-length array.  Do not treat res == 0 as an error.
11996 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11998         [BZ #18100]
11999         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
12000         and integer overflow.
12001         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
12002         (main): Add integer overflow tests.
12003         * manual/pattern.texi (Calling Wordexp): Document additional use
12004         for WRDE_SYNTAX.
12006 2015-03-23  Alan Modra  <amodra@gmail.com>
12008         * config.h.in: Remove HAVE_ASM_PPC_REL16.
12009         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
12010         and false branch of conditional.
12011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12012         Likewise.
12014 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
12016         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12017         libc-modules.h
12018         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
12019         unused declaration of _hurd_intr_rpc_msg_in_trap.
12020         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
12021         defined instead of whether it is non-zero.
12022         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
12023         input constraint instead of both input and output constraint.  Use ecx
12024         clobber instead of %ecx.
12025         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
12026         mutex_unlock): Use a statement expression instead of an expression list.
12027         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
12028         type to vm_size_t instead of vm_address_t.
12029         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
12030         defined instead of whether it is non-zero.
12031         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
12032         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
12033         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
12034         comparisons with mapaddr.
12035         * nscd/nscd-client.h: Include <time.h>.
12036         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
12037         9th parameter to __vm_region instead of int.
12038         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
12039         * scripts/check-local-headers.sh (exclude): Add device/,
12040         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
12041         cthreads.h.
12043 2015-03-19  Roland McGrath  <roland@hack.frob.com>
12045         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
12046         to account for alignment padding.
12047         * sysdeps/arm/memmove.S: Likewise.
12049 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
12051         * sysdeps/unix/sysv/linux/generic/README: New file.
12053 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
12055         [BZ #18138]
12056         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
12057         (futex_abstimed_wait)
12058         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
12059         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
12060         of lll_futex_timed_wait.
12062 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
12064         [BZ #17542]
12065         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
12067 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
12069         [BZ #17090]
12070         [BZ #17620]
12071         [BZ #17621]
12072         [BZ #17628]
12073         * NEWS: Update.
12074         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
12075         entries with Static TLS too.  Skip entries past the end of the
12076         allocated DTV, from Alan Modra.
12077         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
12078         Static TLS DTV entry set up from...
12079         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
12080         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
12081         * nptl/allocatestack.c (init_one_static_tls): ... and here...
12082         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
12083         for Static TLS.
12084         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
12085         that the slot we find is associated with the given map before
12086         using its generation count.
12087         * nptl_db/db_info.c: Include ldsodefs.h.
12088         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
12089         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
12090         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
12091         (link_map::l_tls_offset): New struct field.
12092         (dtv_t::counter): Likewise.
12093         (rtld_global): New struct.
12094         (_rtld_global): New rtld variable.
12095         (dl_tls_dtv_slotinfo_list): New rtld global field.
12096         (dtv_slotinfo_list): New struct.
12097         (dtv_slotinfo): Likewise.
12098         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
12099         (td_lookup): Rename to...
12100         (td_mod_lookup): ... this.  Use new mod parameter instead of
12101         LIBPTHREAD_SO.
12102         * nptl_db/td_thr_tlsbase.c: Include link.h.
12103         (dtv_slotinfo_list, dtv_slotinfo): New functions.
12104         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
12105         addresses even if the DTV is out of date or missing them.
12106         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
12107         index zero-length arrays.
12108         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
12109         (td_lookup): Make it a macro implemented in terms of...
12110         (td_mod_lookup): ... this declaration.
12111         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
12112         (DB_MAIN_VARIABLE): Likewise.
12114 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12116         [BZ #18134]
12117         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12119 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
12121         * stdlib/setenv.c (__add_to_environ): Revert previous change.
12123 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12125         [BZ #18128]
12126         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
12127         (atomic_add, atomic_increment_and_test)
12128         (atomic_decrement_and_test): Fix 64-bit arithmetic.
12130 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
12132         * stdlib/setenv.c (__add_to_environ):
12133         Dump core quickly if setenv (..., NULL, ...) is called.
12135 2015-03-13  Roland McGrath  <roland@hack.frob.com>
12137         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
12138         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
12139         all the necessary asm magic in one place.
12140         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12141         using those.
12143 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
12145         [BZ #14906]
12146         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
12147         traced file mtime. Use consistent log message.
12148         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
12149         (register_traced_file): Call install_watches. Always set mtime.
12150         (invalidate_cache): Iterate over all trace files. Call install_watches.
12151         (inotify_check_files): Don't inline. Handle watching parent
12152         directories and configuration file movement in and out.
12153         (handle_inotify_events): New function.
12154         (main_loop_poll): Call handle_inotify_events.
12155         (main_loop_epoll): Likewise.
12156         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
12157         (struct traced_file): Use array of inotify fds. Add parent directory,
12158         and basename.
12159         (struct database_dyn): Remove unused file_mtime.
12160         (init_traced_file): New inline function.
12161         (define_traced_file): New macro.
12162         * nss/nss_db/db-init.c: Use define_traced_file.
12163         (_nss_db_init): Use init_traced_file.
12164         * nss/nss_files/files-init.c: Use define_traced_file.
12165         (_nss_files_init): Use init_traced_file.
12167 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
12169         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
12170         [_LIBC]: Do not include <stdlib.h>.
12171         [!_LIBC] (abort): Remove declaration.
12172         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
12173         _FP_STATIC_ASSERT instead of conditionally calling abort.
12174         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
12175         (_FP_EXTEND_CNAN): Likewise.
12176         (FP_TRUNC): Likewise.
12177         (__FP_CLZ): Likewise.
12178         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
12180 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
12182         * manual/string.texi (XPG basename): Fix prototype.
12184 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12186         [BZ #18080]
12187         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
12188         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12189         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
12190         (__setcontext): Likewise.
12191         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
12192         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12193         Call rt_sigprocmask syscall one time to set new signal mask
12194         and retrieve the current signal mask instead of two calls.
12195         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
12196         (__swapcontext): Likewise.
12197         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
12198         * stdlib/tst-setcontext2.c: New file.
12200 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12202         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12204 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
12206         [BZ #18093]
12207         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
12208         the wrong size.
12210 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12212         [BZ #18043]
12213         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
12215 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12217         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
12218         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
12219         Remove define.
12220         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
12221         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
12222         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
12223         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
12224         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
12225         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
12226         define.
12227         * nptl_db/td_symbol_list.c (td_lookup): Remove
12228         HAVE_ASM_GLOBAL_DOT_NAME code.
12229         * sysdeps/powerpc/powerpc64/configure.ac: Remove
12230         HAVE_ASM_GLOBAL_DOT_NAME check.
12231         * sysdeps/powerpc/powerpc64/configure: Regenerate.
12232         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
12233         (DOT_LABEL): Remove define.
12234         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
12235         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
12236         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
12237         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
12238         (__TLS_GET_ADDR): Likewise.
12239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
12240         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
12242 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
12244         [BZ #18111]
12245         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
12246         (_FPU_SETCW): Initialize cw from fpsr before storing.
12247         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
12248         (fesetexceptflag): Rewrite using fpu_control.h.
12249         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
12251 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
12253         [BZ #18110]
12254         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
12255         asms.
12256         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12258 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
12260         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
12261         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
12262         abort.
12263         (_FP_FMA): Likewise.
12264         (_FP_DIV): Likewise.
12266 2015-03-10  Roland McGrath  <roland@hack.frob.com>
12268         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
12269         with 0 in that case.
12270         * Makefile (summarize-tests): New canned sequence, factored out of
12271         commands for targets tests and xtests.  Display summary lines that
12272         don't start with PASS: or XFAIL: rather than ones that do start with
12273         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
12274         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
12275         do start with ERROR: or FAIL:.
12276         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
12277         (except for [$(build-shared) = yes]).
12278         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
12279         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
12280         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
12281         * nptl/Makefile: Revert 2015-03-04 changes.
12282         [$(CXX) empty] (tests-unsupported): New variable.
12283         * debug/Makefile: Likewise.
12285         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
12286         gnulib file.  Replace __attribute with __attribute__ throughout.
12288 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
12290         * sysdeps/hppa/fpu/libm-test-ulps: Update.
12292 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12294         [BZ #18104]
12295         * math/auto-libm-test-in: Add another test of pow.
12296         * math/auto-libm-test-out: Regenerated.
12298 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12300         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
12301         $(config-cflags-nofma).
12303 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12305         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
12306         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
12307         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
12308         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
12309         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
12310         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
12311         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
12312         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
12313         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
12314         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
12315         Add comment on closing #endif.
12317 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12319         * posix/wordexp.c (CHAR_IN_SET): New macro.
12320         (parse_param): Use it.
12322 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12324         * sysdeps/powerpc/fpu/libm-test-ulps: update.
12326 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12328         [BZ #18043]
12329         * posix/wordexp.c (parse_param): Fix buffer overflow.
12330         * posix/wordexp-test.c (test_case): Add test case.
12332 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12334         [BZ #18042]
12335         * posix/wordexp.c (parse_backtick): Fix off-by-one.
12336         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
12338 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12340         [BZ #18043]
12341         * posix/wordexp-test.c (test_case): Add test for BZ #18043
12342         (do_bz18043): Delete.
12343         (at_page_end): New.
12344         (testit): Refactor to have words at the edge of unreadable page.
12346 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12348         [BZ #16734]
12349         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
12350         Cleanup read-only streams as well.
12351         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
12353 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12355         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
12356         <bits/libc-lockP.h>
12358 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
12360         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
12361         on [__KERNEL__].
12362         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
12363         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
12364         * soft-fp/op-common.h (_FP_DECL): Likewise.
12366 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12368         * elf/ifuncdep2.c (global): Replace
12369         __attribute__((visibility("protected"))) with
12370         asm (".protected global").
12371         * elf/ifuncmod1.c (global): Likewise.
12372         * elf/ifuncmod5.c (global): Likewise.
12374 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
12376         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
12377         <asm/sfp-machine.h> instead of <sfp-machine.h>.
12379 2015-03-06  Roland McGrath  <roland@hack.frob.com>
12381         * manual/install.texi (Configuring and compiling):
12382         Document test-wrapper-env-only.
12383         * INSTALL: Regenerated.
12385 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12387         [BZ #18043]
12388         * posix/wordexp.c (parse_param): Fix buffer overflow.
12389         * posix/wordexp-test.c (do_bz18043): Add test case.
12391 2015-03-06  Vincent Bernat  <vincent@bernat.im>
12393         * time/tst-strptime2.c (do_test): Ensure failing tests are
12394         reported correctly.
12395         * time/tst-strptime3.c (do_test): Likewise.
12397 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
12399         Fix aio_error thread-safety.
12400         * sysdeps/pthread/aio_error.c: New file
12401         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
12402         synchronization.
12404 2015-03-06  Florian Weimer  <fweimer@redhat.com>
12406         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
12407         (group_number, vfprintf): Use it.
12408         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
12409         (JUMP, REF): Use it.
12410         (WORK_BUFFER_SIZE): New enum constant.
12411         (process_arg, vfprintf): Use it.
12413 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
12415         * manual/errno.texi (Error Messages): Complete example function
12416         by adding missing #define.
12417         (program_invocation_name): Add statement indicating GNU
12418         extension and reference which header file declares the variable.
12419         (program_invocation_short_name): Likewise.
12421 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
12423         * manual/errno.texi (Error Messages): Delete strerror ISO C89
12424         compatibility note.
12426 2015-03-05  Roland McGrath  <roland@hack.frob.com>
12428         * Makeconfig (test-wrapper-env-only): New variable.
12429         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
12430         then use that with $(test-wrapper-env-only) rather than using
12431         $(test-wrapper-env) $(run-program-env) $($*-ENV).
12433 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
12435         [BZ #18082]
12436         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
12437         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
12438         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
12439         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
12440         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
12441         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
12442         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
12443         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
12444         Likewise.
12445         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
12446         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
12447         Likewise.
12448         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
12449         Likewise.
12450         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
12451         Likewise.
12452         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
12453         Likewise.
12454         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
12455         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
12456         Likewise.
12457         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
12458         Likewise.
12459         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
12460         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
12462 2015-03-04  Roland McGrath  <roland@hack.frob.com>
12464         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
12465         (ETH_ALEN): New macro.
12466         (struct ether_addr): Use it for length of ether_addr_octet.
12468         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
12469         (setdb): Don't call __nss_configure_lookup for "rpc".
12470         (do_test): Don't call test_rpc.
12471         (output_rpcent, test_rpc): Functions moved ...
12472         * sunrpc/test-rpcent.c: ... to this new file.
12473         * sunrpc/Makefile (tests): Add it.
12475         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
12476         __xpg_sigpause.
12477         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
12478         * nptl/tst-signal6.c: Likewise.
12479         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
12480         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
12482         * configure.ac (libc_cv_cxx_link_ok): New check.
12483         Reset CXX to empty if it fails to link.
12484         * configure: Regenerated.
12485         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
12486         bug-atexit3-lib only if $(CXX) is nonempty.
12487         * nptl/Makefile (tests): Likewise for tst-cancel24.
12488         (tests, tests-static): Likewise for tst-cancel24-static.
12489         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
12490         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
12491         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
12492         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
12494 2015-03-04  Andreas Schwab  <schwab@suse.de>
12496         [BZ #17631]
12497         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
12498         for non-GCC compilers.
12499         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12500         Likewise.
12502 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12504         [BZ #17776]
12505         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
12506         integer before bitwise and assembly operations.
12507         (feclearexcept): Likewise.
12508         * math/test-fenvinline.c: New file.
12509         * math/Makefile: Add test-fenvinline test.
12511 2015-03-03  Alan Modra  <amodra@gmail.com>
12513         [BZ #16512]
12514         * scripts/localplt.awk: Strip off symbol version.
12515         * NEWS: Mention bug fix.
12517 2015-03-02  Roland McGrath  <roland@hack.frob.com>
12519         * sysdeps/pthread/timer_routines.c
12520         (timer_free_list, thread_free_list, thread_active_list): Make static.
12522 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
12524         [BZ #17779]
12525         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12526         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12527         Undefine.
12528         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12529         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12530         Likewise.
12531         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12532         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12533         Likewise.
12535 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
12537         [BZ #18036]
12538         * posix/fnmatch_loop.c (END): Detect invalid pattern.
12539         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
12541 2015-03-02  Andreas Schwab  <schwab@suse.de>
12543         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
12544         variable name.
12546 2015-03-02  Florian Weimer  <fweimer@redhat.com>
12548         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
12549         Return error status.
12551 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
12553         [BZ #15969]
12554         * locale/findlocale.c (_nl_find_locale): Introduce const
12555         version of loc_name and drop unsafe type casts.
12557 2015-02-27  Roland McGrath  <roland@hack.frob.com>
12559         * dlfcn/tststatic2.c (main): Converted to ...
12560         (do_test): ... this.
12561         (TEST_FUNCTION): New macro.
12562         Include test-skeleton.c.
12564 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
12566         [BZ #17711]
12567         * elf/Makefile (tests): Add vismain only if PIE is enabled.
12568         (tests-pie): Add vismain.
12569         (CFLAGS-vismain.c): New.
12570         * elf/vismain.c: Add comments for PIE requirement.
12572 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
12574         [BZ #18046]
12575         [BZ #18047]
12576         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
12577         0x1p-56L as threshold for just returning the argument.
12578         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
12579         0x1p-32L as threshold for just returning the argument.
12580         * math/auto-libm-test-in: Add more tests of atanh.
12581         * math/auto-libm-test-out: Regenerated.
12582         * sysdeps/i386/fpu/libm-test-ulps: Update.
12583         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
12585 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
12587         * string/bcopy.c (bcopy): Call memmove for performance.
12589 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
12591         * string/bzero.c (__bzero): Call memset for performance.
12593 2015-02-27  John David Anglin  <dave.anglin@bell.net>
12595         [BZ #18068]
12596         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
12597         to 00100000.
12599 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
12601         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
12603 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
12605         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
12606         (__kernel_standard): Use CSTR macro when setting exc.name.
12607         * sysdeps/ieee754/Makefile [$(subdir) = math]
12608         (CFLAGS-k_standard.c): Remove variable.
12610         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
12611         setting p and q from "else if" to "else".
12612         (qzero): Likewise.
12613         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
12614         (qone): Likewise.
12615         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
12616         (qzerof): Likewise.
12617         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
12618         (qonef): Likewise.
12619         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
12620         (qzero): Likewise.
12621         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
12622         (qone): Likewise.
12624         [BZ #18038]
12625         [BZ #18039]
12626         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
12627         return pi/2 for arguments below 0x1p-113L.
12628         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
12629         return pi/2 for arguments below 0x1p-106L.
12630         * math/auto-libm-test-in: Add more tests of acos.
12631         * math/auto-libm-test-out: Regenerated.
12633         [BZ #16351]
12634         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
12635         (MO): New macro.
12636         (__ieee754_asin): Force underflow exception for results with small
12637         absolute value.
12638         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
12639         (MO): New macro.
12640         (__ieee754_asinf): Force underflow exception for results with
12641         small absolute value.
12642         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
12643         (__ieee754_asin): Force underflow exception for results with small
12644         absolute value.
12645         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
12646         (__ieee754_asinf): Force underflow exception for results with
12647         small absolute value.
12648         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
12649         (__ieee754_asinl): Force underflow exception for results with
12650         small absolute value.
12651         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
12652         (__ieee754_asinl): Force underflow exception for results with
12653         small absolute value.
12654         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
12655         (__ieee754_asinl): Force underflow exception for results with
12656         small absolute value.
12657         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12658         Include <math.h>.
12659         * math/auto-libm-test-in: Do not mark underflow exceptions as
12660         possibly missing for bug 16351.
12661         * math/auto-libm-test-out: Regenerated.
12663         [BZ #18030]
12664         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
12665         of power of 2 down when low part has opposite sign.
12666         * math/libm-test.inc (logb_test_data): Add more tests.
12668 2015-02-26  Andreas Schwab  <schwab@suse.de>
12670         [BZ #18032]
12671         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
12672         over collating symbol inside a bracket expression.  Minor cleanup.
12673         * posix/tst-fnmatch3.c (do_test): Add test case.
12675 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
12677         [BZ #18029]
12678         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
12679         Adjust exponent of power of 2 down when low part has opposite
12680         sign.
12681         * math/libm-test.inc (ilogb_test_data): Add more tests.
12683 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
12685         [BZ #15969]
12686         * locale/findlocale.c (_nl_find_locale): Fix constness error in
12687         the previous change.
12689         [BZ #15969]
12690         * locale/findlocale.c (_nl_find_locale): Retry archive search
12691         after alias expansion.
12693 2015-02-25  Roland McGrath  <roland@hack.frob.com>
12695         * iconv/tst-iconv3.c (main): Converted to ...
12696         (do_test): ... this.
12697         (TEST_FUNCTION): New macro.
12698         Include test-skeleton.c.
12700         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
12701         (convert): Make function static.
12702         (test_unalign): Likewise.  Add const to argument pointee types.
12703         (main): Replace with static function do_test.
12704         Print "Succeeded." only if RET is zero.
12705         (TEST_FUNCTION): New macro.
12706         Include test-skeleton.c.
12708         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
12709         returns a null pointer.
12711 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12713         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
12714         to __memcpy_ppc only for static builds.
12716 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
12718         [BZ #18020]
12719         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
12720         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
12721         * math/auto-libm-test-in: Add more tests of asinh.
12722         * math/auto-libm-test-out: Regenerated.
12723         * sysdeps/i386/fpu/libm-test-ulps: Update.
12724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12726 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
12728         [BZ #15850]
12729         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
12730         and ip6_mtuinfo definitions here.
12731         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
12732         in this define too.  Update comment.
12734 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
12736         * elf/sprof.c (load_shobj): Tweak error message to match others.
12738 2015-02-24  Kevin Easton  <kevin@guarana.org>
12740         [BZ #16145] (partial fix)
12741         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
12742         to reduce lock contention.
12744 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
12746         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
12747         (struct timex): Update time comment.
12748         (ADJ_SETOFFSET): Define.
12750 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12752         [BZ #18019]
12753         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12754         2**56 not 2**28 as threshold for log (2x) formula.
12755         * math/auto-libm-test-in: Add more tests of acosh.
12756         * math/auto-libm-test-out: Regenerated.
12757         * sysdeps/i386/fpu/libm-test-ulps: Update.
12758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12760 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12762         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
12763         parenthesis around the buf assignment.
12764         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
12766 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12768         [BZ #16783]
12769         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
12770         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
12771         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
12772         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12773         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12774         * math/libm-test.inc (scalb_test_data): Add more tests.
12776 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12778         [BZ #17916]
12779         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
12780         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
12782 2015-02-24  Eric Rannaud  <e@nanocritical.com>
12784         [BZ #17523]
12785         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
12786         * io/bits/fcntl2.h (open): Use it.
12787         (openat): Likewise.
12788         * io/open.c (__libc_open): Likewise.
12789         * io/open64.c (__libc_open64): Likewise.
12790         * io/open64_2.c (__open64_2): Likewise.
12791         * io/open_2.c (__open_2): Likewise.
12792         * io/openat.c (__openat): Likewise.
12793         * io/openat64.c (__openat64): Likewise.
12794         * io/openat64_2.c (__openat64_2): Likewise.
12795         * io/openat_2.c (__openat_2): Likewise.
12796         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
12797         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12798         * sysdeps/posix/open64.c (__libc_open64): Likewise.
12799         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12800         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12801         (__open_nocancel): Likewise.
12802         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12803         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12804         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
12806 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12808         [BZ #14841]
12809         * resolv/gethnamaddr.c (getanswer): Skip logging if
12810         RES_USE_DNSSEC is set.
12811         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12813 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12815         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
12817 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
12819         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12820         201304L, for Unicode 7.
12822 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
12824         [BZ #17836]
12825         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
12826         shared library.  Add gmon-start.os otherwise.
12827         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
12828         $(objpfx)gmon-start.os if builing shared library.
12829         ($(objpfx)g$(static-start-installed-name)): Likewise.
12831 2015-02-23  Andreas Schwab  <schwab@suse.de>
12833         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
12835 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12837         [BZ #17269]
12838         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
12839         (enlarge_userbuf): Likewise.
12841 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
12843         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
12844         * math/atest-exp.c (TIMEOUT): Adjust to 200.
12845         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
12846         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
12848 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
12850         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
12851         expression inside statement expression.
12853 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12855         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
12856         <sysdeps/nptl/lowlevellock.h> and remove macros and
12857         functions that are now defined there.
12858         (SYS_futex): Remove.
12859         (lll_compare_and_swap): Remove.
12860         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
12862 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
12864         [BZ #17999]
12865         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
12866         instead of scandirat.
12867         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
12868         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
12869         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
12870         __scandirat.
12871         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
12872         (__scandirat): Declare.  Use libc_hidden_proto.
12873         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
12874         Remove variable.
12875         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12877 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12879         [BZ #15319]
12880         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
12881         (MO): New macro.
12882         (__ieee754_atan2): For results with small absolute value, force
12883         underflow exception and remove excess range and precision from
12884         return value.
12885         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
12886         (MO): New macro.
12887         (__ieee754_atan2f): For results with small absolute value, force
12888         underflow exception and remove excess range and precision from
12889         return value.
12890         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
12891         (MO): New macro.
12892         (__atan): For results with small absolute value, force underflow
12893         exception and remove excess range and precision from return value.
12894         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
12895         (MO): New macro.
12896         (__atanf): For results with small absolute value, force underflow
12897         exception and remove excess range and precision from return value.
12898         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
12899         <math.h>.
12900         (__ieee754_atan2): Force underflow exception for results with
12901         small absolute value.
12902         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
12903         <math_private.h>.
12904         (atan): Force underflow exception for results with small absolute
12905         value.
12906         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
12907         (__atanf): Force underflow exception for results with small
12908         absolute value.
12909         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
12910         <math.h>.
12911         (__atanl): Force underflow exception for results with small
12912         absolute value.
12913         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
12914         (__atanl): Force underflow exception for results with small
12915         absolute value.
12916         * sysdeps/x86/fpu/bits/mathinline.h
12917         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
12918         (__ieee754_atan2): Only define inline for long double.
12919         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12920         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
12921         * math/auto-libm-test-in: Do not mark underflow exceptions as
12922         possibly missing for bug 15319.  Add more tests of atan2.
12923         * math/auto-libm-test-out: Regenerated.
12924         * math/libm-test.inc (casin_test_data): Do not mark underflow
12925         exceptions as possibly missing for bug 15319.
12926         (casinh_test_data): Likewise.
12927         * sysdeps/i386/fpu/libm-test-ulps: Update.
12929 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
12931         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
12932         * sysdeps/mips/bits/endian.h: Fix comments.
12934 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12936         [BZ #17996]
12937         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
12938         (hdestroy_r): Likewise.
12939         (hsearch_r): Likewise.
12940         (__hcreate_r): Declare and use libc_hidden_proto.
12941         (__hdestroy_r): Likewise.
12942         (__hsearch_r): Likewise.
12943         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
12944         (hcreate): Call __hcreate_r instead of hcreate_r.
12945         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
12946         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
12947         as weak alias of __hcreate_r.
12948         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
12949         __hdestroy_r.
12950         (hsearch_r): Rename to __hsearch_r and define as weak alias of
12951         __hsearch_r.
12952         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
12953         Remove variable.
12954         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12955         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12956         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12957         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12959 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12961         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
12962         arena_lock into a single arena_get.
12964 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
12966         * dl-reloc.c: Inlucde libc-internal.h.
12967         (_dl_try_allocate_static_tls): Call ALIGN_UP.
12968         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
12969         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
12970         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
12971         (grow_heap): Likewise.
12972         * malloc/malloc.c: Include libc-internal.h.
12973         (do_check_malloc): Call powerof2.
12974         (sysmalloc): Use pagesize. Call ALIGN_UP.
12975         (systrim): Use pagesize.
12976         (mremap_chunk): Use pagesize. Call ALIGN_UP.
12977         (__libc_valloc): Use pagesize.
12978         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
12980 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12982         [BZ #17991]
12983         * include/sys/resource.h (__getrlimit64): Declare.  Use
12984         libc_hidden_proto.
12985         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
12986         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
12987         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
12988         getrlimit64.
12989         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
12990         __getrlimit64.
12991         [!getrlimit64] (getrlimit64): Define as weak alias of
12992         __getrlimit64.  Use libc_hidden_weak.
12993         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
12994         using __getrlimit64 not __new_getrlimit64.
12995         (__GI_getrlimit64): Likewise.
12996         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
12997         Likewise.
12998         (__GI_getrlimit64): Likewise.
12999         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
13000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
13001         (getrlimit): Add __getrlimit64 alias.
13002         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
13003         Likewise.
13004         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
13005         Remove variable.
13006         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13007         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13009 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13011         * libio/fileops.c: Add missing sys/mman.h
13012         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
13014 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13016         * manual/math.texi (Errors in Math Functions): Clarify goals
13017         regarding inexact and underflow exceptions.
13019 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13021         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
13022         * sysdeps/mips/memset.S: Ditto.
13024 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13026         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
13028 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13030         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13031         (__v1longjmp): Remove versioned symbol.
13032         (__v1siglongjmp): Remove alias and versioned symbol.
13033         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
13034         (__v2siglongjmp): Likewise.
13036 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13038         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
13040 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
13042         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
13044 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13046         [BZ #17987]
13047         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
13048         zero result does not depend on the sign resulting from
13049         subtraction.
13050         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13051         Likewise.
13052         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13053         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13054         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13055         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13056         * math/libm-test.inc (remquo_test_data): Add more tests.
13058 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
13060         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
13061         Problem reported by J William Piggott.
13063 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13065         [BZ #17978]
13066         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
13067         products 4 * y and 2 * y where those would overflow.
13068         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13069         Likewise.
13070         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13071         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13072         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13073         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13074         * math/libm-test.inc (remquo_test_data): Add more tests.
13076         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
13078         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
13079         [defined _COMPILING_NEWLIB].
13080         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
13081         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
13083         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
13084         [!defined __mips_isa_rev || __mips_isa_rev < 6].
13086 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13088         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
13089         acquired.
13091 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
13093         [BZ #17792]
13094         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
13095         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
13096         HOST_STACK_END_ADDR): Likewise.
13098 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
13100         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
13101         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
13102         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
13104 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13106         * sysdeps/generic/c++-types.data: New file.
13107         * sysdeps/generic/ld.abilist: New file.
13108         * sysdeps/generic/libBrokenLocale.abilist: New file.
13109         * sysdeps/generic/libanl.abilist: New file.
13110         * sysdeps/generic/libc.abilist: New file.
13111         * sysdeps/generic/libcrypt.abilist: New file.
13112         * sysdeps/generic/libdl.abilist: New file.
13113         * sysdeps/generic/libm.abilist: New file.
13114         * sysdeps/generic/libpthread.abilist: New file.
13115         * sysdeps/generic/libresolv.abilist: New file.
13116         * sysdeps/generic/librt.abilist: New file.
13118 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13120         [BZ #17569]
13121         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13122         Compute absolute value of x as modified by fmod, not original
13123         value of x.
13124         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
13125         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
13126         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
13127         RUN_TEST_ffI_f1_mod8.
13128         (remquo_test_data): Add more tests.
13130 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13132         * sysdeps/init_array/pt-crti.S: New file.
13134 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13136         [BZ #17967]
13137         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
13138         __builtin_fmaf instead of relying on contraction of a * b + c.
13140 2015-02-12  J William Piggott  <elseifthen@gmx.com>
13142         [BZ #17969]
13143         * manual/time.texi: correct the zoneinfo path in the TZ Variable
13144         node.
13146 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13148         [BZ #17964]
13149         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
13150         __builtin_fma instead of relying on contraction of a * b + c.
13152 2015-02-12  Roland McGrath  <roland@hack.frob.com>
13154         * Makeconfig (ASFLAGS): Add -Werror=undef.
13155         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
13156         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
13157         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
13159         * Makeconfig (after-link): New variable.
13160         (+link-pie, +link-pie-tests): Use it.
13161         (+link-static, +link-static-tests): Likewise.
13162         (+link, +link-tests): Likewise.
13163         * Makerules (build-module, build-module-asneeded): Likewise.
13164         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
13165         Likewise.
13166         * elf/Makefile ($(objpfx)ld.so): Likewise.
13168 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
13170         [BZ #17965]
13171         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
13172         both struct timeval and struct timespec.
13174 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13176         [BZ #16560]
13177         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13178         and redefine.
13179         (__ieee754_exp2l): Do not multiply small fractional parts by
13180         M_LN2l.
13181         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
13182         small argument.
13183         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13184         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13185         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
13186         * math/auto-libm-test-in: Add more tests of exp2.
13187         * math/auto-libm-test-out: Regenerated.
13189 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13191         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
13192         unaligned path.
13194 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13196         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
13197         little endian.
13199 2015-02-12  Andreas Schwab  <schwab@suse.de>
13201         [BZ #15790]
13202         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13203         Filter out elision flags from value returned in kind.
13204         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
13205         * nptl/tst-pthread-mutexattr.c: New file.
13207 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13209         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
13210         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
13211         into gnu-gnu, and update comment to refer to abi-tags.
13213 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
13215         [BZ #15467]
13216         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
13217         (__sincos): Set errno to EDOM for infinite argument.
13218         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
13219         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
13220         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
13221         (__sincosl): Set errno to EDOM for infinite argument.
13222         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
13223         (__sincosl): Set errno to EDOM for infinite argument.
13224         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
13225         (__sincosl): Set errno to EDOM for infinite argument.
13226         * math/libm-test.inc (sincos_test_data): Test errno setting.
13228 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
13230         * string/strxfrm_l.c: Remove #define STRCMP.
13231         * string/strcoll_l.c: Remove #define STRLEN.
13232         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
13233         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
13235 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
13237         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
13238         * sysdeps/mips/mips32/sfp-machine.h: ... here.
13239         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
13240         * sysdeps/mips/mips64/Makefile: ... here.
13241         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
13242         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
13243         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
13244         * sysdeps/mips/mips64/sfp-machine.h: ... here.
13245         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
13246         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
13247         * sysdeps/mips/mips64/n64/Implies: Likewise.
13249 2015-02-10  Roland McGrath  <roland@hack.frob.com>
13251         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
13252         <sys/time.h>, <string.h>, and <errno.h>.
13253         (dest_offset, dest_address, value, zero): Remove unused variables.
13254         (ldouble): Remove typedef.
13255         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
13256         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
13257         1).  Fix code style.
13258         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
13259         (check): Function removed.
13260         (CHECK): New macro.
13261         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
13262         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
13263         Don't call set_sigaction_FP and remove_sigaction_FP here.
13264         (ldouble_test): Just use 'long double' as macro argument, no need for
13265         the 'ldouble' typedef.
13266         (do_test): Set up SIGFPE handler at start, using plain signal rather
13267         than sigaction.  Fix code style.
13269 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
13271         [BZ #17949]
13272         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
13273         jump label.
13275 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13277         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
13278         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13280         * sysdeps/powerpc/configure.ac: Remove file.
13281         * sysdeps/powerpc/configure: Likewise.
13283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13284         [sysdep_routines]: Remove wordcopy-power6 object.
13285         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13286         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
13287         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
13288         (__memmove_ppc32): Likewise.
13289         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
13290         file.
13291         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
13292         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
13293         Remove preprocessor.
13295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13296         [sysdep_routines]: Remove wide chars objects.
13297         [wcsmbs]: New rule for wide char objects.
13299         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13300         Remove wordcopy-power6 obejct.
13301         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
13302         Use local call for wordcopy and memcpy symbols.
13303         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
13304         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
13305         implementation for loader.
13306         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
13308         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13309         Remove wordcopy-power7 object.
13310         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
13311         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
13312         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
13313         (_wordcopy_fwd_dest_aligned): Likewise.
13314         (_wordcopy_bwd_aligned): Likewise.
13315         (_wordcopy_bwd_dest_aligned): Likewise.
13317         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
13318         Rewrite to call __memmove_ppc instead of include default
13319         implementation.
13321         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13322         Remove wide chars objects.
13323         [wcsmbs]: New rule for wide char objects.
13325 2015-02-09  Andreas Schwab  <schwab@suse.de>
13327         [BZ #17912]
13328         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13329         in terms of __O_DIRECTORY.
13331 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13333         * time/getdate.c: Include <stdbool.h>.
13334         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
13335         call PTR_MANGLE.
13336         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
13337         PTR_DEMANGLE.
13339 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
13341         Add ersatz _Static_assert on older C hosts
13342         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
13343         pre-C11 C platform that is not known to support _Static_assert.
13345 2015-02-07  Richard Braun  <rbraun@sceen.net>
13347         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
13348         sigstate.
13349         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
13351 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13353         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
13354         priority against unexistent AIO_PRIO_DELTA_MAX.
13355         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
13356         instead of int.
13357         * misc/fchflags.c (fchflags): Likewise.
13358         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
13359         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
13360         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
13361         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
13362         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
13363         Declare macros.
13364         [__USE_MISC] (chflags, fchflags): Declare functions.
13365         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
13366         EINVAL when nfds is greater than FD_SETSIZE.
13367         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
13368         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
13369         45.
13370         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
13371         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
13372         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
13373         MACH_RCV_TIMED_OUT.
13374         * hurd/hurd/signal.h (_hurd_self_sigstate,
13375         _hurd_critical_section_lock, _hurd_critical_section_unlock):
13376         Explicit casts from void *.
13377         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
13378         * abi-tags: Rename gnu-gnu os into gnu.
13380         [BZ #4719]
13381         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
13382         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
13383         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
13384         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
13385         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
13386         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
13388         [BZ #17944]
13389         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
13390         duplicates ADDR->sun_path with sockaddr LEN limitation.
13391         * sysdeps/mach/hurd/connect.c: Include <string.h>
13392         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
13393         * sysdeps/mach/hurd/sendmsg.c: Likewise.
13394         * sysdeps/mach/hurd/sendto.c: Likewise.
13395         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
13396         implementing it by hand.
13398 2015-02-06  Roland McGrath  <roland@hack.frob.com>
13400         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
13401         Use sfi_breg on ldr.
13402         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
13403         Likewise.
13405         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
13406         it's defined.
13407         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
13408         Test SIGSETXID only if it's defined.
13410         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
13412         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
13413         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
13415         * nptl/tst-align2.c: Moved ...
13416         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
13417         * nptl/Makefile (tests): Remove tst-align2.
13418         * sysdeps/unix/sysv/linux/Makefile
13419         [$(subdir) = nptl] (tests): Add tst-align-clone.
13420         * nptl/tst-getpid1.c: Moved ...
13421         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
13422         * nptl/tst-getpid2.c: Moved ...
13423         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
13424         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
13425         * sysdeps/unix/sysv/linux/Makefile
13426         [$(subdir) = nptl] (tests): ... here.
13427         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
13428         * sysdeps/unix/sysv/linux/Makefile
13429         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
13431         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
13432         Drop trailing \n from perror argument.  Use return rather than exit.
13434         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
13435         on [SA_SIGINFO].
13436         * nptl/tst-cancel21.c (do_test): Likewise.
13437         * debug/tst-backtrace6.c: Include <signal.h> first thing.
13438         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
13439         [!SA_SIGINFO]: Make it a stub test.
13441         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
13442         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
13444         * posix/tst-getlogin.c: Move to ...
13445         * login/tst-getlogin.c: ... here.
13446         * posix/Makefile (tests): Move tst-getlogin to ...
13447         * login/Makefile (tests): ... here.
13449         * libio/tst-atime.c (do_test): Move local variables SV and E
13450         inside [ST_NOATIME] conditional.
13452         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
13454         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
13456         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
13457         (wait_code): New function replaces macro.
13458         Call nanosleep rather than syscall.
13460         * nptl/pt-system.c: Rewritten.  Put everything under
13461         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13462         Use IFUNC to redirect when possible.
13464         * nptl/pt-longjmp.c: Rewritten.  Put everything under
13465         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13466         Use IFUNC to redirect when possible.
13468         * nptl/pt-fork.c: Rewritten.  Put everything under
13469         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13470         Use IFUNC to redirect when possible.
13471         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
13473         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
13474         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
13475         unconditionally nowadays.  This included the only reference to
13476         __vdso_clock_gettime that appears outside libc proper.
13477         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
13478         Remove version set (containing only __vdso_clock_gettime).
13479         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13480         Add attribute_hidden.
13481         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13482         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
13483         libc_hidden_data_def.
13484         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13485         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13487         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
13488         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
13489         setrpcent, and getrpcport to ...
13490         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
13491         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
13492         getrpcbynumber_r, and getrpcent_r to ...
13493         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
13494         * inet/getrpcbyname.c: Moved ...
13495         * sunrpc/getrpcbyname.c: ... here.
13496         * inet/getrpcbyname_r.c: Moved ...
13497         * sunrpc/getrpcbyname_r.c: ... here.
13498         * inet/getrpcbynumber.c: Moved ...
13499         * sunrpc/getrpcbynumber.c: ... here.
13500         * inet/getrpcbynumber_r.c: Moved ...
13501         * sunrpc/getrpcbynumber_r.c: ... here.
13502         * inet/getrpcent.c: Moved ...
13503         * sunrpc/getrpcent.c: ... here.
13504         * inet/getrpcent_r.c: Moved ...
13505         * sunrpc/getrpcent_r.c: ... here.
13506         * inet/Makefile (routines): Move those to ...
13507         * sunrpc/Makefile (routines): ... here.
13508         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
13509         the $(subdirs) list.
13510         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
13511         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
13512         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
13513         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
13515         * elf/Makefile (routines): Include $(all-dl-routines), not just
13516         $(dl-routines).
13517         (rtld-routines): Likewise.  Use = rather than :=.
13518         * sysdeps/aarch64/Makefile [$(subdir) = elf]
13519         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
13520         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
13521         * sysdeps/arm/Makefile: Likewise.
13522         * sysdeps/i386/Makefile: Likewise.
13523         * sysdeps/x86_64/Makefile: Likewise.
13524         * sysdeps/hppa/Makefile [$(subdir) = elf]
13525         (sysdep_routines, sysdep-rtld-routines): Don't add
13526         $(sysdep-dl-routines) to these.
13527         * sysdeps/ia64/Makefile: Likewise.
13528         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
13529         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
13530         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
13531         Don't add dl-static to these; sysdep-dl-routines alone is enough.
13532         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
13533         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
13534         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
13535         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
13536         * sysdeps/powerpc/Makefile [$(subdir) = elf]
13537         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
13538         these; sysdep-dl-routines alone is enough.
13540 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
13542         [BZ #17932]
13543         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
13544         where multiplication results in zero and third argument is finite
13545         and nonzero.
13546         * math/auto-libm-test-in: Add more tests of fma.
13547         * math/auto-libm-test-out: Regenerated.
13549         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
13550         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
13551         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
13552         (_FP_CMP_EQ): Likewise.
13553         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
13555         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
13556         extra argument CHECK_NAN.  Redefine as wrapper around
13557         _FP_EXTEND_CNAN.
13559 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
13561         * version.h (RELEASE): Set to "stable".
13562         (VERSION): Set to "2.21"
13563         * include/features.h (__GLIBC_MINOR__): Set to 21.
13565         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
13567 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13568             Paul Eggert  <eggert@cs.ucla.edu>
13570         [BZ #16618]
13571         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
13572         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
13573         size in bytes. Store needed elements in wpmax. Use needed size
13574         in bytes for extend_alloca.
13576 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
13578         * manual/install.texi: Latest tested versions are GCC 4.9.2,
13579         binutls 2.25, and texinfo 5.2.
13580         * INSTALL: Regenerate.
13581         * sysdeps/nios2/configure: Regenerate.
13582         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
13583         * manual/contrib.texi: Update.
13584         * po/be.po: Update.
13585         * po/bg.po: Update.
13586         * po/ca.po: Update.
13587         * po/cs.po: Update.
13588         * po/da.po: Update.
13589         * po/de.po: Update.
13590         * po/el.po: Update.
13591         * po/eo.po: Update.
13592         * po/es.po: Update.
13593         * po/fi.po: Update.
13594         * po/fr.po: Update.
13595         * po/gl.po: Update.
13596         * po/hr.po: Update.
13597         * po/hu.po: Update.
13598         * po/ia.po: Update.
13599         * po/id.po: Update.
13600         * po/it.po: Update.
13601         * po/ja.po: Update.
13602         * po/ko.po: Update.
13603         * po/lt.po: Update.
13604         * po/nb.po: Update.
13605         * po/nl.po: Update.
13606         * po/pl.po: Update.
13607         * po/pt_BR.po: Update.
13608         * po/ru.po: Update.
13609         * po/rw.po: Update.
13610         * po/sk.po: Update.
13611         * po/sl.po: Update.
13612         * po/sv.po: Update.
13613         * po/tr.po: Update.
13614         * po/uk.po: Update.
13615         * po/vi.po: Update.
13616         * po/zh_CN.po: Update.
13617         * po/zh_TW.po: Update.
13619         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
13620         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
13621         * sysdeps/hppa/dl-irel.h: Remove #warning.
13622         * sysdeps/hppa/entry.h: Provide prototype for
13623         __canonicalize_funcptr_for_compare and cast argument.
13624         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
13625         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
13626         * sysdeps/hppa/sotruss-lib.c: New file.
13627         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
13628         (atomic_compare_and_exchange_val_acq): Use __typeof__.
13629         (atomic_compare_and_exchange_bool_acq): Likewise.
13630         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
13631         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
13633         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
13634         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
13635         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
13637 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
13639         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
13640         called function in non-PIC case.
13642 2015-01-31  David S. Miller  <davem@davemloft.net>
13644         * sysdeps/sparc/sparc32/bits/atomic.h
13645         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
13646         unlock not after it.
13647         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
13648         volatile register usage warnings from the compiler.
13650         * sysdeps/sparc/nptl/sem_init.c: Delete.
13651         * sysdeps/sparc/nptl/sem_post.c: Delete.
13652         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
13653         * sysdeps/sparc/nptl/sem_wait.c: Delete.
13654         * sysdeps/sparc/sparc32/sem_init.c: New file.
13655         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
13656         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
13657         padding explicitly initialized.
13658         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
13659         padding for in-semaphore spinlock.
13660         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
13661         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
13662         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
13663         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
13664         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
13665         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
13666         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
13667         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
13668         version.
13669         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
13670         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
13672 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
13674         [BZ #17801]
13675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13676         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
13677         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
13678         New.
13679         (index_AVX_Fast_Unaligned_Load): Likewise.
13680         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
13681         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
13682         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
13683         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
13684         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
13685         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
13686         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
13687         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
13688         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
13690 2015-01-29  Andreas Schwab  <schwab@suse.de>
13692         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
13694 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
13696         [BZ #17892]
13697         * nscd/nscd_stat.c (send_stats): Initialize DATA.
13699 2015-01-28  Martin Sebor  <msebor@redhat.com>
13701         * math/README.libm-test: Clarify. Add "How to read the test output."
13703 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
13705         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
13706         Define to 0.
13708 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
13710         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
13711         (__HAVE_64B_ATOMICS): Define to 0.
13713 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13715         [BZ #17885]
13716         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
13717         value to set as new flag.
13719         [BZ #16576]
13720         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
13721         and use _ARCH_PPCSQ instead.
13722         (__ieee754_sqrt): Likewise.
13723         (__ieee754_sqrtf): Likewise.
13724         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
13725         _ARCH_PPCSQ is defined.
13726         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
13727         fsqrt instruction.
13728         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
13729         _ARCH_PPCSQ is defined.
13730         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
13731         fsqrts instruction.
13732         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
13734 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13736         * iconv/loop.c: Suppress array out of bound warning caused by GCC
13737         bug (GCC BZ #64739).
13739 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
13741         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
13742         Mark _retval as used.
13743         (lll_futex_wake_unlock): Likewise.
13744         (lll_futex_timed_wait_requeue_pi): Likewise.
13746         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13747         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
13748         register variables.
13750         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
13751         libm_hidden_def.
13753         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
13754         (__bswap_64): Mark as __always_inline.
13756 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
13758         [BZ #15378]
13759         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
13760         when none of the search directories exist.
13762 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13764         [BZ #17869]
13765         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
13766         power8 in .machine directive.
13768         [BZ #17868]
13769         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
13770         set dependency from opd value.
13772 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13774         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13775         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
13776         architecture.
13778 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13780         [BZ #17870]
13781         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
13782         with uint64_t.
13783         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
13784         (uint64_t) 1.
13785         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
13786         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
13787         Replace 1UL with (uint64_t) 1.
13788         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
13789         int with uint64_t.
13791 2015-01-23  Roland McGrath  <roland@hack.frob.com>
13793         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
13794         (if_freenameindex): Likewise.
13796         * resource/getrlimit64.c: Add missing libc_hidden_def.
13798 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
13800         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
13801         __label__.
13802         (_FP_FMA): Likewise.
13803         (_FP_TO_INT_ROUND): Likewise.
13804         (_FP_FROM_INT): Likewise.
13806 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13808         [BZ #16418]
13809         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
13810         Make code racy and cancel safe.
13812 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
13814         * sysdeps/arm/unwind-resume.h: Fix copyright year.
13815         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
13816         attribution.
13818         * pwd/tst-getpw.c: Rewrite.
13820         [BZ #17702]
13821         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
13822         (modules-names): Add moddummy1 and moddummy2.
13823         ($(objpfx)tst-rec-dlopen): Define.
13824         * dlfcn/moddummy1.c: New file.
13825         * dlfcn/moddummy2.c: New file.
13826         * dlfcn/tst-rec-dlopen.c: New file.
13827         * elf/dl-cache.c (_dl_load_cache_lookup):
13828         Return char*. Copy result with alloca/strcpy/strdup.
13829         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
13830         returns char*. Free cached. If not saving realname
13831         free cached.
13832         * elf/dl-open.c (dl_open_worker): Do not assert that
13833         _r_debug->r_state is RT_CONSISTENT.
13834         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
13835         returns char*.
13837 2015-01-21  Torvald Riegel  <triegel@redhat.com>
13838             Carlos O'Donell  <carlos@redhat.com>
13840         [BZ #12674]
13841         * nptl/sem_waitcommon.c: New file.
13842         * nptl/sem_wait.c: Include sem_waitcommon.c.
13843         (__sem_wait_cleanup, do_futex_wait): Remove.
13844         (__new_sem_wait): Adapt.
13845         (__new_sem_trywait): New function.
13846         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
13847         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
13848         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
13849         (sem_timedwait): Adapt.
13850         * nptl/sem_post.c (__new_sem_post): Adapt.
13851         (futex_wake): New function.
13852         (__old_sem_post): Add release MO fence.
13853         * nptl/sem_open.c (sem_open): Adapt.
13854         * nptl/sem_init.c (__new_sem_init): Adapt.
13855         (futex_private_if_supported): New function.
13856         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
13857         (__old_sem_getvalue): Add using previous code.
13858         * sysdeps/nptl/internaltypes.h: Adapt.
13859         * nptl/tst-sem13.c (do_test): Adapt.
13860         * nptl/tst-sem11.c (main): Adapt.
13861         * nptl/sem_trywait.c: Remove.
13862         * nptl/DESIGN-sem.txt: Remove.
13863         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
13864         (gen-as-const-headers): Remove structsem.sym.
13865         * nptl/structsem.sym: Remove.
13866         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
13867         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
13868         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
13869         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
13870         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
13871         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
13872         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
13873         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
13874         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
13875         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
13876         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
13877         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
13878         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
13879         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
13880         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
13881         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
13882         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
13883         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
13884         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
13885         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
13886         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
13887         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
13889 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
13891         * INSTALL: Regenerated.
13893         * po/libc.pot: Regenerated.
13895 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
13896             Sandra Loosemore  <sandra@codesourcery.com>
13897             Andrew Jenner  <andrew@codesourcery.com>
13898             Joseph Myers  <joseph@codesourcery.com>
13899             Nathan Sidwell  <nathan@codesourcery.com>
13901         * NEWS: Mention new Nios II port.
13902         * sysdeps/nios2/Implies: New file.
13903         * sysdeps/nios2/Makefile: New file.
13904         * sysdeps/nios2/Subdirs: New file.
13905         * sysdeps/nios2/Versions: New file.
13906         * sysdeps/nios2/__longjmp.S: New file.
13907         * sysdeps/nios2/abort-instr.h: New file.
13908         * sysdeps/nios2/backtrace.c: New file.
13909         * sysdeps/nios2/bits/endian.h: New file.
13910         * sysdeps/nios2/bits/fenv.h: New file.
13911         * sysdeps/nios2/bits/link.h: New file.
13912         * sysdeps/nios2/bits/setjmp.h: New file.
13913         * sysdeps/nios2/bsd-_setjmp.S: New file.
13914         * sysdeps/nios2/bsd-setjmp.S: New file.
13915         * sysdeps/nios2/configure: New generated file.
13916         * sysdeps/nios2/configure.ac: New file.
13917         * sysdeps/nios2/crti.S: New file.
13918         * sysdeps/nios2/crtn.S: New file.
13919         * sysdeps/nios2/dl-init.c: New file.
13920         * sysdeps/nios2/dl-machine.h: New file.
13921         * sysdeps/nios2/dl-sysdep.h: New file.
13922         * sysdeps/nios2/dl-tls.h: New file.
13923         * sysdeps/nios2/dl-trampoline.S: New file.
13924         * sysdeps/nios2/gccframe.h: New file.
13925         * sysdeps/nios2/gmp-mparam.h: New file.
13926         * sysdeps/nios2/jmpbuf-offsets.h: New file.
13927         * sysdeps/nios2/jmpbuf-unwind.h: New file.
13928         * sysdeps/nios2/ldsodefs.h: New file.
13929         * sysdeps/nios2/libc-tls.c: New file.
13930         * sysdeps/nios2/libm-test-ulps: New file.
13931         * sysdeps/nios2/machine-gmon.h: New file.
13932         * sysdeps/nios2/math-tests.h: New file.
13933         * sysdeps/nios2/math_private.h: New file.
13934         * sysdeps/nios2/memusage.h: New file.
13935         * sysdeps/nios2/nptl/Makefile: New file.
13936         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
13937         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
13938         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
13939         * sysdeps/nios2/nptl/pthreaddef.h: New file.
13940         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
13941         * sysdeps/nios2/nptl/tls.h: New file.
13942         * sysdeps/nios2/preconfigure: New file.
13943         * sysdeps/nios2/s_fma.c: New file.
13944         * sysdeps/nios2/s_fmaf.c: New file.
13945         * sysdeps/nios2/setjmp.S: New file.
13946         * sysdeps/nios2/sfp-machine.h: New file.
13947         * sysdeps/nios2/sotruss-lib.c: New file.
13948         * sysdeps/nios2/stackguard-macros.h: New file.
13949         * sysdeps/nios2/stackinfo.h: New file.
13950         * sysdeps/nios2/start.S: New file.
13951         * sysdeps/nios2/sysdep.h: New file.
13952         * sysdeps/nios2/tls-macros.h: New file.
13953         * sysdeps/nios2/tst-audit.h: New file.
13954         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
13955         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
13956         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
13957         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
13958         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
13959         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
13960         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
13961         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
13962         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
13963         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
13964         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
13965         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
13966         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
13967         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
13968         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
13969         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
13970         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
13971         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
13972         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
13973         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
13974         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
13975         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
13976         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
13977         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
13978         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
13979         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
13980         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
13981         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
13982         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
13983         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
13984         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
13985         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
13986         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
13987         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
13988         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
13989         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
13990         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
13991         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
13992         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
13993         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
13994         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
13995         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
13996         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
13997         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
13999 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14001         [BZ #17844]
14002         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
14003         (getutent): Use weak_alias in non SHARED case
14004         and default_symbol_version in SHARED case.
14005         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
14006         (getutent_r, pututline): Likewise.
14007         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
14008         (getutid): Likewise.
14009         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
14010         (getutid_r): Likewise.
14011         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14012         (getutline): Likewise.
14013         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
14014         (getutline_r): Likewise.
14015         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
14016         (updwtmp): Likewise.
14018 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14020         [BZ #17848]
14021         * sysdeps/s390/s390-32/memcmp.S
14022         (memcmp_g5): Rename to __memcmp_g5.
14023         * sysdeps/s390/s390-32/memcpy.S
14024         (memcpy_g5): Rename to __memcpy_g5.
14025         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14026         (memcpy_mvcle) Rename to __memcpy_mvcle.
14027         * sysdeps/s390/s390-32/memset.S
14028         (memset_g5): Rename to __memset_g5.
14029         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14030         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14031         and use prefixed functions.
14032         * sysdeps/s390/s390-32/multiarch/memcmp.S
14033         (memcmp_z196): Rename to __memcmp_z196.
14034         (memcmp_z10): Rename to __memcmp_z10.
14035         (memcmp): Set alias to __memcmp_g5.
14036         (bcmp): Set alias to __memcmp_g5.
14037         * sysdeps/s390/s390-32/multiarch/memcpy.S
14038         (memcpy_z196): Rename to __memcpy_z196.
14039         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14040         (memcpy_z10): Rename to __memcpy_z10.
14041         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14042         (memcpy): Set alias to __memcpy_g5.
14043         * sysdeps/s390/s390-32/multiarch/memset.S
14044         (memset_z196): Rename to __memset_z196.
14045         Jump to __memset_mvcle instead of memset_mvcle.
14046         (memset_z10): Rename to __memset_z10.
14047         Jump to __memset_mvcle instead of memset_mvcle.
14048         (memset_mvcle) Rename to __memset_mvcle.
14049         (memset): Set alias to __memset_g5.
14050         * sysdeps/s390/s390-64/memcmp.S
14051         (memcmp_z900): Rename to __memcmp_z900.
14052         * sysdeps/s390/s390-64/memcpy.S
14053         (memcpy_z900): Rename to __memcpy_z900.
14054         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14055         (memcpy_mvcle) Rename to __memcpy_mvcle.
14056         * sysdeps/s390/s390-64/memset.S
14057         (memset_z900): Rename to __memset_z900.
14058         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
14059         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14060         and use prefixed functions.
14061         * sysdeps/s390/s390-64/multiarch/memcmp.S
14062         (memcmp_z196): Rename to __memcmp_z196.
14063         (memcmp_z10): Rename to __memcmp_z10.
14064         (memcmp): Set alias to __memcmp_z900.
14065         (bcmp): Set alias to __memcmp_z900.
14066         * sysdeps/s390/s390-64/multiarch/memcpy.S
14067         (memcpy_z196): Rename to __memcpy_z196.
14068         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14069         (memcpy_z10): Rename to __memcpy_z10.
14070         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14071         (memcpy): Set alias to __memcpy_z900.
14072         * sysdeps/s390/s390-64/multiarch/memset.S
14073         (memset_z196): Rename to __memset_z196.
14074         Jump to __memset_mvcle instead of memset_mvcle.
14075         (memset_z10): Rename to __memset_z10.
14076         Jump to __memset_mvcle instead of memset_mvcle.
14077         (memset_mvcle) Rename to __memset_mvcle.
14078         (memset): Set alias to __memset_z900.
14080 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
14082         [BZ #17748]
14083         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
14084         __fesetenv instead of fesetenv.
14086 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14088         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
14089         macro.
14091 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14093         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
14094         regression on LE.
14096         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
14097         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
14098         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14099         strncmp-power8 object.
14100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14101         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
14102         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
14103         * NEWS: Update.
14105 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14106             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14108         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
14109         trailing byte check.
14111 2015-01-13  David S. Miller  <davem@davemloft.net>
14113         * include/signal.h (__sigreturn): Guard with __USE_MISC.
14115 2015-01-13  Roland McGrath  <roland@hack.frob.com>
14117         * login/logout.c (logout): Use memset rather than bzero.
14118         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
14119         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
14120         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
14121         (_gethtbyaddr): Likewise.
14122         * locale/programs/simple-hash.c (bcopy): Macro removed.
14124 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14126         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14127         Add strcmp-power8 object.
14128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14129         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
14130         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
14131         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
14132         __strcmp_power8 implementation.
14133         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
14134         * NEWS: Update.
14136         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14137         Add strncpy-power8 and stpncpy-power8 objects.
14138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14139         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
14140         implementations.
14141         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
14142         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
14143         __stpncpy_power8 implementation.
14144         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
14145         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
14146         __strncpy_power8 implementation.
14147         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
14148         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
14149         * NEWS: Update.
14151         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
14152         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
14153         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
14155         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14156         strncat-power8 object.
14157         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
14158         __strcat_power8 implementation.
14159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14160         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
14161         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
14162         optimized strcat for power8.
14164         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14165         strcpy-power8 and stpcpy-power8 objects.
14166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14167         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
14168         implementations.
14169         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
14170         multiarch stpcpy implementation for POWER8.
14171         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
14172         multiarch strcpy implementation for POWER8.
14173         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
14174         __strcpy_power8 function.
14175         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
14176         stpcpy for POWER8.
14177         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
14178         strcpy for POWER8.
14179         * NEWS: Update.
14181 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
14183         [BZ #16009]
14184         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
14185         weights and rules. Use do_xfrm_cached if data fits in cache,
14186         do_xfrm otherwise.  Moved former main loop to...
14187         * (do_xfrm_cached): New function.
14188         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
14189         find_idx, find_position and stack_push.
14190         * (find_idx): New function.
14191         * (find_position): Likewise.
14192         * localedata/sort-test.sh: Added test run for do_xfrm.
14193         * localedata/xfrm-test.c (main): Added command line option
14194         -nocache to run the test with strings that are too large for
14195         the STRXFRM cache.
14197 2015-01-13  Torvald Riegel  <triegel@redhat.com>
14199         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
14200         variable to lll_futex_wake call, not the value itself.
14202 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
14204         [BZ #17803]
14205         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
14206         twom64.  Adjust value to 0x1p-64L.
14207         (__scalblnl): Only return standard underflowing result for K <=
14208         -64 not K <= -63; adjust exponent for underflowing result by 64
14209         not 63.
14210         * math/libm-test.inc (scalbn_test_data): Add more tests.
14211         (scalbln_test_data): Likewise.
14213         [BZ #17834]
14214         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
14215         0x1p63L.
14216         (__scalblnl): Get new exponent of adjusted subnormal value from ES
14217         not HX.
14218         * math/libm-test.inc (scalbn_test_data): Add more tests.
14219         (scalbln_test_data): Likewise.
14221 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14222             Stefani Seibold  <stefani@seibold.net>
14224         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
14225         (sysdep_routines): Add dl-vdso here, ...
14226         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
14227         (sysdep_routines): ... not here.
14228         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
14229         fallback when vDSO is not presented.
14230         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14231         Define with libc_hidden_proto/libc_hidden_data_def definitions.
14232         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
14233         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
14234         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
14235         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
14236         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
14237         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
14238         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
14239         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
14240         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
14241         fallback configurable symbol when vDSO is not available.
14242         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
14243         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
14244         be able to redefine fallback symbol when vDSO is not available.
14245         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
14246         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
14248 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14250         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
14251         (TLS_INIT_TP): Add tm_capable initialization.
14252         (TLS_DEFINE_INIT_TP): Likewise.
14253         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
14254         TCB.
14255         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
14256         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
14257         calculation.
14258         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
14259         transactoion is lock elision is built and TCB tm_capable is set.
14260         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
14261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14262         (INTERNAL_SYSCALL_NCS): Likewise.
14263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14264         (INTERNAL_SYSCALL_NCS): Likewise.
14265         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
14267         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
14268         for powerpc.
14269         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14270         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
14271         and remove it for 32 bits case.
14272         [pthread_rwlock_t] (__rwelision): New field for lock elision.
14273         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
14274         initialization.
14275         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
14276         Disable lock elision with rdlocks if elision is not available.
14278         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
14279         (sysdep_routines): Add lock elision objects.
14280         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14281         [pthread_mutex_t] (__spins): Rework to add lock elision field.
14282         [pthread_mutex_t] (__elision): Add field.
14283         [__PTHREAD_SPINS]: Adjust to init lock elision field.
14284         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
14285         elision definitions for powerpc.
14286         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
14287         implementation of lock elision for powerpc.
14288         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
14289         implementation of timed lock elision for powerpc.
14290         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
14291         implementation of trylock with lock elision for powerpc.
14292         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
14293         implementaion of unlock for lock elision for powerpc.
14294         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
14295         automatic enable lock elision for mutexes.
14296         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
14297         transaction execution definitions for powerpc.
14298         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
14299         definitions.
14300         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
14301         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
14302         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
14303         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
14304         * NEWS: Update.
14306 2015-01-09  Roland McGrath  <roland@hack.frob.com>
14308         * sysdeps/posix/shm-directory.c: Use <> rather than ""
14309         for #include of <shm-directory.h>.
14311 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
14313         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
14314         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
14316 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
14318         [BZ #17791]
14319         * NEWS: Mention bug fix.
14320         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
14321         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
14322         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
14324 2015-01-09  Torvald Riegel <triegel@redhat.com>
14326         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
14328 2015-01-09  Torvald Riegel <triegel@redhat.com>
14330         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
14332 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14334         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
14335         pointer and cast to uintptr_t.
14337 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14339         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
14340         removed.
14341         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
14343 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14345         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
14346         of 0.
14348 2015-01-08  Roland McGrath  <roland@hack.frob.com>
14350         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
14351         <nptl/pthreadP.h> instead.
14352         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
14354         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
14355         already defined.
14356         [__SIGRTMIN] (init): Function removed.
14357         [__SIGRTMIN] (initialized): Variable removed.
14358         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
14359         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
14360         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
14361         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
14362         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
14363         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
14364         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
14365         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
14366         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
14367         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
14368         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
14369         * sysdeps/nptl/allocrtsig.c: New file.
14370         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
14371         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
14372         * sysdeps/generic/testrtsig.h: File removed.
14374         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
14375         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
14377         * nptl/nptl-init.c (pthread_functions): Conditionalize
14378         .ptr__nptl_setxid initialization on [SIGSETXID].
14380         * sysdeps/nptl/sys/procfs.h: New file.
14381         * nptl_db/Makefile (headers): Add it.
14382         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
14384         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
14385         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
14386         * nptl/pthread_attr_setaffinity.c: Include it.
14387         * nptl/pthread_setattr_default_np.c: Likewise.
14388         * nptl/check-cpuset.h: New file.
14390 2015-01-08  Richard Henderson  <rth@redhat.com>
14392         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
14393         (CFLAGS-tst-execstack-prog.c): Likewise.
14394         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
14396 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
14397             Sandra Loosemore  <sandra@codesourcery.com>
14398             Andrew Jenner  <andrew@codesourcery.com>
14399             Joseph Myers  <joseph@codesourcery.com>
14400             Nathan Sidwell  <nathan@codesourcery.com>
14402         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
14403         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
14404         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
14405         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
14406         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
14407         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
14408         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
14409         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
14410         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
14411         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
14412         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
14413         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
14414         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
14415         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
14416         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
14417         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
14418         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
14420 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14422         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
14423         timespec struct member in syscall macro.
14424         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14425         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
14426         first timeval struct member in syscall macro.
14427         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
14429 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
14431         [BZ #17748]
14432         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
14433         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
14434         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
14435         __feupdateenv and define as weak alias of __feupdateenv.  Use
14436         libm_hidden_weak.
14437         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
14438         libm_hidden_def.
14439         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
14440         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
14441         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
14442         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
14443         libm_hidden_def.
14444         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
14445         __feupdateenv and define as weak alias of __feupdateenv.  Use
14446         libm_hidden_weak.
14447         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
14448         libm_hidden_def.
14449         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
14450         __feupdateenv and define as weak alias of __feupdateenv.  Use
14451         libm_hidden_weak.
14452         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
14453         libm_hidden_def.
14454         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14455         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
14456         (__feupdateenv): Likewise.
14457         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
14458         __feupdateenv and define as weak alias of __feupdateenv.  Use
14459         libm_hidden_weak.
14460         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14461         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
14462         libm_hidden_def.
14463         * sysdeps/tile/math_private.h (__feupdateenv): New inline
14464         function.
14465         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
14466         libm_hidden_def.
14467         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
14468         __feupdateenv instead of feupdateenv.
14469         (default_libc_feupdateenv_test): Likewise.
14470         (libc_feresetround_ctx): Likewise.
14472 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14474         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
14475         prototype.
14477 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
14479         * posix/regcomp.c (parse_bracket_exp): Initialize type to
14480         COLL_SYM in a couple of places to avoid uninitialized variable
14481         wanings on tilegx gcc 4.8.2.
14483 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
14485         * sysdeps/aarch64/strcpy.S: New file.
14486         * sysdeps/aarch64/stpcpy.S: New file.
14487         * NEWS: Updated.
14489 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
14491         * sysdeps/aarch64/strrchr.S: New file.
14492         * NEWS: Updated.
14494 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
14496         [BZ #17658]
14497         * stdlib/setenv.c: Fix memory leak when setting large,
14498         duplicate string.
14500 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
14502         [BZ #17273]
14503         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
14504         and tabs from buffer before parsing fstab entry.
14505         * misc/tst-mntent.c (main): Add test for mount entry with
14506         trailing spaces and tabs.
14508 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
14510         [BZ #17748]
14511         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
14512         * math/fesetround.c (fesetround): Rename to __fesetround and
14513         define as weak alias of __fesetround.  Use libm_hidden_weak.
14514         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
14515         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
14516         * sysdeps/arm/fesetround.c (fesetround): Likewise.
14517         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
14518         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
14519         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
14520         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
14521         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
14522         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
14523         __fesetround_inline.
14524         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
14525         __fesetround_inline instead of __fesetround.
14526         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
14527         __fesetround and define as weak alias of __fesetround.  Use
14528         libm_hidden_weak.  Call __fesetround_inline instead of
14529         __fesetround.
14530         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
14531         __fesetround and define as weak alias of __fesetround.  Use
14532         libm_hidden_weak.
14533         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
14534         Likewise.
14535         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
14536         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14537         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
14538         * sysdeps/tile/math_private.h (__fesetround): New inline function.
14539         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
14540         __fesetround and define as weak alias of __fesetround.  Use
14541         libm_hidden_weak.
14542         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
14543         __fesetround instead of fesetround.
14544         (default_libc_feholdexcept_setround): Likewise.
14545         (libc_feholdsetround_ctx): Likewise.
14546         (libc_feholdsetround_noex_ctx): Likewise.
14548         [BZ #17748]
14549         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
14550         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
14551         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
14552         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
14553         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14554         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
14555         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14556         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14557         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14558         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14559         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14560         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14561         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14562         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14563         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
14564         libm_hidden_def.
14565         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
14566         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
14567         Likewise.
14568         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14569         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14570         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14571         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14572         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
14573         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
14574         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
14575         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
14576         __fesetenv instead of fesetenv.
14577         (libc_feresetround_noex_ctx): Likewise.
14578         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
14579         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
14580         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
14581         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
14582         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
14583         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
14584         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14585         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
14586         (__feupdateenv): Likewise.
14587         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14588         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14589         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14590         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
14592 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
14594         [BZ #17806]
14595         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
14596         addresses have been freed.
14598 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
14600         * resolv/res_init.c (__res_vinit): Improve comments about nserv
14601         and nservall.
14603 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
14605         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
14606         Clean up check_pf allocation pattern. addresses
14608 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14610         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
14611         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
14612         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
14613         * nptl/pthread_exit.c (__pthread_exit): Likewise.
14614         * nptl/pthread_join.c (pthread_join): Likewise.
14615         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
14616         * sysdeps/posix/waitid.c (__waitid): Likewise.
14617         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
14618         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
14619         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
14620         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
14621         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
14622         Likewise.
14623         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
14624         (__libc_pread64): Likewise.
14625         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
14626         (__libc_pwrite): Likewise.
14627         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
14628         (__libc_pwrite64): Likewsie.
14629         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
14630         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
14631         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
14632         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
14633         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
14634         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
14635         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
14637         Likewise.
14638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14639         (__libc_pread64): Likewise.
14640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
14641         Likewise.
14642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14643         (__libc_pwrite64): Likewise.
14644         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
14645         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
14646         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
14647         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14648         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14649         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14650         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
14651         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
14652         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
14653         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
14654         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
14655         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
14656         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
14657         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
14658         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
14659         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
14660         Likewise.
14662 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
14664         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
14665         (CFLAGS-test-double.c): Likewise.
14666         (CFLAGS-test-ldouble.c): Likewise.
14667         (CPPFLAGS-test-ifloat.c): Likewise.
14668         (CPPFLAGS-test-idouble.c): Likewise.
14669         (CPPFLAGS-test-ildoubl.c): Likewise.
14670         (CFLAGS-test-test-fenv.c): Remove variable.
14671         (CFLAGS-test-misc.c): Likewise.
14673 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
14675         [BZ #17797]
14676         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
14677         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
14678         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
14679         CLOCKS_PER_SEC == 1000000.
14680         * time/clocktest.c (main): Replace %ld with %jd and cast to
14681         intmax_t.
14683 2015-01-05  Roland McGrath  <roland@hack.frob.com>
14685         * sysdeps/generic/unwind-resume.h: New file.
14686         * sysdeps/gnu/unwind-resume.c: Include it.
14687         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
14688         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
14689         argument list.
14690         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
14691         global rather than static.
14692         (_Unwind_Resume): Update user.
14693         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
14694         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
14695         rather than static.  Add __attribute__ ((cold)).
14696         (_Unwind_Resume, __gcc_personality_v0): Update callers.
14697         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14698         * sysdeps/arm/arm-unwind-resume.S: New file.
14699         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
14700         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
14701         * sysdeps/arm/Makefile [$(subdir) = csu]
14702         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
14703         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14704         Add rt-arm-unwind-resume.
14705         [$(subdir) = nptl]
14706         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14707         Add pt-arm-unwind-resume.
14708         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
14709         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
14711 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14713         [BZ #17748]
14714         * include/fenv.h (__feholdexcept): Declare.  Use
14715         libm_hidden_proto.
14716         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
14717         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
14718         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14719         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
14720         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
14721         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
14722         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
14723         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14724         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
14725         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
14726         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14727         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
14728         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
14729         (feholdexcept): Likewise.
14730         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14731         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14732         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14733         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14734         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
14735         __feholdexcept instead of feholdexcept.
14736         (default_libc_feholdexcept_setround): Likewise.
14738 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14740         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
14741         to avoid using stl/str to align destination.
14743 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14745         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
14747 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14749         [BZ #17796]
14750         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
14751         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
14752         Define as weak alias not strong alias.
14754 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14756         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
14757         bltzal with addiupc.
14758         (RTLD_START): Ditto.
14760 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
14762         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
14763         for __vdso_* functions in declarations.
14764         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
14765         definitions.
14766         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
14767         INTERNAL_VSYSCALL): Use struct return types to check for error.
14769         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
14770         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
14771         function with cast from llround().
14772         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
14773         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14774         Define.
14776 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14778         [BZ #17793]
14779         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
14780         Define as weak alias not strong alias.
14782         [BZ #17635]
14783         * ctype/ctype-c99.c: New file.  isblank implementation moved from
14784         ...
14785         * ctype/ctype-extn.c: ... here.
14786         (__isblank_l): Move to ...
14787         * ctype/ctype-c99_l.c: ... here.  New file.
14788         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
14789         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
14790         Remove variable.
14791         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14792         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14793         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14794         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14795         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14797         [BZ #17777]
14798         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
14799         (posix_fadvise64): Define as weak alias not strong alias.
14800         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14801         (posix_fallocate64): Likewise.
14802         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
14803         Remove variable.
14804         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14805         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14806         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14807         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14808         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14810 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
14812         [BZ #16191]
14813         * NEWS: Mention bug fix.
14814         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
14815         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
14816         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
14817         (HOST_STACK_END_ADDR): Likewise.
14819 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14821         [BZ #17748]
14822         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
14823         * math/fegetround.c (fegetround): Rename to __fegetround and
14824         define as weak alias of __fegetround.  Use libm_hidden_weak.
14825         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
14826         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
14827         * sysdeps/arm/fegetround.c (fegetround): Likewise.
14828         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
14829         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14830         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
14831         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
14832         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
14833         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14834         Undefine after rather than before function definition; use
14835         parentheses around function name in definition.
14836         (__fegetround): Also undefine macro after function definition.
14837         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
14838         __fegetround and define as weak alias of __fegetround.  Use
14839         libm_hidden_weak.  Do not undefine as macro.
14840         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14841         Likewise.
14842         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
14843         __fegetround and define as weak alias of __fegetround.  Use
14844         libm_hidden_weak.
14845         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14846         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14847         * sysdeps/tile/math_private.h (__fegetround): New inline function.
14848         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
14849         __fegetround and define as weak alias of __fegetround.  Use
14850         libm_hidden_weak.
14851         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
14852         __fegetround instead of fegetround.
14854         [BZ #17782]
14855         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
14856         Condition macro definition on [__USE_MISC].
14858         [BZ #17781]
14859         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
14860         (struct sigaction): Change type of sa_flags field to int.
14862         [BZ #17780]
14863         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
14864         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
14865         __glibc_reserved0.
14867         * nptl/version.c (banner): Use single year in copyright notice.
14869         * NEWS: Update copyright dates.
14870         * catgets/gencat.c (print_version): Likewise.
14871         * csu/version.c (banner): Likewise.
14872         * debug/catchsegv.sh: Likewise.
14873         * debug/pcprofiledump.c (print_version): Likewise.
14874         * debug/xtrace.sh (do_version): Likewise.
14875         * elf/ldconfig.c (print_version): Likewise.
14876         * elf/ldd.bash.in: Likewise.
14877         * elf/pldd.c (print_version): Likewise.
14878         * elf/sotruss.sh: Likewise.
14879         * elf/sprof.c (print_version): Likewise.
14880         * iconv/iconv_prog.c (print_version): Likewise.
14881         * iconv/iconvconfig.c (print_version): Likewise.
14882         * locale/programs/locale.c (print_version): Likewise.
14883         * locale/programs/localedef.c (print_version): Likewise.
14884         * login/programs/pt_chown.c (print_version): Likewise.
14885         * malloc/memusage.sh (do_version): Likewise.
14886         * malloc/memusagestat.c (print_version): Likewise.
14887         * malloc/mtrace.pl: Likewise.
14888         * manual/libc.texinfo: Likewise.
14889         * nptl/version.c (banner): Likewise.
14890         * nscd/nscd.c (print_version): Likewise.
14891         * nss/getent.c (print_version): Likewise.
14892         * nss/makedb.c (print_version): Likewise.
14893         * posix/getconf.c (main): Likewise.
14894         * scripts/test-installation.pl: Likewise.
14895         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14897 2015-01-02  Will Newton  <will.newton@linaro.org>
14899         * sysdeps/arm/armv7/configure: Removed.
14900         * sysdeps/arm/armv7/configure.ac: Likewise.
14902 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14904         * All files with FSF copyright notices: Update copyright dates
14905         using scripts/update-copyrights.
14906         * intl/plural.c: Regenerated.
14907         * locale/programs/charmap-kw.h: Likewise.
14908         * locale/programs/locfile-kw.h: Likewise.
14910 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14912         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
14914 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14916         [BZ #17748]
14917         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
14918         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
14919         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14920         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14921         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14922         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
14923         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14924         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
14925         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14926         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14927         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14928         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14929         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14930         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14931         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
14932         libm_hidden_def.
14933         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
14934         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
14935         Likewise.
14936         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14937         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14938         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14939         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14940         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
14941         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14942         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14943         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
14944         __fegetenv instead of fegetenv.
14945         (libc_feholdsetround_noex_ctx): Likewise.
14947 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
14949         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
14950         (Elf_MIPS_ABIFlags_v0): New structure.
14951         (EF_MIPS_FP64): Define.
14952         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
14953         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
14954         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
14955         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
14956         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
14957         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
14958         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
14959         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
14960         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
14961         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
14962         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
14963         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
14964         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
14965         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
14966         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
14967         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
14968         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
14969         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
14970         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
14971         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
14972         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
14973         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
14974         field.
14975         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
14976         EF_MIPS_FP64.
14977         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
14978         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
14979         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
14980         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
14981         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
14982         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
14983         * sysdeps/mips/tst-abi-interlink.c: Likewise.
14984         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
14985         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
14986         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
14987         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
14988         record the current FP ABI extension.
14989         (mips-mode-switch): Define to show if kernel headers support mode
14990         switching.
14991         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14992         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
14993         supported SYSV ABI version to 3.
14994         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
14995         feature.
14997 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14998             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15000         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
15001         path.
15002         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
15004 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15006         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
15007         __fegetround and redefine to call __fegetround.  Remove condition
15008         on [!__NO_MATH_INLINES].
15009         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
15010         function.
15011         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
15012         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15013         Remove macro.
15014         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
15015         instead of <fenv_libc.h>.
15016         (__llrintl): Call fegetround instead of __fegetround.
15017         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
15018         instead of <fenv_libc.h>.
15019         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15020         (__lrintl): Call fegetround instead of __fegetround.
15021         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
15022         instead of <fenv_libc.h>.
15023         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15024         (__rintl): Call fegetround instead of __fegetround.
15026 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15028         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
15029         arrays.
15031 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15033         [BZ #17775]
15034         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
15035         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
15036         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
15038 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15040         * sysdeps/i386/tls-macros.h: Include <features.h>.
15041         (TLS_LE): Use non-PIC version for GCC >= 5.0.
15042         (TLS_IE): Likewise.
15043         (TLS_LD): Likewise.
15044         (TLS_GD): Likewise.
15045         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
15046         define for GCC >= 5.0.
15048 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
15050         * math/test-fenv.c (test_single_exception, set_single_exc,
15051         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
15052         feexcp_mask_test, feenable_test, fe_single_test): Add
15053         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
15054         case where they are not used.
15055         * math/libm-test.inc: Likewise.
15056         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
15057         unused in the absence of FP rounding/exception support.
15058         * stdio-common/tst-printf-round.c: Likewise.
15059         * stdlib/tst-strtod-round.c: Likewise.
15060         * stdlib/tst-strtod-underflow.c: Likewise.
15062 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
15064         [BZ #17723]
15065         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
15066         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
15067         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15068         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15069         libm_hidden_weak.
15070         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
15071         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15072         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
15073         libm_hidden_def.
15074         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15075         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15076         libm_hidden_weak.
15077         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
15078         Likewise.
15079         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
15080         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15081         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15082         libm_hidden_weak.
15083         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15084         libm_hidden_def.
15085         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15086         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
15087         (__feraiseexcept): Likewise.
15088         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15089         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15090         libm_hidden_weak.
15091         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15092         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15093         libm_hidden_def.
15094         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
15095         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
15096         Use libm_hidden_def.
15097         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
15098         libm_hidden_def.
15099         (feraiseexcept): Define as weak not strong alias.  Use
15100         libm_hidden_weak.
15101         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
15102         New inline function.  Factored out of ...
15103         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
15104         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
15105         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
15106         feraiseexcept.
15107         * math/w_acos.c (__acos): Likewise.
15108         * math/w_asin.c (__asin): Likewise.
15109         * math/w_ilogb.c (__ilogb): Likewise.
15110         * math/w_j0.c (y0): Likewise.
15111         * math/w_j1.c (y1): Likewise.
15112         * math/w_jn.c (yn): Likewise.
15113         * math/w_log.c (__log): Likewise.
15114         * math/w_log10.c (__log10): Likewise.
15115         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
15116         * sysdeps/aarch64/fpu/math_private.h
15117         (libc_feupdateenv_test_aarch64): Likewise.
15118         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15119         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
15120         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
15121         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15122         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15123         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15124         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
15125         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15126         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15127         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15129 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15131         [BZ #17732]
15132         * io/test-utime.c (main): Replace %ld with %jd and cast to
15133         intmax_t.
15134         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
15135         * nptl/tst-mutex5.c: Include <stdint.h>.
15136         (do_test): Replace %ld with %jd and cast to intmax_t.
15137         * posix/tst-regex.c (run_test): Likewise.
15138         (run_test_backwards): Likewise.
15139         * rt/tst-clock.c: Include <stdint.h>.
15140         (clock_test): Replace %ld with %jd and cast to intmax_t.
15141         * rt/tst-cpuclock1.c: Include <stdint.h>.
15142         (do_test): Replace %lu with %ju and cast to uintmax_t.
15143         * rt/tst-cpuclock2.c: Include <stdint.h>.
15144         (do_test): Replace %lu with %ju and cast to uintmax_t.
15145         * rt/tst-mqueue1.c: Include <stdint.h>.
15146         (check_attrs): Replace %ld with %jd and cast to intmax_t.
15147         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
15148         intmax_t.
15149         * rt/tst-mqueue4.c (do_test): Likewise.
15150         * rt/tst-timer4.c: Include <stdint.h>.
15151         (check_ts): Replace %ld with %jd and cast to intmax_t.
15152         (do_test): Likewise.
15153         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
15154         and cast to intmax_t.
15155         * sysdeps/pthread/tst-timer.c (main): Likewise.
15156         * time/clocktest.c (main): Likewise.
15157         * time/tst-posixtz.c (do_test): Likewise.
15158         * timezone/tst-timezone.c (main): Likewise.
15160 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15161             H.J. Lu  <hongjiu.lu@intel.com>
15163         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
15164         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15165         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
15166         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
15167         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
15168         version if bit_Fast_Unaligned_Load is set.
15169         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15170         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15171         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15172         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15173         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15174         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15175         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15176         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
15177         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
15178         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
15179         to 4.
15180         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
15181         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
15182         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
15183         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
15185 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
15187         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
15188         instead of #if to avoid a Wundef warning.
15189         * stdlib/tst-limits.c (do_test): Likewise.
15191         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
15192         parallel other exception macros.
15193         (fegetenv): Convert from macro to extern inline so that it applies
15194         retroactively to inline functions already seen by the compiler.
15195         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
15197         * posix/Makefile (before-compile): Use $(objpfx) for
15198         posix-conf-vars-def.h.
15200 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15202         * posix/getconf.c (main): Use size_t for type of I.
15203         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
15204         NSPEC.
15206         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
15207         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
15208         * posix/posix-envs.def: Likewise.
15209         * sysdeps/posix/sysconf.c: Likewise.
15210         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
15211         (specs): Remove array.
15212         * scripts/gen-posix-conf-vars.awk: Support generation of specs
15213         array.
15215         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
15216         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
15217         (__sysconf): Use CONF_IS_* macros.
15219         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
15220         ($(objpfx)posix-conf-vars-def.h): New target.
15221         * posix/posix-conf-vars.list: New file.
15222         * posix/posix-conf-vars.h: New file.
15223         * posix/confstr.c: Include posix-conf-vars.h.
15224         (confstr): Use CONF_IS_* macros.
15225         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
15226         CONF_IS_* macros.
15227         * scripts/gen-posix-conf-vars.awk: New file.
15229 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
15231         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
15232         fegetround): Add no-op macros to avoid linknamespace issues.
15234         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
15235         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
15237         * sysdeps/unix/sysv/linux/tile/sysdep.h
15238         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
15239         assembly-specific section to avoid a redefinition warning.
15241         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
15242         long before casting to pointer to avoid a cast warning.
15244 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
15246         * sysdeps/tile/tilegx/Implies: New file.
15248 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
15250         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
15252 2014-12-23  Florian Weimer  <fweimer@redhat.com>
15254         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
15256 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15258         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
15259         not define.
15260         * sysdeps/unix/sysv/linux/utimes.c: Do not include
15261         <kernel-features.h>.
15262         (__utimes) [__NR_utimes]: Make code unconditional.
15263         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
15264         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15265         (__ASSUME_UTIMES): Do not undefine.
15266         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15267         (__ASSUME_UTIMES): Likewise.
15268         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15269         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
15270         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
15271         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
15273 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15275         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
15277 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
15279         [BZ #17747]
15280         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
15281         alias to weak alias for j0l, y0l.
15282         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
15283         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
15285         [BZ #17746]
15286         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
15287         conversion.
15289 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15291         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
15292         to zero if not already defined.
15294 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15296         [BZ #17724]
15297         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
15298         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
15299         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
15300         (char *) casts added.
15301         * sysdeps/ieee754/k_standardf.c: New file.
15302         * sysdeps/ieee754/k_standardl.c: Likewise.
15303         * math/Makefile (libm-support): Remove k_standard.
15304         (libm-calls): Add k_standard.
15306 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15308         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15309         Optimize to avoid an unnecessary FPCR read.
15311 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15313         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15314         Optimize to reduce FPCR/FPSR accesses.
15316 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15318         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
15319         Call libc_fetestexcept_aarch64.
15321 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15323         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
15324         Call libc_fesetround_aarch64.
15326 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15328         [BZ #17733]
15329         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
15330         (__bind): Do not define as weak alias.
15331         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
15332         define.
15333         (__getsockname): Do not define as weak alias.
15335 2014-12-22  Will Newton  <will.newton@linaro.org>
15337         * manual/install.texi: Document that we require bison 2.7
15338         or above.
15339         * INSTALL: Regenerate.
15340         * configure.ac: Use AC_CHECK_PROG_VER instead of
15341         AC_PATH_PROG when checking for bison and check for
15342         version 2.7 or above.
15343         * configure: Regenerate.
15345 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
15347         [BZ #17745]
15348         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
15349         * sysdeps/tile/ffsll.c (ffsll): To here.
15351         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
15353 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
15355         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
15356         if not defined.
15357         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
15358         definition.
15359         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
15360         hidden ___tls_get_addr.
15361         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
15362         hidden __tls_get_addr.
15363         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
15364         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
15365         Likewise.
15367 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
15369         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
15370         _dl_init call.
15372 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
15374         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
15375         from "call _dl_init@PLT".
15376         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
15378 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
15380         * manual/search.texi: (Array Sort Function): Clarify stable sorting
15381         guarantees.
15383 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
15385         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
15387 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
15389         [BZ #17744]
15390         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
15391         strnlen.
15393 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
15395         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
15396         of multu on MIPSr6.
15397         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
15398         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
15399         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
15400         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
15401         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
15403 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
15405         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
15406         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
15407         (PTR_SUBU): Use subu for mips32r6/mips64r6.
15408         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
15409         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
15410         mips32r6/mips64r6.
15411         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
15413 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
15415         * string/strncat.c (STRNCAT): Simplify implementation.
15417 2014-12-19  David S. Miller  <davem@davemloft.net>
15419         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
15420         access the quad as both a long double and as a series of 4 words.
15422         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
15423         link_map->l_info array access.
15425 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
15427         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
15429         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
15430         * math/atest-exp2.c (TIMEOUT): Likewise.
15431         * math/atest-sincos.c (TIMEOUT): Likewise.
15433 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15435         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
15436         -Wno-error with -fno-builtin-lround.
15438 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15440         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
15441         Contains futex constants and functions moved over from ...
15442         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
15443         <lowlevellock-futex.h>.
15444         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
15445         (lll_timedwait_tid): Add comments and parentheses around macro
15446         arguments.
15448 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15450         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
15451         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
15452         (__lll_private_flag): Remove.
15453         (lll_futex_wait): Likewise.
15454         (lll_futex_timed_wait): Likewise.
15455         (lll_futex_wake): Likewise.
15456         (lll_futex_requeue): Likewise.
15457         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
15458         (__lll_timedwait_tid): Spell out argument names.
15459         (lll_timedwait_tid): Add comments and parentheses around macro
15460         arguments.
15461         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
15462         LLL_SHARED and LLL_PRIVATE usable from assembly code.
15464 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15466         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
15467         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
15468         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15469         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
15470         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
15471         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
15472         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
15473         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
15474         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
15475         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
15476         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
15477         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
15478         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
15479         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
15480         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
15481         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
15482         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
15483         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
15484         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
15486 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15488         * sysdeps/x86_64/x32/Makefile: New file.
15490 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15492         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
15493         1L with (mp_limb_t) 1.
15495 2014-12-17  Roland McGrath  <roland@hack.frob.com>
15497         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
15498         * nptl/libc_pthread_init.c: ... here.
15499         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
15500         * nptl/register-atfork.c: ... here.
15502         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
15503         Use pthread_sigmask rather than INTERNAL_SYSCALL.
15504         Use assert_perror to check its return value.
15505         (__gai_create_helper_thread): Likewise.
15507         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
15509         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
15511 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
15513         [BZ #17725]
15514         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
15515         __profil_counter.
15516         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
15517         Likewise.
15518         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
15519         Likewise.
15520         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
15521         Likewise.
15522         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
15523         (profil_counter): Likewise.
15524         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
15525         (profil_counter): Likewise.
15526         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
15527         Likewise.
15528         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
15529         Likewise.
15530         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
15531         (profil_counter): Likewise.
15532         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
15533         Likewise.
15534         [!__profil_counter] (profil_counter): Define as weak alias of
15535         __profil_counter.
15536         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
15537         (profil_counter): Rename to __profil_counter.
15538         [!__profil_counter] (profil_counter): Define as weak alias of
15539         __profil_counter.
15540         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
15541         (profil_counter): Rename to __profil_counter.
15542         [!__profil_counter] (profil_counter): Define as weak alias of
15543         __profil_counter.
15544         * sysdeps/posix/profil.c: Update comment referring to
15545         profil_counter.
15546         (__profil): Use __profil_counter instead of profil_counter.
15547         * sysdeps/posix/sprofil.c (profil_counter): Rename to
15548         __profil_counter.  Use __profil_counter_ushort and
15549         __profil_counter_uint in definitions.
15550         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
15551         instead of profil_counter_uint and profil_counter_ushort.
15553         [BZ #17722]
15554         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
15555         define as weak alias of __inet_makeaddr.
15556         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
15557         as weak alias of __inet_addr.
15558         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
15559         as weak alias of __inet_pton.  Use libc_hidden_weak.
15560         * include/arpa/inet.h (__inet_pton): Declare.  Use
15561         libc_hidden_proto.
15562         (inet_makeaddr): Don't use libc_hidden_proto.
15563         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
15564         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
15565         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
15566         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
15567         Remove variable.
15568         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
15569         (test-xfail-POSIX/time.h/linknamespace): Likewise.
15571 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
15573         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
15575 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15577         * stdio-common/bug-vfprintf-nargs.c (do_test):
15578         Cast value to intptr_t to avoid format warning
15579         for usage with PRIdPTR printing macro.
15581 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15583         * libio/tst-widetext.c (do_test):
15584         Use format type %td instead of %Zd for ptrdiff_t
15585         in order to avoid format warning.
15587 2014-12-17  Andreas Schwab  <schwab@suse.de>
15589         * nscd/mem.c (gc): Add size_t cast to match printf format.
15591 2014-12-16  Roland McGrath  <roland@hack.frob.com>
15593         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
15594         (init): Apply PTR_MANGLE to pointers before storing them.
15595         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
15596         before using them.
15598 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
15600         [BZ #17719]
15601         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
15602         define as weak alias of __memrchr.
15603         (__memrchr): Do not define as strong alias of memrchr.
15604         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
15605         Remove variable.
15606         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
15607         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
15608         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
15610         [BZ #17717]
15611         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
15612         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
15613         (if_indextoname): Rename to __if_indextoname and define as weak
15614         alias of __if_indextoname.  Use libc_hidden_weak.
15615         (if_freenameindex): Rename to __if_freenameindex and define as
15616         weak alias of __if_freenameindex.
15617         (if_nameindex): Rename to __if_nameindex and define as weak alias
15618         of __if_nameindex.
15619         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
15620         __if_nametoindex and define as weak alias of __if_nametoindex.
15621         Use libc_hidden_weak.
15622         (if_freenameindex): Rename to __if_freenameindex and define as
15623         weak alias of __if_freenameindex.
15624         (if_nameindex): Rename to __if_nameindex and define as weak alias
15625         of __if_nameindex.
15626         (if_indextoname): Rename to __if_indextoname and define as weak
15627         alias of __if_indextoname.  Use libc_hidden_weak.
15628         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
15629         __if_nametoindex and define as weak alias of __if_nametoindex.
15630         Use libc_hidden_weak.
15631         (if_freenameindex): Rename to __if_freenameindex and define as
15632         weak alias of __if_freenameindex.  Use libc_hidden_weak.
15633         (if_nameindex_netlink): Use __if_freenameindex instead of
15634         if_freenameindex.
15635         (if_nameindex): Rename to __if_nameindex and define as weak alias
15636         of __if_nameindex.  Use libc_hidden_weak.
15637         (if_indextoname): Rename to __if_indextoname and define as weak
15638         alias of __if_indextoname.  Use libc_hidden_weak.
15639         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
15640         libc_hidden_proto.
15641         [!_ISOMAC] (__if_freenameindex): Likewise.
15642         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
15643         if_nametoindex.
15644         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
15645         variable.
15646         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
15647         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
15648         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
15649         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
15650         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
15651         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
15652         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
15654         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
15655         Remove variable.
15656         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
15657         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
15659 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15661         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
15662         subscript above bounds'
15664         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
15665         bounds.
15667 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
15669         * libio/tst-fopenloc.c: Use test-skeleton.c.
15671         * stdlib/tst-bsearch.c: Use test-skeleton.c.
15672         (entry): Rename to ITEM.
15673         (do_test, comp): Adjust.
15675         * stdio-common/tst-fseek.c: Use test-skeleton.c.
15677 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15679         * string/tester.c: Include <libc-internal.h>.
15680         (test_memset): Ignore -Wmemset-transposed-args.
15682 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15684         * misc/tst-mntent2.c (do_test): Fix warning.
15686 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15688         * elf/tst-unique4lib.cc(a): Mark as used.
15690 2014-12-16  Florian Weimer  <fweimer@redhat.com>
15692         [BZ #17630]
15693         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
15694         names.
15696 2014-12-16  Allan McRae  <allan@archlinux.org>
15698         * stdio-common/Makefile (tests): Re-add bug26.
15700 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
15702         [BZ #17657]
15703         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
15704         static array.
15706 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
15708         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
15709         (__lll_lock_wait): Likewise.
15710         (__lll_timedlock_wait): Likewise.
15711         (__lll_timedwait_tid): Likewise.
15712         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
15713         (__lll_robust_timedlock_wait): Likewise.
15714         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
15715         (lll_cond_trylock): Likewise.
15716         (__lll_lock): Likewise.
15717         (__lll_robust_lock): Likewise.
15718         (__lll_cond_lock): Likewise.
15719         (lll_robust_cond_lock): Likewise.
15720         (__lll_timedlock): Likewise.
15721         (__lll_robust_timedlock): Likewise.
15722         (__lll_unlock): Likewise.
15723         (__lll_robust_unlock): Likewise.
15724         (lll_wait_tid): Likewise.
15725         (lll_timedwait_tid): Likewise.
15727 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15729         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
15731 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15733         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
15735 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15737         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
15738         * stdio-common/tst-sprintf.c: Likewise.
15740 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15742         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
15744 2014-12-15  Jeff Law  <law@redhat.com>
15746         [BZ #16617]
15747         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
15748         on the heap.  (CVE-2012-3406)
15749         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
15750         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
15751         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
15753 2014-12-15  Will Newton  <will.newton@linaro.org>
15755         * manual/install.texi: Bump required version of texinfo
15756         to 4.7 from 4.5.
15757         * INSTALL: Regenerated.
15758         * configure.ac: Check for makeinfo version 4.7 and above.
15759         * configure: Regenerated.
15761 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15763         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
15764         PREFIX, string constant to insert between directory and name.
15765         * sysdeps/posix/shm_open.c: Update caller.
15766         * sysdeps/posix/shm_unlink.c: Likewise.
15767         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
15768         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
15769         (SEM_SHM_PREFIX): New macro.
15770         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
15771         [$(have-thread-library) = no].
15772         * nptl/Makefile (libpthread-routines): Add shm-directory.
15773         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
15774         * sysdeps/nptl/shm-directory.h: New file.
15775         * sysdeps/posix/shm-directory.c
15776         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
15777         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15778         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
15779         INTERNAL_SYSCALL.
15780         (__where_is_shmfs): Function removed.
15781         (mountpoint, defaultmount, defaultdir, __namedsem_once):
15782         Variables removed.
15783         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
15784         Use SHM_GET_NAME.
15785         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
15787         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
15788         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
15789         unconditional for use inside libpthread.
15790         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
15792 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15794         * nptl/pthread_getaffinity.c: New file.
15795         * nptl/pthread_setaffinity.c: New file.
15796         * nptl/pthread_getname.c: New file.
15797         * nptl/pthread_setname.c: New file.
15799         * nptl/pthread_create.c (START_THREAD_DEFN)
15800         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
15802 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15803             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15805         * resolv/res_send.c (send_vc): Disable warning resplen may
15806         be used uninitialized.
15808 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15810         * nptl/tst-mutex6.c
15811         (ATTR_NULL): New define checks ATTR against NULL.
15812         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
15813         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
15815 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
15817         [BZ #17581]
15818         * malloc/hooks.c
15819         (mem2mem_check): Revert my previous change.
15820         (malloc_check_get_size): Revert my previous change.
15821         (mem2chunk_check): Revert my previous change.
15823 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15825         * sysdeps/posix/shm-directory.c: New file.
15826         * sysdeps/posix/shm-directory.h: New file.
15827         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
15828         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
15829         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
15830         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
15831         Transmute EPERM to EACCES.
15832         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
15833         from ...
15834         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
15835         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
15837 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15839         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
15840         pointer and cast to uintptr_t.
15841         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
15842         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
15843         Add cast to avoid warning.
15844         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
15846 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15848         * nptl/semaphore.h: Move to ...
15849         * sysdeps/pthread/semaphore.h: ... here.
15850         * Makefile (installed-headers): Change nptl/semaphore.h to
15851         sysdeps/pthread/semaphore.h.
15853 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15855         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
15856         generated error format strings.
15858         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
15859         -Wformat-extra-args warnings for scanf formats.
15860         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
15861         test of zero-length format (duh).
15862         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
15863         corner-case scanf format test.
15864         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
15865         generated fprintf format string.
15866         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
15867         corner-case sprintf format tests.
15868         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
15869         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
15870         -Wformat-extra-args warnings throughout.
15871         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
15872         (CFLAGS-scanf4.c): Likewise.
15873         (CFLAGS-scanf7.c): Likewise.
15874         (CFLAGS-tst-sprintf.c): Likewise.
15875         (CFLAGS-tst-printf.c): Likewise.
15876         (CFLAGS-tst-printfsz.c): Likewise.
15878 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15880         * include/cpio.h: New file.
15881         * include/fmtmsg.h: Likewise.
15883         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
15884         corresponding format argument to size_t.
15885         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
15886         arguments.
15887         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
15888         corresponding format argument to size_t.
15889         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
15890         arguments.
15891         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
15892         corresponding format argument to size_t.
15893         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
15894         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
15895         (CFLAGS-tst-mbswcs2.c): Likewise.
15896         (CFLAGS-tst-mbswcs3.c): Likewise.
15897         (CFLAGS-tst-mbswcs4.c): Likewise.
15898         (CFLAGS-tst-mbswcs5.c): Likewise.
15899         (CFLAGS-tst-trans.c): Likewise
15901 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15903         * posix/regexbug1.c (main): Use "%s" format with regerror results,
15904         rather than assuming they won't contain any '%'s.
15906 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
15908         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
15909         inhibit_loop_to_libcall to avoid recursive calls.
15910         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
15911         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
15913 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15915         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
15916         prototype.
15918 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15920         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
15921         integer value instead of boolean.
15923 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15925         * malloc/malloc.c: Fix powerof2 check.
15927 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15929         * locale/programs/locfile.h (maybe_swap_uint32):
15930         Remove inline and add unused attribute.
15932 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15934         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
15935         Truncating assembler expression to a .long expression.
15937 2014-12-11  Andreas Schwab  <schwab@suse.de>
15939         * elf/rtld.c (struct map_args): Constify str member.
15940         (do_preload): Constify fname argument.
15942 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15944         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
15945         constants definition.
15947 2014-12-11  Andreas Schwab  <schwab@suse.de>
15949         [BZ #16657]
15950         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
15951         FORCE_ELISION instead of DO_ELISION.
15952         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
15953         Remove.
15954         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
15955         Likewise.
15957         * iconvdata/gconv-modules: Remove duplicate entry.
15959 2014-12-11  Will Newton  <will.newton@linaro.org>
15961         Merge gettext 0.19.3 into intl/.
15963         This involves a number of cosmetic changes to comments
15964         and ANSI function definitions and prototypes throughout
15965         all the files. The gettext copyright header is used but
15966         with the date ranges taken from the glibc copy.
15968         * NEWS: Add gettext merge to 2.21.
15969         * intl/bindtextdom.c: Switch to gettext copyright.
15970         Use ANSI definitions and prototypes.
15971         Use gl_* locking primitives rather than __libc_* ones.
15972         Use __builtin_expect rather than __glibc_likely/unlikely.
15973         * intl/dcgettext.c: Switch to gettext copyright.
15974         Use ANSI definitions and prototypes.
15975         * intl/dcigettext.c: Switch to gettext copyright.
15976         Use ANSI definitions and prototypes.
15977         (INTDIV0_RAISES_SIGFPE): New define.
15978         Use gl_* locking primitives rather than __libc_* ones.
15979         Include eval-plural.h instead of plural-eval.c.
15980         Use __builtin_expect rather than __glibc_likely/unlikely.
15981         * intl/dcngettext.c: Switch to gettext copyright.
15982         Use ANSI definitions and prototypes.
15983         * intl/dgettext.c: Likewise.
15984         * intl/dngettext.c: Likewise.
15985         * intl/plural-eval.c: Renamed to...
15986         * intl/eval-plural.h: ...this.
15987         * intl/explodename.c: Switch to gettext copyright.
15988         Use ANSI definitions and prototypes.
15989         (_nl_explode_name): Use strchr instead of __rawmemchr.
15990         * intl/finddomain.c: Switch to gettext copyright.
15991         Use ANSI definitions and prototypes.
15992         Use gl_* locking primitives rather than __libc_* ones.
15993         (_nl_find_domain): Use malloc rather than alloca for
15994         allocation of temporary locale name.
15995         * intl/gettext.c: Switch to gettext copyright.
15996         Use ANSI definitions and prototypes.
15997         * intl/gettextP.h: Switch to gettext copyright.
15998         Use ANSI definitions and prototypes.
15999         Use gl_* locking primitives rather than __libc_* ones.
16000         * intl/gmo.h: Switch to gettext copyright.
16001         (struct sysdep_string): Move struct segment_pair outside of
16002         struct definition.
16003         * intl/hash-string.c: Use ANSI definitions and prototypes.
16004         * intl/hash-string.h: Switch to gettext copyright.
16005         Use ANSI definitions and prototypes.
16006         * intl/l10nflist.c: Switch to gettext copyright.
16007         Use ANSI definitions and prototypes.
16008         (_nl_normalize_codeset): Avoid integer overflow.
16009         * intl/loadinfo.h: Switch to gettext copyright.
16010         Use ANSI definitions and prototypes.
16011         (LIBINTL_DLL_EXPORTED): New define.
16012         (PATH_SEPARATOR): New define.
16013         * intl/loadmsgcat.c: Switch to gettext copyright.
16014         * intl/localealias.c: Switch to gettext copyright.
16015         Use ANSI definitions and prototypes.
16016         (_nl_expand_alias): Use PATH_SEPARATOR.
16017         * intl/ngettext.c: Switch to gettext copyright.
16018         Use ANSI definitions and prototypes.
16019         * intl/plural-exp.c: Likewise.
16020         * intl/plural-exp.h: Switch to gettext copyright.
16021         Use ANSI definitions and prototypes.
16022         (struct expression): Move definition of enum operator outside
16023         of struct definition.
16024         * intl/plural.c: Regenerate.
16025         * intl/plural.y: Switch to gettext copyright.
16026         Use ANSI definitions and prototypes.
16027         Port to bison 3.0.
16028         * intl/textdomain.c: Switch to gettext copyright.
16029         Use ANSI definitions and prototypes.
16030         Use gl_* locking primitives rather than __libc_* ones.
16032 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
16034         * debug/warning-nop.c: Add used atrribute.
16036 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16038         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
16040         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
16041         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
16042         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
16044 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16045             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16047         [BZ #17634]
16048         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
16049         Undefine after defining function.  Define as weak alias of
16050         __wcschr.  Use libc_hidden_weak.
16051         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
16052         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16053         (libc_hidden_def): Also define __GI___wcschr alias.
16054         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
16055         __wcschr and define as weak alias of __wcschr.
16056         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
16057         __wcschr.
16058         [!WCSCHR] (DEFAULT_WCSCHR): Define.
16059         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
16060         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
16061         libc_hidden_weak.  Do not use libc_hidden_def.
16062         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
16063         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
16064         __GI___wcschr alias.
16065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
16066         [IS_IN (libc)] (wcschr): Define as macro expanding to
16067         __redirect_wcschr.
16068         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
16069         [IS_IN (libc)] (__wcschr_power6): Likewise.
16070         [IS_IN (libc)] (__wcschr_power7): Likewise.
16071         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
16072         instead of wcschr.
16073         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
16074         __libc_wcschr.
16075         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
16076         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
16077         __wcschr and define as weak alias of __wcschr.  Use
16078         libc_hidden_builtin_def.
16079         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
16080         as weak alias of __wcschr.  Use libc_hidden_weak.
16081         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
16082         wcschr.
16083         * time/era.c (_nl_init_era_entries): Likewise.
16084         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
16085         variable.
16086         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16087         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16089 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16091         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
16092         format for long int variable.
16094 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
16096         [BZ #10672]
16097         * manual/search.texi: (Array Sort Function): Remove claim how to make
16098         qsort stable.
16100 2014-12-10  Andreas Schwab  <schwab@suse.de>
16102         [BZ #12847]
16103         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
16104         user-controlled locks.
16106 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
16108         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
16109         register.
16111 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16113         * configure.ac (--disable-werror): New configure option.
16114         (enable_werror): New AC_SUBST.
16115         * configure: Regenerated.
16116         * config.make.in (enable-werror): New variable.
16117         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
16118         -Wno-error=undef.
16119         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
16120         * manual/install.texi (Configuring and compiling): Document
16121         --disable-werror.
16122         * INSTALL: Regenerated.
16123         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
16124         (CFLAGS-tst-chk2.c): Likewise.
16125         (CFLAGS-tst-chk3.c): Likewise.
16126         (CFLAGS-tst-chk4.cc): Likewise.
16127         (CFLAGS-tst-chk5.cc): Likewise.
16128         (CFLAGS-tst-chk6.cc): Likewise.
16129         (CFLAGS-tst-lfschk1.c): Likewise.
16130         (CFLAGS-tst-lfschk2.c): Likewise.
16131         (CFLAGS-tst-lfschk3.c): Likewise.
16132         (CFLAGS-tst-lfschk4.cc): Likewise.
16133         (CFLAGS-tst-lfschk5.cc): Likewise.
16134         (CFLAGS-tst-lfschk6.cc): Likewise.
16136         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
16137         (main): Disable -Wdeprecated-declarations around calls to
16138         register_printf_function.
16140         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
16141         (do_test): Disable -Wdiv-by-zero around some calls to
16142         fwrite_unlocked and fread_unlocked.
16144         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
16145         (DIAG_POP_NEEDS_COMMENT): Likewise.
16146         (_DIAG_STR1): Likewise.
16147         (_DIAG_STR): Likewise.
16148         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16149         * stdio-common/bug21.c: Include <libc-internal.h>.
16150         (do_test): Disable -Wformat around call to sscanf.
16151         * stdio-common/scanf14.c: Include <libc-internal.h>.
16152         (main): Disable -Wformat around some calls to scanf functions.
16154 2014-12-09  Torvald Riegel  <triegel@redhat.com>
16156         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16158 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16160         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
16161         stack variable alignment.
16163 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
16165         [BZ #17682]
16166         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
16167         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
16168         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
16169         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
16170         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
16171         __getrlimit instead of getrlimit.
16172         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
16173         __gettimeofday instead of gettimeofday.
16174         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16175         Likewise.
16176         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16177         Likewise.
16178         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16179         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
16180         Remove variable.
16181         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16182         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16184 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16186         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
16187         for wide-character tests.
16189 2014-12-04  Roland McGrath  <roland@hack.frob.com>
16191         * io/openat64.c: #include <libc-internal.h>
16192         (__openat64): Prototypify.  Use ignore_value on MODE.
16193         * io/openat.c: Likewise.
16194         * misc/reboot.c: #include <libc-internal.h>
16195         (reboot): Prototypify.  Use ignore_value on HOWTO.
16196         * misc/ptrace.c: #include <libc-internal.h>
16197         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
16199 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
16201         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
16202         XPG4, UNIX98 and XOPEN2K.
16203         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
16204         Remove variable.
16205         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16207 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16209         * libio/fileops.c: Use ISO C style for function definitions.
16210         * libio/iofopen.c: Likewise.
16211         * libio/wfileops.c: Likewise.
16213         [BZ #17653]
16214         * libio/fileops.c (_IO_new_file_underflow): Unset cached
16215         offset on EOF.
16216         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16217         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
16218         (fgets_func): Function pointer to fgets and fgetws.
16219         (do_ftell_test): Add test to verify ftell value after read
16220         EOF.
16221         (do_test): Set fgets_func.
16223         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
16224         O_TRUNC flag for w and w+ modes.
16225         (do_rewind_test): Likewise.
16226         (do_ftell_test): Likewise.
16227         (do_write_test): Likewise.
16229         [BZ #17647]
16230         * libio/fileops.c (do_ftell): Seek only when there are
16231         unflushed writes.
16232         * libio/wfileops.c (do_ftell_wide): Likewise.
16233         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
16234         test case.
16235         (do_one_test): Call it.
16237 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
16239         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
16240         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
16241         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
16242         Remove variable.
16243         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16244         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16245         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16247 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16249         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
16250         Remove variable.
16251         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16253         [BZ #17668]
16254         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
16255         as weak alias of __getifaddrs.  Use libc_hidden_weak.
16256         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16257         __freeifaddrs.  Use libc_hidden_weak.
16258         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
16259         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
16260         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16261         __freeifaddrs.  Use libc_hidden_weak.
16262         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
16263         __getifaddrs and define as weak alias of __getifaddrs.  Use
16264         libc_hidden_weak.
16265         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16266         __freeifaddrs.  Use libc_hidden_weak.
16267         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
16268         Remove variable.
16269         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16270         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16272 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16274         [BZ #17601]
16275         * sysdeps/mips/start.S (__start): Use indirect jump to call
16276         __libc_start_main.
16278 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16280         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
16282         * nptl/tst-mutex1.c: Include <stdbool.h>.
16283         [!ATTR] (ATTR_NULL): New macro.
16284         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
16285         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
16286         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
16288         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
16289         to char *.
16291         [BZ #17665]
16292         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
16293         Change conditional to [__USE_MISC].
16295         [BZ #17664]
16296         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
16297         fgets_unlocked.
16298         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
16299         __fgets_unlocked.
16300         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
16301         fgets_unlocked.
16302         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
16303         Remove variable.
16304         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16305         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16306         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16307         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16308         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16309         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16310         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16311         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16312         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16314         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
16316 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16318         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16319         Remove strpbrk objects.
16320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16321         (__libc_ifunc_impl_list): Remove strpbrk implementation.
16322         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
16323         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
16324         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
16325         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
16327         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16328         Remove strcspn objects.
16329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16330         (__libc_ifunc_impl_list): Remove strcspn implementation.
16331         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
16332         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
16333         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
16334         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
16336         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16337         Remove strspn objetcs.
16338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16339         (__libc_ifunc_impl_list): Remove strspn implementation.
16340         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
16341         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16342         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
16343         * sysdeps/powerpc/powerpc64/strspn.S: New file.
16345 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
16347         [BZ #17581]
16348         * malloc/hooks.c
16349         (mem2mem_check): Add a terminator to the chain of checking blocks.
16350         (malloc_check_get_size): Use it here.
16351         (mem2chunk_check): Ditto.
16353 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16355         * sysdeps/powerpc/powerpc64/strtok.S: New file.
16356         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
16358 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
16360         * bits/ioctl-types.h: Indent preprocessor directives correctly.
16362         * nptl/nptl-init.c: Include libc-internal.h.
16363         (__pthread_initialize_minimal_internal): Use ROUND_UP.
16365         * elf/ldconfig.c (search_dir): Expand comment.
16367 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
16369         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
16370         variable.
16371         (linknamespace-symlist-stdlibs-tests): Likewise.
16372         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
16373         instead of $(objpfx)symlist-stdlibs.
16374         (linknamespace-libs-isoc): New variable.
16375         (linknamespace-libs): Use $(linknamespace-libs-isoc).
16376         (linknamespace-libs-ISO): New variable.
16377         (linknamespace-libs-ISO99): Likewise.
16378         (linknamespace-libs-ISO11): Likewise.
16379         (linknamespace-libs-XPG3): Likewise.
16380         (linknamespace-libs-XPG4): Likewise.
16381         (linknamespace-libs-POSIX): Likewise.
16382         (linknamespace-libs-UNIX98): Likewise.
16383         (linknamespace-libs-XOPEN2K): Likewise.
16384         (linknamespace-libs-POSIX2008): Likewise.
16385         (linknamespace-libs-XOPEN2K8): Likewise.
16386         ($(objpfx)symlist-stdlibs): Replace by
16387         $(linknamespace-symlist-stdlibs-tests).  Use
16388         $(linknamespace-libs-$*) as set of libraries.
16389         ($(linknamespace-header-tests)): Update dependencies.  Use
16390         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
16391         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
16392         * conform/linknamespace.pl: Remove comment about considering
16393         definitions of symbols from irrelevant libraries.
16395 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
16397         [BZ #13862]
16398         * elf/dl-tls.c: Include <atomic.h>.
16399         (oom): Remove #ifdef SHARED/#endif.
16400         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
16401         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
16402         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
16403         big enough.
16404         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
16405         * nptl/Makefile (tests): Add tst-stack4.
16406         (modules-names): Add tst-stack4mod.
16407         ($(objpfx)tst-stack4): New.
16408         (tst-stack4mod.sos): Likewise.
16409         ($(objpfx)tst-stack4.out): Likewise.
16410         ($(tst-stack4mod.sos)): Likewise.
16411         (clean): Likewise.
16412         * nptl/tst-stack4.c: New file.
16413         * nptl/tst-stack4mod.c: Likewise.
16415 2014-11-27  J. Brown  <jb999@gmx.de>
16417         * sysdeps/x86/bits/string.h: Add recent CPUs.
16419 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
16421         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
16422         sigblock.
16424         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
16425         feof.
16427         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
16428         variable.
16430 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16432         * nscd/connections.c: Include libc-internal.h because of macro
16433         usage ignore_value.
16435 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16437         * string/bits/string3.h (__warn_memset_zero_len): Don't
16438         declare for gcc newer than 5.0.
16439         (memset): Don't test for zero-length __LEN for gcc newer than
16440         5.0.
16442 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
16444         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
16445         size_t for %zu format.
16447         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
16448         difference, not %ju.
16450 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
16452         * include/libc-internal.h (ignore_value): New macro.
16453         * nscd/connections.c (restart): Wrap calls to setuid and setgid
16454         with ignore_value.
16456         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
16457         definition.
16459         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
16460         pthread_cleanup_push to void *.
16462         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
16463         Undefine.
16465         [BZ #16619]
16466         [BZ #16740]
16467         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
16468         instead of 1L << 52.
16470         * libio/bug-rewind.c (do_test): Check fwscanf return values.
16471         * libio/bug-rewind2.c (do_test): Likewise.
16473         * debug/test-stpcpy_chk-ifunc.c: Remove file.
16474         * debug/test-strcpy_chk-ifunc.c: Likewise.
16475         * wcsmbs/test-wcschr-ifunc.c: Likewise.
16476         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16477         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16478         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16479         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16480         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16481         * Rules [$(multi-arch) = no] (tests): Do not filter out
16482         $(tests-ifunc).
16483         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
16484         * debug/Makefile (tests-ifunc): Remove variable.
16485         (tests): Do not add $(tests-ifunc).
16486         * wcsmbs/Makefile (tests-ifunc): Remove variable.
16487         (tests): Do not add $(tests-ifunc).
16488         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
16489         [TEST_IFUNC]: Remove conditionals.
16490         * string/test-string.h (TEST_IFUNC): Remove macro.
16491         [TEST_IFUNC]: Remove conditionals.
16493         * string/test-strchr.c [!WIDE] (L): New macro.
16494         [WIDE] (L): Likewise.
16495         (check1): Use CHAR instead of char.  Use L on string and character
16496         constants.
16498 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
16500         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
16501         tests.
16502         * sysdeps/powerpc/bits/atomic.h
16503         (__arch_atomic_exchange_and_add_32_acq): Add definition.
16504         (__arch_atomic_exchange_and_add_32_rel): Likewise.
16505         (atomic_exchange_and_add_acq): Likewise.
16506         (atomic_exchange_and_add_rel): Likewise.
16507         * sysdeps/powerpc/powerpc32/bits/atomic.h
16508         (__arch_atomic_exchange_and_add_64_acq): Add definition.
16509         (__arch_atomic_exchange_and_add_64_rel): Likewise.
16510         * sysdeps/powerpc/powerpc64/bits/atomic.h
16511         (__arch_atomic_exchange_and_add_64_acq): Add definition.
16512         (__arch_atomic_exchange_and_add_64_rel): Likewise.
16514 2014-11-26  Torvald Riegel  <triegel@redhat.com>
16516         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
16517         Change synchronization of __sched_fifo_min_prio and
16518         __sched_fifo_max_prio.
16519         * nptl/pthread_mutexattr_getprioceiling.c
16520         (pthread_mutexattr_getprioceiling): Likewise.
16521         * nptl/pthread_mutexattr_setprioceiling.c
16522         (pthread_mutexattr_setprioceiling): Likewise.
16523         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
16524         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
16525         Likewise.
16527 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
16529         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
16530         void.
16532 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
16534         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
16535         third argument const.
16537 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
16539         fnmatch: work around GCC compiler warning bug with uninit var
16540         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
16541         This works around a bug with x86-64 GCC 4.9.2 and earlier
16542         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
16543         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
16544         used uninitialized in this function [-Wmaybe-uninitialized]".
16546 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
16548         * posix/bug-regex31.c (main): Return RES not 0.
16550 2014-11-25  Anton Blanchard <anton@samba.org>
16552         * sysdeps/powerpc/bits/atomic.h
16553         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
16555 2014-11-24  Sterling Augustine  <saugustine@google.com>
16557         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
16559 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
16561         [BZ #17608]
16562         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
16564 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
16566         [BZ #17633]
16567         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
16568         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
16569         variable.
16570         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
16571         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
16573 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
16575         * string/strncpy.c (strncpy): Improve performance by using memset.
16577 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
16579         * string/strcpy.c (strcpy):
16580         Improve performance by using strlen and memcpy.
16582 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
16584         * string/strcoll_l.c (get_next_seq): __always_inline.
16585         * string/strcoll_l.c (do_compare): __always_inline.
16587 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16589         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
16590         defined.
16591         * include/mqueue.h: Likewise.
16592         * include/stdlib.h: Likewise.
16594         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
16595         (get_null_defines): Adjust.
16596         * sunrpc/Makefile: Adjust comment.
16597         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
16598         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
16599         (CFLAGS-interp.c): Likewise.
16600         (CFLAGS-ldconfig.c): Likewise.
16601         (CPPFLAGS-.os): Likewise.
16602         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16603         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
16604         * extra-modules.mk (extra-modules.mk): Likewise.
16605         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
16606         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
16607         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
16608         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
16609         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
16610         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
16611         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
16612         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
16613         * iconvdata/Makefile (CPPFLAGS): Likewise.
16614         (cpp-srcs-left): Add libof for all iconvdata routines.
16615         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
16616         * include/assert.h: Likewise.
16617         * include/ctype.h: Likewise.
16618         * include/errno.h: Likewise.
16619         * include/libc-symbols.h: Likewise.
16620         * include/math.h: Likewise.
16621         * include/netdb.h: Likewise.
16622         * include/resolv.h: Likewise.
16623         * include/stdio.h: Likewise.
16624         * include/stdlib.h: Likewise.
16625         * include/string.h: Likewise.
16626         * include/sys/stat.h: Likewise.
16627         * include/wctype.h: Likewise.
16628         * intl/l10nflist.c: Likewise.
16629         * libidn/idn-stub.c: Likewise.
16630         * libio/libioP.h: Likewise.
16631         * nptl/libc_multiple_threads.c: Likewise.
16632         * nptl/pthreadP.h: Likewise.
16633         * posix/regex_internal.h: Likewise.
16634         * resolv/res_hconf.c: Likewise.
16635         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
16636         * sysdeps/arm/memmove.S: Likewise.
16637         * sysdeps/arm/sysdep.h: Likewise.
16638         * sysdeps/generic/_itoa.h: Likewise.
16639         * sysdeps/generic/symbol-hacks.h: Likewise.
16640         * sysdeps/gnu/errlist.awk: Likewise.
16641         * sysdeps/gnu/errlist.c: Likewise.
16642         * sysdeps/i386/i586/memcpy.S: Likewise.
16643         * sysdeps/i386/i586/memset.S: Likewise.
16644         * sysdeps/i386/i686/memcpy.S: Likewise.
16645         * sysdeps/i386/i686/memmove.S: Likewise.
16646         * sysdeps/i386/i686/mempcpy.S: Likewise.
16647         * sysdeps/i386/i686/memset.S: Likewise.
16648         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16649         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16650         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
16651         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
16652         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16653         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16654         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
16655         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16656         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16657         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16658         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16659         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16660         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16661         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16662         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16663         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16664         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
16665         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
16666         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
16667         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16668         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16669         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16670         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16671         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16672         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16673         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16674         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
16675         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16676         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
16677         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16678         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16679         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16681         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16682         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16683         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16684         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16685         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16686         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16687         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16688         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16689         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16690         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16691         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16692         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16693         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16694         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
16695         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
16696         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16697         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16698         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16699         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
16700         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
16701         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16702         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16703         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
16704         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16705         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
16706         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
16707         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16708         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16709         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16710         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
16711         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16712         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16713         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
16714         * sysdeps/posix/closedir.c: Likewise.
16715         * sysdeps/posix/opendir.c: Likewise.
16716         * sysdeps/posix/readdir.c: Likewise.
16717         * sysdeps/posix/rewinddir.c: Likewise.
16718         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
16719         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
16720         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16721         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16722         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16723         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
16724         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
16725         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
16726         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16727         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
16728         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16729         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16730         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16731         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
16732         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
16733         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
16734         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16735         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16736         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
16737         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
16738         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16739         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
16740         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
16741         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16742         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
16743         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
16744         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
16745         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16746         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16747         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
16748         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
16749         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
16750         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
16751         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
16752         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
16753         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
16754         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16755         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16756         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
16757         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
16758         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
16759         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
16760         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16761         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
16762         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
16763         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
16764         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
16765         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16766         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
16767         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
16768         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
16769         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16770         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16771         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16772         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16773         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
16774         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
16775         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16776         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16777         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
16778         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
16779         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16780         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16781         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16782         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
16783         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
16784         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
16785         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
16786         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
16787         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
16788         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
16789         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16790         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
16791         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16792         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16793         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
16794         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
16795         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16796         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16797         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
16798         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16799         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16800         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
16801         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
16802         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16803         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
16804         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
16805         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16806         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16807         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16808         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
16809         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
16810         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
16811         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16812         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16813         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
16814         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16815         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16816         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
16817         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
16818         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16819         * sysdeps/unix/alpha/sysdep.S: Likewise.
16820         * sysdeps/unix/alpha/sysdep.h: Likewise.
16821         * sysdeps/unix/make-syscalls.sh: Likewise.
16822         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16823         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16824         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16825         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
16826         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16827         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16828         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
16829         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16830         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16831         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
16832         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16833         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16834         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16835         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16836         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16837         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16838         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16839         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16840         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16841         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16842         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16843         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16844         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16845         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16846         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16847         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16848         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16851         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
16852         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16853         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16854         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16855         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16856         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16857         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16858         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16859         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16860         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16861         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16862         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16863         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16864         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16865         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16866         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16867         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16868         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16869         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16870         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16871         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16872         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16873         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16874         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16875         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16876         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16877         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16878         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16879         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16880         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
16881         * sysdeps/x86_64/memcpy.S: Likewise.
16882         * sysdeps/x86_64/memmove.c: Likewise.
16883         * sysdeps/x86_64/memset.S: Likewise.
16884         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
16885         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16886         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16887         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
16888         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16889         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16890         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16891         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16892         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16893         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16894         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16895         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16896         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
16897         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16898         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16899         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
16900         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16901         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16902         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16903         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16904         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
16905         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16906         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16907         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16908         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16909         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16910         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16911         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
16912         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16913         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16914         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
16915         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16916         * sysdeps/x86_64/strcmp.S: Likewise.
16918         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
16920         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
16921         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
16922         * elf/rtld-Rules: Likewise.
16923         * elf/setup-vdso.h: Likewise.
16924         * include/assert.h: Likewise.
16925         * include/bits/stdlib-float.h: Likewise.
16926         * include/errno.h: Likewise.
16927         * include/sys/stat.h: Likewise.
16928         * include/unistd.h: Likewise.
16929         * sysdeps/aarch64/setjmp.S: Likewise.
16930         * sysdeps/alpha/setjmp.S: Likewise.
16931         * sysdeps/arm/__longjmp.S: Likewise.
16932         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
16933         * sysdeps/arm/setjmp.S: Likewise.
16934         * sysdeps/arm/sysdep.h: Likewise.
16935         * sysdeps/generic/_itoa.h: Likewise.
16936         * sysdeps/generic/dl-sysdep.h: Likewise.
16937         * sysdeps/generic/ldsodefs.h: Likewise.
16938         * sysdeps/i386/dl-tls.h: Likewise.
16939         * sysdeps/i386/setjmp.S: Likewise.
16940         * sysdeps/m68k/setjmp.c: Likewise.
16941         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
16942         * sysdeps/mach/hurd/opendir.c: Likewise.
16943         * sysdeps/posix/getcwd.c: Likewise.
16944         * sysdeps/posix/opendir.c: Likewise.
16945         * sysdeps/posix/profil.c: Likewise.
16946         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16947         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16948         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16949         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16950         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16951         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
16952         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16953         * sysdeps/s390/dl-tls.h: Likewise.
16954         * sysdeps/s390/s390-32/setjmp.S: Likewise.
16955         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16956         * sysdeps/sh/sh3/setjmp.S: Likewise.
16957         * sysdeps/sh/sh4/setjmp.S: Likewise.
16958         * sysdeps/unix/alpha/sysdep.h: Likewise.
16959         * sysdeps/unix/arm/sysdep.S: Likewise.
16960         * sysdeps/unix/i386/sysdep.S: Likewise.
16961         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16962         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16963         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16964         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16965         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16966         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16967         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16968         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16969         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16970         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16971         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16972         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16973         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16976         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16979         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16980         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16981         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16982         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16983         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16984         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16985         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16986         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16988         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16989         * sysdeps/x86_64/setjmp.S: Likewise.
16991         * include/math.h: Use IS_IN instead of IS_IN_libm.
16992         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
16993         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16994         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16995         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16996         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16997         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16998         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16999         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17000         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17001         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17002         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
17003         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
17004         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
17005         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
17006         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
17007         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
17008         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
17009         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
17010         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
17011         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
17012         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
17013         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
17014         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
17015         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
17016         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
17017         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17018         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
17019         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
17020         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
17021         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
17022         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
17023         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17024         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17026         Likewise.
17027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
17028         Likewise.
17029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
17030         Likewise.
17031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
17032         Likewise.
17033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
17034         Likewise.
17035         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17036         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
17037         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17038         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17039         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17040         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
17042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
17043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
17044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
17045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
17046         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
17047         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
17048         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17049         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17050         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17051         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17052         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17053         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17054         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17055         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
17056         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
17057         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
17058         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
17059         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
17060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17061         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
17063         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
17064         * nptl/pthreadP.h: Likewise.
17065         * nptl_db/structs.def: Likewise.
17066         * sysdeps/arm/sysdep.h: Likewise.
17067         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17068         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17069         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
17070         * sysdeps/unix/alpha/sysdep.h: Likewise.
17071         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17072         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17073         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17074         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17075         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17076         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17077         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17078         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17079         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17080         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17081         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17082         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17083         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17084         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17087         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17088         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17089         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17090         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17091         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17092         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17093         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17094         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17095         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17096         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17098         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
17099         * nptl/pthreadP.h: Likewise.
17100         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17101         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17102         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17103         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17104         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17105         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17106         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17107         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17108         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17109         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17110         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17111         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17113         Likewise.
17114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17115         Likewise.
17116         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17117         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17118         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17119         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17120         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17121         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17122         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17123         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17125         * dlfcn/dladdr.c: Use IS_IN.
17126         * dlfcn/dladdr1.c: Likewise.
17127         * dlfcn/dlclose.c: Likewise.
17128         * dlfcn/dlerror.c: Likewise.
17129         * dlfcn/dlinfo.c: Likewise.
17130         * dlfcn/dlmopen.c: Likewise.
17131         * dlfcn/dlopen.c: Likewise.
17132         * dlfcn/dlsym.c: Likewise.
17133         * dlfcn/dlvsym.c: Likewise.
17135         * include/ifaddrs.h: Use IS_IN.
17136         * inet/check_pf.c: Likewise.
17137         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17138         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17140         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
17141         IS_IN_ldconfig.
17142         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
17143         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
17145         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
17146         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
17147         IS_IN (libc).
17149         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
17151         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
17152         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17153         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17154         * include/libc-symbols.h (IS_IN_LIB): New macro.
17155         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
17156         * include/netdb.h: Likewise.
17157         * include/stap-probe.h: Remove all uses of IN_LIB.
17159         * Makeconfig (module-cppflags-real): Define MODULE_NAME
17160         instead of IN_MODULE.
17161         * include/libc-symbols.h (IN_MODULE): Define using
17162         MODULE_NAME.
17163         (PASTE_NAME, PASTE_NAME1): New macros.
17164         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
17165         of IN_LIB.
17166         (STAP_PROBE_ASM): Likewise.
17168 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17170         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
17171         __mach_init in dlopened libc.
17173 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
17175         * sysdeps/arm/preconfigure.ac: Delete EABI check.
17176         * sysdeps/arm/preconfigure: Regenerate.
17178 2014-11-21  Roland McGrath  <roland@hack.frob.com>
17180         * nptl/pthread_create.c (__pthread_create_2_1): Set
17181         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
17182         when copying values from IATTR into PD.
17184 2014-11-21  Will Newton  <will.newton@linaro.org>
17185             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
17187         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
17188         Refactor inline-asm.  Also add comment.
17190         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
17191         ElfW macro instead of hardcoded Elf64 types.
17192         (la_aarch64_gnu_pltenter): Likewise.
17193         * sysdeps/aarch64/dl-machine.h
17194         (elf_machine_runtime_setup): Use ElfW(Addr).
17196         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
17197         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
17198         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
17199         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
17200         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
17201         (R_AARCH64_TLS_DTPMOD64): Rename to ..
17202         (R_AARCH64_TLS_DTPMOD): This.
17203         (R_AARCH64_TLS_DTPREL64): Rename to ...
17204         (R_AARCH64_TLS_DTPREL): This.
17205         (R_AARCH64_TLS_TPREL64): Rename to ...
17206         (R_AARCH64_TLS_TPREL): This.
17207         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
17208         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
17209         R_AARCH64_TLS_TPREL64.
17210         (elf_machine_rela): Likewise.
17212 2014-11-21  Torvald Riegel  <triegel@redhat.com>
17214         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
17215         by setting it to 0.  64b atomics are not supported currently.
17217 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17219         [BZ #16469]
17220         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
17221         search domain names.
17223 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17225         [BZ #16469]
17226         * NEWS: Update.
17227         * resolv/res_query.c (__libc_res_nquerydomain): Retain
17228         trailing dot.
17229         * posix/tst-getaddrinfo5.c: New.
17230         * posix/Makefile (tests): Add it.
17232 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17234         [BZ #14498]
17235         * NEWS: Fixed.
17236         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
17237         after parsing line but before break_if_match.
17238         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
17239         if there is a protocol mismatch.
17241 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
17243         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
17244         because the potential race is on the user-supplied stream.
17246 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17248         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
17249         string literal if not passed a buffer.
17250         * manual/job.texi (ctermid): Update reasoning, note deviation
17251         from posix, suggest mtasurace when not passed a buffer, for
17252         future non-preliminary safety notes.
17254 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17256         * manual/users.texi (cuserid): Fix MT-Safety note for the case
17257         of not passing it a buffer.
17258         Reported by Peng Haitao.
17260 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17262         * manual/Makefile ($(objpfx)stamp-summary): Require
17263         check-safety.sh to pass.
17264         * manual/check-safety.sh: Wish for verification that every
17265         @deftypefn and @deftypefun is followed by a @safety remark.
17267 2014-11-20  Roland McGrath  <roland@hack.frob.com>
17269         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
17271         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
17272         PTHREAD_CANCEL_ASYNCHRONOUS.
17273         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
17274         send SIGCANCEL.
17276         * nptl/default-sched.h: New file.
17277         * sysdeps/unix/sysv/linux/default-sched.h: New file.
17278         * nptl/pthread_create.c: Include it.
17279         (__pthread_create_2_1): Use collect_default_sched instead of making
17280         Linux syscalls here directly.
17282 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17284         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
17285         __pthread_once): Use C11 atomics.
17287 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17289         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
17291 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17293         * include/atomic.h (__atomic_link_error, __atomic_check_size,
17294         atomic_thread_fence_acquire, atomic_thread_fence_release,
17295         atomic_thread_fence_seq_cst, atomic_load_relaxed,
17296         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
17297         atomic_compare_exchange_weak_relaxed,
17298         atomic_compare_exchange_weak_acquire,
17299         atomic_compare_exchange_weak_release,
17300         atomic_exchange_acquire, atomic_exchange_release,
17301         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
17302         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
17303         atomic_fetch_and_acquire,
17304         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
17306 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17308         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
17309         USE_ATOMIC_COMPILER_BUILTINS): Define.
17310         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
17311         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17312         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
17313         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17314         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
17315         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17316         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
17317         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17318         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
17319         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17320         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
17321         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17322         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
17323         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17324         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
17325         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17326         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17327         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17328         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17329         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17330         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
17331         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17332         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17333         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17334         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
17335         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17336         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17337         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17338         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
17339         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17340         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
17341         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17342         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
17343         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17344         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17345         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17346         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
17347         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17348         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
17349         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17351 2014-11-19  Roland McGrath  <roland@hack.frob.com>
17353         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
17354         the sched_priority value here.  It was already checked when the user
17355         called pthread_attr_setschedparam.
17357         * nptl/tst-bad-schedattr.c: New file.
17358         * nptl/Makefile (tests): Add it.
17360 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
17361             Florian Weimer  <fweimer@redhat.com>
17362             Joseph Myers  <joseph@codesourcery.com>
17363             Adam Conrad  <adconrad@0c3.net>
17364             Andreas Schwab  <schwab@suse.de>
17365             Brooks  <bmoses@google.com>
17367         [BZ #17625]
17368         * wordexp-test.c (__dso_handle): Add prototype.
17369         (__register_atfork): Likewise.
17370         (__app_register_atfork): New function.
17371         (registered_forks): New global.
17372         (register_fork): New function.
17373         (test_case): Add 3 new tests for WRDE_CMDSUB.
17374         (main): Call __app_register_atfork.
17375         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
17376         fork count is non-zero fail the test.
17377         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
17378         is set.
17379         (parse_dollars): Remove check for WRDE_NOCMD.
17380         (parse_dquote): Likewise.
17382 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17384         * Makeconfig (built-modules): List non-library modules to be
17385         built.
17386         (module-cppflags): Include libc-modules.h for
17387         everything except shlib-versions.v.i.
17388         (CPPFLAGS): Use it.
17389         (before-compile): Add libc-modules.h.
17390         ($(common-objpfx)libc-modules.h,
17391         $(common-objpfx)libc-modules.stmp): New targets.
17392         (common-generated): Add libc-modules.h and libc-modules.stmp.
17393         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
17394         * include/libc-symbols.h: Don't include libc-modules.h.
17395         * include/libc-modules.h: Remove file.
17396         * scripts/gen-libc-modules.awk: New script to generate
17397         libc-modules.h.
17398         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
17399         Depend on libc-modules.stmp.
17401         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
17403         * Makeconfig (in-module): Get value of libof set for the
17404         translation unit.
17405         (CPPFLAGS): Use $(in-module).
17406         * Makerules: Don't suffix routine names for nonlib.
17407         * include/libc-modules.h: New file.
17408         * include/libc-symbols.h: Include libc-modules.h
17409         (IS_IN): New macro to replace IS_IN_* macros.
17410         * elf/Makefile: Set libof-* for each routine.
17411         * elf/rtld-Rules: Likewise.
17412         * extra-modules.mk: Likewise.
17413         * iconv/Makefile: Likewise.
17414         * iconvdata/Makefile: Likewise.
17415         * locale/Makefile: Likewise.
17416         * malloc/Makefile: Likewise.
17417         * nss/Makefile: Likewise.
17418         * sysdeps/gnu/Makefile: Likewise.
17419         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
17420         * sysdeps/unix/sysv/linux/Makefile: Likewise.
17421         * sysdeps/s390/s390-64/Makefile: Likewise.
17422         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
17423         CPPFLAGS for nscd instead of nonlib.
17425 2014-11-18  Roland McGrath  <roland@hack.frob.com>
17427         * nptl/createthread.c: New file.
17429         * nptl/createthread.c: Moved ...
17430         * sysdeps/unix/sysv/linux/createthread.c: ... here.
17432         * nptl/createthread.c: Add proper top-line comment.
17433         (do_clone): Folded into ...
17434         (create_thread): ... here.  Take new arguments STOPPED_START and
17435         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
17436         increment __nptl_threads, do event-reporting logic, do
17437         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
17438         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
17439         resource cleanup if sched_setaffinity or sched_setscheduler fails,
17440         just send SIGCANCEL.
17441         * nptl/pthread_create.c: Forward-declare create_thread before
17442         including createthread.c.
17443         (start_thread): Use new macro START_THREAD_DEFN to replace defining
17444         declaration, and new macro START_THREAD_SELF to replace argument.
17445         Remove return statement.
17446         (report_thread_creation): New function.
17447         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
17448         synchronization logic, and __nptl_nthreads increment here, around
17449         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
17450         PD->parent_cancelhandling here, before create_thread.  When
17451         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
17452         __deallocate_stack, and ENOMEM translation here.
17454 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
17456         [BZ #17616]
17457         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
17458         (mptwo): Rename to __mptwo.
17459         (__inv): Use __mptwo instead of mptwo.
17460         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
17461         (mptwo): Rename to __mptwo.
17462         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
17463         of mpone and __mptwo instead of mptwo.
17464         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
17465         instead of mpone.
17466         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17467         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
17468         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
17469         of mpone and __mptwo instead of mptwo.
17470         (__mpranred): Use __mpone instead of mpone.
17471         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
17472         variable.
17473         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
17474         (test-xfail-ISO99/math.h/linknamespace): Likewise.
17475         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
17476         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
17477         (test-xfail-ISO11/math.h/linknamespace): Likewise.
17478         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17479         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17480         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17481         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17482         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17483         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17484         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17485         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17486         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17487         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17488         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17489         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17490         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
17491         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
17493 2014-11-18  Tom de Vries  <tom@codesoucery.com>
17495         * manual/signal.texi (Primitives Interrupted by Signals): In section,
17496         replace BSD Handler xref with BSD Signal Handling.
17498 2014-11-17  Richard Henderson  <rth@redhat.com>
17500         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
17501         (_FP_PACK_RAW_2): Remove.
17502         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
17503         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
17504         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
17505         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
17506         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
17507         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
17508         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
17509         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
17510         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
17511         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
17512         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
17513         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
17514         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
17515         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
17516         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
17517         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
17519 2014-11-14  Roland McGrath  <roland@hack.frob.com>
17521         * signal/signal.h [__USE_MISC]
17522         (struct sigvec): Remove type.
17523         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
17524         (sigvec): Remove declaration.
17525         * sysdeps/posix/sigvec.c: Moved ...
17526         * signal/sigvec.c: ... here, replacing old file.
17527         (struct sigvec): New type, copied from old signal.h definition.
17528         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
17529         (__sigvec): Convert definition to prototype.
17530         (sigvec): Replace weak_alias with compat_symbol.
17531         * signal/Versions (libc: GLIBC_2.21): New version set.
17532         * include/signal.h: Remove __sigvec declaration.
17533         * sysdeps/unix/bsd/sigvec.c: Remove file.
17534         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
17535         * manual/signal.texi (BSD Handler): Remove subsection.
17536         Move siginterrupt up to ...
17537         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
17538         (Blocking in BSD): Fold subsection into its parent.
17539         * NEWS: Mention sigvec removal.
17541 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
17543         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
17544         (DLA_FMS): Make definition conditional only on [__FMA4__].
17545         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
17546         definition.
17548         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
17549         Make definition conditional only on [PROF].
17550         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
17551         definition.
17552         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
17553         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
17555         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
17556         !__GNUC__].
17557         * include/signal.h (__sigpause): Move declaration above call to
17558         libc_hidden_proto.
17559         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
17560         variable.
17561         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
17562         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
17564 2014-11-14  David S. Miller  <davem@davemloft.net>
17566         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
17567         Define before including <string/memcpy.c> and <string/mempcpy.c>.
17569 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
17571         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
17572         * configure: Regenerated.
17573         * manual/install.texi (Tools for Compilation): Document a
17574         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
17575         compiler verified to work.
17576         * INSTALL: Regenerated.
17578         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
17579         redeclare with asm name.
17580         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
17581         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
17582         including <string.h>.
17583         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17584         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
17585         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17586         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
17587         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17588         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17589         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17591 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
17593         * stdlib/strtol.c (__strtol): Use prototype definition.
17595         [BZ #17594]
17596         * stdlib/strtol.c (SYM__): New macro.
17597         (SYM__1): Likewise.
17598         (__strtol): Likewise.
17599         (strtol): Rename to __strtol and define as weak alias of
17600         __strtol.  Use libc_hidden_weak.
17602 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17604         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
17605         Use numbered labels in inline assembly.
17607 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17609         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
17610         Add setjmp LIBC_PROBE.
17611         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
17612         Likewise.
17613         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
17614         Add longjmp, longjmp_target LIBC_PROBE.
17615         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
17616         Likewise.
17618 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17620         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17621         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
17622         to get rid of unused variable warning.
17624 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17626         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
17627         Check for unwind_backtrace ==  NULL only in SHARED case.
17628         (__backchain_backtrace): Compile only in SHARED case.
17629         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
17630         Likewise.
17631         (__backchain_backtrace): Declare as static.
17633 2014-11-12  Roland McGrath  <roland@hack.frob.com>
17635         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
17636         (__libc_multiple_threads_ptr): Variable moved ...
17637         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
17639 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
17641         * conform/GlibcConform.pm: New file.
17642         * conform/conformtest.pl: Use GlibcConform module.
17643         * conform/linknamespace.pl: New file.
17644         * conform/list-header-symbols.pl: Likewise.
17645         * conform/Makefile (linknamespace-symlists-base): New variable.
17646         (linknamespace-symlists-tests): Likewise.
17647         (linknamespace-header-base): Likewise.
17648         (linknamespace-header-tests): Likewise.
17649         (tests-special): Add new tests.
17650         ($(linknamespace-symlists-tests)): New rule.
17651         (linknamespace-libs): New variable.
17652         ($(objpfx)symlist-stdlibs): New rule.
17653         ($(linknamespace-header-tests)): Likewise.
17654         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
17655         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
17656         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
17657         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
17658         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
17659         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
17660         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
17661         (test-xfail-ISO/math.h/linknamespace): Likewise.
17662         (test-xfail-ISO/signal.h/linknamespace): Likewise.
17663         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
17664         (test-xfail-ISO/time.h/linknamespace): Likewise.
17665         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
17666         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
17667         (test-xfail-ISO99/math.h/linknamespace): Likewise.
17668         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
17669         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17670         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
17671         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
17672         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17673         (test-xfail-ISO11/math.h/linknamespace): Likewise.
17674         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
17675         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17676         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17677         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17678         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
17679         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
17680         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17681         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
17682         (test-xfail-XPG3/search.h/linknamespace): Likewise.
17683         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
17684         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17685         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
17686         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17687         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17688         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
17689         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17690         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17691         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
17692         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
17693         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17694         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
17695         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17696         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17697         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17698         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17699         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
17700         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
17701         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
17702         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
17703         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17704         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
17705         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17706         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
17707         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17708         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17709         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17710         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
17711         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
17712         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17713         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17714         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
17715         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17716         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17717         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
17718         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17719         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17720         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17721         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17722         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17723         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17724         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17725         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17726         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17727         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
17728         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17729         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17730         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17731         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
17732         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17733         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17734         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
17735         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17736         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17737         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17738         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17739         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17740         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17741         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
17742         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
17743         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17744         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
17745         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17746         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
17747         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17748         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17749         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17750         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
17751         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17752         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17753         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17754         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
17755         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
17756         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
17757         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17758         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17759         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17760         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17761         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
17762         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
17763         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17764         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17765         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17766         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17767         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17768         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17769         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17770         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17771         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17772         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17773         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
17774         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17775         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17776         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
17777         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17778         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17779         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17780         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17781         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17782         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17783         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17784         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17785         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17786         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17787         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17788         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17789         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17790         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17791         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
17792         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17793         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17794         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17795         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17796         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17797         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
17798         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17799         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
17800         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17801         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17802         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17803         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17804         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17805         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17806         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17807         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17808         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17809         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17810         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17811         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
17812         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
17813         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17814         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17816         [BZ #17589]
17817         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
17818         of fgets_unlocked.
17820         [BZ #17585]
17821         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
17822         (memmem): Rename to __memmem and define as weak alias of
17823         __memmem.  Use libc_hidden_weak.
17824         (__memmem): Use libc_hidden_def.
17825         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
17826         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
17827         memmem.
17829         [BZ #17582]
17830         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
17831         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
17832         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
17833         and define as weak alias of __fgets_unlocked.  Use
17834         libc_hidden_weak.
17835         (__fgets_unlocked): Use libc_hidden_def.
17836         * include/stdio.h (__fgets_unlocked): Declare.  Use
17837         libc_hidden_proto.
17838         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
17839         __fgets_unlocked instead of fgets_unlocked.
17840         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
17841         (GET_NPROCS_CONF_PARSER): Likewise.
17842         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
17843         (GET_NPROCS_CONF_PARSER): Likewise.
17845         [BZ #17574]
17846         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
17847         weak alias of __wmemset.  Use libc_hidden_weak.
17848         (__wmemset): Use libc_hidden_def.
17849         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
17850         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
17851         of wmemset.
17853         [BZ #17573]
17854         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
17855         with asm name __mempcpy.
17856         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
17858         [BZ #17572]
17859         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
17860         and define as weak alias of __rawmemchr.
17861         (__rawmemchr): Do not define as strong alias of rawmemchr.
17863         [BZ #17571]
17864         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
17865         alias of __qsort_r.
17866         (qsort): Call __qsort_r instead of qsort_r.
17867         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
17868         (__qsort_r): Declare.  Call libc_hidden_proto.
17869         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
17870         instead of qsort_r.
17871         * nscd/gai.c (__qsort_r): Define to qsort_r.
17872         * posix/tst-rfc3484.c (__qsort_r): Likewise.
17873         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
17874         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
17876         [BZ #17570]
17877         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
17878         define as weak alias of __malloc_info.
17880         [BZ #17584]
17881         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
17882         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17883         (__rewinddir): Use libc_hidden_def.
17884         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
17885         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17886         (__rewinddir): Use libc_hidden_def.
17887         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
17888         weak alias of __rewinddir.  Don't use libc_hidden_def.
17889         (__rewinddir): Use libc_hidden_def.
17890         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
17891         (__rewinddir): Use libc_hidden_proto.
17892         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
17893         rewinddir.
17894         (__getcwd): Use __rewinddir instead of rewinddir.
17896         [BZ #17583]
17897         * libio/fileno.c (fileno): Rename to __fileno and define as weak
17898         alias of __fileno.  Use libc_hidden_weak.
17899         (__fileno): Use libc_hidden_def.
17900         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
17901         * libio/ftello.c (ftello): Rename to __ftello and define as weak
17902         alias of __ftello.
17903         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
17904         __ftello.
17905         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
17906         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
17907         libc_hidden_def.
17908         (fread_unlocked): Don't use libc_hidden_ver.
17909         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
17910         and define as weak alias of __fread_unlocked.  Don't use
17911         libc_hidden_def.
17912         (__fread_unlocked): Use libc_hidden_def.
17913         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
17914         (ftello): Don't use libc_hidden_proto.
17915         (__ftello): Declare.  Use libc_hidden_proto.
17916         (fread_unlocked): Don't use libc_hidden_proto.
17917         (__fread_unlocked): Declare.  Use libc_hidden_proto.
17918         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
17919         and __ftello instead of fileno, fread_unlocked and ftello.
17921 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17923         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
17924         GOT12.
17925         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17926         Likewise.
17927         (_dl_start_user): Likewise.
17928         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
17930 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
17931             Siddhesh Poyarekar  <siddhesh@redhat.com>
17933         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
17934         Move argv and envp down instead of moving argc up.
17935         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
17937 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
17939         [BZ #17506]
17940         * test-skeleton.c (main): Return successful if one of
17941         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
17942         * string/tst-strcoll-overflow.c: Define expected status.
17944 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
17946         [BZ #17475]
17947         * locale/iso-639.def: Define Bhili and Tulu language codes.
17949 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
17951         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
17953 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
17955         [BZ #17555]
17956         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
17958 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17960         * configure.ac: Updated check of minimal required version to
17961         2.22.
17962         * manual/install.texi (Tools for Compilation): Updated version
17963         number.
17964         * configure: Regenerated.
17965         * INSTALL: Likewise.
17967 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
17969         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
17970         __tls_get_addr.
17972 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
17974         * include/sys/wait.h (__libc_waitpid): Remove declaration.
17975         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
17976         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17977         libc_hidden_weak.
17978         (waitpid): Define as alias of __waitpid.
17979         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
17980         __waitpid.
17981         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17982         libc_hidden_weak.
17983         (waitpid): Define as alias of __waitpid.
17984         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
17985         __libc_waitpid alias.
17986         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
17987         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
17988         Likewise.
17989         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
17990         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
17991         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
17992         alias.
17993         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
17994         __waitpid.
17995         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17996         libc_hidden_weak.
17997         (waitpid): Define as alias of __waitpid.
17999 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
18001         * manual/llio.texi: Add comment that write safety has been
18002         fixed in Linux.
18004         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
18005         (localplt-build-dso): Add elf/ld.so.
18006         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
18007         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
18008         and free for ld.so.
18009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
18010         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
18011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
18012         Likewise.
18013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18014         Likewise.
18015         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18016         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
18017         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
18018         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18019         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18020         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
18021         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
18022         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
18023         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18024         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
18025         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18027 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
18029         [BZ #14132]
18030         * include/libc-symbols.h (INTUSE): Remove macro.
18031         (INTDEF): Likewise.
18032         (INTVARDEF): Likewise.
18033         (_INTVARDEF): Likewise.
18034         (INTDEF2): Likewise.
18035         (INTVARDEF2): Likewise.
18036         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
18037         rtld_hidden_def instead of INTVARDEF.
18038         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
18039         (_dl_starting_up_internal): Remove declaration.
18040         (_dl_starting_up): Use rtld_hidden_proto.
18041         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
18042         declaration.
18043         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
18044         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
18045         _dl_starting_up.
18046         * elf/dl-writev.h (_dl_writev): Likewise.
18047         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
18048         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
18049         _dl_starting_up_internal.
18051 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18053         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18054         test-skeleton.c.
18056 2014-11-05  Will Newton  <will.newton@linaro.org>
18058         * benchtests/Makefile: (bench-malloc): Add malloc thread
18059         scalability benchmark.
18060         * benchtests/bench-malloc-threads.c: New file.
18062 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
18064         * sysdeps/aarch64/strchrnul.S: New file.
18066 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18068         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
18069         definition.
18070         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18071         Likwise.
18072         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18073         Likewise.
18074         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18075         Likewise.
18076         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18077         Likewise.
18078         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18079         Likewise.
18081 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
18083         * catgets/test-gencat.c: Use test-skeleton.c.
18084         * catgets/tst-catgets.c: Likewise.
18085         * csu/tst-empty.c: Likewise.
18086         * elf/tst-audit2.c: Likewise.
18087         * elf/tst-global1.c: Likewise.
18088         * elf/tst-pathopt.c: Likewise.
18089         * elf/tst-piemod1.c: Likewise.
18090         * elf/tst-tls10.c: Likewise.
18091         * elf/tst-tls11.c: Likewise.
18092         * elf/tst-tls12.c: Likewise.
18093         * gnulib/tst-gcc.c: Likewise.
18094         * iconvdata/tst-e2big.c: Likewise.
18095         * iconvdata/tst-loading.c: Likewise.
18096         * iconv/tst-iconv1.c: Likewise.
18097         * iconv/tst-iconv2.c: Likewise.
18098         * inet/test-inet6_opt.c: Likewise.
18099         * inet/tst-gethnm.c: Likewise.
18100         * inet/tst-network.c: Likewise.
18101         * inet/tst-ntoa.c: Likewise.
18102         * intl/tst-codeset.c: Likewise.
18103         * intl/tst-gettext2.c: Likewise.
18104         * intl/tst-gettext3.c: Likewise.
18105         * intl/tst-ngettext.c: Likewise.
18106         * intl/tst-translit.c: Likewise.
18107         * io/test-stat.c: Likewise.
18108         * libio/test-fmemopen.c: Likewise.
18109         * libio/tst-freopen.c: Likewise.
18110         * libio/tst-sscanf.c: Likewise.
18111         * libio/tst-ungetwc1.c: Likewise.
18112         * libio/tst-ungetwc2.c: Likewise.
18113         * libio/tst-widetext.c: Likewise.
18114         * localedata/tst-ctype.c: Likewise.
18115         * localedata/tst-digits.c: Likewise.
18116         * localedata/tst-leaks.c: Likewise.
18117         * localedata/tst-mbswcs1.c: Likewise.
18118         * localedata/tst-mbswcs2.c: Likewise.
18119         * localedata/tst-mbswcs3.c: Likewise.
18120         * localedata/tst-mbswcs4.c: Likewise.
18121         * localedata/tst-mbswcs5.c: Likewise.
18122         * localedata/tst-setlocale.c: Likewise.
18123         * localedata/tst-trans.c: Likewise.
18124         * localedata/tst-wctype.c: Likewise.
18125         * localedata/tst-xlocale1.c: Likewise.
18126         * login/tst-grantpt.c: Likewise.
18127         * malloc/tst-calloc.c: Likewise.
18128         * malloc/tst-malloc.c: Likewise.
18129         * malloc/tst-mallocstate.c: Likewise.
18130         * malloc/tst-mcheck.c: Likewise.
18131         * malloc/tst-mtrace.c: Likewise.
18132         * malloc/tst-obstack.c: Likewise.
18133         * math/atest-exp2.c: Likewise.
18134         * math/atest-exp.c: Likewise.
18135         * math/atest-sincos.c: Likewise.
18136         * math/test-matherr.c: Likewise.
18137         * math/test-misc.c: Likewise.
18138         * math/test-powl.c: Likewise.
18139         * math/tst-definitions.c: Likewise.
18140         * misc/tst-dirname.c: Likewise.
18141         * misc/tst-efgcvt.c: Likewise.
18142         * misc/tst-fdset.c: Likewise.
18143         * misc/tst-hsearch.c: Likewise.
18144         * misc/tst-mntent2.c: Likewise.
18145         * nptl/tst-sem7.c: Likewise.
18146         * nptl/tst-sem8.c: Likewise.
18147         * nptl/tst-sem9.c: Likewise.
18148         * nss/test-netdb.c: Likewise.
18149         * posix/tst-fnmatch.c: Likewise.
18150         * posix/tst-getlogin.c: Likewise.
18151         * posix/tst-gnuglob.c: Likewise.
18152         * posix/tst-mmap.c: Likewise.
18153         * pwd/tst-getpw.c: Likewise.
18154         * resolv/tst-inet_ntop.c: Likewise.
18155         * rt/tst-timer.c: Likewise.
18156         * stdio-common/test-fseek.c: Likewise.
18157         * stdio-common/test-popen.c: Likewise.
18158         * stdio-common/test-vfprintf.c: Likewise.
18159         * stdio-common/tst-cookie.c: Likewise.
18160         * stdio-common/tst-fileno.c: Likewise.
18161         * stdio-common/tst-gets.c: Likewise.
18162         * stdio-common/tst-obprintf.c: Likewise.
18163         * stdio-common/tst-perror.c: Likewise.
18164         * stdio-common/tst-sprintf2.c: Likewise.
18165         * stdio-common/tst-sprintf3.c: Likewise.
18166         * stdio-common/tst-sprintf.c: Likewise.
18167         * stdio-common/tst-swprintf.c: Likewise.
18168         * stdio-common/tst-tmpnam.c: Likewise.
18169         * stdio-common/tst-unbputc.c: Likewise.
18170         * stdio-common/tst-wc-printf.c: Likewise.
18171         * stdlib/tst-environ.c: Likewise.
18172         * stdlib/tst-fmtmsg.c: Likewise.
18173         * stdlib/tst-limits.c: Likewise.
18174         * stdlib/tst-rand48-2.c: Likewise.
18175         * stdlib/tst-rand48.c: Likewise.
18176         * stdlib/tst-random2.c: Likewise.
18177         * stdlib/tst-random.c: Likewise.
18178         * stdlib/tst-strtol.c: Likewise.
18179         * stdlib/tst-strtoll.c: Likewise.
18180         * stdlib/tst-tls-atexit.c: Likewise.
18181         * stdlib/tst-xpg-basename.c: Likewise.
18182         * string/test-ffs.c: Likewise.
18183         * string/tst-bswap.c: Likewise.
18184         * string/tst-inlcall.c: Likewise.
18185         * string/tst-strtok.c: Likewise.
18186         * string/tst-strxfrm.c: Likewise.
18187         * sysdeps/x86_64/tst-audit10.c: Likewise.
18188         * sysdeps/x86_64/tst-audit3.c: Likewise.
18189         * sysdeps/x86_64/tst-audit4.c: Likewise.
18190         * sysdeps/x86_64/tst-audit5.c: Likewise.
18191         * time/tst-ftime_l.c: Likewise.
18192         * time/tst-getdate.c: Likewise.
18193         * time/tst-mktime3.c: Likewise.
18194         * time/tst-mktime.c: Likewise.
18195         * time/tst-posixtz.c: Likewise.
18196         * time/tst-strptime2.c: Likewise.
18197         * time/tst-strptime3.c: Likewise.
18198         * wcsmbs/tst-btowc.c: Likewise.
18199         * wcsmbs/tst-mbrtowc.c: Likewise.
18200         * wcsmbs/tst-mbsrtowcs.c: Likewise.
18201         * wcsmbs/tst-wchar-h.c: Likewise.
18202         * wcsmbs/tst-wcpncpy.c: Likewise.
18203         * wcsmbs/tst-wcrtomb.c: Likewise.
18204         * wcsmbs/tst-wcsnlen.c: Likewise.
18205         * wcsmbs/tst-wcstof.c: Likewise.
18207 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
18209         [BZ #14132]
18210         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
18211         INTDEF.
18212         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
18213         declaration.
18214         (_dl_mcount): Use rtld_hidden_proto.
18215         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
18216         _dl_mcount.
18217         * elf/rtld.c (_rtld_global_ro): Likewise.
18219         [BZ #14132]
18220         * elf/dl-init.c (_dl_init): Don't use INTDEF.
18221         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
18222         of _dl_init_internal.
18223         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18224         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
18225         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
18226         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
18227         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
18228         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
18229         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
18230         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
18231         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
18232         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
18233         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
18234         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
18235         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18236         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18237         * sysdeps/tile/dl-start.S (_start): Likewise.
18238         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
18239         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
18241         [BZ #14132]
18242         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
18243         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
18244         (rtld_progname): Make macro definition unconditional.
18245         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
18246         INTDEF.
18247         (dlmopen_doit): Do not use INTUSE with _dl_argv.
18248         (dl_main): Likewise.
18249         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18250         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
18251         instead of _dl_argv_internal.
18252         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18253         __GI__dl_argv instead of INTUSE(_dl_argv).
18254         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
18255         __GI__dl_argv instead of _dl_argv_internal.
18257         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
18258         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
18259         macro.
18260         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
18261         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
18262         New macro.
18263         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
18264         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
18265         macro.
18266         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
18267         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
18269 2014-11-04  Andreas Schwab  <schwab@suse.de>
18271         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
18273 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18275         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
18276         mtvsrd instruction in binary form.
18278 2014-11-03  Andreas Schwab  <schwab@suse.de>
18280         [BZ #17522]
18281         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
18282         for less than MB_LEN_MAX use a local buffer of that size.
18283         * libio/tst-fputws.c: New file.
18284         * libio/Makefile (tests): Add tst-fputws.
18286 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
18288         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
18289         the size of the fpu_fr.fpu_dregs[] array.
18291 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
18293         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
18294         (__nanosleep): Do not define as alias.
18295         (nanosleep): Define as alias of __nanosleep.
18296         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
18297         __libc_nanosleep name.
18299 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18301         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
18302         install.texi in comment.
18304 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18306         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
18307         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
18308         ... add here and use lwsync or sync ...
18309         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
18310         ... and add here using lwsync.
18312 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18314         * elf/dl-machine-reject-phdr.h: New file.
18315         * elf/dl-load.c: #include that.
18316         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
18317         if that returned true.
18319 2014-10-31  Roland McGrath  <roland@hack.frob.com>
18321         [BZ #17496]
18322         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
18323         gen-as-const-headers chunk.  Add a big scare comment after the last
18324         safe place to touch before-compile.
18326 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18328         * manual/install.texi (Tools for Compilation): Update autoconf
18329         version requirements.
18330         * INSTALL: Regenerated.
18332         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
18333         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
18334         (__libc_pselect): Likewise.
18336         [BZ #14138]
18337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
18338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18342 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18344         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
18345         correct barrier instruction.
18346         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
18347         Likewise.
18348         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
18349         Likewise.
18351 2014-10-30  Roland McGrath  <roland@hack.frob.com>
18353         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
18354         after defining inlines.  Instead, just use parens to defeat macro
18355         expansion of __isctype in its declaration.
18357 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
18359         * include/sys/uio.h (__libc_readv): Remove declaration.
18360         (__libc_writev): Likewise.
18361         * misc/readv.c (__libc_readv): Rename to __readv.
18362         (__readv): Do not define as alias.
18363         (readv): Define as alias of __readv.
18364         * misc/writev.c (__libc_writev): Rename to __writev.
18365         (__writev): Do not define as alias.
18366         (writev): Define as alias of __writev.
18367         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
18368         (__readv): Do not define as alias.
18369         (readv): Define unconditionally as alias of __readv.
18370         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
18371         (__writev): Do not define as alias.
18372         (writev): Define unconditionally as alias of __writev.
18373         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
18374         name.
18375         (writev): Do not define __libc_writev name.
18377 2014-10-30  Roland McGrath  <roland@hack.frob.com>
18379         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
18380         (convert_charseq): New function, broken out of ...
18381         (use_from_charmap): ... here.  Call it.
18382         (use_to_charmap): Use convert_charseq and free instead of duplicating
18383         its code with a variable-length stack struct.
18385 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
18387         * include/fcntl.h (__libc_creat): Remove declaration.
18388         * io/creat.c (__libc_creat): Rename to creat.
18389         (creat): Do not define as alias.
18390         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
18391         of creat instead of __libc_creat.
18392         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
18393         to creat.
18394         (creat): Do not define as alias.
18395         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
18396         __libc_creat.
18397         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
18398         __libc_creat name.
18399         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
18400         Likewise.
18402 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
18404         * manual/llio.texi: Add comments discussing why write() may be
18405         considered MT-unsafe on Linux.
18407 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
18409         * dl-load.c (local_strdup): Remove.
18410         (expand_dynamic_string_token): Use __strdup.
18411         (decompose_rpath): Likewise.
18412         (_dl_map_object): Likewise.
18414 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
18416         [BZ #14132]
18417         * sysdeps/generic/unwind-dw2-fde.c
18418         (__register_frame_info_bases_internal): Do not declare.
18419         (__register_frame_info_table_bases_internal): Likewise.
18420         (__deregister_frame_info_bases_internal): Likewise.
18421         (__register_frame_info_bases): Declare and use hidden_proto before
18422         definition.  Use hidden_def instead of INTDEF.
18423         (__register_frame_info_table_bases): Likewise.
18424         (__deregister_frame_info_bases): Likewise.
18425         (__register_frame_info): Do not use INTUSE.
18426         (__register_frame): Likewise.
18427         (__register_frame_info_table): Likewise.
18428         (__register_frame_table): Likewise.
18429         (__deregister_frame_info): Likewise.
18430         (__deregister_frame): Likewise.
18432 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
18434         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18435         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
18436         not undefine.
18437         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
18438         Likewise.
18439         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
18440         Likewise.
18442 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
18444         [BZ #14138]
18445         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
18446         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
18447         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
18448         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
18449         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
18450         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
18451         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
18452         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
18453         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
18454         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
18455         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
18456         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
18457         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
18458         syscall.
18459         (setfsuid): Likewise.
18460         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
18461         (setfsuid): Likewise.
18462         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
18463         (setfsuid): Likewise.
18464         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
18465         Likewise.
18466         (setfsuid): Likewise.
18467         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
18468         (setfsuid): Likewise.
18469         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
18470         Likewise.
18471         (setfsuid): Likewise.
18473 2014-10-27  Andreas Schwab  <schwab@suse.de>
18475         [BZ #17501]
18476         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
18477         check for Slow_SSE4_2 feature bit.
18478         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
18479         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18480         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
18481         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
18483 2014-10-24  Roland McGrath  <roland@hack.frob.com>
18485         * configure.ac: Validate compiler version with a empirical test of
18486         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
18487         $CC -v output.
18488         * configure: Regenerated.
18490         * inet/htons.c (htons): Prototypify.
18491         * inet/htonl.c (htonl): Likewise.
18493 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18495         * string/strncat.c (strncat): Improve performance by using strlen.
18497 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18499         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
18501 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18503         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
18504         Call libc_fetestexcept_aarch64.
18506 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18508         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
18509         Call libc_feholdexcept_aarch64.
18511 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18513         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
18514         Call get_rounding_mode.
18516 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18518         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18519         Simplify logic.
18521 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18523         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
18524         Simplify logic.
18526 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
18528         [BZ #14138]
18529         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
18530         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
18531         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
18532         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
18533         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
18534         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
18535         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
18536         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
18537         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
18538         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
18539         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18540         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
18541         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
18542         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
18543         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
18544         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
18545         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
18546         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
18547         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
18548         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
18549         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
18550         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
18551         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
18552         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
18553         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
18554         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
18555         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
18556         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
18557         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
18558         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
18559         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
18560         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
18561         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
18562         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
18563         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
18564         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
18565         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
18566         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
18567         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
18568         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
18569         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
18570         syscall.
18571         (geteuid): Likewise.
18572         (getgid): Likewise.
18573         (getuid): Likewise.
18574         (getresgid): Likewise.
18575         (getresuid): Likewise.
18576         (getgroups): Likewise.
18577         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
18578         (geteuid): Likewise.
18579         (getgid): Likewise.
18580         (getuid): Likewise.
18581         (getresgid): Likewise.
18582         (getresuid): Likewise.
18583         (getgroups): Likewise.
18584         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
18585         (geteuid): Likewise.
18586         (getgid): Likewise.
18587         (getuid): Likewise.
18588         (getresgid): Likewise.
18589         (getresuid): Likewise.
18590         (getgroups): Likewise.
18591         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
18592         Likewise.
18593         (geteuid): Likewise.
18594         (getgid): Likewise.
18595         (getuid): Likewise.
18596         (getresgid): Likewise.
18597         (getresuid): Likewise.
18598         (getgroups): Likewise.
18599         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
18600         (geteuid): Likewise.
18601         (getgid): Likewise.
18602         (getuid): Likewise.
18603         (getresgid): Likewise.
18604         (getresuid): Likewise.
18605         (getgroups): Likewise.
18606         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
18607         Likewise.
18608         (geteuid): Likewise.
18609         (getgid): Likewise.
18610         (getuid): Likewise.
18611         (getgroups): Likewise.
18613         [BZ #14138]
18614         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
18615         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
18616         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
18617         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18618         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
18619         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
18620         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
18621         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
18622         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
18623         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
18624         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
18625         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
18626         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
18627         __chown.
18628         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
18629         (lchown): Likewise.
18630         (fchown): Likewise.
18631         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
18632         Likewise.
18633         (lchown): Likewise.
18634         (fchown): Likewise.
18635         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
18636         (lchown): Likewise.
18637         (fchown): Likewise.
18638         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
18639         Likewise.
18640         (lchown): Likewise.
18641         (fchown): Likewise.
18643 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18645         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
18646         Simplify logic.
18648 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18650         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
18651         Cleanup logic.
18653 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18655         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
18656         Remove unused include.
18658 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18660         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
18661         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
18662         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
18663         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
18665 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
18666             Helge Deller <deller@gmx.de>
18668         [BZ #17508]
18669         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
18670         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
18671         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
18673 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
18675         [BZ #14132]
18676         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
18677         Remove macro definition.
18678         (__ashrdi3_v_glibc20): Likewise.
18679         (__lshrdi3_v_glibc20): Likewise.
18680         (__cmpdi2_v_glibc20): Likewise.
18681         (__ucmpdi2_v_glibc20): Likewise.
18682         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
18683         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18684         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18685         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18686         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18687         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
18689 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18691         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
18692         old GNU extension [0] syntax.
18693         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
18694         alloca rather than an array member with variable length.
18695         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
18696         * nscd/nscd.c (invalidate_db): New function, broken out of ...
18697         (parse_opt): ... here.  Likewise use alloca there.
18698         Validate the -i argument before checking for rootness.
18699         (send_shutdown): New function, broken out of ...
18700         (parse_opt): ... here.
18702 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18704         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
18705         macro to get at the _rt_local_ro field.
18706         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
18707         ([PIC] case) or _dl_hwcap ([!PIC] case).
18708         * sysdeps/arm/setjmp.S: Likewise.
18710         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
18711         * sysdeps/arm/configure.ac: New check to define it.
18712         * sysdeps/arm/configure: Regenerated.
18713         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
18714         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
18715         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
18716         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
18717         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
18718         Use move/movt pair instead of a load.
18719         (LDST_GLOBAL): Macro removed.
18720         (LDR_GLOBAL): New macro replaces it.
18721         (LDR_HIDDEN): New macro.
18722         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
18723         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
18725         * setjmp/tst-setjmp-static.c: New file.
18726         * setjmp/Makefile (tests): Add it.
18727         (tests-static): New variable.
18729 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
18731         [BZ #17485]
18732         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
18734 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
18736         [BZ #14132]
18737         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
18739 2014-10-21  Roland McGrath  <roland@hack.frob.com>
18741         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
18743 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18745         * io/fts.c (dirent_not_directory): New function.
18746         (fts_build): Call it.
18748 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18750         * nptl/version.c (__nptl_main): Use normal __write rather than
18751         INTERNAL_SYSCALL.
18752         (banner): Update copyright years.
18754         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
18755         gettimeofday.
18756         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18757         * nptl/pthread_cond_timedwait.c: Likewise.
18758         * nptl/pthread_mutex_timedlock.c: Likewise.
18759         * nptl/sem_timedwait.c: Likewise.
18761         * sysdeps/nptl/bits/libc-lock.h
18762         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18763         (__libc_lock_init_recursive): Return void, not 0.
18764         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
18765         (__libc_rwlock_init): Likewise.
18766         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
18768 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18770         [BZ #15215]
18771         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
18772         (__pthread_once_slow): ... here.
18773         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
18774         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
18776 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18778         [BZ #15215]
18779         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
18780         __PTHREAD_ONCE_FORK_GEN_INCR): New.
18781         * sysdeps/nptl/fork.c (__libc_fork): Use them.
18782         * nptl/pthread_once.c (__pthread_once): Likewise.
18783         Update comments.
18785 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
18787         [BZ #14138]
18788         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
18789         name.
18790         (writev): Use __libc_writev as strong name.
18791         * sysdeps/unix/sysv/linux/readv.c: Remove file.
18792         * sysdeps/unix/sysv/linux/writev.c: Likewise.
18794 2014-10-17  Roland McGrath  <roland@hack.frob.com>
18796         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
18798         * sysdeps/i386/nptl/tls.h
18799         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
18800         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
18801         New macros.
18802         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
18803         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
18804         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
18805         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
18806         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
18807         Call CHECK_THREAD_SYSINFO instead of doing an assert.
18809         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18810         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
18811         on [__NR_futex].
18812         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
18813         broken out of ...
18814         (__pthread_mutex_init): ... here.  Call it.
18815         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
18816         Conditionalize PI cases on [__NR_futex].
18817         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
18818         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
18819         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18821         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
18822         conditional on [SIGSETXID].
18823         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
18824         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
18825         is defined.  Likewise for SIGSETXID.
18826         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
18827         Conditionalize definitions on [SIGSETXID].
18828         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
18829         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
18830         unblocking on [SIGCANCEL].
18832         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
18833         [__NR_set_robust_list].
18835 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18837         * string/strcoll_l.c (get_next_seq): Fix up formatting.
18838         (do_compare): Likewise.
18840 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
18842         [BZ #15884]
18843         * string/strcoll_l.c: Don't include stdio.h.
18844         (coll_seq): Remove members idxarr and rulearr.
18845         (get_next_seq_cached): Remove function.
18846         (get_next_seq): Likewise.
18847         (get_next_seq_nocache): Rename to get_next_seq.
18848         (do_compare): Remove function.
18849         (do_compare_nocache): Rename to do_compare.
18850         (STRCOLL): Remove weight and rules cache.
18852 2014-10-16  Roland McGrath  <roland@hack.frob.com>
18854         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
18855         * sysdeps/arm/sfp-machine.h: ... to here.
18856         * sysdeps/arm/Implies: Remove arm/soft-fp.
18858 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
18860         * conform/data/sys/utsname.h-data (*_t): Allow.
18861         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
18862         [POSIX] (WEXITED): Do not expect constant.
18863         [POSIX] (WSTOPPED): Likewise.
18864         [POSIX] (WNOHANG): Likewise.
18865         [POSIX] (WNOWAIT): Likewise.
18866         [POSIX] (siginfo_t): Do not expect type or elements.
18867         [POSIX] (pid_t): Do not expect type.
18868         [POSIX] (signal.h): Do not allow header.
18869         [POSIX] (sys/resource.h): Likewise.
18870         [POSIX] (si_*): Do not allow pattern.
18871         [POSIX] (W*): Likewise.
18872         [POSIX] (P_*): Likewise.
18873         [POSIX] (BUS_*): Likewise.
18874         [POSIX] (CLD_*): Likewise.
18875         [POSIX] (FPE_*): Likewise.
18876         [POSIX] (ILL_*): Likewise.
18877         [POSIX] (POLL_*): Likewise.
18878         [POSIX] (SEGV_*): Likewise.
18879         [POSIX] (SI_*): Likewise.
18880         [POSIX] (TRAP_*): Likewise.
18881         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
18882         variable.
18884 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18886         [BZ #12926]
18887         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
18888         infinite loop when __recvmsg returns 0.
18890 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
18892         * CANCEL-FCT-WAIVE: Remove file.
18893         * CANCEL-FILE-WAIVE: Likewise.
18895         [BZ #14132]
18896         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
18897         instead of INTVARDEF.
18898         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18899         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
18900         rtld_hidden_data_def instead of INTVARDEF.
18901         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18902         * elf/dl-deps.c (expand_dst): Likewise.
18903         * elf/dl-load.c (_dl_dst_count): Likewise.
18904         (_dl_dst_substitute): Likewise.
18905         (decompose_rpath): Likewise.
18906         (_dl_init_paths): Likewise.
18907         (open_path): Likewise.
18908         (_dl_map_object): Likewise.
18909         * elf/rtld.c (dl_main): Likewise.
18910         (process_dl_audit): Likewise.
18911         (process_envvars): Likewise.
18912         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
18913         Remove declaration.
18914         (__libc_enable_secure): Use rtld_hidden_proto.
18916 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18918         * elf/dl-load.c
18919         (add_path): New function broken out of _dl_rtld_di_serinfo.
18920         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
18922 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18924         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
18925         parentheses around macro arguments.
18926         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
18927         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
18928         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
18929         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
18930         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
18931         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18932         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18933         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
18934         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
18935         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
18936         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
18937         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
18938         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
18939         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
18940         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
18941         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
18942         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
18943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
18944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
18945         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
18946         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
18947         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
18948         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
18949         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18950         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18951         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
18952         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
18953         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
18954         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
18955         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
18956         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
18957         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
18958         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
18959         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
18960         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
18961         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
18962         Likewise.
18963         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
18964         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18965         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18966         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
18967         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
18968         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
18969         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
18970         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
18971         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
18972         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
18973         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
18974         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
18975         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
18976         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
18977         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
18978         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18979         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18980         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
18981         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
18982         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
18983         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
18984         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
18985         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
18986         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
18987         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
18988         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
18989         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
18990         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
18991         (_FP_FRAC_SRS_1): Likewise.
18992         (_FP_FRAC_CLZ_1): Likewise.
18993         (_FP_MUL_MEAT_1_imm): Likewise.
18994         (_FP_MUL_MEAT_1_wide): Likewise.
18995         (_FP_MUL_MEAT_1_hard): Likewise.
18996         (_FP_SQRT_MEAT_1): Likewise.
18997         (_FP_FRAC_ASSEMBLE_1): Likewise.
18998         (_FP_FRAC_DISASSEMBLE_1): Likewise.
18999         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
19000         (__FP_CLZ_2): Likewise.
19001         (_FP_MUL_MEAT_2_wide): Likewise.
19002         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19003         (_FP_MUL_MEAT_2_gmp): Likewise.
19004         (_FP_MUL_MEAT_2_120_240_double): Likewise.
19005         (_FP_SQRT_MEAT_2): Likewise.
19006         (_FP_FRAC_ASSEMBLE_2): Likewise.
19007         (_FP_FRAC_DISASSEMBLE_2): Likewise.
19008         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
19009         (_FP_FRAC_CLZ_4): Likewise.
19010         (_FP_MUL_MEAT_4_wide): Likewise.
19011         (_FP_MUL_MEAT_4_gmp): Likewise.
19012         (_FP_SQRT_MEAT_4): Likewise.
19013         (_FP_FRAC_ASSEMBLE_4): Likewise.
19014         (_FP_FRAC_DISASSEMBLE_4): Likewise.
19015         * soft-fp/op-common.h (_FP_CMP): Likewise.
19016         (_FP_CMP_EQ): Likewise.
19017         (_FP_CMP_UNORD): Likewise.
19018         (_FP_TO_INT): Likewise.
19019         (_FP_FROM_INT): Likewise.
19020         [!__FP_CLZ] (__FP_CLZ): Likewise.
19021         (_FP_DIV_HELP_imm): Likewise.
19022         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
19023         Likewise.
19024         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
19025         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
19026         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
19027         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
19028         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
19029         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19030         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19031         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
19032         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
19033         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
19034         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
19035         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
19036         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
19037         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
19038         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
19039         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
19040         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
19041         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
19042         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
19043         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
19044         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
19045         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
19046         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
19047         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19048         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19049         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
19050         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
19051         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
19052         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
19053         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
19054         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
19055         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
19056         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
19057         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
19058         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
19059         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
19060         (FP_UNPACK_RAW_SP): Likewise.
19061         (FP_PACK_RAW_S): Likewise.
19062         (FP_PACK_RAW_SP): Likewise.
19063         (FP_UNPACK_S): Likewise.
19064         (FP_UNPACK_SP): Likewise.
19065         (FP_UNPACK_SEMIRAW_S): Likewise.
19066         (FP_UNPACK_SEMIRAW_SP): Likewise.
19067         (FP_PACK_S): Likewise.
19068         (FP_PACK_SP): Likewise.
19069         (FP_PACK_SEMIRAW_S): Likewise.
19070         (FP_PACK_SEMIRAW_SP): Likewise.
19071         (_FP_SQRT_MEAT_S): Likewise.
19072         (FP_CMP_S): Likewise.
19073         (FP_CMP_EQ_S): Likewise.
19074         (FP_CMP_UNORD_S): Likewise.
19075         (FP_TO_INT_S): Likewise.
19076         (FP_FROM_INT_S): Likewise.
19078         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
19080         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
19081         (FP_EX_INVALID_IMZ): Likewise.
19082         (FP_EX_INVALID_IMZ_FMA): Likewise.
19083         (FP_EX_INVALID_ISI): Likewise.
19084         (FP_EX_INVALID_ZDZ): Likewise.
19085         (FP_EX_INVALID_IDI): Likewise.
19086         (FP_EX_INVALID_SQRT): Likewise.
19087         (FP_EX_INVALID_CVI): Likewise.
19088         (FP_EX_INVALID_VC): Likewise.
19089         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
19090         "invalid" exceptions.
19091         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
19092         (_FP_ADD_INTERNAL): Likewise.
19093         (_FP_MUL): Likewise.
19094         (_FP_FMA): Likewise.
19095         (_FP_DIV): Likewise.
19096         (_FP_CMP_CHECK_NAN): Likewise.
19097         (_FP_SQRT): Likewise.
19098         (_FP_TO_INT): Likewise.
19099         (FP_EXTEND): Likewise.
19101 2014-10-09  Allan McRae  <allan@archlinux.org>
19103         * po/fr.po: Update French translation from translation project.
19105 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19107         [BZ #14132]
19108         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
19109         of INTDEF.
19110         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
19111         (__cxa_atexit): Use libc_hidden_proto.
19112         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
19114         [BZ #14132]
19115         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
19116         declaration.
19117         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
19118         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19119         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
19120         [!_ISOMAC] (__iswctype_internal): Likewise.
19121         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
19122         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19123         alias.
19124         (fcntl): Remove __fcntl_internal alias.
19125         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
19126         __connect_internal alias.
19127         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
19128         Likewise.
19130         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
19131         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
19132         FP_DENORM_ZERO.
19133         (_FP_CHECK_FLUSH_ZERO): New macro.
19134         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
19135         (_FP_CMP): Likewise.
19136         (_FP_CMP_EQ): Likewise.
19137         (_FP_TO_INT): Do not set inexact for subnormal arguments if
19138         FP_DENORM_ZERO.
19139         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
19140         (FP_TRUNC): Likewise.
19142         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
19143         treated as invalid conversion, not as normal exponent.
19145         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19146         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
19147         (_FP_CMP_EQ): Likewise.
19148         (_FP_CMP_UNORD): Likewise.
19149         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
19150         (FP_CMP_EQ_D): Likewise.
19151         (FP_CMP_UNORD_D): Likewise.
19152         * soft-fp/extended.h (FP_CMP_E): Likewise.
19153         (FP_CMP_EQ_E): Likewise.
19154         (FP_CMP_UNORD_E): Likewise.
19155         * soft-fp/quad.h (FP_CMP_Q): Likewise.
19156         (FP_CMP_EQ_Q): Likewise.
19157         (FP_CMP_UNORD_Q): Likewise.
19158         * soft-fp/single.h (FP_CMP_S): Likewise.
19159         (FP_CMP_EQ_S): Likewise.
19160         (FP_CMP_UNORD_S): Likewise.
19161         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
19162         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
19163         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
19164         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
19165         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
19166         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
19167         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
19168         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
19169         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
19170         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
19171         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
19172         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
19173         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
19174         to FP_CMP_Q.
19175         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
19176         FP_CMP_Q.
19177         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
19178         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
19179         FP_CMP_EQ_Q.
19180         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
19181         FP_CMP_Q.
19182         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
19183         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
19184         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
19185         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
19186         FP_CMP_EQ_Q.
19187         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
19188         FP_CMP_Q.
19189         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
19190         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
19191         FP_CMP_EQ_Q.
19192         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
19193         FP_CMP_Q.
19194         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
19195         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
19196         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
19197         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
19198         FP_CMP_EQ_Q.
19200         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
19201         a subnormal result, set the underflow exception if trapping on
19202         underflow is enabled.
19203         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
19204         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
19205         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
19206         redefine to 0.
19207         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
19208         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19209         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19210         * soft-fp/extendxftf2.c (__extendxftf2): Use
19211         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
19213         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
19214         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
19215         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19216         FP_HANDLE_EXCEPTIONS.
19217         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
19218         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19219         FP_HANDLE_EXCEPTIONS.
19220         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
19221         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19222         FP_HANDLE_EXCEPTIONS.
19223         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
19224         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19225         FP_HANDLE_EXCEPTIONS.
19227 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
19229         [BZ #14132]
19230         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
19231         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
19232         use INTUSE.
19233         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
19234         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
19235         Remove alias.
19236         (__adjtimex): Define using libc_hidden_ver.
19237         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
19238         Remove declaration.
19239         (ntp_gettime): Call __adjtimex directly.
19240         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
19241         Remove declaration.
19242         (ntp_gettimex): Call __adjtimex directly.
19243         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
19244         __adjtimex_internal alias.
19246 2014-10-08  Roland McGrath  <roland@hack.frob.com>
19248         [BZ #17460]
19249         * nscd/nscd.c (more_help): Rewrite list of tables collection
19250         using xstrdup and asprintf.
19252         * nscd/nscd_conf.c: Remove local xstrdup declaration.
19254 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19255             Roland McGrath  <roland@hack.frob.com>
19257         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
19258         (do_lookup_unique): ... local function 'enter' here; update callers.
19260 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
19262         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
19263         compat_symbol calls on [SHARED].
19264         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
19265         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
19266         Remove.
19267         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19268         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
19269         (oldsetrlimit): Remove.
19270         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19272         (lchown): New syscall entry.
19273         (oldsetrlimit): Remove.
19274         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19275         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
19276         (oldsetrlimit): Remove.
19277         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19279         [BZ #14138]
19280         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
19281         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
19282         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
19283         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
19284         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19285         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
19286         (fchown): Likewise.
19287         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
19288         (fchown): Likewise.
19289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
19290         Likewise.
19292 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19294         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
19295         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
19296         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
19297         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
19298         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
19299         Likewise.
19300         (__old_sem_post): Likewise.
19302 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
19304         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
19305         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
19306         HAVE_CLOCK_GETTIME_VSYSCALL macros.
19307         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
19308         Use INLINE_VSYSCALL macro.
19309         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
19310         __vdso_clock_gettime.
19311         * sysdeps/unix/sysv/linux/tile/init-first.c
19312         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
19313         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
19314         __vdso_clock_gettime.
19316         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
19317         to set up frame more cleanly.
19319         * sysdeps/tile/memcmp.c: New file.
19321         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
19323         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
19324         * sysdeps/tile/tilegx/strcasestr.c: New file.
19325         * sysdeps/tile/tilegx/strnlen.c: New file.
19326         * sysdeps/tile/tilegx/strstr.c: New file.
19328         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
19330 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
19332         * nptl/tst-setuid3.c: Write errors to stdout.
19334 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19336         * elf/dl-deps.c
19337         (preload): New functions broken out of _dl_map_object_deps.
19338         (_dl_map_object_deps):  Remove a nested function. Update call sites.
19340 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
19342         [BZ #14138]
19343         * sysdeps/unix/sysv/linux/execve.c: Remove file.
19344         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
19346 2014-10-01  Steve Ellcey  <sellcey@mips.com>
19348         * sysdeps/mips/strcmp.S: New.
19350 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
19352         [BZ #14138]
19353         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
19354         (linkat): Likewise.
19355         (mkdirat): Likewise.
19356         (readlinkat): Likewise.
19357         (renameat): Likewise.
19358         (symlinkat): Likewise.
19359         (unlinkat): Likewise.
19360         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
19361         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
19362         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
19363         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
19364         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
19365         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
19366         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
19368 2014-09-30  Will Newton  <will.newton@linaro.org>
19370         * math/math.h: Define long double math functions if
19371         _LIBC_TEST is defined.
19372         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
19374         * localedata/Makefile: Move assignment to tests-special
19375         into an ifdef testing run-built-tests.
19376         * timezone/Makefile: Likewise.
19378 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
19380         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
19381         with $(BASH) not $(SHELL).
19383 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
19384             Matthew LeGendre  <legendre1@llnl.gov>
19386         [BZ #17411]
19387         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
19388         l_reloc_result.
19390 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19392         * stdio-common/printf_fp.c
19393         (hack_digit): New function, broken out of ...
19394         (__printf_fp): ... local function here.  Update call sites.
19395         hack_digit now takes an additional parameter that is a pointer
19396         to a struct of the referenced locals.  Those locals moved inside
19397         the struct and references updated.
19399 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
19401         * aclocal.m4: Require autoconf 2.69.
19402         * configure: Regenerated.
19403         * sysdeps/aarch64/configure: Likewise.
19404         * sysdeps/alpha/configure: Likewise.
19405         * sysdeps/arm/armv7/configure: Likewise.
19406         * sysdeps/arm/configure: Likewise.
19407         * sysdeps/ia64/configure: Likewise.
19408         * sysdeps/mach/configure: Likewise.
19409         * sysdeps/mips/configure: Likewise.
19410         * sysdeps/s390/configure: Likewise.
19411         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
19412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
19414         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
19415         file.
19416         * sysdeps/ia64/configure.ac: Likewise.
19418 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
19420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
19421         specify symbol version for ld.so.  Do not include entry for
19422         libpthread.
19423         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19424         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19425         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19427         [BZ #14171]
19428         * Makeconfig [$(build-shared) = yes]
19429         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
19430         makefiles.
19431         [$(build-shared) = yes && $(soversions.mk-done) = t]
19432         ($(common-objpfx)gnu/lib-names.h): Remove rule.
19433         [$(build-shared) = yes && $(soversions.mk-done) = t]
19434         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
19435         to Makerules.
19436         [$(build-shared) = yes && $(soversions.mk-done) = t]
19437         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
19438         here.
19439         [$(build-shared) = yes && $(soversions.mk-done) = t]
19440         (common-generated): Don't append gnu/lib-names.h and
19441         gnu/lib-names.stmp here.
19442         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
19443         (lib-names-h-abi): New variable.
19444         [$(build-shared) = yes && $(soversions.mk-done) = t]
19445         (lib-names-stmp-abi): Likewise.
19446         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19447         abi-variants] (before-compile): Append
19448         $(common-objpfx)$(lib-names-h-abi).
19449         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19450         abi-variants] (common-generated): Append gnu/lib-names.h.
19451         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19452         abi-variants] (install-others-nosubdir): Depend on
19453         $(inst_includedir)/$(lib-names-h-abi).
19454         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19455         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
19456         [$(build-shared) = yes && $(soversions.mk-done) = t]
19457         ($(common-objpfx)$(lib-names-h-abi)): New rule.
19458         [$(build-shared) = yes && $(soversions.mk-done) = t]
19459         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
19460         [$(build-shared) = yes && $(soversions.mk-done) = t]
19461         (common-generated): Append $(lib-names-h-abi) and
19462         $(lib-names-stmp-abi).
19463         * scripts/lib-names.awk: Do not handle multi being set.
19464         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
19465         Remove variable.
19466         (abi-lp64_be-ld-soname): Likewise.
19467         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
19468         Likewise.
19469         (abi-hard-ld-soname): Likewise.
19470         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
19471         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
19472         Remove variable.
19473         (abi-o32_hard-ld-soname): Likewise.
19474         (abi-o32_soft_2008-ld-soname): Likewise.
19475         (abi-o32_hard_2008-ld-soname): Likewise.
19476         (abi-n32_soft-ld-soname): Likewise.
19477         (abi-n32_hard-ld-soname): Likewise.
19478         (abi-n32_soft_2008-ld-soname): Likewise.
19479         (abi-n32_hard_2008-ld-soname): Likewise.
19480         (abi-n64_soft-ld-soname): Likewise.
19481         (abi-n64_hard-ld-soname): Likewise.
19482         (abi-n64_soft_2008-ld-soname): Likewise.
19483         (abi-n64_hard_2008-ld-soname): Likewise.
19484         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
19485         Likewise.
19486         (abi-64-v2-ld-soname): Likewise.
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
19488         ld.so entries.
19489         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
19490         variable.
19491         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
19492         entry.
19493         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
19494         variable.
19495         (abi-64-ld-soname): Likewise.
19496         (abi-x32-ld-soname): Likewise.
19497         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
19498         entry.
19499         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19501 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
19503         [BZ #14138]
19504         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
19505         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
19506         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
19507         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
19508         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
19509         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
19510         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
19511         syscall entry for GLIBC_2.2 symbol version.
19512         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
19513         Likewise.
19514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19515         (setrlimit): Likewise.
19516         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
19517         Likewise.
19519 2014-09-23  Will Newton  <will.newton@linaro.org>
19521         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
19522         _LINUX_ARM_SYSDEP_H include guard too.
19523         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
19524         define.
19526 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19528         * sysdeps/unix/sysv/linux/eventfd.c:
19529         Make first argument unsigned.
19530         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
19531         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
19533 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
19535         * socket/recvmmsg.c (recvmmsg): Drop const argument.
19536         * socket/sys/socket.h: Likewise
19537         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
19539 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19541         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
19543 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
19545         * time/tst-ftime.c: New test.
19546         * time/Makefile (tests): Add tst-ftime.
19548 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
19550         * soft-fp/extended.h: Fix comment formatting.
19551         * soft-fp/op-1.h: Likewise.
19552         * soft-fp/op-2.h: Likewise.
19553         * soft-fp/op-4.h: Likewise.
19554         * soft-fp/op-8.h: Likewise.
19555         * soft-fp/op-common.h: Likewise.
19556         * soft-fp/soft-fp.h: Likewise.
19558         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
19560 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
19562         [BZ #6652]
19563         * Makeconfig (soversions-default-setname): Remove variable.
19564         ($(common-objpfx)soversions.i): Don't pass default_setname to
19565         soversions.awk.
19566         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
19567         oldest_abi to abi-versions.awk.
19568         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
19569         * config.make.in (oldest-abi): Remove variable.
19570         * configure.ac (--enable-oldest-abi): Remove configure option.
19571         * configure: Regenerated.
19572         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
19573         text.
19574         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
19575         * scripts/soversions.awk: Do not handle default_setname variable.
19576         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
19577         variable.
19578         * sysdeps/mach/hurd/configure: Regenerated.
19579         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
19580         variable.
19581         * sysdeps/unix/sysv/linux/configure: Regenerated.
19583 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19585         * elf/Makefile (CFLAGS-interp.c): Remove.
19586         ($(elf-objpfx)runtime-linker.h): Generate header with linker
19587         path string.
19588         * elf/interp.c: Include generated runtime-linker.h
19590         * Makerules (lib%.so): Don't include $(+interp) in
19591         prerequisites.
19592         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
19593         * dlfcn/eval.c: Remove file.
19595         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
19596         macros.
19598         [BZ #17266]
19599         * misc/sys/cdefs.h: Define __extern_always_inline for clang
19600         4.2 and newer.
19602         [BZ #17370]
19603         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
19605 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19606             Jakub Jelinek  <jakub@redhat.com>
19608         [BZ #17266]
19609         * libio/stdio.h: Check definition of __fortify_function
19610         instead of __extern_always_inline to include bits/stdio2.h.
19611         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
19612         check if __extern_always_inline is defined.
19613         [__USE_MISC || __USE_XOPEN]: Likewise.
19614         [__USE_ISOC99] Likewise.
19615         * misc/sys/cdefs.h (__fortify_function): Define only if
19616         __extern_always_inline is defined.
19617         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
19618         __extern_always_inline and __extern_inline only for g++-4.3
19619         and newer or a compatible gcc.
19621 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
19623         [BZ #17371]
19624         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19625         last change to handle zero prefix length.
19627 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19629         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
19630         _SC_REGEX_VERSION.
19632         * posix/getconf.c (vars): Add _POSIX_IPV6 and
19633         _POSIX_RAW_SOCKETS.
19635 2014-09-13  Allan McRae  <allan@archlinux.org>
19637         * po/ru.po: Update Russian translation from translation project.
19639 2014-09-12  Roland McGrath  <roland@hack.frob.com>
19641         * locale/programs/locale.c (show_locale_vars): Inline local function
19642         into its sole call site.  Clean up some style nits.
19643         (print_item): New function, broken out of ...
19644         (show_info): ... local function here.  Clean up style nits.
19646         * locale/programs/ld-ctype.c (set_one_default): New function, broken
19647         out of ...
19648         (set_class_defaults): ... local function set_default here.
19649         Define set_default as a macro locally to pass constant parameters.
19650         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
19651         rather than a shared local.
19653         * stdlib/rpmatch.c (try): New function, broken out of ...
19654         (rpmatch): ... local function here.  Also, prototypify definition.
19656 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
19658         * scripts/soversions.awk: Do not handle configuration names.
19659         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
19660         vendor and os variables to soversions.awk.
19661         * configure.ac: Do not modify gnu-* host_os.
19662         * configure: Regenerated
19663         * shlib-versions: Remove first column with configuration names.
19664         * nptl/shlib-versions: Likewise.
19665         * nptl_db/shlib-versions: Likewise.
19666         * sysdeps/hppa/shlib-versions: Likewise.
19667         * sysdeps/m68k/shlib-versions: Likewise.
19668         * sysdeps/mach/hurd/shlib-versions: Likewise.
19669         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
19670         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
19671         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
19672         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
19673         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
19674         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
19675         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
19676         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
19677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19678         Likewise.
19679         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19680         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19681         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19682         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19683         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19684         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
19685         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19686         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19689         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
19690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19691         Regenerated.
19692         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
19693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19694         Condition symbol version definitions on [HAVE_ELFV2_ABI].
19696         * shlib-versions: Remove OS-specific entries.  Moved to files in
19697         sysdeps.
19698         * sysdeps/mach/hurd/shlib-versions: New file.
19699         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19701         * nptl/shlib-versions: Remove architecture-specific entries.
19702         Moved to files in sysdeps.
19703         * shlib-versions: Likewise.
19704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
19705         file.
19706         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19707         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19708         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19709         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19711         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
19712         (UDP_NO_CHECK6_RX): Likewise.
19714 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19716         * sysdeps/posix/sysconf.c (__sysconf): Spell
19717         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
19719 2014-08-12  Florian Weimer  <fweimer@redhat.com>
19721         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
19722         loading.
19723         * iconv/Versions (__gconv_transliterate): Export for use from
19724         gconv modules.
19725         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
19726         (struct __gconv_trans_data, __gconv_trans_fct,
19727         __gconv_trans_context_fct, __gconv_trans_query_fct,
19728         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
19729         definitions.
19730         (struct __gconv_step_data): Remove __trans member.
19731         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
19732         longer hidden.  Remove unused trans_data argument.
19733         * iconv/gconv_int.h (struct trans_struct): Remove definition.
19734         (__gconv_translit_find): Remove declaration.
19735         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
19736         prototype.
19737         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
19738         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
19739         trans_data argument.  Add hidden definition.
19740         (__gconv_translit_find): Remove.
19741         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
19742         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
19743         * iconv/skeleton.c: Remove transliteration initialization.
19744         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
19745         __gconv_step_data initialization.
19746         * libio/iofwide.c (__libio_translit_): Remove.
19747         (_IO_fwide): Adjust struct __gconv_step_data initialization.
19748         * wcsmbs/btowc.c (__btowc): Likewise.
19749         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19750         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19751         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19752         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19753         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
19754         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19755         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19756         * wcsmbs/wctob.c (wctob): Likewise.
19758 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19760         [BZ #16194]
19761         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
19762         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
19763         register usage.
19764         * sysdeps/x86/Makefile: Adjust.
19766 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19767             Roland McGrath  <roland@hack.frob.com>
19769         * locale/weight.h: Add include guard.
19770         (findidx): Make static rather than auto; take new parameters
19771         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
19772         * locale/weightwc.h: Likewise.
19773         * posix/fnmatch_loop.c
19774         (FCT): Change type of EXTRA from int32_t to wint_t.
19775         Don't include either header inside the function.
19776         Call FINDIDX rather than findidx, and pass new arguments.
19777         #undef FINDIDX at the end of the file.
19778         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
19779         FINDIDX before including fnmatch_loop.c for the non-wide version.
19780         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
19781         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
19782         for the wide version.
19783         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
19784         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
19785         Pass new arguments to findidx.
19786         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
19787         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
19788         Don't #include it inside the function.  Pass new arguments to findidx.
19789         * posix/regex_internal.h
19790         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
19791         (re_string_elem_size_at): Don't #include it inside the function.
19792         Pass new arguments to findidx.
19793         * string/strcoll_l.c: #include WEIGHT_H at top level.
19794         (get_next_seq): Don't #include it inside the function.
19795         Pass new arguments to findidx.
19796         (get_next_seq_nocache): Likewise.
19797         * string/strxfrm_l.c: #include WEIGHT_H at top level.
19798         (STRXFRM): Don't #include it inside the function.
19799         Pass new arguments to findidx.
19801 2014-09-11  Florian Weimer  <fweimer@redhat.com>
19803         [BZ #17344]
19804         * malloc/malloc.c (unlink): Turn asserts into a call to
19805         malloc_printerr.
19807 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
19809         [BZ #17370]
19810         * libio/wfileops (do_ftell_wide): Free OUT.
19812 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
19814         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
19816 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19818         [BZ #17363]
19819         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
19820         group if the current group is empty.
19822 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19824         * benchtests/bench-memset.c (test_main): Add more test from size
19825         from 32 to 512 bytes.
19826         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19827         Add POWER8 memset object.
19828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19829         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
19830         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
19831         implementation.
19832         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
19833         Likewise.
19834         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
19835         multiarch POWER8 memset optimization.
19836         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
19837         POWER8 memset optimization.
19839         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19840         Remove bzero multiarch objects.
19841         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
19842         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
19843         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
19844         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
19845         Remove define.
19846         [__bzero]: Redefine to specific name.
19847         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
19848         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
19849         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
19850         define.
19851         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19852         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19854 2014-09-10  Florian Weimer  <fweimer@redhat.com>
19856         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
19857         warnings into errors.
19859         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
19860         __cxa_thread_atexit_impl prototype.
19862 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19864         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
19865         Fix capitalization of error message.
19867 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19869         * sysdeps/mips/preconfigure: Modify ABI tests.
19871 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
19873         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
19875 2014-09-07  Roland McGrath  <roland@hack.frob.com>
19876             Carlos O'Donell  <carlos@systemhalted.org>
19878         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
19879         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
19880         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
19881         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
19882         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
19883         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
19884         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
19885         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
19886         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
19887         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
19888         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
19889         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
19890         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
19891         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
19892         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
19893         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
19894         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
19895         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
19896         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
19897         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
19898         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
19899         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
19900         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
19901         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
19902         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
19903         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
19904         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
19905         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
19906         Deconditionalize the code that was previously under [RESET_PID].
19907         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
19908         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
19909         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
19910         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
19911         include sysdep.h.
19913 2014-09-08  Allan McRae  <allan@archlinux.org>
19915         * version.h (RELEASE): Set to "development".
19916         (VERSION): Set to "2.20.90"
19918 2014-09-07  Allan McRae  <allan@archlinux.org
19920         * version.h (RELEASE): Set to "stable".
19921         (VERSION): Set to "2.20"
19922         * include/features.h (__GLIBC_MINOR__): Set to 20.
19924         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
19925         Liebler.
19927         * po/ko.po: Update Korean translation from translation project.
19929 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
19931         [BZ #17354]
19932         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
19933         macro for handling signed relocations.
19935 2014-09-03  Florian Weimer  <fweimer@redhat.com>
19937         [BZ #17325]
19938         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
19939         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
19940         assert.
19941         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
19942         * iconvdata/ibm935.c (BODY): Likewise.
19943         * iconvdata/ibm937.c (BODY): Likewise.
19944         * iconvdata/ibm939.c (BODY): Likewise.
19945         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
19946         assert.
19947         * iconvdata/Makefile (iconv-test.out): Pass module list to test
19948         script.
19949         * iconvdata/run-iconv-test.sh: New test loop for checking for
19950         decoder crashers.
19952 2014-09-02  Khem Raj  <raj.khem@gmail.com>
19954         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
19955         libm_hidden_ver.
19957 2014-09-01  Allan McRae  <allan@archlinux.org>
19959         * po/eo.po: Update Esperanto translation from translation project.
19961         * po/ca.po: Update Catalan translation from translation project.
19963 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19965         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
19966         __proc_dostop call.
19968 2014-08-27  Mark Wielaard  <mjw@redhat.com>
19970         [BZ #17319]
19971         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
19972         to call set_thread_area instead of hand written asm.
19973         (__NR_set_thread_area): Removed define.
19974         (TLS_FLAG_WRITABLE): Likewise.
19975         (__ASSUME_SET_THREAD_AREA): Remove check.
19976         (TLS_EBX_ARG): Remove define.
19977         (TLS_LOAD_EBX): Likewise.
19979 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19981         Simplify atomicity of socket creation in bind.
19983         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
19984         looking up the name after linking the file.
19986 2014-08-27  Allan McRae  <allan@archlinux.org>
19988         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19990 2014-08-26  Florian Weimer  <fweimer@redhat.com>
19992         [BZ #17187]
19993         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
19994         trans_compare, open_translit, __gconv_translit_find):
19995         Remove module loading code.
19997 2014-08-26  Allan McRae  <allan@archlinux.org>
19999         * po/vi.po: Update Vietnamese translation from translation project.
20001         * po/uk.po: Update Ukrainian translation from translation project.
20003         * po/fr.po: Update French translation from translation project.
20005         * po/ru.po: Update Russian translation from translation project.
20007         * po/pl.po: Update Polish translation from translation project.
20009         * po/cs.po: Update Czech translation from translation project.
20011         * po/de.po: Update German translation from translation project.
20013         * po/bg.po: Update Bulgarian translation from translation project.
20015         * po/sv.po: Update Sweedish translation from translation project.
20017         * po/nl.po: Update Dutch translation from translation project.
20019         * po/es.po: Update Spanish translation from translation project.
20021 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20023         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
20025         * catgets/Makefile (CPPFLAGS-gencat): Remove.
20026         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
20027         (CPPFLAGS-iconvconfig): Likewise.
20028         * timezone/Makefile (CPPFLAGS-zic): Likewise.
20030         * include/libc-symbols.h: Remove unnecessary check for
20031         NOT_IN_libc.
20032         * nptl/pthreadP.h: Likewise.
20033         * sysdeps/aarch64/setjmp.S: Likewise.
20034         * sysdeps/alpha/setjmp.S: Likewise.
20035         * sysdeps/arm/sysdep.h: Likewise.
20036         * sysdeps/i386/setjmp.S: Likewise.
20037         * sysdeps/m68k/setjmp.c: Likewise.
20038         * sysdeps/posix/getcwd.c: Likewise.
20039         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20040         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20041         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20042         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20043         * sysdeps/sh/sh3/setjmp.S: Likewise.
20044         * sysdeps/sh/sh4/setjmp.S: Likewise.
20045         * sysdeps/unix/alpha/sysdep.h: Likewise.
20046         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20047         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20048         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20049         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20052         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20053         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20054         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20056         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20057         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20059         * sysdeps/x86_64/setjmp.S: Likewise.
20061 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
20063         [BZ #17263]
20064         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
20065         <stdint.h>.
20066         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
20067         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
20069 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20071         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
20073         [BZ #17262]
20074         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
20075         and __x86_64__ when disabling x87 inline functions.
20077 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20079         [BZ #17259]
20080         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
20081         asm statement with __cpuid_count.
20083 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
20085         * configure.ac: Change __ehdr_start code to dereference the struct.
20086         Run readelf on the output to look for relocations.
20087         * configure: Regenerated.
20089 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
20091         [BZ #17261]
20092         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
20093         value to 0.
20094         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
20096 2014-08-12  Roland McGrath  <roland@hack.frob.com>
20098         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
20100 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
20102         [BZ #16892]
20103         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
20104         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
20106 2014-08-12  Sean Anderson  <seanga2@gmail.com>
20108         * malloc/malloc.c: Fix typo in comment.
20110 2014-08-09  Allan McRae  <allan@archlinux.org>
20112         * Regenerate libc.po.
20114 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
20116         * intl/tst-gettext2.sh: Check every lang file for creation.
20118 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20120         * sysdeps/aarch64/fpu/math_private.h
20121         (libc_feholdsetround_noex_aarch64_ctx): New function.
20123 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20125         * sysdeps/arm/armv6/strcpy.S (strcpy):
20126         Fix performance issue in misaligned cases.
20128 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20130         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
20131         Move definition from termios.h.
20132         (struct termio): Likewise.
20133         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20134         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20135         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20136         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20137         Likewise.
20138         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
20139         Move definition to ioctl-types.h
20140         (struct termio): Likewise.
20141         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20142         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20143         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20144         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20145         Likewise.
20147 2014-08-05  Richard Henderson  <rth@redhat.com>
20149         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
20150         exceptions.
20151         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
20152         Add fraiseexcpt.
20153         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
20154         Use __feraiseexcept.
20155         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
20156         Protect libm symbols with IS_IN_libm.
20158         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
20160 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
20162         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
20164 2014-08-04  Will Newton  <will.newton@linaro.org>
20166         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
20167         file.
20169 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
20171         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
20172         variants for each function.
20174 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20176         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
20177         appended ...
20178         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
20179         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
20180         appended ...
20181         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
20182         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
20183         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
20184         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
20185         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
20186         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
20187         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
20188         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
20189         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
20190         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
20191         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
20192         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
20193         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
20194         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
20195         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
20196         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
20197         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
20198         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
20199         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
20200         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
20201         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
20202         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
20203         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
20204         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
20205         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
20206         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
20207         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
20208         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
20209         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
20210         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
20211         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
20212         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
20213         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
20214         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
20215         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
20216         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
20217         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
20218         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
20219         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
20220         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
20221         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
20222         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
20223         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
20224         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
20225         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
20226         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
20227         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
20228         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
20229         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
20230         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
20231         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
20232         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
20233         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
20234         Update #include.
20235         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
20236         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
20238 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20240         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
20241         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
20242         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
20243         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
20244         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
20245         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
20247 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20249         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
20250         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
20251         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20252         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
20254 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20256         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
20257         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
20258         (__libc_vfork): Define function under this name.
20259         (__vfork): Define as an alias.
20260         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
20261         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
20263 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20265         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
20266         that was previously under [RESET_PID].
20267         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
20269 2014-08-04  Andreas Schwab  <schwab@suse.de>
20271         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
20273 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
20275         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
20276         (main): Likewise.
20278 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20280         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
20282 2014-08-01  Richard Henderon  <rth@redhat.com>
20284         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
20285         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
20286         typo in exact zero test.
20287         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20288         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20289         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20291 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20293         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
20294         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
20295         * sysdeps/arm/sysdep.h: ... here.
20296         [!__ASSEMBLER__]: Include <stdint.h>.
20298 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20300         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
20301         (HAVE_WCTYPE_H): Likewise.
20302         (HAVE_ISWCTYPE): Likewise.
20303         (ENABLE_NLS): Likewise.
20304         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
20305         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
20307         * posix/regex_internal.c: Check if DEBUG is defined and is
20308         set.
20310         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
20311         (HAVE_MBSRTOWCS): Likewise.
20312         * posix/fnmatch.c: Include string.h unconditionally.
20314 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20316         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
20317         reversal.
20319 2014-07-31  Roland McGrath  <roland@hack.frob.com>
20321         * sysdeps/generic/safe-fatal.h: New file.
20322         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
20323         * nptl/forward.c: Include it.
20324         (__pthread_unwind): Use __safe_fatal as default action, rather
20325         than a bogus use of INTERNAL_SYSCALL that could never work.
20327         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
20328         * configure.ac (libc_cv_builtin_trap): New test.
20329         * configure: Regenerated.
20330         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
20331         (ABORT_INSTRUCTION): Define using __builtin_trap.
20333         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
20334         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
20335         * sysdeps/nptl/nptl-signals.h: New file.
20336         * nptl/pthreadP.h: Include <nptl-signals.h>.
20338 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20340         * sysdeps/s390/s390-64/utf16-utf32-z9.c
20341         (ONE_DIRECTION): Define.
20342         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20343         (ONE_DIRECTION): Define.
20344         * sysdeps/s390/s390-64/utf8-utf32-z9.c
20345         (ONE_DIRECTION): Define.
20347 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20349         * sysdeps/s390/Makefile: Delete file.
20350         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
20351         * sysdeps/s390/__longjmp.c: Delete file.
20352         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
20353         Remove fields __flags and __reserved.
20354         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
20355         and add versioning.
20356         * sysdeps/s390/rtld-__longjmp.c: Delete file.
20357         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
20358         * sysdeps/s390/rtld-setjmp.S: Likewise.
20359         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
20360         * sysdeps/s390/s390-32/__longjmp.c: ... here.
20361         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
20362         * sysdeps/s390/s390-32/setjmp.S: ... here.
20363         Add versioning.
20364         (__sigsetjmp): Remove setting __flags field.
20365         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
20366         * sysdeps/s390/s390-64/__longjmp.c: ... here.
20367         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
20368         * sysdeps/s390/s390-64/setjmp.S: ... here.
20369         Add versioning.
20370         (__sigsetjmp): Remove setting __flags field.
20371         * sysdeps/s390/setjmp.S: Delete file.
20372         * sysdeps/s390/sigjmp.c: Likewise.
20373         * sysdeps/s390/v1-longjmp.c: Likewise.
20374         * sysdeps/s390/v1-setjmp.h: Likewise.
20375         * sysdeps/s390/v1-sigjmp.c: Likewise.
20376         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
20377         Remove v1-longjmp_chk.
20378         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
20379         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
20380         Include debug/longjmp_chk.c and add versioning.
20381         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
20382         Include nptl/pt-longjmp.c and add versioning.
20383         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
20384         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
20385         Include __longjmp.c.
20386         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20387         Move to ...
20388         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
20389         (__getcontext): Remove setting __flags field.
20390         Add versioning.
20391         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20392         Don't restore upper high grps.
20393         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
20394         Likewise.
20395         (__swapcontext): Remove setting uc_flags field.
20396         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
20397         Delete file.
20398         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20399         Include __longjmp.c.
20400         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20401         Move to ...
20402         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
20403         (__getcontext): Remove setting __flags field.
20404         Add versioning.
20405         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
20406         (__swapcontext): Remove setting uc_flags field.
20407         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
20408         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
20409         Remove fields uc_high_gprs and __reserved.
20410         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
20411         New file with reverted content.
20412         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
20413         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
20414         Regenerated.
20415         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
20416         Regenerated.
20418 2014-07-31  Andreas Schwab  <schwab@suse.de>
20420         * config.h.in (HAVE_IFUNC): Define to 0.
20421         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
20422         definedness.
20424 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
20426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20427         memmove-avx-unaligned, memcpy-avx-unaligned and
20428         mempcpy-avx-unaligned.
20429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20430         Add tests for AVX memcpy functions.
20431         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
20432         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
20433         memcpy_chk.
20434         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
20435         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
20436         memmove_chk.
20437         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
20438         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
20439         mempcpy_chk.
20440         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
20441         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
20442         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
20444 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20446         [BZ #17213]
20447         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
20448         powerpc64le.
20450 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
20452         [BZ #16839]
20453         * manual/llio.texi: Add section about open file description locks.
20454         * manual/examples/ofdlocks.c: Example of open file description
20455         lock usage.
20456         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
20457         F_OFD_SETLK, and F_OFD_SETLKW.
20459 2014-07-23  Allan McRae  <allan@archlinux.org>
20461         * po/es.po: Update Spanish translation from translation project.
20463 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
20465         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
20467 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
20469         [BZ #17078]
20470         * sysdeps/arm/dl-machine.h (elf_machine_rela)
20471         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
20472         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
20474 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
20476         [BZ #17088]
20477         * math/fesetenv.c (__fesetenv)
20478         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
20479         * math/feupdateenv.c (__feupdateenv)
20480         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
20482         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
20483         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20484         (__ASSUME_SOCKETCALL): Do not define.
20486         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
20487         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
20488         (__ASSUME_SOCKETCALL): Do not define.
20489         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
20490         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
20491         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20492         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
20493         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20494         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
20495         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20496         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20498         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
20499         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
20500         (__ASSUME_SOCKETCALL): Do not define.
20501         (__ASSUME_IPC64): Define unconditionally.
20502         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
20503         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20504         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
20505         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20506         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
20507         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20508         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
20509         Likewise.
20511         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
20512         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
20513         (__ASSUME_SOCKETCALL): Do not define.
20514         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
20515         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20516         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20517         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20518         (__ASSUME_REQUEUE_PI): Define unconditionally.
20519         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
20520         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20521         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20522         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
20523         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20524         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20526         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
20527         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
20528         (__ASSUME_SOCKETCALL): Do not define.
20529         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
20530         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20531         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20532         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
20533         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20534         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20536         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
20537         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
20538         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20539         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
20540         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20541         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
20542         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20543         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
20544         (__ASSUME_GETCPU_SYSCALL): Likewise.
20546         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
20547         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
20548         cases for individual architectures.
20549         * sysdeps/gnu/configure: Regenerated.
20550         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
20551         LIBC_SLIBDIR_RTLDDIR.
20552         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
20553         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
20554         LIBC_SLIBDIR_RTLDDIR.
20555         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
20556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
20557         LIBC_SLIBDIR_RTLDDIR.
20558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20559         Regenerated.
20560         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
20561         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
20562         file.
20563         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
20564         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
20565         file.
20566         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
20567         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
20568         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
20569         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
20571         * sysdeps/aarch64/shlib-versions: Move to ...
20572         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
20573         * sysdeps/alpha/shlib-versions: Move to ...
20574         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
20575         * sysdeps/arm/shlib-versions: Move to ...
20576         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
20577         * sysdeps/hppa/shlib-versions: Move all contents except for
20578         libgcc_s entry to ...
20579         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
20580         entry from ...
20581         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
20582         * sysdeps/ia64/shlib-versions: Move to ...
20583         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
20584         entry from ...
20585         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
20586         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
20587         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
20588         * sysdeps/microblaze/shlib-versions: Move to ...
20589         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
20590         * sysdeps/mips/shlib-versions: Move to ...
20591         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
20592         entry from ...
20593         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
20594         * sysdeps/tile/shlib-versions: Move to ...
20595         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
20596         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
20597         from ...
20598         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
20599         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
20600         entry from ...
20601         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
20603 2014-07-17  Will Newton  <will.newton@linaro.org>
20605         * sysdeps/arm/bits/atomic.h
20606         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
20607         (__arch_compare_and_exchange_bool_16_int): Likewise.
20608         (__arch_compare_and_exchange_bool_64_int): Likewise.
20610         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
20611         into an #else block.
20613 2014-07-16  Roland McGrath  <roland@hack.frob.com>
20615         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
20616         just Linux configurations.  Test empirically that the compiler sets
20617         __ARM_EABI__, rather than using the tuple to decide.
20618         * sysdeps/arm/preconfigure: Regenerated.
20619         * sysdeps/unix/sysv/linux/arm/configure: File removed.
20620         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
20621         contents appended ...
20622         * sysdeps/arm/configure.ac: ... here.
20623         * sysdeps/arm/configure: Regenerated.
20625 2014-07-15  Roland McGrath  <roland@hack.frob.com>
20627         * nptl/pthread_kill.c: New file.
20628         * nptl/pthread_sigmask.c: New file.
20629         * nptl/pthread_sigqueue.c: New file.
20631         * sysdeps/nptl/lowlevellock.h: New file.
20632         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
20633         * sysdeps/nptl/lowlevellock-futex.h: New file.
20635         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
20636         Remove dead declarations.
20638 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
20640         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
20641         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
20642         config-cflags-avx2.
20643         * sysdeps/x86_64/configure.ac: Likewise.
20644         * sysdeps/i386/configure: Regenerated.
20645         * sysdeps/x86_64/configure: Likewise.
20646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20647         memset-avx2 only if config-cflags-avx2 is yes.
20648         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20649         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
20650         defined.
20651         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
20652         only if HAVE_AVX2_SUPPORT is defined.
20653         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20655 2014-07-14  Alan Modra  <amodra@gmail.com>
20657         [BZ #17153]
20658         * elf/elf.h (DT_PPC64_NUM): Correct value.
20659         * NEWS: Add to fixed bug list.
20661 2014-07-13  Jim Meyering  <meyering@fb.com>
20663         [BZ 17150]
20664         regex: don't deref NULL upon heap allocation failure
20665         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
20666         failure in one more place.
20667         To trigger the segfault, configure grep -with-included-regex,
20668         build it, and run these commands:
20669         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
20671 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
20673         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20675 2014-07-11  Richard Henderson  <rth@redhat.com>
20677         * sysdeps/aarch64/libm-test-ulps: Update.
20679 2014-07-10  Florian Weimer  <fweimer@redhat.com>
20681         [BZ #17135]
20682         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
20683         * nptl/allocatestack.c (__nptl_setxid_error): New function.
20684         (__nptl_setxid): Initialize error member.  Call
20685         __nptl_setxid_error.
20686         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
20687         * nptl/descr.h (struct xid_command): Add error member.
20688         * nptl/tst-setuid3.c: New file.
20689         * nptl/Makefile (tests): Add it.
20691 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20693         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
20694         New define.
20695         (__lll_trylock): Use __lll_base_trylock.
20696         (__lll_cond_trylock): Likewise.
20698 2014-07-10  Roland McGrath  <roland@hack.frob.com>
20700         * nptl/pthread_create.c (start_thread): Use atomic_or and
20701         lll_futex_wake directly rather than lll_robust_dead.
20702         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20703         (lll_robust_dead): Macro removed.
20704         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
20705         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20706         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20707         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20708         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20709         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20710         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20711         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20712         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20713         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20714         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20715         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20716         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20717         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20718         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20720         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20721         Use atomic_compare_and_exchange_val_acq directly rather than
20722         lll_robust_trylock.
20723         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20724         (__lll_robust_trylock, lll_robust_trylock): Removed.
20725         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20726         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20727         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20728         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20729         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20730         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20731         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20732         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20733         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20734         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20735         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20736         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20737         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20738         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20740 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20742         * manual/locale.texi (Locale Names): New section documenting
20743         locale name syntax.  Adjust menu and node chaining accordingly.
20744         (Choosing Locale): Reference Locale Names, Locale Categories.
20745         Mention setting LC_ALL=C.  Reflect that name syntax is now
20746         documented.
20747         (Locale Categories): New section title.  Reference Locale Names.
20748         LC_ALL is an environment variable, but not a category.
20749         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
20750         description, now in Locale Name.  Reference that section.  Locale
20751         name syntax is now documented.
20753 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20755         [BZ #17137]
20756         * locale/findlocale.c (name_present, valid_locale_name): New
20757         functions.
20758         (_nl_find_locale): Use the loc_name variable to store name
20759         candidates.  Call name_present and valid_locale_name to check and
20760         validate locale names.  Return an error if the locale is invalid.
20762 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20764         * locale/setlocale.c (setlocale): Use strdup for allocating
20765         composite name copy.
20767 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20769         Sync up with gnulib.
20770         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
20771         [!_LIBC && ENABLE_NLS]: Include gettext.h.
20772         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
20773         and _GL_ARG_NONNULL.
20774         [USE_UNLOCKED_IO]: Include unlocked-io.h.
20775         [!_LIBC]: Include code for Windows and Cygwin.
20776         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
20777         Include prototype for int strerror_r.
20778         [!_LIBC] (is_open): New function.
20779         (flush_stdout): New function.
20780         (print_errno_message): Use it.
20781         (error): Likewise.
20782         (error_at_line): Likewise.
20783         (error_tail) Add function attribute macros.  Use
20784         __builtin_expect.
20786         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
20788         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
20790         * io/ftw.c: Include sys/param.h unconditionally.
20792         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
20794         [BZ #17125]
20795         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
20796         libc_freeres_ptr.
20797         (freecache): New function to free CACHE on exit.
20799         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
20800         initialization.
20802 2014-07-09  David S. Miller  <davem@davemloft.net>
20804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20806         * sysdeps/sparc/nptl/internaltypes.h: Delete.
20807         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
20808         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
20809         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
20810         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
20811         * sysdeps/sparc/nptl/sem_init.c: Likewise.
20812         * sysdeps/sparc/nptl/sem_post.c: Likewise.
20813         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
20814         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
20815         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
20816         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
20817         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
20818         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
20820 2014-07-09  Andreas Schwab  <schwab@suse.de>
20822         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
20823         output.
20824         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
20825         (do_test): Likewise.
20827         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20829 2014-07-09  Will Newton  <will.newton@linaro.org>
20831         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
20832         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
20833         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
20834         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
20835         * sysdeps/hppa/start.S (_start): Likewise.
20837 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20839         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
20841         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
20842         defined.
20844 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20846         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
20847         after checking that it is non-NULL.
20849         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
20851 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20853         * sysdeps/powerpc/memmove.c: Remove file.
20854         * sysdeps/powerpc/powerpc32/power4/memcopy.h
20855         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
20856         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20857         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
20858         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
20859         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
20860         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
20861         string memmove instead of removed powerpc one.
20863         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20864         [weak_alias]: Fix compiler warning due trailing data.
20865         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
20866         [weak_alias]: Likewise.
20867         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
20868         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
20870         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20871         (__libc_ifunc_impl_list): Add memmove functions.
20873 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20875         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
20876         Remove code.
20877         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
20878         Likewise
20879         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
20880         Likewise
20881         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
20882         Likewise
20883         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
20884         Likewise
20885         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
20886         Likewise
20887         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
20888         Likewise
20889         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
20890         Likewise
20891         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
20892         Likewise
20893         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
20894         Likewise
20895         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
20896         Likewise
20897         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
20898         Likewise
20899         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
20900         Likewise
20901         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
20902         Likewise
20903         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
20904         Likewise
20905         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
20906         Likewise
20907         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
20908         Likewise
20910 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20912         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
20913         to avoid alignment traps in non-cacheable memory.
20914         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
20917         multiarch objects.
20918         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
20919         file: multiarch power7 memmove.
20920         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
20921         multiarch default memmove.
20922         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
20923         multiarch memove for powerpc32/power4.
20925         * string/bcopy.c: Use full path to include memmove.c.
20926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
20927         multiarch objects.
20928         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
20929         bcopy for powerpc64.
20930         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
20931         bcopy for powerpc64.
20932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
20933         and memmove implementations.
20934         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
20935         optimized multiarch memmove for POWER7/powerpc64.
20936         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
20937         default multiarch memmove for powerpc64.
20938         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
20939         multiarch for powerpc64.
20940         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
20941         for POWER7/powerpc64.
20942         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
20943         memmove for POWER7/powerpc64.
20945         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
20946         glibc default one.
20948         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
20949         __ELF_NATIVE_CLASS equal to 64.
20951 2014-07-07  Roland McGrath  <roland@hack.frob.com>
20953         * sysdeps/nptl/lowlevellock.h: File removed.
20955         * NEWS: NPTL is no longer an add-on!
20956         * nptl/internaltypes.h: Moved ...
20957         * sysdeps/nptl/internaltypes.h: ... here.
20958         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
20959         * sysdeps/nptl/fork.c: Likewise.
20960         * sysdeps/nptl/gai_misc.h: Likewise.
20961         * sysdeps/nptl/librt-cancellation.c: Likewise.
20962         * sysdeps/nptl/jmp-unwind.c: Likewise.
20963         * sysdeps/nptl/setxid.h: Likewise.
20964         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
20965         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
20966         * sysdeps/unix/sysv/linux/arm/Implies: New file.
20967         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
20968         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
20969         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
20970         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
20971         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
20972         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
20973         * sysdeps/unix/sysv/linux/mips/Implies: New file.
20974         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
20975         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
20976         * sysdeps/unix/sysv/linux/sh/Implies: New file.
20977         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
20978         * sysdeps/unix/sysv/linux/tile/Implies: New file.
20979         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
20980         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
20981         * nptl/Makeconfig: Moved ...
20982         * sysdeps/nptl/Makeconfig: ... here.
20983         * nptl/configure: File removed.
20984         * nptl/ANNOUNCE: File removed.
20985         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
20986         * sysdeps/unix/sysv/linux/configure: Regenerated.
20988         * nptl/Makefile (routines): Add libc_pthread_init,
20989         libc_multiple_threads, register-atfork and unregister-atfork.
20990         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
20991         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
20992         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
20993         pthread-pi-defines.sym, structsem.sym.
20994         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
20995         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
20996         [$(subdir) = nptl] (tests): Add tst-setgetname.
20997         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
20998         * sysdeps/unix/sysv/linux/sigaction.c: Just include
20999         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
21000         [!LIBC_SIGACTION]: Remove aliases.
21001         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21002         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21003         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21004         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
21005         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21006         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
21007         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21008         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21009         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21010         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
21011         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
21012         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
21013         __libc_allocate_rtsig_private.
21014         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
21015         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
21016         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21017         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21018         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
21019         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
21020         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
21021         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
21022         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
21023         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
21024         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
21025         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
21026         * nptl/internaltypes.h: ... here.
21027         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
21028         * sysdeps/nptl/jmp-unwind.c: ... here.
21029         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
21030         * nptl/libc-lowlevellock.c: ... here.
21031         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
21032         * nptl/libc_multiple_threads.c: ... here.
21033         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
21034         * nptl/libc_pthread_init.c: ... here.
21035         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
21036         * nptl/lowlevelbarrier.sym: ... here.
21037         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
21038         * nptl/lowlevelcond.sym: ... here.
21039         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
21040         * nptl/lowlevellock.c: ... here.
21041         * nptl/lowlevellock.h: Moved ...
21042         * sysdeps/nptl/lowlevellock.h: ... here.
21043         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
21044         * nptl/lowlevelrobustlock.c: ... here.
21045         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
21046         * nptl/lowlevelrobustlock.sym: ... here.
21047         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
21048         * nptl/lowlevelrwlock.sym: ... here.
21049         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
21050         * nptl/pt-fork.c: ... here.
21051         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
21052         * nptl/pthread-pi-defines.sym: ... here.
21053         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
21054         * nptl/pthread_attr_getaffinity.c: ... here.
21055         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
21056         * nptl/pthread_attr_setaffinity.c: ... here.
21057         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
21058         * nptl/pthread_mutex_cond_lock.c: ... here.
21059         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21060         Update #include.
21061         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
21062         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
21063         * nptl/pthread_once.c: ... here, replacing old file.
21064         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
21065         * nptl/pthread_yield.c: ... here.
21066         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
21067         * nptl/register-atfork.c: ... here.
21068         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
21069         * nptl/sem_post.c: ... here.
21070         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
21071         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
21072         * nptl/sem_timedwait.c: ... here.
21073         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
21074         * nptl/sem_trywait.c: ... here.
21075         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
21076         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
21077         * nptl/sem_wait.c: ... here.
21078         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
21079         * nptl/structsem.sym: ... here.
21080         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
21081         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
21082         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
21083         * nptl/unregister-atfork.c: ... here.
21084         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
21085         * nptl/unwindbuf.sym: ... here.
21086         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
21087         * sysdeps/nptl/fork.c: ... here.
21088         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
21089         * sysdeps/nptl/fork.h: ... here.
21090         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
21091         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
21092         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
21093         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
21094         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
21095         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
21096         * sysdeps/unix/sysv/linux/getpid.c: ... here.
21097         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
21098         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
21099         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
21100         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
21101         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
21102         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
21103         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
21104         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
21105         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
21106         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
21107         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
21108         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
21109         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
21110         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
21111         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
21112         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
21113         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
21114         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
21115         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
21116         * sysdeps/unix/sysv/linux/raise.c: ... here.
21117         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
21118         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
21119         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
21120         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
21121         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
21122         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
21123         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
21124         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
21125         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
21126         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
21127         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
21128         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
21129         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
21130         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
21131         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
21133 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21135         * sysdeps/generic/memcopy.h: Add comment for
21136         MEMCPY_OK_FOR_FWD_MEMMOVE.
21138 2014-07-04  Will Newton  <will.newton@linaro.org>
21140         * string/memchr.c: Merge from gnulib.
21141         [_LIBC]: Remove conditionals.
21142         (__ptr_t): Remove define.
21143         (LONG_MAX_32_BITS): Likewise.
21144         (LONG_MAX): Likewise.
21145         (MEMCHR): Use ANSI prototype and optimize algorithm.
21147         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
21149 2014-07-03  Roland McGrath  <roland@hack.frob.com>
21151         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
21152         (lll_futex_timed_wait_bitset): Fix syscall argument count.
21154         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
21155         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
21156         in a bare environment with no <stdlib.h> installed.
21157         * sysdeps/nptl/configure: Regenerated.
21159         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
21161         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
21162         AC_EGREP_CPP for kernel header checks, so they only succeed if
21163         including <linux/version.h> actually works right.
21164         * sysdeps/unix/sysv/linux/configure: Regenerated.
21166         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
21167         value so it's not diagnosed as unused.
21169         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
21170         thing) with "ifeq ($(subdir),rt)".
21172 2014-07-03  Richard Henderson  <rth@redhat.com>
21174         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
21175         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
21176         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
21178         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
21179         (math_force_eval): New.
21181         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
21182         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
21184         * sysdeps/alpha/fpu/s_round.c: Remove file.
21185         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
21187         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
21188         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
21189         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
21190         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
21191         (_dl_start, print_statistics): Likewise.
21192         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
21193         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
21195         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21196         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21197         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21198         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21199         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21200         (HP_SMALL_TIMING_AVAIL): Define.
21201         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21202         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21203         (HP_SMALL_TIMING_AVAIL): Define.
21204         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21205         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21207         * sysdeps/aarch64/hp-timing.h: New file.
21209         * sysdeps/generic/hp-timing.h: Remove dead comment.
21210         * sysdeps/generic/hp-timing-common.h: New file.
21211         * sysdeps/alpha/hp-timing.h: Include it.
21212         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
21213         * sysdeps/i386/i686/hp-timing.h: Likewise.
21214         * sysdeps/ia64/hp-timing.h: Likewise.
21215         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21216         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21217         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21218         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21219         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
21220         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
21221         (hp_timing_t): New.
21223         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
21224         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
21225         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
21226         * elf/rtld.c (_dl_start_final): Likewise.
21227         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
21228         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21229         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21230         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21231         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21232         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21233         (HP_TIMING_DIFF_INIT): Remove.
21234         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21235         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21236         (HP_TIMING_DIFF_INIT): Remove.
21237         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21238         * sysdeps/i386/i686/hp-timing.c: Remove file.
21239         * sysdeps/x86_64/hp-timing.c: Remove file.
21240         * sysdeps/ia64/hp-timing.c: Remove file.
21241         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
21242         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
21243         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
21244         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
21246         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
21247         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
21248         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
21249         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21250         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21251         (HP_TIMING_ACCUM): Remove.
21252         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21253         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
21254         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21256         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
21257         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
21258         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
21259         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
21260         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
21261         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21262         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
21263         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21265         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
21267 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
21269         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
21271 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21273         Sync up with gettext.
21274         * intl/loadmsgcat.c: Define O_BINARY if not defined.
21275         [_MSC_VER]: Include malloc.h
21276         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
21277         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
21278         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
21279         TEMP_FAILURE_RETRY.  Cast return of alloca.
21280         [!_LIBC] Call gl_rwlock_init.
21281         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
21283 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21285         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
21286         before checking its value.
21288 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21290         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
21292         * debug/memcpy_chk.c: Don't include pagecopy.h.
21293         * debug/mempcpy_chk.c: Likewise.
21294         * string/memcpy.c: Likewise.
21295         * string/memmove.c: Likewise.
21296         * sysdeps/powerpc/memmove.c: Likewise.
21297         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
21298         definition of PAGE_COPY_FWD_MAYBE here...
21299         * sysdeps/generic/pagecopy.h: ... from here.
21300         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
21302 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21303             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21305         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
21306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
21307         optimizations.
21308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21309         (__libc_ifunc_impl_list): Likewise.
21310         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
21311         multiarch strcat for PPC64.
21312         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
21313         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
21315 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21317         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
21319 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21321         * intl/loadmsgcat.c: Remove declaration of
21322         get_sysdep_segment_value.
21323         (get_sysdep_segment_value): Use ISO C style.
21324         (_nl_load_domain): Use ISO C style.  Get rid of redundant
21325         semicolon.  Fix typo and formatting in comment.
21326         (_nl_unload_domain): Use ISO C style.
21328         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
21330 2014-07-02  Will Newton  <will.newton@linaro.org>
21332         * malloc/obstack.c: Merge from gnulib master.
21333         [HAVE_CONFIG_H]: Remove conditional code.
21334         [!_LIBC]: Include config.h.
21335         [!ELIDE_CODE]: Don't include inttypes.h, include
21336         stdint.h unconditionally.
21337         (print_and_abort): Mark as _Noreturn.
21338         (_obstack_allocated_p): Mark as __attribute_pure__.
21339         (obstack_free): Rename to __obstack_free.
21340         [!__attribute__]: Remove conditional code.
21341         * malloc/obstack.h: Merge from gnulib master.
21342         [__cplusplus]: Move conditional down.
21343         [!__attribute_pure__]: Define __attribute_pure__ here
21344         if it is not already defined.
21345         (_obstack_memory_used): Mark as __attribute_pure__.
21346         [!__obstack_free]: Define as obstack_free.
21347         [__GNUC__]: Remove check for ancient NeXT gcc.
21349 2014-07-02  Will Newton  <will.newton@linaro.org>
21350             Paul Eggert  <eggert@cs.ucla.edu>
21352         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
21354 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21356         * resolv/gethnamaddr.c: Add comment warning that the file is
21357         not maintained.
21359 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
21361         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
21362         entries.
21364         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
21365         entry for aio_cancel and aio_cancel64.
21366         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
21367         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
21368         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
21369         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
21370         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
21371         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
21372         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
21373         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
21374         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
21375         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
21376         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
21377         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
21378         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
21380 2014-07-01  Roland McGrath  <roland@hack.frob.com>
21382         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
21383         * nptl/pthread_mutex_lock.c: Likewise.
21384         * nptl/pthread_mutex_timedlock.c: Likewise.
21385         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
21387 2014-07-01  Richard henderson  <rth@redhat.com>
21389         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
21390         (__isnan, __isnanl): Remove.
21391         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
21393         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21395 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21397         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21399 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21401         * resolv/nss_dns/dns-host.c (getanswer_r)
21402         [MULTI_PTRS_ARE_ALIASES]: Remove code.
21404 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
21406         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21407         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
21408         undefine.
21409         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
21410         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
21412 2014-07-01  Roland McGrath <roland@hack.frob.com>
21414         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
21415         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
21417         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
21418         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
21420         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
21421         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
21422         ... here.
21423         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
21424         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
21426         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
21427         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
21428         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
21429         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
21431         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
21432         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
21433         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
21434         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
21435         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
21436         Moved ...
21437         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
21438         ... here.
21439         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
21440         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
21441         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
21442         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
21443         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
21444         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
21445         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
21446         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
21447         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
21448         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
21449         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
21450         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
21451         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
21452         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
21453         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
21454         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
21455         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
21456         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
21457         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
21458         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
21459         ... here.
21460         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
21461         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
21462         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
21463         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
21464         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
21465         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
21466         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
21467         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
21469 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
21471         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
21472         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
21473         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
21474         Add sysdep.
21476 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21480 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
21482         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21483         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21485         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21487         * sysdeps/arm/libm-test-ulps: Regenerated.
21489 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
21490             Roland McGrath <roland@hack.frob.com>
21492         * test-skeleton.c (signal_handler): Kill the whole process group
21493         before killing the child individually.
21494         (main): Report any failure on `setpgid'.
21496 2014-06-30  Roland McGrath  <roland@hack.frob.com>
21498         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
21499         from _TLS_H to _ARM_NPTL_TLS_H.
21500         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
21501         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
21503 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
21505         [BZ #16539]
21506         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
21507         (__expm1l): Return argument unchanged when small but not
21508         subnormal.
21510         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
21511         include macro name.
21512         (_FP_UNPACK_RAW_1_P): Likewise.
21513         (_FP_PACK_RAW_1): Likewise.
21514         (_FP_PACK_RAW_1_P): Likewise.
21515         (_FP_MUL_MEAT_1_wide): Likewise.
21516         (_FP_MUL_MEAT_DW_1_hard): Likewise.
21517         (_FP_MUL_MEAT_1_hard): Likewise.
21518         (_FP_DIV_MEAT_1_imm): Likewise.
21519         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
21520         (_FP_DIV_MEAT_1_udiv): Likewise.
21521         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
21522         (_FP_UNPACK_RAW_2): Likewise.
21523         (_FP_UNPACK_RAW_2_P): Likewise.
21524         (_FP_PACK_RAW_2): Likewise.
21525         (_FP_PACK_RAW_2_P): Likewise.
21526         (_FP_MUL_MEAT_DW_2_wide): Likewise.
21527         (_FP_MUL_MEAT_2_wide): Likewise.
21528         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
21529         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21530         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
21531         (_FP_MUL_MEAT_2_gmp): Likewise.
21532         (_FP_DIV_MEAT_2_udiv): Likewise.
21533         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
21534         (_FP_FRAC_SRL_4): Likewise.
21535         (_FP_FRAC_SRST_4): Likewise.
21536         (_FP_FRAC_SRS_4): Likewise.
21537         (_FP_UNPACK_RAW_4): Likewise.
21538         (_FP_UNPACK_RAW_4_P): Likewise.
21539         (_FP_PACK_RAW_4): Likewise.
21540         (_FP_PACK_RAW_4_P): Likewise.
21541         (_FP_MUL_MEAT_DW_4_wide): Likewise.
21542         (_FP_MUL_MEAT_4_wide): Likewise.
21543         (_FP_MUL_MEAT_4_gmp): Likewise.
21544         (umul_ppppmnnn): Likewise.
21545         (_FP_DIV_MEAT_4_udiv): Likewise.
21546         (__FP_FRAC_ADD_4): Likewise.
21547         (__FP_FRAC_SUB_3): Likewise.
21548         (__FP_FRAC_SUB_4): Likewise.
21549         (__FP_FRAC_DEC_3): Likewise.
21550         (__FP_FRAC_DEC_4): Likewise.
21551         (__FP_FRAC_ADDI_4): Likewise.
21552         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
21553         (_FP_FRAC_SRL_8): Likewise.
21554         (_FP_FRAC_SRS_8): Likewise.
21556         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
21557         include macro name.
21558         (FP_UNPACK_RAW_EP): Likewise.
21559         (FP_PACK_RAW_E): Likewise.
21560         (FP_PACK_RAW_EP): Likewise.
21561         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
21562         (_FP_ISSIGNAN): Likewise.
21563         (_FP_ADD_INTERNAL): Likewise.
21564         (_FP_FMA): Likewise.
21565         (_FP_CMP): Likewise.
21566         (_FP_SQRT): Likewise.
21567         (_FP_TO_INT): Likewise.
21568         (_FP_FROM_INT): Likewise.
21569         (FP_EXTEND): Likewise.
21570         (_FP_DIV_MEAT_N_loop): Likewise.
21572 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
21574         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
21575         throughout.
21577 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
21579         [BZ #17097]
21580         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
21581         result with correct sign in case of exponents that produce
21582         overflow except for X very close to 1.
21584 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
21586         mktime: merge #if/#ifdef usage from glibc
21587         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
21588         as that works with both Glibc's and Gnulib's style.
21589         See thread starting at Siddhesh Poyarekar's bug report at:
21590         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
21592 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21594         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
21595         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
21596         * sysdeps/tile/tilegx/memmove.c: Remove file.
21598 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
21600         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
21601         abi-name definition.
21602         * scripts/soversions.awk: Do not handle or generate ABI lines.
21603         * shlib-versions: Remove ABI entries.
21604         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
21605         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
21607 2014-06-27  Roland McGrath  <roland@hack.frob.com>
21609         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
21610         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
21611         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
21612         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
21613         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
21614         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
21615         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
21616         Moved ...
21617         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
21618         ... here.
21619         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
21620         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
21621         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
21622         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
21623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
21624         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
21625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
21626         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
21627         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
21628         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
21629         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
21630         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
21631         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
21632         Moved ...
21633         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
21634         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
21635         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
21636         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
21637         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
21638         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
21639         Moved ...
21640         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
21641         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
21642         Moved ...
21643         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
21644         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
21645         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
21646         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
21647         Moved ...
21648         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
21649         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
21650         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
21651         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
21652         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
21653         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
21654         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
21655         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
21656         Moved ...
21657         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
21658         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
21659         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
21660         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
21661         Moved ...
21662         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
21663         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
21664         Moved ...
21665         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
21666         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
21667         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
21668         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
21669         Moved ...
21670         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
21671         ... here.
21672         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
21673         Identical file removed.
21674         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
21675         Moved ...
21676         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
21677         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
21678         Identical file removed.
21679         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
21680         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
21681         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
21682         Moved ...
21683         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
21684         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
21685         Identical file removed.
21686         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
21687         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
21688         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
21689         Identical file removed.
21690         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
21691         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
21692         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
21693         Identical file removed.
21694         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
21695         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
21696         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
21697         Identical file removed.
21698         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
21699         Moved ...
21700         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
21701         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
21702         Identical file removed.
21703         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
21704         Moved ...
21705         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
21706         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
21707         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
21708         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
21709         Identical file removed.
21710         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
21711         Moved ...
21712         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
21713         ... here.
21714         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
21715         Identical file removed.
21716         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
21717         Moved ...
21718         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
21719         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
21720         Identical file removed.
21721         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
21722         Moved ...
21723         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
21724         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
21725         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
21726         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
21727         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
21728         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
21729         Moved ...
21730         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
21731         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
21732         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
21734         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
21735         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
21736         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
21737         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
21738         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
21740 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
21742         [BZ #17092]
21743         * nscd/nscd.c (monitor_child): Return exit status of child
21744         instead of return value from wait syscall.
21746 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
21748         * configure.ac (libc_commonpagesize): Remove variable.
21749         (libc_relro_required): Likewise.
21750         (libc_cv_z_relro): Remove configure test.
21751         * configure: Regenerated.
21752         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
21753         variable.
21754         (libc_relro_required): Likewise.
21755         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
21756         (libc_relro_required): Likewise.
21757         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
21758         (libc_relro_required): Likewise.
21759         * sysdeps/arm/preconfigure: Regenerated.
21760         * sysdeps/ia64/preconfigure: Remove file.
21761         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
21762         variable.
21763         (libc_relro_required): Likewise.
21765         [BZ #16561]
21766         [BZ #16562]
21767         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
21768         (__ieee754_yn): Set FE_TONEAREST mode internally and then
21769         recompute overflowing results in original rounding mode.
21770         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
21771         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
21772         recompute overflowing results in original rounding mode.
21773         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
21774         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21775         recompute overflowing results in original rounding mode.
21776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
21777         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21778         recompute overflowing results in original rounding mode.
21779         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
21780         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21781         recompute overflowing results in original rounding mode.
21782         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
21783         (libc_feholdsetround_ctx): New macro.
21784         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
21785         * sysdeps/i386/fpu/libm-test-ulps: Update.
21786         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
21788 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21790         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
21791         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
21792         corresponding .cpsetup call.
21794 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21796         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
21797         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
21798         * sysdeps/arm/Makefile [$(subdir) = csu]
21799         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
21800         (static-only-routines): Add aeabi_read_tp here.
21801         (shared-only-routines): Add libc-aeabi_read_tp here.
21802         (CFLAGS-libc-start.c): Add -fexceptions here.
21803         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
21804         (sysdep_routines, static-only-routines, shared-only-routines):
21805         Don't add to these here.
21806         (CFLAGS-libc-start.c): Likewise.
21808         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
21809         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21810         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
21811         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21812         * sysdeps/arm/Makefile [$(subdir) = rt]
21813         (librt-sysdep_routines, librt-shared-only-routines):
21814         Append rt-aeabi_unwind_cpp_pr1 here.
21815         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
21816         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
21817         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
21818         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21819         Append nptl-aeabi_unwind_cpp_pr1 here.
21820         (tests): Filter out tst-cleanupx4 here.
21821         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
21822         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
21823         Don't do those here.
21825 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21827         * scripts/list-sources.sh: Do not handle ports specially.
21829 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21831         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
21832         * sysdeps/arm/feupdateenv.c: Likewise.
21834         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
21836 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21838         * manual/texinfo.tex: Update to version 2014-05-05.10 with
21839         trailing whitespace removed.
21840         * scripts/config.guess: Update to version 2014-03-23.
21841         * scripts/config.sub: Update to version 2014-05-01
21842         * scripts/install-sh: Update to version 2013-12-25.23.
21843         * scripts/move-if-change: Update from gnulib.
21845 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21847         * debug/memmove_chk.c: Remove pagecopy.h include.
21849 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
21851         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
21852         identical to gnulib mktime.
21854 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21856         * configure.ac: Do not test for machine being rs6000.  Do not test
21857         for powerpc*-*soft.
21858         * configure: Regenerated.
21860         [BZ #11505]
21861         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
21862         test.
21863         * configure: Regenerated.
21864         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
21865         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
21866         Remove configure test.
21867         * sysdeps/arm/configure: Regenerated.
21868         * sysdeps/nptl/configure.ac: Do not check
21869         libc_cv_asm_cfi_directives.
21870         * sysdeps/nptl/configure: Regenerated.
21871         * sysdeps/x86_64/nptl/configure.ac: Remove file.
21872         * sysdeps/x86_64/nptl/configure: Remove generated file.
21873         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
21874         unconditional.
21875         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
21877 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21879         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
21880         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
21881         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
21882         it is defined.
21884         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
21885         instead of whether it is defined.
21886         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
21887         * sysdeps/hppa/dl-machine.h: Likewise.
21888         * sysdeps/ia64/dl-machine.h: Likewise.
21889         * sysdeps/m68k/dl-machine.h: Likewise.
21890         * sysdeps/microblaze/dl-machine.h: Likewise.
21891         * sysdeps/mips/dl-machine.: Likewise.
21892         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21893         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21894         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21895         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21896         * sysdeps/sh/dl-machine.h: Likewise.
21897         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21898         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21899         * sysdeps/tile/dl-machine.h: Likewise.
21900         * sysdeps/x86_64/dl-machine.h: Likewise.
21902         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
21903         code.
21904         (verify_persistent_db): Likewise.
21906 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
21909         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
21910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
21911         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
21912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21913         Moved ...
21914         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
21915         ... here.
21916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
21917         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
21918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
21919         Identical file removed.
21920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
21921         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
21922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
21923         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
21924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
21925         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
21926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
21927         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
21928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
21929         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
21930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21931         Moved ...
21932         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
21933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
21934         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
21935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
21936         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
21937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21938         Moved ...
21939         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
21940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
21941         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
21942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
21943         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
21944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21945         Identical file removed.
21946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
21947         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
21948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
21949         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
21950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21951         Moved ...
21952         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
21953         ... here.
21954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
21955         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
21956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
21957         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
21958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
21959         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
21960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
21961         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
21962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
21963         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
21964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21965         Moved ...
21966         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
21967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
21968         Moved ...
21969         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
21970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
21971         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
21972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21973         Moved ...
21974         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
21975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
21976         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
21978         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
21979         folded into ...
21980         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
21981         * sysdeps/unix/sysv/linux/s390/Versions
21982         (libpthread: GLIBC_2.19): New version set.
21983         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
21984         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
21985         (librt: GLIBC_2.3.3): New version set.
21986         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
21987         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
21988         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
21989         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
21990         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
21991         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
21992         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
21993         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
21994         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
21995         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
21996         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
21997         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
21998         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
21999         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
22000         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
22001         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
22002         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
22003         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
22004         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
22005         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
22006         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
22007         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
22008         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
22009         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
22010         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
22011         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
22012         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
22013         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
22014         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
22015         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
22016         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
22017         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
22018         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
22019         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
22020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
22021         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
22022         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
22023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
22024         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
22025         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
22026         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
22027         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
22028         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
22029         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
22030         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
22032         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
22033         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
22034         (__libc_vfork): Define the function under this name.
22035         [!NOT_IN_libc] (__vfork): Make this an alias.
22036         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22037         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
22038         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
22039         (__libc_vfork): Define the function under this name.
22040         [!NOT_IN_libc] (__vfork): Make this an alias.
22041         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22042         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
22043         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
22044         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
22045         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
22046         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22048         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
22049         code that was previously under [RESET_PID].
22050         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22051         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
22052         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
22054         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
22055         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
22056         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
22057         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
22058         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
22059         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
22060         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
22061         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
22062         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
22063         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
22064         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
22065         Moved ...
22066         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22067         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
22068         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
22069         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
22070         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
22071         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
22072         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
22073         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
22074         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
22075         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
22076         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
22077         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
22078         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
22079         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
22080         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
22081         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
22082         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
22083         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
22084         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
22085         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
22086         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
22087         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
22088         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
22089         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
22090         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
22091         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
22092         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
22093         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
22094         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
22096 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22098         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
22099         that was previously under [RESET_PID].
22100         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
22102 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22104         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
22105         not undefine and redefine.
22106         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
22107         [O_CLOEXEC]: Make code unconditional.
22108         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
22109         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
22110         <kernel-features.h>.
22111         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
22112         conditional variable definition.
22113         (shm_open) [O_CLOEXEC]: Make code unconditional.
22114         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
22115         code.
22117         * configure.ac (USE_REGPARMS): Don't define here.
22118         * configure: Regenerated.
22119         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
22120         * sysdeps/i386/configure: Regenerated.
22122         * nptl/createthread.c: Don't include kernel-features.h.
22123         * nptl/pthread_cancel.c: Likewise.
22124         * nptl/pthread_condattr_setclock.c: Likewise.
22125         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
22126         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
22127         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
22128         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
22129         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
22130         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
22131         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22132         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
22133         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22134         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
22135         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22136         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
22137         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
22138         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
22139         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
22140         * nscd/gai.c: Likewise.
22141         * nss/nss_db/db-open.c: Likewise.
22142         * sysdeps/generic/ldsodefs.h: Likewise.
22143         * sysdeps/sh/nptl/tls.h: Likewise.
22144         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22145         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
22146         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
22147         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
22148         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
22149         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22150         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
22151         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22152         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22153         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22154         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22155         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22156         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
22157         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
22158         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
22159         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
22160         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
22161         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
22162         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
22163         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
22164         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22165         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22166         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
22167         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
22168         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22169         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22170         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
22171         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
22172         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22173         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
22174         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
22175         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
22176         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
22177         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22178         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22179         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22180         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22181         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
22182         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
22183         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22184         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22185         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
22186         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
22187         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22188         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
22189         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
22190         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
22191         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
22192         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
22193         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22194         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22195         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22196         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22197         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22198         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
22199         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22200         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22201         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
22202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
22204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
22205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
22206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
22207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
22213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
22214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
22215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
22216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
22222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
22223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
22224         * sysdeps/unix/sysv/linux/pread.c: Likewise.
22225         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
22226         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
22227         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
22228         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
22229         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
22230         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
22231         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
22232         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
22233         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22234         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
22235         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22236         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
22237         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
22238         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
22239         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
22240         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22241         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
22242         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
22243         * sysdeps/unix/sysv/linux/system.c: Likewise.
22244         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
22245         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22246         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22247         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22248         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22249         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22250         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22252         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
22253         * configure: Regenerated.
22254         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
22256         * configure.ac (base_machine): Do not set specially for particular
22257         machines here.
22258         * configure: Regenerated.
22259         * sysdeps/powerpc/preconfigure: Move machine and base_machine
22260         settings from configure.ac.
22261         * sysdeps/i386/preconfigure: New file.
22262         * sysdeps/s390/preconfigure: Likewise.
22263         * sysdeps/sh/preconfigure: Likewise.
22264         * sysdeps/sparc/preconfigure: Likewise.
22266 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22268         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
22269         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
22270         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
22271         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
22272         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
22273         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
22274         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
22275         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
22276         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
22277         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
22278         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
22279         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
22280         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
22281         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
22282         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
22283         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
22284         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
22285         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
22286         * sysdeps/sparc/sparc64/Makefile: ... appended here.
22288         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
22289         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
22290         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
22291         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
22292         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
22293         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
22294         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
22295         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
22296         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
22297         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
22298         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
22299         * sysdeps/sparc/sparc32/sem_post.c: ... here.
22300         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
22301         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
22302         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
22303         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
22304         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
22305         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
22306         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
22307         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
22308         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
22309         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
22310         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
22311         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
22312         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
22313         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
22314         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
22315         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
22316         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
22317         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
22318         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
22319         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
22320         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
22321         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
22322         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
22323         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
22324         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
22325         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
22327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
22328         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
22329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
22330         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
22331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22332         Moved ...
22333         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
22334         ... here.
22335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
22336         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
22337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
22338         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
22339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
22340         Moved ...
22341         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
22342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
22343         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
22344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
22345         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
22346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
22347         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
22348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22349         Moved ...
22350         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
22351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22352         Moved ...
22353         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
22354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
22355         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
22356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22357         Moved ...
22358         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
22359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
22360         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
22361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
22362         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
22363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
22364         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
22365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
22366         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
22367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22368         Moved ...
22369         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
22370         ... here.
22371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
22372         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
22373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
22374         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
22375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
22376         Moved ...
22377         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
22378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
22379         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
22380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
22381         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
22382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
22383         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
22384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22385         Moved ...
22386         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
22387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22388         Moved ...
22389         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
22390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
22391         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
22392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22393         Moved ...
22394         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
22395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
22396         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
22397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
22398         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
22400 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22402         * timezone/checktab.awk: Update from tzcode 2014e.
22403         * timezone/private.h: Likewise.
22404         * timezone/tzfile.h: Likewise.
22405         * timezone/zdump.c: Likewise.
22406         * timezone/zic.c: Likewise.
22408         * sysdeps/unix/sysv/linux/kernel-features.h
22409         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
22410         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
22411         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
22412         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22413         Remove conditional code.
22415 2014-06-25  Will Newton  <will.newton@linaro.org>
22417         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
22418         (_dl_arm_cap_flags): Add HWCAP2 values.
22419         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
22420         (_DL_HWCAP_COUNT): Increase to 37.
22421         (_DL_HWCAP_LAST): New define.
22422         (_DL_HWCAP2_LAST): New define.
22423         (_dl_procinfo): Add support for printing
22424         AT_HWCAP2 entries.
22425         (_dl_string_hwcap): Use _dl_hwcap_string.
22427 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22431 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22433         * README: Do not mention ports directory.
22435         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
22436         Remove macro.
22437         * sysdeps/unix/sysv/linux/futimes.c: Do not include
22438         <kernel-features.h>.
22439         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
22440         conditional variable definition.
22441         (__futimes): Update comment.
22442         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
22443         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
22445         [BZ #16560]
22446         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
22447         arguments close to 0.
22448         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
22449         Likewise.
22450         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
22451         Likewise.
22452         * math/auto-libm-test-in: Add more tests of exp10.
22453         * math/auto-libm-test-out: Regenerated.
22454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22456         * sysdeps/unix/sysv/linux/kernel-features.h
22457         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
22458         * sysdeps/unix/sysv/linux/readv.c: Do not include
22459         <kernel-features.h>.
22460         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
22461         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
22462         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
22463         unconditional.
22464         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
22465         conditional code.
22466         * sysdeps/unix/sysv/linux/writev.c: Do not include
22467         <kernel-features.h>.
22468         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
22469         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
22470         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
22471         unconditional.
22472         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
22473         conditional code.
22475 2014-06-25  Will Newton  <will.newton@linaro.org>
22477         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
22478         comment changes throughout the file.  Remove checks
22479         for HAVE_*_H definitions that are not required.
22480         (__gen_tempname): Call abort if an unknown kind value is
22481         passed.
22483 2014-06-25  Andreas Schwab  <schwab@suse.de>
22485         [BZ #17086]
22486         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
22487         scalbln, scalblnf, scalblnl in libc.
22489 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22491         [BZ #17086]
22492         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
22493         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22494         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22496 2014-06-24  Roland McGrath  <roland@hack.frob.com>
22498         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
22499         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
22500         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
22501         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
22502         Update #include.
22503         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
22504         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
22505         Update #include.
22506         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
22507         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
22508         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
22509         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
22510         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
22511         * sysdeps/x86/bits/pthreadtypes.h: ... here.
22512         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
22513         * sysdeps/x86/bits/semaphore.h: ... here.
22514         * sysdeps/x86/nptl/elide.h: Moved ...
22515         * sysdeps/x86/elide.h: ... here.
22516         * sysdeps/x86_64/nptl/Implies: File removed.
22517         * sysdeps/i386/nptl/Implies: File removed.
22519 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
22521         [BZ #16539]
22522         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
22523         return the argument for normal arguments with exponent below -64.
22524         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22525         Likewise.
22526         * math/auto-libm-test-in: Add another test of expm1.
22527         * math/auto-libm-test-out: Regenerated.
22529         [BZ #16287]
22530         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
22531         calling __erfcl for arguments at least 16.
22532         * math/auto-libm-test-in: Add more tests of erf.
22533         * math/auto-libm-test-out: Regenerated.
22535         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
22536         individual architectures.
22537         * sysdeps/unix/sysv/linux/configure: Regenerated.
22538         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
22539         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
22540         * sysdeps/unix/sysv/linux/powerpc/configure.ac
22541         (ldd_rewrite_script): Define variable.
22542         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
22544         file.
22545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
22546         generated file.
22547         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
22548         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
22549         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
22550         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
22551         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
22552         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
22553         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
22554         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
22556 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22558         [BZ #17084]
22559         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
22560         Rename member __data.d to __data.__elision_data.
22562 2014-06-24  Wilco  <wdijkstr@arm.com>
22564         * NEWS: Add 16918 to fixed bug list.
22566 2014-06-24  Wilco  <wdijkstr@arm.com>
22568         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
22570 2014-06-24  Wilco  <wdijkstr@arm.com>
22572         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
22573         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
22574         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
22575         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
22576         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
22577         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
22578         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
22579         Use _FPU_MASK_RM.
22581 2014-06-24  Wilco  <wdijkstr@arm.com>
22583         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
22585 2014-06-24  Wilco  <wdijkstr@arm.com>
22587         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
22588         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
22589         * sysdeps/arm/fesetround.c (fesetround): Remove space.
22590         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
22592 2014-06-24  Wilco  <wdijkstr@arm.com>
22594         [BZ #16918]
22595         * sysdeps/arm/feupdateenv.c (feupdateenv):
22596         Rewrite to reduce FPSCR accesses and fix return value.
22598 2014-06-24  Wilco  <wdijkstr@arm.com>
22600         * sysdeps/arm/fclrexcpt.c (feclearexcept):
22601         Optimize to avoid unnecessary FPSCR writes.
22602         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
22603         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
22604         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
22605         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
22607 2014-06-24  Wilco  <wdijkstr@arm.com>
22609         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
22610         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
22611         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
22612         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
22613         Call libc_fetestexcept_vfp.
22614         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
22615         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
22616         __SOFTFP__ ifdef so that they can be built for softfp.
22618 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22620         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
22621         argument type signed char.
22623         * Makerules (check-abi): Dump diff of symlist if the test
22624         fails.
22626 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22628         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
22629         using abort.
22631         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
22632         Remove unused variable ST.
22634 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
22636         [BZ #16354]
22637         [BZ #17061]
22638         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
22639         small arguments before calling __expm1.
22640         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
22641         small arguments before calling __expm1f.
22642         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
22643         small arguments before calling __expm1l.
22644         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22645         Likewise.
22646         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
22647         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
22648         spurious underflow for some cosh tests.
22649         * math/auto-libm-test-out: Regenerated.
22650         * sysdeps/i386/fpu/libm-test-ulps: Update.
22652         [BZ #17050]
22653         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
22654         (__ieee754_y1): Set errno if return value overflows.
22655         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
22656         (__ieee754_y1f): Set errno if return value overflows.
22657         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
22658         (__ieee754_y1l): Set errno if return value overflows.
22659         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
22660         (__ieee754_y1l): Set errno if return value overflows.
22661         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
22662         * math/auto-libm-test-out: Regenerated.
22664         * math/gen-auto-libm-tests.c: Document use of
22665         ignore-zero-inf-sign.
22666         (input_flag_type): Add value flag_ignore_zero_inf_sign.
22667         (input_flags): Add ignore-zero-inf-sign.
22668         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
22669         * math/gen-libm-test.pl (generate_testfile): Handle
22670         ignore-zero-inf-sign.
22671         * math/auto-libm-test-in: Mark some cpow tests with
22672         ignore-zero-inf-sign and some with xfail-rounding.
22673         * math/auto-libm-test-out: Regenerated.
22674         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
22675         * sysdeps/i386/fpu/libm-test-ulps: Update.
22676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22678         [BZ #16315]
22679         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
22680         overflowing or underflowing operations take place with sign of
22681         result.
22682         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22683         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22684         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
22685         (__ieee754_pow): Recompute overflowing and underflowing results in
22686         original rounding mode.
22687         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
22688         (__powl_helper): Allow negative argument X and scale negated value
22689         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
22690         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
22691         overflowing or underflowing operations take place with sign of
22692         result.
22693         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
22694         Include <math.h>.
22695         * math/auto-libm-test-in: Add more tests of pow.
22696         * math/auto-libm-test-out: Regenerated.
22697         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
22698         (pow_tonearest_test_data): Remove.
22699         (pow_test_tonearest): Likewise.
22700         (pow_towardzero_test_data): Likewise.
22701         (pow_test_towardzero): Likewise.
22702         (pow_downward_test_data): Likewise.
22703         (pow_test_downward): Likewise.
22704         (pow_upward_test_data): Likewise.
22705         (pow_test_upward): Likewise.
22706         (main): Don't call removed functions.
22707         * sysdeps/i386/fpu/libm-test-ulps: Update.
22708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22710 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
22713         Moved ...
22714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
22715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22716         Moved ...
22717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
22718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22719         Moved ...
22720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
22721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22722         Moved ...
22723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
22724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22725         File removed.
22726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22727         File removed.
22728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
22729         File removed.
22730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
22731         File removed.
22732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
22733         File removed.
22734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
22735         File removed.
22736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
22737         File removed.
22738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22739         File removed.
22740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
22741         File removed.
22742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22743         File removed.
22744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
22745         File removed.
22746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
22747         File removed.
22748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
22749         Moved ...
22750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
22751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
22752         Moved ...
22753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
22754         ... here.
22755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
22756         Moved ...
22757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
22758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
22759         Moved ...
22760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
22761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
22762         Moved ...
22763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
22764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
22765         Moved ...
22766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
22767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
22768         Moved ...
22769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
22770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
22771         Moved ...
22772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
22773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
22774         Moved ...
22775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
22776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
22777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
22778         ... here.
22779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
22780         Moved ...
22781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
22782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22783         Moved ...
22784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22785         ... here.
22786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
22787         Moved ...
22788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22789         ... here.
22790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22791         Moved ...
22792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22793         ... here.
22794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22795         Moved ...
22796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
22797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22798         Moved ...
22799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
22800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
22801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
22802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22803         Moved ...
22804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
22805         ... here.
22806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22807         Moved ...
22808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
22809         ... here.
22810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22811         Moved ...
22812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
22813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22814         Moved ...
22815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
22816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22817         Moved ...
22818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
22819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22820         Moved ...
22821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
22822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22823         Moved ...
22824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
22825         ... here.
22826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22827         Moved ...
22828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
22829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22830         Moved ...
22831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
22832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22833         Moved ...
22834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
22835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22836         Moved ...
22837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
22838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
22839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
22840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22841         Moved ...
22842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
22843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22844         Moved ...
22845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
22846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22847         Moved ...
22848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
22849         ... here.
22850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22851         Moved ...
22852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
22853         ... here.
22854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22855         Moved ...
22856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
22857         ... here.
22858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22859         Moved ...
22860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
22861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22862         Moved ...
22863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
22864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22865         Moved ...
22866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
22867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22868         Moved ...
22869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
22870         ... here.
22871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22872         Moved ...
22873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
22874         ... here.
22875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22876         Moved ...
22877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
22878         ... here.
22879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22880         Moved ...
22881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
22882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22883         Moved ...
22884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
22886 2014-06-23  Will Newton  <will.newton@linaro.org>
22887             Wilco  <wdijkstr@arm.com>
22889         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
22890         implementation.  Include get-rounding-mode.h.
22891         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
22892         [!libc_feholdsetround_noex_ctx]: Define
22893         libc_feholdsetround_noex_ctx.
22894         [!libc_feholdsetround_noexf_ctx]: Define
22895         libc_feholdsetround_noexf_ctx.
22896         [!libc_feholdsetround_noexl_ctx]: Define
22897         libc_feholdsetround_noexl_ctx.
22898         (libc_feholdsetround_ctx): New function.
22899         (libc_feresetround_ctx): New function.
22900         (libc_feholdsetround_noex_ctx): New function.
22901         (libc_feresetround_noex_ctx): New function.
22903 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22905         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
22906         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
22907         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
22908         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
22909         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
22910         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
22912         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
22913         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
22914         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
22915         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
22916         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
22917         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
22918         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
22919         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
22920         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
22921         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
22922         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
22923         Moved ...
22924         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
22925         ... here.
22926         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
22927         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
22928         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
22929         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
22930         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
22931         Moved ...
22932         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
22933         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
22934         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
22935         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
22936         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
22937         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
22938         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
22939         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
22940         Moved ...
22941         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
22942         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
22943         Moved ...
22944         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
22945         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
22946         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
22947         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
22948         Moved ...
22949         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
22950         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
22951         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
22952         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
22953         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
22954         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
22955         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
22956         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
22957         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
22958         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
22959         Moved ...
22960         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
22961         ... here.
22962         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
22963         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
22964         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
22965         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
22966         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
22967         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
22968         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
22969         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
22970         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
22971         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
22972         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
22973         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
22974         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
22975         Moved ...
22976         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
22977         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
22978         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
22979         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
22980         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
22981         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
22982         Moved ...
22983         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
22984         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
22985         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
22986         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
22987         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
22989         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
22990         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
22991         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
22992         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
22993         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
22994         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
22995         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
22996         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
22997         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
22998         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
22999         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
23000         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
23001         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
23002         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
23003         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
23004         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
23005         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
23006         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
23007         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
23008         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23009         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
23010         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
23011         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
23012         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
23013         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
23014         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
23015         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
23016         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
23018 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23020         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23021         (FALLOC_FL_COLLAPSE_RANGE): New macro.
23022         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
23023         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
23024         (IPV6_PMTUDISC_INTERFACE): Likewise.
23025         (IPV6_PMTUDISC_OMIT): Likewise.
23027 2014-06-23  Andreas Schwab  <schwab@suse.de>
23029         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
23030         Remove unused errout label.
23032 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23034         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
23035         macro: hardware supports Vector Crypto instructions.
23037 2014-06-23  Will Newton  <will.newton@linaro.org>
23039         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
23040         rather than __builtin_expect.
23042         * elf/dl-lookup.c (undefined_msg): Remove variable.
23043         (_dl_lookup_symbol_x): Replace undefined_msg with string
23044         literal.
23046         * elf/dl-lookup.c (do_lookup_unique): New function.
23047         (do_lookup_x): Move STB_GNU_UNIQUE handling code
23048         to a separate function.
23050 2014-06-23  Andreas Schwab  <schwab@suse.de>
23052         [BZ #17079]
23053         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23054         before reading the next line.
23056 2014-06-23  Will Newton  <will.newton@linaro.org>
23058         * test-skeleton.c (signal_handler): Use printf and %m
23059         rather than perror.  Use printf rather than fprintf to
23060         stderr.  Use puts rather than fputs to stderr.
23061         (main): Likewise.
23063 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
23065         * nscd/nscd.c (thread_info_t): Remove typedef.
23066         (thread_info): Remove variable.
23068 2014-06-21  Allan McRae  <allan@archlinux.org>
23070         * NEWS: Mention CVE-2014-4043.
23072 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23074         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
23075         * nptl/smp.h: ... here.
23077         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23079         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
23080         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
23081         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
23082         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
23084         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23085         * nptl/stack-aliasing.h: New file.
23086         * sysdeps/i386/i686/stack-aliasing.h: New file.
23087         * sysdeps/i386/i686/nptl/Makefile: File removed.
23088         * sysdeps/x86_64/stack-aliasing.h: New file.
23089         * sysdeps/x86_64/nptl/Makefile
23090         (CFLAGS-pthread_create.c): Variable removed.
23092         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
23093         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
23094         old file.
23095         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
23096         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23097         old file.
23099 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
23101         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23102         (__ASSUME_SIGFRAME_V2): Remove macro.
23103         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23104         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
23105         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
23106         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
23107         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
23108         Declare as function.  Remove conditional macro definitions.
23109         (__default_rt_sa_restorer): Likewise.
23110         (__default_sa_restorer_v1): Remove declaration.
23111         (__default_sa_restorer_v2): Likewise.
23112         (__default_rt_sa_restorer_v1): Likewise.
23113         (__default_rt_sa_restorer_v2): Likewise.
23114         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
23115         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
23116         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
23118 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23120         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23121         (libpthread-routines): Add sysdep.
23122         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
23123         * sysdeps/unix/sysv/linux/sparc/Versions
23124         (libpthread: GLIBC_2.3.3): New version set.
23125         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
23126         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
23127         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
23128         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
23129         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
23130         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
23131         Moved ...
23132         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
23133         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
23134         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
23135         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
23136         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
23137         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
23138         * sysdeps/sparc/nptl/sem_init.c: ... here.
23139         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23140         * sysdeps/sparc/nptl/sem_post.c: ... here.
23141         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
23142         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
23143         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
23144         * sysdeps/sparc/nptl/sem_wait.c: ... here.
23145         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
23146         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
23147         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
23148         (libpthread-routines): Add cpu_relax.
23149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
23150         File removed.
23151         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
23152         (librt: GLIBC_2.3.3): New version set.
23153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
23154         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
23155         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
23156         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
23157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
23158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
23159         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
23160         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
23161         Moved ...
23162         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
23163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
23164         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
23165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
23166         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
23167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
23168         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
23169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
23170         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
23171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
23172         Moved ...
23173         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
23174         Update #include.
23175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
23176         Moved ...
23177         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
23178         Update #include.
23179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
23180         Moved ...
23181         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
23182         Update #include.
23183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
23184         Moved ...
23185         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
23186         Update #include.
23187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
23188         Moved ...
23189         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
23190         Update #include.
23191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
23192         Moved ...
23193         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
23194         Update #include.
23195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
23196         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
23197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
23198         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
23199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
23200         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
23201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
23202         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
23203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
23204         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
23205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23206         Moved ...
23207         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
23208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
23209         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
23210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
23211         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
23213 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23215         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
23216         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
23217         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23218         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
23219         * nscd/nscd.c: Likewise.
23220         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
23221         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
23222         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
23223         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
23225         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
23226         <kernel-features.h>.
23227         (init_mq_netlink): Remove conditional have_sock_cloexec
23228         definitions.  Remove code conditional on have_sock_cloexec < 0.
23229         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
23230         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
23231         * sysdeps/unix/sysv/linux/opensock.c: Do not include
23232         <kernel-features.h>.
23233         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
23234         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
23236 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23239         Add tests for memset_chk and memset.
23241         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
23242         with AVX2_Usable.
23244 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23246         [BZ #16046]
23247         * elf/tst-dl-iter-static.c: New file.
23248         * elf/Makefile (tests-static): Add tst-dl-iter-static.
23250         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
23251         error.
23253 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23255         * sysdeps/unix/sysv/linux/kernel-features.h
23256         (__ASSUME_F_GETOWN_EX): Remove macro.
23257         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
23258         <kernel-features.h>.
23259         (miss_F_GETOWN_EX): Remove variable or macro.
23260         (do_fcntl): Do not check miss_F_GETOWN_EX.
23261         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
23263         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
23264         Remove macro.
23265         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
23266         [!__ASSUME_AT_RANDOM]: Remove conditional code.
23267         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
23269         * sysdeps/unix/sysv/linux/kernel-features.h
23270         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
23271         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
23272         [ADJ_OFFSET_SS_READ]: Make code unconditional.
23273         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
23275 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23277         [BZ #17075]
23278         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
23279         Fix calculation of the symbol's value.
23280         * sysdeps/arm/tst-armtlsdescloc.c: New file.
23281         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
23282         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
23283         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
23284         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
23285         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
23286         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
23287         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
23288         (modules-names): Add `tst-armtlsdescmod',
23289         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
23290         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
23291         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23292         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
23293         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
23294         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23295         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
23296         ($(objpfx)tst-armtlsdescloc): New dependency.
23297         ($(objpfx)tst-armtlsdescextnow): Likewise.
23298         ($(objpfx)tst-armtlsdescextlazy): Likewise.
23299         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
23300         TLS scheme support.
23301         * sysdeps/arm/configure: Regenerate.
23303 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23305         * include/fcntl.h (__atfct_seterrno): Remove prototype.
23306         (__atfct_seterrno_2): Likewise.
23307         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
23308         <kernel-features.h>.
23309         (__ASSUME_ATFCTS): Do not undefine and redefine.
23310         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
23311         (__have_atfcts): Remove conditional definition.
23312         (__fxstatat([__NR_fstatat64]: Make code unconditional.
23313         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
23314         unreachable if [__ASSUME_ATFCTS].
23315         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
23316         not undefine and redefine.
23317         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
23318         <kernel-features.h>.
23319         (faccessat) [__NR_faccessat]: Make code unconditional.
23320         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
23321         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
23322         <kernel-features.h>.
23323         (fchmodat) [__NR_fchmodat]: Make code unconditional.
23324         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
23325         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
23326         <kernel-features.h>.
23327         (fchownat) [__NR_fchownat]: Make code unconditional.
23328         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
23329         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
23330         <kernel-features.h>.
23331         (futimesat) [__NR_futimesat]: Make code unconditional.
23332         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
23333         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23334         <kernel-features.h>.
23335         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23336         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23337         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23338         <kernel-features.h>.
23339         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
23340         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
23341         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
23342         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23343         <kernel-features.h>.
23344         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
23345         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23346         * sysdeps/unix/sysv/linux/linkat.c: Do not include
23347         <kernel-features.h>.
23348         (linkat) [__NR_linkat]: Make code unconditional.
23349         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23350         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
23351         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
23352         <kernel-features.h>.
23353         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
23354         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
23355         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
23356         <kernel-features.h>.
23357         (mkdirat) [__NR_mkdirat]: Make code unconditional.
23358         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
23359         * sysdeps/unix/sysv/linux/openat.c: Do not include
23360         <kernel-features.h>.
23361         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
23362         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
23363         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
23364         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
23365         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
23366         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
23367         <kernel-features.h>.
23368         (readlinkat) [__NR_readlinkat]: Make code unconditional.
23369         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
23370         result of INLINE_SYSCALL directly, not via int variable.
23371         * sysdeps/unix/sysv/linux/renameat.c: Do not include
23372         <kernel-features.h>.
23373         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
23374         (renameat) [__NR_renameat]: Make code unconditional.
23375         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
23376         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
23377         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
23378         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
23379         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
23380         (__ASSUME_ATFCTS): Do not undefine and redefine.
23381         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
23382         <kernel-features.h>.
23383         (symlinkat) [__NR_symlinkat]: Make code unconditional.
23384         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23385         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
23386         <kernel-features.h>.
23387         (unlinkat) [__NR_unlinkat]: Make code unconditional.
23388         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23389         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
23390         (__ASSUME_ATFCTS): Do not undefine and redefine.
23391         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23392         <kernel-features.h>.
23393         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23394         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23395         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23396         <kernel-features.h>.
23397         (__xmknodat) [__NR_mknodat]: Make code unconditional.
23398         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
23400 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23402         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
23404 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
23406         [BZ #17069]
23407         * posix/regcomp.c (parse_reg_exp): Deallocate partially
23408         constructed tree before returning error.
23409         * posix/bug-regexp36.c: Expand test case.
23411 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23413         [BZ #6803]
23414         * math/libm-test.inc (scalbln_test_date):
23415         Add errno expectations.
23416         * math/w_scalblnf.c: New File.
23417         Add wrapper which checks for setting errno to ERANGE.
23418         Add weak_alias for corresponding scalbln function.
23419         * math/w_scalbln.c: Likewise.
23420         * math/w_scalblnl.c: Likewise.
23421         * math/Makefile (libm-calls): Add w_scalbln.
23422         * sysdeps/ieee754/flt-32/s_scalblnf.c:
23423         Remove weak_alias for corresponding scalbln function.
23424         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23425         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23426         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23427         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23428         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23429         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23430         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
23431         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23432         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
23433         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
23434         Remove long_double_symbol for scalblnl function in libm, libc.
23435         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
23436         Add wrapper which checks for setting errno to ERANGE.
23437         Add long_double_symbol for scalblnl function in libm, libc.
23438         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
23439         Remove long_double_symbol for scalblnl in libm.
23440         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
23441         Add wrapper which checks for setting errno to ERANGE.
23442         Add long_double_symbol for scalblnl function in libm.
23443         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
23444         Do not use wrapper because of own implementation.
23446 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
23448         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
23449         3 bytes for __pad1 for x32.
23450         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
23452 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
23453             H.J. Lu  <hongjiu.lu@intel.com>
23455         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
23456         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
23457         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23458         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23459         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23461 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
23463         [BZ #17069]
23464         * posix/regcomp.c (parse_expression): Deallocate partially
23465         constructed tree before returning error.
23466         * posix/Makefile.c (tests): Add bug-regex36.
23467         (generated): Add bug-regex36.mtrace.
23468         (tests-special): Add $(objpfx)bug-regex36-mem.out
23469         (bug-regex36-ENV): New variable.
23470         ($(objpfx)bug-regex36-mem.out): New rule.
23471         * posix/bug-regex36.c: New file.
23473 2014-06-19  Will Newton  <will.newton@linaro.org>
23475         * malloc/malloc.c (systrim): If extra is zero then return
23476         early.
23478 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23480         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
23482 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
23484         * sysdeps/aarch64/strchr.S: New file.
23486 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
23488         [BZ #17022]
23489         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
23490         from arguments -2 or below.
23491         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23492         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
23494 2014-06-18  Andreas Schwab  <schwab@suse.de>
23496         [BZ #17062]
23497         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
23498         of a bracket expr not to run off the end of the string.
23499         * posix/Makefile (tests): Add tst-fnmatch3.
23500         * posix/tst-fnmatch3.c: New file.
23502 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
23504         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
23505         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23506         [$(cross-compiling) = no]: Likewise.
23507         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23508         [$(cross-compiling) = no]: Likewise.
23510 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23512         [BZ #17031]
23513         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
23514         double, adjusted for any remainder from the high double.
23515         * math/libm-test.inc (nearbyint): Add tests.
23516         (rint): Likewise.
23518 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23520         * nptl/sysdeps/powerpc/Makefile: Moved ...
23521         * sysdeps/powerpc/nptl/Makefile: ... here.
23522         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
23523         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
23524         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
23525         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
23526         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
23527         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
23528         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
23529         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
23530         * nptl/sysdeps/powerpc/tls.h: Moved ...
23531         * sysdeps/powerpc/nptl/tls.h: ... here.
23533 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
23535         [BZ #16681]
23536         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
23537         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
23538         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
23539         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
23540         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
23541         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
23542         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
23543         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
23544         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
23546 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
23548         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23550 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
23552         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
23553         defined operator.
23555         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
23556         $TIMEOUTFACTOR.
23558 2014-06-16  Florian Weimer  <fweimer@redhat.com>
23560         [BZ #17058]
23561         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
23562         non-executed part of the test.
23564 2014-06-16  Andreas Schwab  <schwab@suse.de>
23566         * string/bits/string2.h (strdup, strndup): Update feature guard.
23568 2014-06-14  David S. Miller  <davem@davemloft.net>
23570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23572 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
23574         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
23575         that was previously under [RESET_PID].
23576         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
23578         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
23579         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
23580         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
23581         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23582         (__libc_vfork): New strong alias.
23583         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
23585 2014-06-14 Andi Kleen  <ak@linux.intel.com>
23587         * sysdeps/generic/elide.h: New file.
23589 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23591         * Makefile (installed-headers): Adjust path of pthread.h header.
23593 2014-06-13  Roland McGrath  <roland@hack.frob.com>
23595         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
23596         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
23597         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
23598         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
23600         * nptl/sysdeps/s390/Makefile: Moved ...
23601         * sysdeps/s390/nptl/Makefile: ... here.
23602         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
23603         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
23604         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
23605         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
23606         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
23607         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
23608         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
23609         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
23610         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
23611         * sysdeps/s390/nptl/pthreaddef.h: ... here.
23612         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
23613         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
23614         * nptl/sysdeps/s390/tls.h: Moved ...
23615         * sysdeps/s390/nptl/tls.h: ... here.
23617         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
23618         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
23620 2014-06-13  David S. Miller  <davem@davemloft.net>
23622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
23623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
23624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
23625         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
23626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
23627         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
23628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
23629         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
23630         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
23631         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
23632         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
23633         Remove RESET_PID cpp guards.
23634         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
23635         Remove RESET_PID cpp guards.
23636         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
23638 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
23640         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
23641         __sp to uintptr_t.
23643 2014-06-13  Andi Kleen  <ak@linux.intel.com>
23645         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
23646         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
23647         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
23648         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
23649         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
23650         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
23651         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
23652         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
23653         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
23654         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
23655         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
23656         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
23657         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
23658         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
23659         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
23660         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
23661         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
23662         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
23663         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
23664         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
23666         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
23667         (pthread_rwlock_rdlock): Add elision.
23668         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
23669         (pthread_rwlock_wrlock): Add elision.
23670         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
23671         (pthread_rwlock_trywrlock): Add elision.
23672         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
23673         (pthread_rwlock_tryrdlock): Add elision.
23674         * nptl/pthread_rwlock_unlock.c: Include elide.h.
23675         (pthread_rwlock_tryrdlock): Add elision unlock.
23676         * nptl/sysdeps/pthread/pthread.h:
23677         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
23678         (PTHREAD_RWLOCK_INITIALIZER,
23679         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
23680         Handle new elision field.
23681         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
23682         * sysdeps/arm/nptl/bits/pthreadtypes.h
23683         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23684         * sysdeps/sh/nptl/bits/pthreadtypes.h
23685         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23686         * sysdeps/tile/nptl/bits/pthreadtypes.h
23687         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23688         * sysdeps/a/nptl/bits/pthreadtypes.h
23689         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23690         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23691         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23692         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23693         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23694         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
23695         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23696         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23697         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23698         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23699         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23700         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23701         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23702         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23703         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23704         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
23705         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23706         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
23707         (elision_init): Set try_xbegin to zero when no RTM.
23708         * sysdeps/x86/nptl/bits/pthreadtypes.h
23709         (pthread_rwlock_t): Change __pad1 to __rwelision.
23710         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23712 2014-06-13  Andi Kleen  <ak@linux.intel.com>
23714         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
23715         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
23716         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
23717         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
23719 2014-06-13  Meador Inge  <meadori@codesourcery.com>
23721         [BZ #16996]
23722         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
23723         that the cached result has been set before returning it.
23725 2014-06-12  Roland McGrath  <roland@hack.frob.com>
23727         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
23728         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
23729         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
23730         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
23731         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
23732         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
23734         * nptl/sysdeps/sparc/Makefile: Moved ...
23735         * sysdeps/sparc/nptl/Makefile: ... here.
23736         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
23737         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
23738         * nptl/sysdeps/sparc/tls.h: Moved ...
23739         * sysdeps/sparc/nptl/tls.h: ... here.
23740         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
23741         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
23742         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
23743         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
23744         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
23745         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
23746         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
23747         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
23748         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
23749         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
23750         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
23751         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
23752         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
23753         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
23754         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
23755         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
23756         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
23757         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
23758         Update #include.
23759         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
23760         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
23761         Update #include.
23762         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
23763         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
23764         Update #include.
23765         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
23766         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
23767         Update #include.
23769         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23771         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
23772         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
23774         * sysdeps/pthread/posix-timer.h: Include <list.h>.
23775         (struct list_links): Type removed.
23776         (struct thread_node, struct timer_node): Replace struct list_links
23777         with struct list_head.
23778         (list_unlink_ip): Likewise.
23779         * sysdeps/pthread/timer_routines.c
23780         (timer_free_list, thread_free_list, thread_active_list): Likewise.
23781         (list_append, list_insbefore): Likewise.
23782         (list_init): Function removed.
23783         (thread_init, init_module): Use INIT_LIST_HEAD instead.
23784         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
23785         * sysdeps/pthread/Makefile: ... here, new file.
23787         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
23788         * sysdeps/nptl/Implies: ... here.
23789         * sysdeps/unix/sysv/linux/Implies: Add nptl.
23790         * nptl/sysdeps/pthread/list.h: Moved ...
23791         * include/list.h: ... here.
23792         * nptl/sysdeps/pthread/createthread.c: Moved ...
23793         * nptl/createthread.c: ... here.
23794         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
23795         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
23796         * nptl/pt-longjmp.c: ... here.
23797         * nptl/sysdeps/pthread/Makefile: Moved ...
23798         * sysdeps/nptl/Makefile: ... here.
23799         * nptl/sysdeps/pthread/Subdirs: Moved ...
23800         * sysdeps/nptl/Subdirs: ... here.
23801         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
23802         * sysdeps/nptl/aio_misc.h: ... here.
23803         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
23804         * sysdeps/nptl/bits/libc-lock.h: ... here.
23805         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
23806         * sysdeps/nptl/bits/libc-lockP.h: ... here.
23807         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
23808         * sysdeps/nptl/bits/stdio-lock.h: ... here.
23809         * nptl/sysdeps/pthread/configure: Moved ...
23810         * sysdeps/nptl/configure: ... here.
23811         * nptl/sysdeps/pthread/configure.ac: Moved ...
23812         * sysdeps/nptl/configure.ac: ... here.
23813         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
23814         * sysdeps/nptl/gai_misc.h: ... here.
23815         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
23816         * sysdeps/nptl/librt-cancellation.c: ... here.
23817         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
23818         * sysdeps/nptl/malloc-machine.h: ... here.
23819         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
23820         * sysdeps/nptl/pthread-functions.h: ... here.
23821         * nptl/sysdeps/pthread/pthread.h: Moved ...
23822         * sysdeps/nptl/pthread.h: ... here.
23823         * nptl/sysdeps/pthread/setxid.h: Moved ...
23824         * sysdeps/nptl/setxid.h: ... here.
23825         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
23826         * sysdeps/nptl/sigfillset.c: ... here.
23827         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
23828         * sysdeps/nptl/tcb-offsets.h: ... here.
23829         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
23830         * sysdeps/nptl/tst-mqueue8x.c: ... here.
23831         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
23832         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
23833         * nptl/sysdeps/pthread/allocalim.h: Moved ...
23834         * sysdeps/pthread/allocalim.h: ... here.
23835         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
23836         * sysdeps/pthread/bits/sigthread.h: ... here.
23837         * nptl/sysdeps/pthread/flockfile.c: Moved ...
23838         * sysdeps/pthread/flockfile.c: ... here.
23839         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
23840         * sysdeps/pthread/ftrylockfile.c: ... here.
23841         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
23842         * sysdeps/pthread/funlockfile.c: ... here.
23843         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
23844         * sysdeps/pthread/posix-timer.h: ... here.
23845         * nptl/sysdeps/pthread/timer_create.c: Moved ...
23846         * sysdeps/pthread/timer_create.c: ... here.
23847         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
23848         * sysdeps/pthread/timer_delete.c: ... here.
23849         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
23850         * sysdeps/pthread/timer_getoverr.c: ... here.
23851         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
23852         * sysdeps/pthread/timer_gettime.c: ... here.
23853         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
23854         * sysdeps/pthread/timer_routines.c: ... here.
23855         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
23856         * sysdeps/pthread/timer_settime.c: ... here.
23857         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
23858         * sysdeps/pthread/tst-timer.c: ... here.
23859         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
23860         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
23862         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
23863         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
23865         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
23866         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
23867         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
23868         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
23869         Update #include target.
23870         * nptl/sysdeps/i386/i686/Makefile: Moved ...
23871         * sysdeps/i386/i686/nptl/Makefile: ... here.
23872         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
23873         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
23874         Update #include target.
23875         * nptl/sysdeps/i386/i686/tls.h: Moved ...
23876         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
23877         * nptl/sysdeps/i386/Makefile: Moved ...
23878         * sysdeps/i386/nptl/Makefile: ... here.
23879         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
23880         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
23881         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
23882         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
23883         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
23884         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
23885         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
23886         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
23887         * sysdeps/i386/nptl/pthreaddef.h: ... here.
23888         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
23889         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
23890         * nptl/sysdeps/i386/tls.h: Moved ...
23891         * sysdeps/i386/nptl/tls.h: ... here.
23893         * sysdeps/sh/Makefile [$(subdir) = csu]
23894         (gen-as-const-headers): Add tcb-offsets.sym.
23895         * nptl/sysdeps/sh/Makefile: File removed.
23896         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
23897         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
23898         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
23899         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
23900         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
23901         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
23902         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
23903         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
23904         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
23905         * sysdeps/sh/nptl/pthreaddef.h: ... here.
23906         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
23907         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
23908         * nptl/sysdeps/sh/tls.h: Moved ...
23909         * sysdeps/sh/nptl/tls.h: ... here.
23910         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
23911         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
23912         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
23913         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
23914         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
23915         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
23916         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
23917         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
23918         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
23919         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
23920         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
23921         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
23922         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
23923         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
23924         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
23925         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
23926         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
23927         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
23928         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
23929         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
23930         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
23931         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
23932         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
23933         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
23934         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
23935         Moved ...
23936         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
23937         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
23938         Moved ...
23939         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
23940         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
23941         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
23942         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
23943         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
23944         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
23945         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
23946         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
23947         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
23948         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
23949         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
23950         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
23951         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
23952         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
23953         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
23954         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
23955         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
23956         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
23957         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
23959 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23961         * posix/spawn_faction_addopen.c: Include string.h.
23963 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23965         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
23966         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
23967         * nptl/sysdeps/x86_64/Makefile: Moved ...
23968         * sysdeps/x86_64/nptl/Makefile: ... here.
23969         * nptl/sysdeps/x86_64/configure: Moved ...
23970         * sysdeps/x86_64/nptl/configure: ... here.
23971         * nptl/sysdeps/x86_64/configure.ac: Moved ...
23972         * sysdeps/x86_64/nptl/configure.ac: ... here.
23973         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
23974         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
23975         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
23976         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
23977         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
23978         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
23979         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
23980         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
23981         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
23982         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
23983         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
23984         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
23985         * nptl/sysdeps/x86_64/tls.h: Moved ...
23986         * sysdeps/x86_64/nptl/tls.h: ... here.
23987         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
23988         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
23989         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
23990         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
23992         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
23994 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23998 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
24000         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
24001         type.
24002         [POSIX] (off_t): Likewise.
24003         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
24004         [POSIX] (S_ISBLK): Require macro.
24005         [POSIX] (S_ISCHR): Likewise.
24006         [POSIX] (S_ISDIR): Likewise.
24007         [POSIX] (S_ISFIFO): Likewise.
24008         [POSIX] (S_ISREG): Likewise.
24009         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
24010         optional-macro.
24011         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
24012         type.
24013         [POSIX] (time_t): Likewise.
24014         [POSIX] (timer_t): Likewise.
24016 2014-06-11  Florian Weimer  <fweimer@redhat.com>
24018         [BZ #17048]
24019         * posix/spawn_int.h (struct __spawn_action): Make the path string
24020         non-const to support deallocation.
24021         * posix/spawn_faction_addopen.c
24022         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
24023         * posix/spawn_faction_destroy.c
24024         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
24025         path in all spawn_do_open actions.
24026         * posix/tst-spawn.c (do_test): Exercise the copy operation in
24027         posix_spawn_file_actions_addopen.
24029 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
24031         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
24032         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
24033         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
24034         conditional code always true.
24035         (__libc_vfork): New alias.
24037 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24039         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24040         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
24042         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
24044         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24045         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
24047         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24048         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
24050         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24051         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
24053 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24055         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
24056         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
24057         multiarch strcmp for PPC64.
24058         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
24059         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
24061         multiarch optimizations.
24062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24063         (__libc_ifunc_impl_list): Likewise.
24065 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24067         * benchtests/scripts/validate_benchout.py: New script.
24068         * benchtests/Makefile (bench-func): Call it.
24069         * benchtests/scripts/benchout.schema.json: New file.
24071 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
24073         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
24074         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
24075         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24076         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
24077         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
24078         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24079         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
24080         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
24081         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
24082         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
24083         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
24084         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
24085         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
24086         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
24087         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24088         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
24089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
24090         Moved ...
24091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
24092         ... here.
24093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
24094         Moved ...
24095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
24096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
24097         Moved ...
24098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
24099         ... here.
24100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
24101         Moved ...
24102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
24103         ... here.
24104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
24105         Moved ...
24106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
24107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
24108         Moved ...
24109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
24110         ... here.
24111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
24112         Moved ...
24113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
24114         ... here.
24115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
24116         Moved ...
24117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
24118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
24119         Moved ...
24120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
24121         ... here.
24122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
24123         Moved ...
24124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
24125         ... here.
24126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
24127         Moved ...
24128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
24129         ... here.
24130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
24131         Moved ...
24132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
24133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
24134         Moved ...
24135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
24136         ... here.
24137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
24138         Moved ...
24139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
24140         ... here.
24141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
24142         Moved ...
24143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
24144         ... here.
24145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
24146         Moved ...
24147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
24148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
24149         Moved ...
24150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
24151         ... here.
24152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
24153         Moved ...
24154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
24155         ... here.
24156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
24157         Moved ...
24158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
24159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
24160         Moved ...
24161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
24162         ... here.
24163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
24164         Moved ...
24165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
24166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
24167         Moved ...
24168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
24169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
24170         Moved ...
24171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
24172         ... here.
24173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
24174         Moved ...
24175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
24176         ... here.
24177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
24178         Moved ...
24179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
24180         ... here.
24181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
24182         Moved ...
24183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
24184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
24185         Moved ...
24186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
24187         ... here.
24188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
24189         Moved ...
24190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
24191         ... here.
24192         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
24193         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
24194         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
24195         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
24196         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
24197         Moved ...
24198         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24199         ... here.
24200         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
24201         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
24202         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
24203         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
24204         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
24205         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
24206         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
24207         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
24208         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
24209         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
24210         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
24211         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
24212         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
24213         Moved ...
24214         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
24215         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
24216         Moved ...
24217         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
24218         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
24219         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
24220         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
24221         Moved ...
24222         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
24223         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
24224         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
24225         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
24226         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
24227         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
24228         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
24230 2014-06-10  Wilco  <wdijkstr@arm.com>
24232         * math/test-fenv-return.c: New file.
24233         * math/Makefile: Add new test test-fenv-return.
24235 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
24237         [BZ #17042]
24238         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
24239         when x - 1 is zero.
24240         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
24241         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
24242         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
24243         0.0L for an argument of 1.0L.
24244         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24245         Likewise.
24246         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
24247         value when x - 1 is zero.
24248         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
24249         * sysdeps/i386/fpu/libm-test-ulps: Update.
24250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24252 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
24254         [BZ #15119]
24255         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
24257 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24259         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
24260         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
24262 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24264         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24265         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
24267         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24268         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
24270         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24271         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
24273         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24274         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
24276         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
24277         if not already defined.
24278         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
24279         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
24280         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
24281         (TLS_INIT_TP): Use it.
24282         (TLS_DEFINE_INIT_TP): New macro.
24283         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
24285 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
24287         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
24288         constant.
24289         [POSIX] (IXANY): Likewise.
24290         [POSIX] (OLCUC): Likewise.
24291         [POSIX || POSIX2008] (CBAUD): Do not allow.
24292         [POSIX || POSIX2008] (DEFECHO): Likewise.
24293         [POSIX || POSIX2008] (ECHOCTL): Likewise.
24294         [POSIX || POSIX2008] (ECHOKE): Likewise.
24295         [POSIX || POSIX2008] (ECHOPRT): Likewise.
24296         [POSIX || POSIX2008] (EXTA): Likewise.
24297         [POSIX || POSIX2008] (EXTB): Likewise.
24298         [POSIX || POSIX2008] (FLUSHO): Likewise.
24299         [POSIX || POSIX2008] (LOBLK): Likewise.
24300         [POSIX || POSIX2008] (PENDIN): Likewise.
24301         [POSIX || POSIX2008] (SWTCH): Likewise.
24302         [POSIX || POSIX2008] (VDISCARD): Likewise.
24303         [POSIX || POSIX2008] (VDSUSP): Likewise.
24304         [POSIX || POSIX2008] (VLNEXT): Likewise.
24305         [POSIX || POSIX2008] (VREPRINT): Likewise.
24306         [POSIX || POSIX2008] (VSTATUS): Likewise.
24307         [POSIX || POSIX2008] (VWERASE): Likewise.
24308         (B*): Change to B[0123456789]*.
24309         * conform/data/time.h-data [POSIX || UNIX98]
24310         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
24311         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24312         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
24313         [POSIX] (tm_*): Do not allow.
24315 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
24317         * Makefile (install): Don't set LANGUAGE.
24318         * Makefile.in (install): Likewise.
24319         * assert/Makefile (test-assert-ENV): Remove variable.
24320         (test-assert-perr-ENV): Likewise.
24321         * elf/Makefile (neededtest4-ENV): Likewise.
24322         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24323         [$(cross-compiling) = no]: Don't set LANGUAGE.
24324         * io/ftwtest-sh (LANG): Remove variable.
24325         * libio/Makefile (tst-widetext-ENV): Likewise.
24326         * manual/install.texi (Running make install): Don't refer to
24327         environment settings for make install.
24328         * INSTALL: Regenerated.
24329         * nptl/tst-tls6.sh: Don't set LANG.
24330         * posix/globtest.sh (LANG): Remove variable.
24331         * string/Makefile (tester-ENV): Likewise.
24332         (inl-tester-ENV): Likewise.
24333         (noinl-tester-ENV): Likewise.
24334         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24335         [$(cross-compiling) = no]: Don't set LANGUAGE.
24336         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
24337         without explicit environment settings.
24339 2014-06-06  Roland McGrath  <roland@hack.frob.com>
24341         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
24342         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
24343         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
24344         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
24346 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
24348         * crypt/crypt-private.h [DOS]: Add some includes taken from the
24349         other files in the crypt directory.
24350         * crypt/crypt.c: Remove duplicate includes.
24351         * crypt/crypt-entry.c: Likewise.
24352         * crypt/crypt_util.c: Likewise.
24354 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
24356         * Makeconfig (run-program-env): New variable.
24357         (run-program-prefix-before-env): Likewise.
24358         (run-program-prefix-after-env): Likewise.
24359         (run-program-prefix): Define in terms of new variables.
24360         (built-program-cmd-before-env): New variable.
24361         (built-program-cmd-after-env): Likewise.
24362         (built-program-cmd): Define in terms of new variables.
24363         (test-program-prefix-before-env): New variable.
24364         (test-program-prefix-after-env): Likewise.
24365         (test-program-prefix): Define in terms of new variables.
24366         (test-program-cmd-before-env): New variable.
24367         (test-program-cmd-after-env): Likewise.
24368         (test-program-cmd): Define in terms of new variables.
24369         * Rules (make-test-out): Use $(run-program-env).
24370         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
24371         (help): Do not mention environment variables.  Mention
24372         --timeoutfactor option.
24373         (timeoutfactor): New variable.
24374         (blacklist_exports): Remove function.
24375         (exports): Remove variable.
24376         (command): Do not include ${exports}.
24377         * manual/install.texi (Configuring and compiling): Do not mention
24378         test wrappers preserving environment variables.  Mention that last
24379         assignment to a variable must take precedence.
24380         * INSTALL: Regenerated.
24381         * benchtests/Makefile (run-bench): Use $(run-program-env).
24382         * catgets/Makefile ($(objpfx)test1.cat): Use
24383         $(built-program-cmd-before-env), $(run-program-env) and
24384         $(built-program-cmd-after-env).
24385         ($(objpfx)test2.cat): Do not specify environment variables
24386         explicitly.
24387         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
24388         $(run-program-env) and $(built-program-cmd-after-env).
24389         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
24390         $(run-program-env) and $(test-program-cmd-after-env).
24391         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
24392         explicitly.
24393         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
24394         run_program_env and test_program_cmd_after_env arguments.
24395         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
24396         * elf/tst-pathopt.sh: Use run_program_env argument.
24397         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
24398         $(test-wrapper-env) and $(run-program-env).
24399         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
24400         run_program_env arguments.
24401         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
24402         * intl/Makefile ($(objpfx)tst-gettext.out): Use
24403         $(test-program-prefix-before-env), $(run-program-env) and
24404         $(test-program-prefix-after-env).
24405         ($(objpfx)tst-gettext2.out): Likewise.
24406         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
24407         run_program_env and test_program_prefix_after_env arguments.
24408         * intl/tst-gettext2.sh: Likewise.
24409         * intl/tst-gettext4.sh: Do not set environment variables
24410         explicitly.
24411         * intl/tst-gettext6.sh: Likewise.
24412         * intl/tst-translit.sh: Likewise.
24413         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
24414         $(test-program-prefix-before-env), $(run-program-env) and
24415         $(test-program-prefix-after-env).
24416         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
24417         run_program_env and test_program_prefix_after_env arguments.
24418         * math/Makefile (run-regen-ulps): Use $(run-program-env).
24419         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
24420         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
24421         explicitly with each use of ${test_wrapper_env}.
24422         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
24423         $(test-program-prefix-before-env), $(run-program-env) and
24424         $(test-program-prefix-after-env).
24425         * posix/tst-getconf.sh: Do not set environment variables
24426         explicitly.
24427         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
24428         run_program_env and test_program_prefix_after_env arguments.
24429         * stdio-common/tst-printf.sh: Do not set environment variables
24430         explicitly.
24431         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
24432         $(test-program-prefix-before-env), $(run-program-env) and
24433         $(test-program-prefix-after-env).
24434         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
24435         run_program_env and test_program_prefix_after_env arguments.
24436         Split $test calls into $test_pre and $test.
24437         * timezone/Makefile (build-testdata): Use
24438         $(built-program-cmd-before-env), $(run-program-env) and
24439         $(built-program-cmd-after-env).
24441 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24443         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
24444         strlen for non SHARED builds.
24446 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24448         * nptl/allocatestack.c (check_list): Inlined function...
24449         (__reclaim_stacks): ... here.
24451 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
24453         [BZ #15698]
24454         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24455         memory overrun.
24457 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
24459         * Rules (make-test-out): Include
24460         LOCPATH=$(common-objpfx)localedata in default environment.
24461         * debug/Makefile (tst-chk1-ENV): Remove variable.
24462         (tst-chk2-ENV): Likewise.
24463         (tst-chk3-ENV): Likewise.
24464         (tst-chk4-ENV): Likewise.
24465         (tst-chk5-ENV): Likewise.
24466         (tst-chk6-ENV): Likewise.
24467         (tst-lfschk1-ENV): Likewise.
24468         (tst-lfschk2-ENV): Likewise.
24469         (tst-lfschk3-ENV): Likewise.
24470         (tst-lfschk4-ENV): Likewise.
24471         (tst-lfschk5-ENV): Likewise.
24472         (tst-lfschk6-ENV): Likewise.
24473         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
24474         (tst-iconv7-ENV): Likewise.
24475         * intl/Makefile (LOCPATH-ENV): Likewise.
24476         (tst-codeset-ENV): Likewise.
24477         (tst-gettext3-ENV): Likewise.
24478         (tst-gettext5-ENV): Likewise.
24479         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
24480         (tst-fopenloc-ENV): Likewise.
24481         (tst-fgetws-ENV): Remove variable.
24482         (tst-ungetwc1-ENV): Likewise.
24483         (tst-ungetwc2-ENV): Likewise.
24484         (bug-ungetwc2-ENV): Likewise.
24485         (tst-swscanf-ENV): Likewise.
24486         (bug-ftell-ENV): Likewise.
24487         (tst-fgetwc-ENV): Likewise.
24488         (tst-fseek-ENV): Likewise.
24489         (tst-ftell-partial-wide-ENV): Likewise.
24490         (tst-ftell-active-handler-ENV): Likewise.
24491         (tst-ftell-append-ENV): Likewise.
24492         * posix/Makefile (tst-fnmatch-ENV): Likewise.
24493         (tst-regexloc-ENV): Likewise.
24494         (bug-regex1-ENV): Likewise.
24495         (tst-regex-ENV): Likewise.
24496         (tst-regex2-ENV): Likewise.
24497         (bug-regex5-ENV): Likewise.
24498         (bug-regex6-ENV): Likewise.
24499         (bug-regex17-ENV): Likewise.
24500         (bug-regex18-ENV): Likewise.
24501         (bug-regex19-ENV): Likewise.
24502         (bug-regex20-ENV): Likewise.
24503         (bug-regex22-ENV): Likewise.
24504         (bug-regex23-ENV): Likewise.
24505         (bug-regex25-ENV): Likewise.
24506         (bug-regex26-ENV): Likewise.
24507         (bug-regex30-ENV): Likewise.
24508         (bug-regex32-ENV): Likewise.
24509         (bug-regex33-ENV): Likewise.
24510         (bug-regex34-ENV): Likewise.
24511         (bug-regex35-ENV): Likewise.
24512         (tst-rxspencer-ENV): Likewise.
24513         (tst-rxspencer-no-utf8-ENV): Likewise.
24514         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
24515         (tst-sscanf-ENV): Likewise.
24516         (tst-swprintf-ENV): Likewise.
24517         (tst-swscanf-ENV): Likewise.
24518         (test-vfprintf-ENV): Likewise.
24519         (scanf13-ENV): Likewise.
24520         (bug14-ENV): Likewise.
24521         (tst-grouping-ENV): Likewise.
24522         * stdlib/Makefile (tst-strtod-ENV): Likewise.
24523         (tst-strtod3-ENV): Likewise.
24524         (tst-strtod4-ENV): Likewise.
24525         (tst-strtod5-ENV): Likewise.
24526         (testmb2-ENV): Likewise./
24527         * string/Makefile (tst-strxfrm-ENV): Likewise.
24528         (tst-strxfrm2-ENV): Likewise.
24529         (bug-strcoll1-ENV): Likewise.
24530         (test-strcasecmp-ENV): Likewise.
24531         (test-strncasecmp-ENV): Likewise.
24532         * time/Makefile (tst-strptime-ENV): Likewise.
24533         (tst-ftime_l-ENV): Likewise.
24534         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
24535         (tst-mbrtowc-ENV): Likewise.
24536         (tst-wcrtomb-ENV): Likewise.
24537         (tst-mbrtowc2-ENV): Likewise.
24538         (tst-c16c32-1-ENV): Likewise.
24539         (tst-mbsnrtowcs-ENV): Likewise.
24541 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
24543         * manual/resource.texi (How to get information about the memory
24544         subsystem?): Fix typo.
24545         Reported by Peon de la Parra Ivan <peon@keba.com>
24547 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
24549         [BZ #16882]
24550         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
24551         (pthread_spin_lock): Branch out of spin loop to proper location.
24552         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
24553         (pthread_spin_lock): Likewise.
24555         * nptl/tst-spin4.c: New test.
24556         * nptl/Makefile (tests): Add tst-spin4.
24558 2014-06-03  Andreas Schwab  <schwab@suse.de>
24560         [BZ #15946]
24561         * resolv/res_send.c (send_dg): Reload file descriptor after
24562         calling reopen.
24564 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
24566         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24568 2014-06-03  Richard Henderson  <rth@redhat.com>
24570         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
24571         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
24572         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
24573         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
24574         in the SAVE_PID block.
24575         (__libc_vfork): New alias.
24576         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
24578         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
24579         child in registers, not on the stack.  Remove RESET_PID conditionals.
24580         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
24582 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24584         * sysdeps/aarch64/libm-test-ulps: Regenerate.
24586 2014-06-03  Wilco  <wdijkstr@arm.com>
24588         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
24589         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
24590         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
24591         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
24592         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
24593         Likewise.
24595 2014-06-03  Wilco  <wdijkstr@arm.com>
24597         * sysdeps/aarch64/fpu/math_private.h
24598         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
24599         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
24600         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
24601         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
24602         Fix declarations.
24604 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24606         * crypt/crypt-private.h: Include ufc-crypt.h.
24607         (__b64_from_24bit): Declare extern.
24608         * crypt/crypt_util.c(__b64_from_24bit): New function.
24609         (b64t): New static const variable.
24610         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
24611         (b64t): Remove variable.
24612         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
24613         * crypt/sha256-crypt.c: Include crypt-private.h.
24614         (b64t): Remove variable.
24615         (__sha256_crypt_r): Remove b64_from_24bit and replace
24616         with __b64_from_24bit.
24617         * crypt/sha512-crypt.c: Likewise.
24619 2014-06-02  Roland McGrath  <roland@hack.frob.com>
24621         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
24622         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
24623         Label the code __libc_vfork rather than __vfork.
24624         [!NOT_IN_libc] (vfork): Define as weak alias.
24625         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
24626         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
24627         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
24629 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24631         * malloc/malloc.c (malloc_info): Fix format specifier for
24632         n_mmaps.
24634 2014-06-02  Wilco  <wdijkstr@arm.com>
24636         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
24637         FPCR write.
24639 2014-06-02  Wilco  <wdijkstr@arm.com>
24641         [BZ #17009]
24642         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
24643         Rewrite to reduce FPCR/FPSR accesses.
24645 2014-06-01  David S. Miller  <davem@davemloft.net>
24647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24649 2014-05-31  David S. Miller  <davem@davemloft.net>
24651         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
24652         to occur in round to nearest mode when |x| >= 2.0
24654 2014-05-30  Richard Henderson  <rth@twiddle.net>
24656         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
24657         (PSEUDO_RET_NOERRNO): Remove.
24658         (ret): Don't redefine.
24659         (ret_NOERRNO): Define in terms of ret.
24660         (ret_ERRVAL): Likewise.
24662         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
24663         use of PSEUDO_RET; perform the error check directly.
24665 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
24667         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
24668         with __int128_t.
24670 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24672         * malloc/malloc (malloc_info): Fix formatting.
24674 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24675             Roland McGrath  <roland@hack.frob.com>
24677         * malloc/malloc (malloc_info): Also print mmapped statistics.
24679 2014-05-30  Roland McGrath  <roland@hack.frob.com>
24681         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
24682         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
24684 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
24686         * malloc/malloc.c (malloc_info): Inline mi_arena.
24688 2014-05-29  Richard Henderson  <rth@twiddle.net>
24690         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
24691         Remove comma before expanding ASM_ARGS_##nr.
24692         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
24693         Make _x0 a strict output; make _x8 a strict input; adjust expansion
24694         of ASM_ARGS_##nr.
24695         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
24696         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
24697         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
24698         (ASM_ARGS_1): Add leading comma.
24700         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
24701         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
24702         to __errno_location.
24703         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
24704         Remove the expected plt for __errno_location.
24706         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24707         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
24708         call to __read_tp.
24710         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24711         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
24712         it and break it down.
24713         (DOCARGS_0, DOCARGS_1): Do nothing.
24714         (DOCARGS_2): Update to store into the new stack frame.
24715         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
24716         (UNDOCARGS_1): Update to restore from the new stack frame.
24717         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
24718         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
24720         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24721         (SINGLE_THREAD_P): New parameter for result regno.
24722         (PSEUDO): Update to match; use cbz instead of beq.
24724         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24725         Use ENTRY to define the _nocancel entry point.  Share the syscall
24726         and syscall error check paths with the cancel path.
24727         (PSEUDO_END): New.
24729         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
24730         whitespace; tabs before and after asm mnemonics.
24732 2014-05-29  Eric Wong  <normalperson@yhbt.net>
24734         [BZ #15132]
24735         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24736         Call fstat64 or stat64 internally, depending on arguments passed.
24737         Replace stat buffer argument with file descriptor argument.
24738         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
24739         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24740         Pass fd to __internal_statvfs instead of calling fstat64.
24741         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
24742         Pass fd to __internal_statvfs64 instead of calling fstat64.
24743         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
24744         Pass -1 to __internal_statvfs instead of calling stat64.
24745         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
24746         Pass -1 to __internal_statvfs64 instead of calling stat64.
24748 2014-05-28  Roland McGrath  <roland@hack.frob.com>
24750         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
24751         that was previously under [RESET_PID].
24752         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
24754         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
24755         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
24757 2014-05-27  Roland McGrath  <roland@hack.frob.com>
24759         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
24761         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
24762         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
24764 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
24766         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
24768 2014-05-27  Andreas Schwab  <schwab@suse.de>
24770         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
24771         TLS_INIT_TP macro.
24772         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
24773         * elf/rtld.c (init_tls, dl_main): Likewise.
24774         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
24775         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
24776         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
24777         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
24778         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
24779         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
24780         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
24781         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
24782         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
24783         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
24784         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
24785         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
24786         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
24787         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
24788         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
24789         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
24790         * sysdeps/generic/tls.h: Update description.
24792 2014-05-27  Will Newton  <will.newton@linaro.org>
24794         [BZ #16990]
24795         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
24796         and restore r2 rather than just restoring.
24798 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24800         [BZ #16724]
24801         * libio/tst-ftell-append.c: New test case.
24802         * libio/Makefile (tests): Add test case.
24803         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
24804         append mode.
24805         * libio/wfileops.c (do_ftell_wide): Likewise.
24807 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24811         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
24812         ...
24813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
24814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24815         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
24816         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
24817         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
24818         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
24819         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
24820         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
24821         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24822         Moved ...
24823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
24824         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24825         Moved ...
24826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
24827         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
24828         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
24829         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
24830         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
24831         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
24832         ...
24833         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
24834         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
24835         Moved ...
24836         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
24837         here.
24838         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
24839         ...
24840         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
24841         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
24842         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
24844         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
24845         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
24846         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
24847         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
24849         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
24850         merge into ...
24851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
24852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
24853         ...
24854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
24855         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
24856         ...
24857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
24858         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24859         Moved ...
24860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
24861         here.
24862         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24863         Moved ...
24864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
24865         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24866         Moved ...
24867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
24869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
24870         conditional [RESET_PID].
24871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
24872         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
24873         removed.
24874         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
24875         removed.
24877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
24878         <tcb-offsets.h>.
24879         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24880         (__libc_vfork): New strong alias.
24881         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
24882         removed.
24883         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
24884         Removed.
24886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
24887         <tcb-offsets.h>.
24888         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
24889         (__libc_vfork): New strong alias.
24890         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
24891         removed.
24892         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
24893         removed.
24895 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
24897         * malloc/malloc.c (mi_arena): New function.
24898         (malloc_info): Remove nested function mi_arena. Call non-nosted
24899         function mi_arena.
24901 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24903         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
24904         by insrwi.
24905         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
24906         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
24907         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
24908         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
24909         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
24910         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
24911         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
24913 2014-05-26  Andreas Schwab  <schwab@suse.de>
24915         [BZ #16984]
24916         * locale/programs/repertoire.c (repertoire_read): Add slash
24917         between I18NPATH element and file name.
24918         * locale/programs/locfile.c (locfile_read): Likewise.
24920 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24922         * nptl/pthread_mutexattr_settype.c
24923         (__pthread_mutexattr_settype):
24924         Disable lock elision for PTHREAD_MUTEX_NORMAL.
24926 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24928         * nptl/tst-mutex5 (do_test):
24929         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
24931 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24933         * benchtests/README: Document 'init' directive.
24934         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
24935         BENCH_INIT.
24936         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
24937         (parse_file): Recognize 'init' directive.
24939 2014-05-26  Kyle McMartin  <kyle@redhat.com>
24941         [BZ #16796]
24942         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
24943         alignment of struct pthread.
24945 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24947         [BZ #16878]
24948         * nscd/netgroupcache.c (addgetnetgrentX): Look for
24949         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24950         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
24951         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24953 2014-05-25  Richard Henderson  <rth@twiddle.net>
24955         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24956         (SINGLE_THREAD_P_PIC): Remove.
24957         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
24958         (SINGLE_THREAD_P_PIC): Remove.
24960         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
24961         branch to syscall error ...
24962         (PSEUDO): ... here.
24963         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
24964         from __local_syscall_error to .Lsyscall_error.
24965         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
24966         (SYSCALL_ERROR): Update label name.
24968         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24969         Do not use DOARGS/UNDOARGS.
24970         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
24971         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
24972         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
24973         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
24974         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
24976         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
24977         block comment.
24979         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
24980         define if !NOT_IN_libc.
24981         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
24982         define with non-default symbol versions.
24984 2014-05-23  Richard Henderson  <rth@twiddle.net>
24986         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
24987         (vfork, __vfork): Define via compat_symbol.
24989         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
24990         [!HAVE_IFUNC] (vfork_compat): Remove.
24991         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
24993 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24995         [BZ #16978]
24996         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
24997         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
24998         variable.
25000 2014-05-23  Richard Henderson  <rth@twiddle.net>
25002         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
25003         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
25004         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
25005         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
25007         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
25008         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
25009         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
25010         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25011         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
25012         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
25013         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
25014         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
25015         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
25016         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
25017         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
25018         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
25019         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
25020         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
25021         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
25022         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
25023         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25024         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
25025         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
25026         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
25027         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
25028         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
25029         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
25030         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
25031         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
25032         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
25033         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
25034         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
25035         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
25036         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
25037         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
25038         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
25039         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
25040         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
25041         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
25042         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
25043         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
25044         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
25045         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
25046         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
25047         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
25048         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
25049         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
25050         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
25051         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
25052         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
25053         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
25054         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
25055         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
25056         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
25057         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
25058         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
25059         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
25060         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
25061         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
25062         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
25064         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
25065         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
25066         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
25067         before exiting on error.
25068         (__libc_vfork): New strong alias.
25069         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
25070         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
25072         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
25073         that was previously under [RESET_PID].
25074         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
25076         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
25078 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25080         [BZ #16977]
25081         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
25082         value when x - 1 is zero.
25083         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
25084         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
25085         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
25086         0.0L for an argument of 1.0L.
25087         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
25088         Likewise.
25089         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
25090         value when x - 1 is zero.
25091         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
25092         * sysdeps/i386/fpu/libm-test-ulps: Update.
25093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25095 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25097         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25098         alphasort and versionsort.
25100 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25102         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
25103         macro.
25104         [copysignf]: Likewise.
25106 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25108         * crypt/md5-crypt.c: Fix formatting.
25110 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25112         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
25113         (b64_from_24bit): New function.
25115 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25117         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
25118         libc_hidden_builtin_def to ifunc.
25119         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25120         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
25122 2014-05-21  Roland McGrath  <roland@hack.frob.com>
25124         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
25125         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
25127 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
25129         * nscd/Depend (linuxthreads): Remove.
25130         (nptl): Add.
25131         * resolv/Depend (linuxthreads): Remove.
25132         * rt/Depend (linuxthreads): Remove.
25134         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
25135         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
25136         $(common-objpfx)elf/.
25137         (link-libc-before-gnulib): Likewise.
25138         (elfobjdir): Remove variable.
25139         * Makefile (install): Use $(elf-objpfx) instead of
25140         $(common-objpfx)elf/.
25141         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
25142         $(elfobjdir)/.
25143         (link-libc-deps): Likewise.
25144         ($(common-objpfx)libc.so): Likewise.
25145         ($(common-objpfx)linkobj/libc.so): Likewise.
25146         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
25147         instead of $(common-objpfx)elf/.
25148         (symbolic-link-list): Likewise.
25149         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25150         [$(cross-compiling) = no]: Likewise.
25151         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
25152         $(elfobjdir)/.
25153         (static-gnulib-arch): Likewise.
25154         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25155         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
25156         $(common-objpfx)elf/.
25158 2014-05-21  Richard Henderson  <rth@redhat.com>
25160         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25161         (SINGLE_THREAD_P): Use the correct width load.  Fold
25162         into the ldr offset.
25164         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
25165         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
25167 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
25169         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
25170         (libgcc_s_resume): Use __attribute_used__.
25171         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
25172         Likewise.
25174 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25176         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
25177         optimization when used with float constants.
25179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25181 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
25183         [BZ #16915]
25184         * locale/nl_langinfo_l.c: Make direct reference to every
25185         _nl_current_CATEGORY symbol.
25186         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
25187         (tests-static): Add tst-langinfo-static.
25188         (tests-special): Add tst-langinfo-static.out.
25189         ($(objpfx)tst-langinfo.out): Redirect output.
25190         ($(objpfx)tst-langinfo-static.out): New.
25191         * localedata/tst-langinfo.sh: Send output to stdout.
25192         * localedata/tst-langinfo-static.c: New file.
25194         [BZ #16965]
25195         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
25196         when the shift amount is modulo the limb size.
25198 2014-05-20  Richard Henderson  <rth@redhat.com>
25200         [BZ #16967]
25201         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
25202         Change type of sa_flags from unsigned int to int.
25204         [BZ #16966]
25205         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
25207         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
25209 2014-05-20  Will Newton  <will.newton@linaro.org>
25211         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25212         Test the return value of the system call in the nocancel case.
25214 2014-05-20  Will Newton  <will.newton@linaro.org>
25215             Yvan Roux  <yvan.roux@linaro.org>
25217         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
25218         #include of asm/ptrace.h.
25219         (PTRACE_GET_THREAD_AREA): Remove #undef.
25220         (PTRACE_GETHBPREGS): Likewise.
25221         (PTRACE_SETHBPREGS): Likewise.
25222         (struct user_regs_struct): New structure.
25223         (struct user_fpsimd_struct): New structure.
25224         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
25225         #include of asm/ptrace.h and second #include of sys/user.h.
25226         (PTRACE_GET_THREAD_AREA): Remove #undef.
25227         (PTRACE_GETHBPREGS): Likewise.
25228         (PTRACE_SETHBPREGS): Likewise.
25229         (ELF_NGREG): Use new struct user_regs_struct.
25230         (elf_fpregset_t): Use new struct user_fpsimd_struct.
25232 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25234         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
25235         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
25237 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
25239         [BZ #16958]
25240         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
25241         membar to avoid block loads/stores to overlap previous stores.
25243 2014-05-17  Richard Henderson  <rth@redhat.com>
25245         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
25246         Create the __##syscall_name##_nocancel entry point.
25247         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
25248         Remove; let the sysdep-cancel.h code create it.
25250 2014-05-17  David S. Miller  <davem@davemloft.net>
25252         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
25253         Protect with __USE_GNU.
25254         (TIOCSET_TEMPT): Likewise.
25255         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25256         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
25257         these are already provided in bits/ioctl-types.h
25259 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25261         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
25262         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
25264         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
25265         Use wait4 regardless of [__NR_waitpid].
25267 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25269         PR libgcc/60166
25270         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25271         (_FP_NANSIGN_Q): Set the quiet bit.
25273 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
25275         * benchtests/Makefile
25276         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
25277         not $(common-objpfx)math/libm.so.
25278         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
25279         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
25280         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
25281         $(common-objpfx)dlfcn/libdl.so.
25282         ($(objpfx)tst-audit8): Depend on $(libm), not
25283         $(common-objpfx)math/libm.so.
25284         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
25285         not $(common-objpfx)dlfcn/libdl.so.
25286         * math/Makefile
25287         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25288         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
25289         [$(build-shared) = yes].
25290         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
25291         $(common-objpfx)nptl/libpthread.so.
25292         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
25293         $(common-objpfx)math/libm.so$(libm.so-version) or
25294         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
25295         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
25296         $(common-objpfx)dlfcn/libdl.so.
25297         * setjmp/Makefile (link-libm): Remove variable.
25298         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
25299         * stdio-common/Makefile (link-libm): Remove variable.
25300         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
25301         * stdlib/Makefile (link-libm): Remove variable.
25302         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
25303         ($(objpfx)tst-strtod-round): Likewise.
25304         ($(objpfx)tst-tininess): Likewise.
25305         ($(objpfx)tst-strtod-underflow): Likewise.
25306         ($(objpfx)tst-strtod6): Likewise.
25307         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
25308         $(libdl), not $(common-objpfx)nptl/libpthread.so and
25309         $(common-objpfx)dlfcn/libdl.so.
25311 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25313         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
25314         BSD terminal modes definitions.
25316 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25318         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
25319         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
25321         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
25322         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
25323         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
25324         Don't do #include_next.
25325         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
25326         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
25327         Don't do #include_next.
25328         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
25329         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
25330         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
25331         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
25333 2014-05-16  Allan McRae  <allan@archlinux.org>
25335         * po/sv.po: Update Swedish translation from translation project.
25337         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
25338         in sed expression.
25340 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
25342         [BZ #16917]
25343         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
25344         errno if the TIOCGPTN ioctl fails with an error different than
25345         EINVAL.
25346         * login/tst-ptsname.c: New file.
25347         * login/Makefile (tests): Add tst-ptsname.
25349         [BZ #16943]
25350         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
25351         and prlimit64.
25353 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25355         [BZ #16849]
25356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
25357         herrno to return EAI_AGAIN.
25359 2014-05-14  Roland McGrath  <roland@hack.frob.com>
25361         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
25362         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
25363         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
25364         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
25365         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
25366         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
25367         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
25368         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
25369         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
25370         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
25371         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
25372         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
25373         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
25374         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
25375         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
25376         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
25377         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
25378         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
25379         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
25380         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
25381         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
25382         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
25383         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
25384         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
25385         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
25386         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
25387         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
25388         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
25389         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
25390         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
25391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
25392         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
25393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
25394         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
25395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25396         Moved ...
25397         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
25398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
25399         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
25400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
25401         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
25402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
25403         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
25404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
25405         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
25406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
25407         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
25408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
25409         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
25410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
25411         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
25412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
25413         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
25414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
25415         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
25416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
25417         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
25418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
25419         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
25420         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
25421         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
25422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
25423         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
25424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25425         Moved ...
25426         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
25427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
25428         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
25429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
25430         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
25431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
25432         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
25433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
25434         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
25435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
25436         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
25437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
25438         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
25439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
25440         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
25441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
25442         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
25443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
25444         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
25445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25446         Moved ...
25447         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
25448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
25449         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
25451         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
25452         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
25453         (libpthread-sysdep_routines): Add elision-related stuff here instead.
25454         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
25455         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
25456         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
25457         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
25458         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
25459         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
25460         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
25461         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
25462         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
25463         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
25464         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
25465         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
25466         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
25467         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
25468         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
25469         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
25470         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
25471         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
25472         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
25473         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
25474         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
25475         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
25476         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
25477         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
25478         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
25479         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
25480         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
25481         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
25483         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
25484         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
25486         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
25487         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
25488         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
25489         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
25490         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
25491         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
25492         Moved ...
25493         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
25494         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
25495         Moved ...
25496         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
25497         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
25498         Moved ...
25499         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
25500         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
25501         Moved ...
25502         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
25503         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
25504         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
25505         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
25506         Moved ...
25507         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
25508         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
25509         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
25510         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
25511         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
25512         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
25513         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
25514         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
25515         Moved ...
25516         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
25517         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
25518         Moved ...
25519         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
25520         ... here.
25521         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
25522         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
25523         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
25524         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
25525         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
25526         Moved ...
25527         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
25528         ... here.
25529         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
25530         Moved ...
25531         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
25532         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
25533         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
25534         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
25535         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
25536         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
25537         Moved ...
25538         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
25539         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
25540         Moved ...
25541         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
25542         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
25543         Moved ...
25544         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
25545         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
25546         Moved ...
25547         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
25548         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
25549         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
25550         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
25551         Moved ...
25552         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
25553         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
25554         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
25555         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
25556         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
25557         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
25558         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
25559         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
25560         Moved ...
25561         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
25562         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
25563         Moved ...
25564         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
25565         ... here.
25566         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
25567         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
25568         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
25569         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
25570         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
25571         Moved ...
25572         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
25573         ... here.
25574         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
25575         Moved ...
25576         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
25577         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
25578         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
25579         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
25580         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
25581         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
25582         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
25583         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
25584         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
25585         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
25586         Moved ...
25587         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
25588         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
25589         Moved ...
25590         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
25591         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
25592         Moved ...
25593         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
25594         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
25595         Moved ...
25596         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
25597         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
25598         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
25599         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
25600         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
25601         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
25602         Moved ...
25603         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
25604         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
25605         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
25606         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
25607         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
25608         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
25609         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
25610         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
25611         Moved ...
25612         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
25613         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
25614         Moved ...
25615         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
25616         ... here.
25617         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
25618         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
25619         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
25620         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
25621         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
25622         Moved ...
25623         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
25624         ... here.
25625         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
25626         Moved ...
25627         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
25628         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
25629         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
25630         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
25631         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
25632         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
25633         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
25634         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
25635         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
25636         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
25637         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
25639         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
25640         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
25642         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
25643         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
25645         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
25646         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
25647         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
25648         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
25649         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
25650         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
25651         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
25652         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
25653         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
25654         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
25655         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
25656         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
25657         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
25658         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
25659         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
25660         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
25661         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
25662         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
25663         Moved ...
25664         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
25665         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
25666         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
25667         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
25668         Moved ...
25669         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
25670         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
25671         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
25672         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
25673         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
25674         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
25675         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
25676         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
25677         Moved ...
25678         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
25679         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
25680         Moved ...
25681         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
25682         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
25683         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
25684         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
25685         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
25686         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
25687         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
25688         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
25689         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
25690         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
25691         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
25692         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
25693         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
25694         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
25695         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
25696         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
25697         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
25699         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
25700         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
25701         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
25702         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
25703         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
25705         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
25706         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
25707         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
25708         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
25709         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
25710         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
25711         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
25712         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
25713         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
25714         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
25716         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
25717         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
25719         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
25720         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
25721         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
25722         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
25723         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
25724         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
25725         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
25726         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
25727         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
25728         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
25729         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
25730         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
25731         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
25732         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
25733         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
25734         Update #include.
25735         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
25736         Likewise.
25737         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25738         Likewise.
25739         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25740         Likewise.
25741         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25742         Likewise.
25743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
25744         Likewise.
25745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
25746         Likewise.
25747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25748         Likewise.
25749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
25750         Likewise.
25751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
25752         Likewise.
25753         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
25754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
25755         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
25756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
25757         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
25758         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
25759         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
25760         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
25761         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
25762         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
25763         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
25764         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
25765         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
25766         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
25767         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
25769         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
25770         that was previously under [RESET_PID].
25771         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25772         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
25773         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
25775         * sysdeps/i386/nptl/Implies: New file.
25776         * sysdeps/x86_64/nptl/Implies: New file.
25777         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
25778         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
25779         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
25780         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
25782         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
25783         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25784         (__libc_vfork): New strong alias.
25785         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
25786         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
25788         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
25789         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25790         (__libc_vfork): New strong alias.
25791         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
25792         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
25794         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
25795         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25796         (__libc_vfork): New strong alias.
25797         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
25798         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
25799         * nptl/pt-vfork.c: New file.
25800         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
25801         (libpthread: GLIBC_2.20): New version set (empty).
25803 2014-05-14  Will Newton  <will.newton@linaro.org>
25805         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
25806         rather than #if.
25808 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25810         [BZ #16564]
25811         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
25812         arguments with exponent 65 or above.
25813         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
25814         arguments 0x1p113L or above.
25815         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
25816         to arguments 0x1p107L or above.
25817         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
25818         positive arguments with exponent 65 or above.
25819         * math/auto-libm-test-in: Add more tests of log1p.
25820         * math/auto-libm-test-out: Regenerated.
25822         [BZ #16928]
25823         * math/s_cacos.c (__cacos): Ensure zero real part of result from
25824         non-finite arguments is +0.
25825         * math/s_cacosf.c (__cacosf): Likewise.
25826         * math/s_cacosl.c (__cacosl): Likewise.
25827         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
25828         * sysdeps/i386/fpu/libm-test-ulps: Update.
25829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25831         [BZ #16927]
25832         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
25833         value.
25834         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
25835         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
25836         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
25837         for explicit high bit of mantissa when testing for argument equal
25838         to 1.
25839         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
25840         * sysdeps/i386/fpu/libm-test-ulps: Update.
25841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25843         [BZ #16516]
25844         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
25845         (__erf): Scale by 16 instead of 8 in potentially underflowing
25846         case.  Ensure exception if result actually underflows.
25847         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
25848         (__erff): Scale by 16 instead of 8 in potentially underflowing
25849         case.  Ensure exception if result actually underflows.
25850         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
25851         (efx8): Remove variable.
25852         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25853         case.  Ensure exception if result actually underflows.
25854         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
25855         (efx8): Remove variable.
25856         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25857         case.  Ensure exception if result actually underflows.
25858         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
25859         (efx8): Remove variable.
25860         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25861         case.  Ensure exception if result actually underflows.
25862         * math/auto-libm-test-in: Add more tests of erf.
25863         * math/auto-libm-test-out: Regenerated.
25865 2014-05-14  Andreas Schwab  <schwab@suse.de>
25867         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
25868         Remove code conditionalized on USE___THREAD.
25870         * config.h.in (HAVE_PT_CHOWN): Define as 0.
25871         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
25872         not definedness.
25874 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25876         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
25877         Define unconditionally.
25878         (__ASSUME_O_CLOEXEC): Likewise.
25879         (__ASSUME_SOCK_CLOEXEC): Likewise.
25880         (__ASSUME_IN_NONBLOCK): Likewise.
25881         (__ASSUME_PIPE2): Likewise.
25882         (__ASSUME_EVENTFD2): Likewise.
25883         (__ASSUME_SIGNALFD4): Likewise.
25884         (__ASSUME_DUP3): Likewise.
25885         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25886         (__ASSUME_DUP3): Do not define.
25887         (__ASSUME_EVENTFD2): Likewise.
25888         (__ASSUME_IN_NONBLOCK): Likewise.
25889         (__ASSUME_O_CLOEXEC): Likewise.
25890         (__ASSUME_PIPE2): Likewise.
25891         (__ASSUME_SIGNALFD4): Likewise.
25892         (__ASSUME_SOCK_CLOEXEC): Likewise.
25893         (__ASSUME_UTIMES): Undefine.
25894         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25895         (__ASSUME_UTIMES): Do not define.
25896         (__ASSUME_O_CLOEXEC): Likewise.
25897         (__ASSUME_SOCK_CLOEXEC): Likewise.
25898         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
25899         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
25900         0x020621].
25901         (__ASSUME_PIPE2): Likewise.
25902         (__ASSUME_EVENTFD2): Likewise.
25903         (__ASSUME_SIGNALFD4): Likewise.
25904         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
25905         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
25906         Do not define.
25907         (__ASSUME_EVENTFD2): Likewise.
25908         (__ASSUME_SIGNALFD4): Likewise.
25909         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25910         (__ASSUME_32BITUIDS): Likewise.
25911         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25912         (__ASSUME_IPC64): Likewise.
25913         (__ASSUME_ST_INO_64_BIT): Likewise.
25914         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
25915         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
25916         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25917         (__ASSUME_UTIMES): Do not define.
25918         (__ASSUME_PSELECT): Likewise.
25919         (__ASSUME_PPOLL): Likewise.
25920         (__ASSUME_O_CLOEXEC): Likewise.
25921         (__ASSUME_SOCK_CLOEXEC): Likewise.
25922         (__ASSUME_IN_NONBLOCK): Likewise.
25923         (__ASSUME_PIPE2): Likewise.
25924         (__ASSUME_EVENTFD2): Likewise.
25925         (__ASSUME_SIGNALFD4): Likewise.
25926         (__ASSUME_DUP3): Likewise.
25927         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25928         (__ASSUME_UTIMES): Likewise.
25929         (__ASSUME_O_CLOEXEC): Likewise.
25930         (__ASSUME_SOCK_CLOEXEC): Likewise.
25931         (__ASSUME_IN_NONBLOCK): Likewise.
25932         (__ASSUME_PIPE2): Likewise.
25933         (__ASSUME_EVENTFD2): Likewise.
25934         (__ASSUME_SIGNALFD4): Likewise.
25935         (__ASSUME_DUP3): Likewise.
25936         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25937         (__ASSUME_UTIMES): Likewise.
25938         (__ASSUME_O_CLOEXEC): Likewise.
25939         (__ASSUME_SOCK_CLOEXEC): Likewise.
25940         (__ASSUME_IN_NONBLOCK): Likewise.
25941         (__ASSUME_PIPE2): Likewise.
25942         (__ASSUME_EVENTFD2): Likewise.
25943         (__ASSUME_SIGNALFD4): Likewise.
25944         (__ASSUME_DUP3): Likewise.
25945         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
25946         Likewise.
25947         (__ASSUME_UTIMES): Likewise.
25948         (__ASSUME_EVENTFD2): Likewise.
25949         (__ASSUME_SIGNALFD4): Likewise.
25950         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25951         (__ASSUME_O_CLOEXEC): Likewise.
25952         (__ASSUME_SOCK_CLOEXEC): Likewise.
25953         (__ASSUME_IN_NONBLOCK): Likewise.
25954         (__ASSUME_PIPE2): Likewise.
25955         (__ASSUME_EVENTFD2): Likewise.
25956         (__ASSUME_SIGNALFD4): Likewise.
25957         (__ASSUME_DUP3): Likewise.
25958         (__ASSUME_UTIMES): Undefine.
25960         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
25961         feclearexcept.  Remove symbol versioning code.
25962         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
25963         symbol versioning code.
25964         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
25965         symbol versioning code.
25966         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
25967         feupdateenv.  Remove symbol versioning code.
25968         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
25969         fegetexceptflag.  Remove symbol versioning code.
25970         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
25971         fesetexceptflag.  Remove symbol versioning code.
25972         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
25973         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
25974         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
25975         (__posix_fadvise64_l32): Remove prototype.
25976         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
25977         code.
25979 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25981         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
25982         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
25983         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
25984         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
25986 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
25988         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
25989         current working directory
25991 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25993         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
25994         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
25995         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
25996         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
25997         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
25998         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
25999         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
26000         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
26001         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
26002         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
26003         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26004         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
26005         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
26006         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
26007         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
26008         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
26009         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
26010         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
26011         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
26012         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
26013         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
26014         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
26015         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
26016         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
26017         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
26018         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
26019         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
26020         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
26021         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
26022         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
26023         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
26024         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
26025         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
26026         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
26027         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
26028         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
26029         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
26030         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
26031         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
26032         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
26033         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
26034         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
26036         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
26037         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
26039         * sysdeps/unix/sysv/linux/arm/Makefile
26040         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26041         Add rt-aeabi_unwind_cpp_pr1.
26042         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
26043         Add nptl-aeabi_unwind_cpp_pr1.
26044         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
26045         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
26046         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
26047         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26048         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
26049         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26051         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
26052         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
26053         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
26054         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
26056         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
26057         Deconditionalize the code that was previously under [RESET_PID].
26058         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
26060         * sysdeps/generic/exit-thread.h: New file.
26061         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
26062         * include/unistd.h (__exit_thread): Remove declaration.
26063         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
26064         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
26065         * csu/libc-start.c: Include <exit-thread.h>.
26066         (LIBC_START_MAIN): Pass no argument to __exit_thread.
26067         * nptl/pthread_create.c: Include <exit-thread.h>.
26068         (start_thread): Call __exit_thread in place of __exit_thread_inline.
26069         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
26070         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
26071         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
26072         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
26073         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
26074         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
26075         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
26076         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
26077         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
26078         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26079         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
26080         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
26081         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
26082         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
26083         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
26084         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
26086 2014-05-13  Andreas Schwab  <schwab@suse.de>
26088         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
26090 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
26092         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26093         (__ASSUME_UTIMES): Do not condition on kernel version.
26094         (__ASSUME_PSELECT): Define unconditionally.
26095         (__ASSUME_PPOLL): Likewise.
26096         (__ASSUME_ATFCTS): Likewise.
26097         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
26098         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
26099         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
26100         (__ASSUME_UTIMENSAT): Define unconditionally.
26101         (__ASSUME_PRIVATE_FUTEX): Likewise.
26102         (__ASSUME_FALLOCATE): Likewise.
26103         (__ASSUME_O_CLOEXEC): Likewise.
26104         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
26105         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
26106         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
26107         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
26108         (__ASSUME_IN_NONBLOCK): Likewise.
26109         (__ASSUME_PIPE2): Likewise.
26110         (__ASSUME_EVENTFD2): Likewise.
26111         (__ASSUME_SIGNALFD4): Likewise.
26112         (__ASSUME_DUP3): Likewise.
26113         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26114         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
26115         (__ASSUME_AT_RANDOM): Likewise.
26116         (__ASSUME_PREADV): Likewise.
26117         (__ASSUME_PWRITEV): Likewise.
26118         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
26119         (__ASSUME_F_GETOWN_EX): Define unconditionally.
26120         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
26121         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26122         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
26123         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26124         (__ASSUME_O_CLOEXEC): Define unconditionally.
26125         (__ASSUME_PSELECT): Do not undefine conditionally.
26126         (__ASSUME_PPOLL): Likewise.
26127         (__ASSUME_ATFCTS): Likewise.
26128         (__ASSUME_SET_ROBUST_LIST): Likewise.
26129         (__ASSUME_UTIMENSAT): Likewise.
26130         (__ASSUME_FDATASYNC): Define unconditionally.
26131         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26132         (__ASSUME_SIGFRAME_V2): Likewise.
26133         )__ASSUME_EVENTFD2): Likewise.
26134         (__ASSUME_SIGNALFD4): Likewise.
26135         (__ASSUME_PSELECT): Do not undefine conditionally.
26136         (__ASSUME_PPOLL): Likewise.
26137         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26138         (__ASSUME_PSELECT): Define unconditionally.
26139         (__ASSUME_PPOLL): Likewise.
26140         (__ASSUME_O_CLOEXEC): Likewise.
26141         (__ASSUME_SOCK_CLOEXEC): Likewise.
26142         (__ASSUME_IN_NONBLOCK): Likewise.
26143         (__ASSUME_PIPE2): Likewise.
26144         (__ASSUME_EVENTFD2): Likewise.
26145         (__ASSUME_SIGNALFD4): Likewise.
26146         (__ASSUME_DUP3): Likewise.
26147         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26148         (__ASSUME_O_CLOEXEC): Likewise.
26149         (__ASSUME_SOCK_CLOEXEC): Likewise.
26150         (__ASSUME_IN_NONBLOCK): Likewise.
26151         (__ASSUME_PIPE2): Likewise.
26152         (__ASSUME_EVENTFD2): Likewise.
26153         (__ASSUME_SIGNALFD4): Likewise.
26154         (__ASSUME_DUP3): Likewise.
26155         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26156         (__ASSUME_EVENTFD2): Likewise.
26157         (__ASSUME_SIGNALFD4): Likewise.
26158         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26160 2014-05-12  Andreas Schwab  <schwab@suse.de>
26162         [BZ #16932]
26163         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
26164         (_nss_nis_gethostbyname4_r): Return error if item length is larger
26165         than maximum RPC packet size.
26166         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
26167         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
26168         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
26169         (_nss_nis_getservbyport_r): Likewise.
26171 2014-05-12  Will Newton  <will.newton@linaro.org>
26173         * malloc/Makefile (tests): Add tst-mallopt.
26174         * malloc/tst-mallopt.c: New file.
26176 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26178         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
26179         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
26181 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26183         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
26184         (tst-tlsmod6.so): Likewise.
26186 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26188         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
26190 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
26192         [BZ #16064]
26193         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
26194         and <dl-procinfo.h>.
26195         (__fegetenv): Save SSE state in envp->__eip if supported.
26196         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
26197         envp->__eip if supported.
26198         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
26199         and <dl-procinfo.h>.
26200         (__fesetenv): Always set __eip, __cs_selector, __opcode,
26201         __data_offset and __data_selector in environment to 0.  Set SSE
26202         state if supported.
26203         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26204         test-fenv-sse.
26205         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
26206         -mfpmath=sse.
26207         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
26209 2014-05-09  Will Newton  <will.newton@linaro.org>
26211         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
26212         and libc_relro_required for ARM.
26213         * sysdeps/arm/preconfigure: Regenerate.
26215 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
26216             Stefan Liebler  <stli@linux.vnet.ibm.com>
26218         * config.make.in (enable-lock-elision): New Makefile variable.
26219         * configure.ac: Likewise.
26220         * configure: Regenerate.
26221         * sysdeps/s390/configure.ac:
26222         Add check for gcc transactions support.
26223         * sysdeps/s390/configure: Regenerate.
26224         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
26225         Build elision files if enabled.
26226         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
26227         Add lock elision support for s390.
26228         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
26229         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
26230         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
26231         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26232         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
26233         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
26234         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26235         Likewise.
26236         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
26237         Likewise.
26238         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
26239         Likewise.
26240         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
26241         Likewise.
26242         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
26243         (__lll_timedlock_elision, __lll_lock_elision)
26244         (__lll_unlock_elision, __lll_trylock_elision)
26245         (lll_timedlock_elision, lll_lock_elision)
26246         (lll_unlock_elision, lll_trylock_elision): Add.
26247         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26248         (pthread_mutex_t): Add lock elision support for s390.
26250 2014-05-14  Wilco  <wdijkstr@arm.com>
26252         * sysdeps/arm/fclrexcpt.c: Cleanup.
26253         * sysdeps/arm/fedisblxcpt.c: Cleanup.
26254         * sysdeps/arm/feenablxcpt.c: Cleanup.
26255         * sysdeps/arm/fegetenv.c: Cleanup.
26256         * sysdeps/arm/fegetexcept.c: Cleanup.
26257         * sysdeps/arm/fegetround.c: Cleanup.
26258         * sysdeps/arm/feholdexcpt.c: Cleanup.
26259         * sysdeps/arm/fesetenv.c: Cleanup.
26260         * sysdeps/arm/fesetround.c: Cleanup.
26261         * sysdeps/arm/feupdateenv.c: Cleanup.
26262         * sysdeps/arm/fgetexcptflg.c: Cleanup.
26263         * sysdeps/arm/fraiseexcpt.c: Cleanup.
26264         * sysdeps/arm/fsetexcptflg.c: Cleanup.
26265         * sysdeps/arm/ftestexcept.c: Cleanup.
26266         * sysdeps/arm/get-rounding-mode.h: Cleanup.
26267         * sysdeps/arm/setfpucw.c: Cleanup.
26269 2014-05-09  Will Newton  <will.newton@linaro.org>
26271         * sysdeps/arm/armv7/strcmp.S: New file.
26272         * NEWS: Mention addition of ARMv7 optimized strcmp.
26274 2014-05-08  Roland McGrath  <roland@hack.frob.com>
26276         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
26277         look for %.ac rather than %.in.
26279         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
26280         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
26281         * sysdeps/mach/hurd/configure: Regenerated.
26282         * sysdeps/unix/sysv/linux/configure: Regenerated.
26284         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
26286 2014-05-07  Steve Ellcey  <sellcey@mips.com>
26288         [BZ# 16922]
26289         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
26290         (LONG_SUB): Ditto.
26291         (PTR_SUB): Ditto.
26293 2014-05-07  Andreas Schwab  <schwab@suse.de>
26295         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
26296         when skipping over non-matching result from nscd.
26298 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
26300         [BZ #16876]
26301         * nptl/sockperf.c (client): Check socket return value.
26303         [BZ #16877]
26304         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
26305         nscd security class.
26307 2014-05-06  Roland McGrath  <roland@hack.frob.com>
26309         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
26310         * sysdeps/arm/unwind.h: ... here.
26312 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
26314         [BZ# 16916]
26315         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
26316         Define.
26318 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26320         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
26321         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
26322         multiarch strncpy for PPC64.
26323         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
26324         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
26325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
26326         multiarch optimizations.
26327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26328         (__libc_ifunc_impl_list): Likewise.
26329         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
26330         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
26331         multiarch stpncpy for PPC64.
26332         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
26333         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
26335 2014-05-06  Andreas Schwab  <schwab@suse.de>
26337         [BZ #16912]
26338         * gmon/mcount.c (_MCOUNT_DECL): Use
26339         atomic_compare_and_exchange_bool_acq instead of
26340         catomic_compare_and_exchange_bool_acq.
26342 2014-05-05  Roland McGrath  <roland@hack.frob.com>
26344         * elf/Makefile (others, install-bin): Remove pldd.
26345         (pldd-modules): Variable removed.
26346         ($(objpfx)pldd): Target removed.
26347         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
26348         (others, install-bin): Append pldd here.
26349         ($(objpfx)pldd): New target.
26351         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
26352         to 0, so the first #if test emitted later doesn't see it undefined.
26353         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
26354         * sysdeps/gnu/errlist.c: Regenerated.
26356 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26358         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26359         [libc_hidden_builtin_def]: Define to empty value.
26360         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
26361         [libc_hidden_builtin_def]: Likewise.
26362         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
26363         [libc_hidden_builtin_def]: Likewise.
26364         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
26365         [libc_hidden_builtin_def]: Likewise.
26366         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
26367         __redirect_memcpy and define ifunc as default hidden symbol.
26368         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
26369         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
26371 2014-05-04  Adam Conrad  <adconrad@0c3.net>
26373         * locale/iso-4217.def: Reintroduce XDR currency.
26375 2014-05-04  Allan McRae  <allan@archlinux.org>
26377         * po/eo.po: Update Esperanto translation from translation project.
26379 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
26381         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
26382         and FEATURE_INDEX_MAX to 1.
26383         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
26385 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26387         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
26388         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
26389         * iconvdata/big5.c (ONE_DIRECTION): Define.
26390         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
26391         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
26392         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
26393         * iconvdata/cp932.c (ONE_DIRECTION): Define.
26394         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
26395         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
26396         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
26397         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
26398         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
26399         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
26400         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
26401         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
26402         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
26403         * iconvdata/gbk.c (ONE_DIRECTION): Define.
26404         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
26405         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
26406         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
26407         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
26408         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
26409         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
26410         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
26411         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
26412         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
26413         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
26414         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
26415         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
26416         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
26417         * iconvdata/iso646.c (ONE_DIRECTION): Define.
26418         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
26419         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
26420         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
26421         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
26422         * iconvdata/johab.c (ONE_DIRECTION): Define.
26423         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
26424         * iconvdata/sjis.c (ONE_DIRECTION): Define.
26425         * iconvdata/t.61.c (ONE_DIRECTION): Define.
26426         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
26427         * iconvdata/tscii.c (ONE_DIRECTION): Define.
26428         * iconvdata/uhc.c (ONE_DIRECTION): Define.
26429         * iconvdata/unicode.c (ONE_DIRECTION): Define.
26430         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
26431         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
26432         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
26434 2014-05-01  Roland McGrath  <roland@hack.frob.com>
26436         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
26437         (_IO_JUMPS_OFFSET): Define to 0.
26439         * nptl/sysdeps/pthread/bits/libc-lock.h
26440         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26441         (__libc_lock_define_initialized_recursive): Always define using
26442         initializer.  Modern compilers treat uninitialized (implicit zero) and
26443         explicit zero initializers the same (i.e. put the datum in bss).
26445 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26447         * nscd/nscd-client.h: Include <string.h>.
26449 2014-05-01  David S. Miller  <davem@davemloft.net>
26451         [BZ #16885]
26452         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
26453         multiple zero bytes exist at the end of a string.
26454         Reported by Aurelien Jarno <aurelien@aurel32.net>
26456         * string/test-strcmp.c (check): Add explicit test for situations where
26457         there are multiple zero bytes after the first.
26459 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26461         [BZ #16890]
26462         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
26463         when compiling wprintf.
26464         * stdio-common/tstdiomisc.c (t3): New function.
26465         (main): Call it.
26467 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26469         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
26470         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
26471         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
26472         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
26474 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26476         * stdlib/longlong.h: Updated from GCC.
26478 2014-05-01  Will Newton  <will.newton@linaro.org>
26479             Bernard Ogden  <bernie.ogden@linaro.org>
26481         * NEWS: Update fixed bug list.
26483         [BZ #15119]
26484         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
26486 2014-04-30  David S. Miller  <davem@davemloft.net>
26488         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
26489         (libc_feholdexcept_setround_sparc_ctx): New function.
26490         (libc_fesetenv_sparc_ctx): Likewise.
26491         (libc_feupdateenv_sparc_ctx): Likewise.
26492         (libc_feholdsetround_sparc_ctx): Likewise.
26493         (libc_feholdexcept_setround_ctx): Define.
26494         (libc_feholdexcept_setroundf_ctx): Likewise.
26495         (libc_feholdexcept_setroundl_ctx): Likewise.
26496         (libc_fesetenv_ctx): Likewise.
26497         (libc_fesetenvf_ctx): Likewise.
26498         (libc_fesetenvl_ctx): Likewise.
26499         (libc_feupdateenv_ctx): Likewise.
26500         (libc_feupdateenvf_ctx): Likewise.
26501         (libc_feupdateenvl_ctx): Likewise.
26502         (libc_feresetround_ctx): Likewise.
26503         (libc_feresetroundf_ctx): Likewise.
26504         (libc_feresetroundl_ctx): Likewise.
26505         (libc_feholdsetround_ctx): Likewise.
26506         (libc_feholdsetroundf_ctx): Likewise.
26507         (libc_feholdsetroundl_ctx): Likewise.
26509         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
26510         with __USE_GNU instead of XOPEN cpp guards.
26512         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
26513         0.
26515         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
26516         with XOPEN cpp guards.
26518 2014-04-30  Julian Brown  <julian@codesourcery.com>
26520         [BZ #16888]
26521         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
26522         handling.
26524 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
26526         [BZ #9894]
26527         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
26528         Change to 2.6.32.
26529         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
26530         * sysdeps/unix/sysv/linux/configure: Regenerated.
26531         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
26532         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
26533         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
26534         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
26535         * README: Update reference to required Linux kernel version.
26536         * manual/install.texi (Linux): Update reference to required Linux
26537         kernel headers version.
26538         * INSTALL: Regenerated.
26540         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
26541         header inclusion.
26542         [POSIX] (limits.h): Likewise.
26543         [POSIX] (math.h): Likewise.
26544         [POSIX] (sys/wait.h): Likewise.
26545         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
26546         function.
26547         [POSIX] (stddef.h): Do not allow header inclusion.
26549 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26551         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
26553 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
26555         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
26556         Return immediately after lll_futex_wake.
26558 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26560         [BZ #16791]
26561         * nscd/nscd-client.h (datahead_init_common): Initialize entire
26562         structure.
26563         (datahead_init_pos): Call datahead_init_common early.
26564         (datahead_init_neg): Likewise.
26566         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
26567         datahead_init_neg): New functions.
26568         * nscd/aicache.c (addhstaiX): Use them.
26569         * nscd/grpcache.c (cache_addgr): Likewise.
26570         * nscd/hstcache.c (cache_addhst): Likewise.
26571         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26572         * nscd/netgroupcache.c (do_notfound): Likewise.
26573         (addgetnetgrentX): Likewise.
26574         (addinnetgrX): Likewise.
26575         * nscd/pwdcache.c (cache_addpw): Likewise.
26576         * nscd/servicescache.c (cache_addserv): Likewise.
26578 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26579             Atsushi Onoe  <atsushi@onoe.org>
26581         [BZ #14308]
26582         [BZ #12994]
26583         [BZ #13651]
26584         * resolv/res_query.c (__libc_res_nsearch): Return if at least
26585         one response is valid.
26586         * resolv/res_send.c (send_dg): Check for validity of other
26587         response if the current response is a referral.
26589 2014-04-29  Steve Ellcey  <sellcey@mips.com>
26591         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
26593 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
26595         [BZ #16823]
26596         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
26597         Always divide by positive zero when computing -Inf result.
26598         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26599         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
26601 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26603         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
26604         FPSCR if value do not change.
26605         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26606         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
26607         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26608         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26609         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
26610         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
26611         function.
26613 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
26615         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
26616         * sysdeps/unix/sysv/linux/hppa: Move directory from
26617         ports/systeps/unix/sysv/linux/hppa.
26618         * README: Update listing for hppa-*-linux-gnu.
26620 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
26622         [BZ #16754]
26623         * manual/stdio.texi (Hook functions): Fix types of stream hook
26624         functions.
26625         [BZ #16854]
26626         * socket/sys/socket.h: Fix typo in comment.
26628 2014-04-28  Wilco  <wdijkstr@arm.com>
26630         * sysdeps/arm/fenv_private.h: New file.
26631         * sysdeps/arm/math_private.h: New file.
26632         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
26634 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
26636         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
26637         with __int128_t.
26638         (La_x86_64_retval): Likewise.
26640 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
26642         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
26643         fpsr if value didn't change.
26644         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
26645         to fpcr if value didn't change.
26646         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
26647         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
26648         fpsr or fpcr if value didn't change.
26649         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
26650         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
26651         fpcr if value didn't change.
26652         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
26653         to fpsr if value didn't change.
26655 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26657         * nptl/tst-sem3.c: Use test-skeleton.c
26658         (main): Rename to do_test.  Use return instead of
26659         exit.
26660         * nptl/tst-sem4.c: Use test-skeleton.c
26661         (main): Rename to do_test.
26663 2014-04-22  David S. Miller  <davem@davemloft.net>
26665         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
26666         (struct sigaction): New struct member __glibc_reserved0, change
26667         type of sa_flags to int.
26669 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
26671         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
26672         (COUNT_LEADING_ZEROS_0): Define for AArch64.
26674 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26676         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
26677         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
26679 2014-04-22  Will Newton  <will.newton@linaro.org>
26680             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
26682         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
26683         (__longjmp): Add longjmp and longjmp_target SystemTap
26684         probes.
26685         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
26686         (__sigsetjmp): Add setjmp SystemTap probe.
26688 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
26690         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
26691         match manual order.
26693 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26695         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
26697         * sysdeps/powerpc/fpu/fenv_private.h
26698         (libc_feholdexcept_setroundl_ctx): Define to
26699         libc_feholdexcept_setround_ppc_ctx.
26700         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
26701         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
26702         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
26703         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
26705 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26707         * sysdeps/aarch64/math-tests.h: New file.
26709 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
26711         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
26712         New.
26713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26714         Check and set bit_AVX2_Usable.
26715         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
26716         macro.
26717         (bit_AVX2): Likewise.
26718         (index_AVX2_Usable): Likewise.
26719         (CPUID_AVX2): Likewise.
26720         (HAS_AVX2): Likewise.
26722 2014-04-17  Will Newton  <will.newton@linaro.org>
26724         * manual/setjmp.texi (System V contexts): Add note that
26725         calling setcontext on a context created by a call to a
26726         signal handler is undefined.  Update text to note that
26727         setcontext from a signal handler is possible but not
26728         recommended.
26730         [BZ #16629]
26731         * stdlib/tst-setcontext.c: Include signal.h.
26732         (main): Check that the signal stack before and
26733         after swapcontext is the same.
26735         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
26736         Re-implement to restore registers in user code and avoid
26737         rt_sigreturn system call.
26739 2014-04-17  Wilco  <wdijkstr@arm.com>
26741         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
26742         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
26743         * math/test-fenv.c: Skip exception trap tests on targets which only
26744         support non-stop mode.
26746 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26747             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26749         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
26750         (libc_feholdsetround_aarch64_ctx)
26751         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
26752         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
26753         (libc_feresetround_ctx, libc_feresetroundf_ctx)
26754         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
26755         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
26756         (libc_feresetround_noexl_ctx): Define.
26758 2014-04-16  Richard Henderson  <rth@redhat.com>
26760         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
26762         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
26763         unwind tables.
26765         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
26766         const from the non-libc, non-ldso copy.
26768         * sysdeps/alpha/libm-test-ulps: Regenerate.
26770 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
26771             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26773         * sysdeps/aarch64/fpu/math_private.h: New file.
26775 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26777         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26779 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
26781         [BZ #16275]
26782         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
26783         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
26784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
26785         Intel MPX bound registers before _dl_profile_fixup.
26786         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
26787         registers after _dl_profile_fixup.  Save and restore bound
26788         registers bnd0/bnd1 when calling _dl_call_pltexit.
26789         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
26790         (LR_BND_OFFSET): Likewise.
26791         (LRV_BND0_OFFSET): Likewise.
26792         (LRV_BND1_OFFSET): Likewise.
26794 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26796         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
26797         to...
26798         * sysdeps/mach/hurd/i386/tls.h: ... here.
26799         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
26800         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
26801         fields.
26803 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26805         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
26807 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26809         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26811 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26813         [BZ #14770]
26814         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
26815         * sysdeps/s390/configure: Regenerate.
26817         [BZ #16824]
26818         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
26819         Set round-to-nearest internally to reduce error accumulation.
26821 2014-04-16  Alan Modra  <amodra@gmail.com>
26823         [BZ #16740]
26824         [BZ #16619]
26825         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
26826         * math/libm-test.inc (frexp_test_data): Add tests.
26827         * NEWS: Update fixed bug list.
26829 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26831         * benchtests/Makefile: Depend on libraries in build directory.
26832         (bench-math): Separate out math tests.
26833         (bench-pthread): Separate out pthread tests.
26834         (bench): Include math and pthread tests.
26836 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
26838         [BZ #16831]
26839         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
26840         _dl_debug_initialize.
26842         * configure.ac: Remove SELinux header check.
26843         * configure: Regenerate.
26844         * nscd/selinux.c (perms): Array of const char* to permission names.
26845         (nscd_request_avc_has_perm): Call security_deny_unknown to find
26846         default policy. Call string_to_security_class and string_to_av_perm to
26847         translate strings. Enforce default policy and call avs_has_perm with
26848         results of translated strings.
26850 2014-04-13  David S. Miller  <davem@davemloft.net>
26852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26854 2014-04-12  Allan McRae  <allan@archlinux.org>
26856         [BZ #16838]
26857         * manual/string.texi (Collation Functions): Fix qsort argument
26858         order in example.
26859         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26861 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
26863         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
26864         Make the test a no-op if there are no exceptions defined.
26866 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26868         * elf/Makefile (tests): make tst-dlopen-aout conditional on
26869         enable-hardcoded-path-in-tests
26871 2014-04-11  Will Newton  <will.newton@linaro.org>
26873         * benchtests/Makefile (extra-objs): Add json-lib.o.
26874         (bench-func): Tidy up JSON output.
26875         * benchtests/bench-skeleton.c: Include json-lib.h.
26876         (main): Use JSON library functions to do output of
26877         benchmark results.
26878         * benchtests/bench-timing-type.c (main): Output the
26879         timing type simply, leaving formatting to the user.
26880         * benchtests/json-lib.c: New file.
26881         * benchtests/json-lib.h: Likewise.
26883 2014-04-11  Torvald Riegel  <triegel@redhat.com>
26885         [BZ #15215]
26886         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
26887         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
26888         memory barriers.  Add comments.
26889         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
26890         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
26891         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
26892         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
26893         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
26894         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
26896 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26898         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
26899         * sysdeps/s390/s390-64/configure.ac: ... this ...
26900         * sysdeps/s390/configure.ac: ... to here.
26901         * sysdeps/s390/s390-32/configure: Delete file.
26902         * sysdeps/s390/s390-64/configure: Delete file.
26903         * sysdeps/s390/configure: Regenerate.
26905 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
26907         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
26909 2014-04-11  Will Newton  <will.newton@linaro.org>
26911         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
26912         to zero if it is not defined elsewhere.  (mtrim): Test
26913         the value of MALLOC_DEBUG with #if rather than #ifdef.
26915 2014-04-10 Torvald Riegel  <triegel@redhat.com>
26917         * benchtests/pthread_once-inputs: New file.
26918         * benchtests/pthread_once-source.c: New file.
26919         * benchtests/README: Update documentation.
26921 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26922             H.J. Lu  <hongjiu.lu@intel.com>
26924         [BZ #16275]
26925         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
26926         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
26927         * sysdeps/x86_64/configure: Regenerated.
26928         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
26929         macro.
26930         (REGISTER_SAVE_RAX): Likewise.
26931         (REGISTER_SAVE_RCX): Likewise.
26932         (REGISTER_SAVE_RDX): Likewise.
26933         (REGISTER_SAVE_RSI): Likewise.
26934         (REGISTER_SAVE_RDI): Likewise.
26935         (REGISTER_SAVE_R8): Likewise.
26936         (REGISTER_SAVE_R9): Likewise.
26937         (REGISTER_SAVE_BND0): Likewise.
26938         (REGISTER_SAVE_BND1): Likewise.
26939         (REGISTER_SAVE_BND2): Likewise.
26940         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
26941         bound registers when calling _dl_fixup.
26943 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26945         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
26946         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
26947         of its definition.
26948         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
26949         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
26950         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
26951         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
26952         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
26953         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
26954         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
26956 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
26958         [BZ #15514]
26959         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
26960         pathconf(_PC_NAME_MAX).
26962 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26964         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
26965         Remove macro usage.
26966         (__PTHREAD_SPINS): Move definition to ...
26967         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26968         (__PTHREAD_SPINS): ... here.
26969         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26970         (__PTHREAD_SPIN): Likewise.
26971         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
26972         (__PTHREAD_SPIN): Likewise.
26973         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
26974         (__PTHREAD_SPIN): Likewise.
26975         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
26976         (__PTHREAD_SPIN): Likewise.
26977         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26978         (__PTHREAD_SPIN): Likewise.
26979         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26980         (__PTHREAD_SPIN): Likewise.
26981         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
26982         (__PTHREAD_SPIN): Likewise.
26983         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26984         (__PTHREAD_SPIN): Likewise.
26985         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26986         (__PTHREAD_SPIN): Likewise.
26987         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26988         (__PTHREAD_SPIN): Likewise.
26989         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26990         (__PTHREAD_SPIN): Likewise.
26991         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
26992         (__PTHREAD_SPIN): Likewise.
26994         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
26995         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
26996         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
26997         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
26998         imply folder.
26999         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
27000         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
27001         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
27002         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
27003         correct imply path.
27004         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
27005         strlen symbol for non multi-arch builds.
27006         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
27007         missing hidden_def and weak_alias.
27009 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
27011         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
27013 2014-04-07  Will Newton  <will.newton@linaro.org>
27015         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
27016         and contents.  [!_LIBC] Remove #ifndef and contents.
27017         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
27018         * string/memccpy.c (__memccpy): Use ANSI prototype.
27019         * string/memfrob.c (memfrob): Likewise.
27020         * string/strcoll.c (STRCOLL): Likewise.
27021         * string/strlen.c (strlen): Likewise.
27022         * string/strtok.c (STRTOK): Likewise.
27023         * string/strcat.c: Remove unused #include of memcopy.h.
27024         (strcat): Use ANSI prototype.
27025         * string/strchr.c: Remove unused #include of memcopy.h.
27026         (strchr): Use ANSI prototype.
27027         * string/strcmp.c: Remove unused #include of memcopy.h.
27028         (strcmp): Use ANSI prototype.
27029         * string/strcpy.c: Remove unused #include of memcopy.h.
27030         (strcpy): Use ANSI prototype.
27032 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27034         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
27035         * config.make.in (config-extra-cppflags): Set it from
27036         libc_extra_cppflags.
27037         * configure.ac (libc_extra_cflags): Make it accumulate over
27038         configure fragments.
27039         (libc_extra_cppflags): New flag.
27040         * configure. Regenerate.
27041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27042         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
27043         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
27044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
27046         [BZ #16815]
27047         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
27048         result for FE_DOWNWARD rounding mode.
27049         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
27050         Likewise.
27051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27053 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
27055         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27056         in function argument name.
27058 2014-04-03  David Svoboda  <svoboda@cert.org>
27060         [BZ #5666]
27061         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
27062         explicitly.
27064 2014-04-03  Roland McGrath  <roland@hack.frob.com>
27066         * elf/dl-unmap-segments.h: New file.
27067         * sysdeps/generic/ldsodefs.h
27068         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
27069         * elf/dl-close.c: Include <dl-unmap-segments.h>.
27070         * elf/dl-fptr.c: Likewise.
27071         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
27072         * sysdeps/aarch64/tlsdesc.c: Likewise.
27073         * sysdeps/arm/tlsdesc.c: Likewise.
27074         * sysdeps/i386/tlsdesc.c: Likewise.
27075         * sysdeps/tile/dl-runtime.c: Likewise.
27076         * sysdeps/x86_64/tlsdesc.c: Likewise.
27077         * elf/dl-load.h: New file.
27078         * elf/dl-load.c: Include it.
27079         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
27080         Macros moved to dl-load.h.
27081         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
27082         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
27083         Use _dl_unmap_segments in place of __munmap.
27084         Break out segment-mapping loop into ...
27085         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
27087 2014-04-03  Will Newton  <will.newton@linaro.org>
27089         * elf/dl-lookup.c (do_lookup_x): Remove comment
27090         referring to nested function and move variable
27091         declarations down to before first use.
27093 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
27095         [BZ #16799]
27096         [BZ #16800]
27097         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
27098         with 0 numerator.
27099         * math/s_catanf.c (__catanf): Likewise.
27100         * math/s_catanh.c (__catanh): Likewise.
27101         * math/s_catanhf.c (__catanhf): Likewise.
27102         * math/s_catanhl.c (__catanhl): Likewise.
27103         * math/s_catanl.c (__catanl): Likewise.
27104         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
27105         by positive zero when computing -Inf result.
27106         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
27107         (catanh_test): Likewise.
27108         * sysdeps/i386/fpu/libm-test-ulps: Update.
27109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27111         [BZ #16789]
27112         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27113         instead of using underflowing value in computing result.
27114         * math/s_clog10.c (__clog10): Likewise.
27115         * math/s_clog10f.c (__clog10f): Likewise.
27116         * math/s_clog10l.c (__clog10l): Likewise.
27117         * math/s_clogf.c (__clogf): Likewise.
27118         * math/s_clogl.c (__clogl): Likewise.
27119         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
27120         (clog10_test): Likewise.
27121         * sysdeps/i386/fpu/libm-test-ulps: Update.
27122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27124 2014-04-02  Alan Modra  <amodra@gmail.com>
27126         [BZ #16739]
27127         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
27128         output when value is near a power of two.  Use int64_t for lx and
27129         remove casts.  Use decimal rather than hex exponent constants.
27130         Don't use long double multiplication when double will suffice.
27131         * math/libm-test.inc (nextafter_test_data): Add tests.
27132         * NEWS: Add 16739 and 16786 to bug list.
27134         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
27136         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
27138 2014-04-01  Will Newton  <will.newton@linaro.org>
27140         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
27141         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
27143 2014-04-01  Florian Weimer  <fweimer@redhat.com>
27145         [BZ #13347]
27146         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
27147         * nptl/tst-setuid2.c: New file.
27148         * nptl/Makefile (xtests): Add tst-setuid2.
27150 2014-04-01  Alan Modra  <amodra@gmail.com>
27152         [BZ #16786]
27153         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
27155 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27157         [BZ #6803]
27158         [BZ #6804]
27159         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
27160         set errno as appropriate.
27161         * math/w_scalbf.c (__scalbf): Likewise.
27162         * math/w_scalbl.c (__scalbl): Likewise.
27163         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
27164         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
27165         * math/libm-test.inc (scalb_test_data): Add errno expectations.
27166         Add more NaN tests.
27168         [BZ #16349]
27169         * math/w_atan2.c: Include <errno.h>.
27170         (__atan2): Set errno for result underflowing to zero.
27171         * math/w_atan2f.c: Include <errno.h>.
27172         (__atan2f): Set errno for result underflowing to zero.
27173         * math/w_atan2l.c: Include <errno.h>.
27174         (__atan2l): Set errno for result underflowing to zero.
27175         * math/auto-libm-test-in: Don't allow missing errno for some atan2
27176         tests.
27177         * math/auto-libm-test-out: Regenerated.
27179 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27181         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27182         Encode instruction correctly in little endian.
27183         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27184         Likewise.
27185         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27186         Likewise.
27187         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27188         Likewise.
27189         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27190         Likewise.
27192 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27194         [BZ #9894]
27195         * sysdeps/unix/sysv/linux/kernel-features.h
27196         [__sparc__ && !__arch64__ && !__sparc_v9__]
27197         (__ASSUME_SET_ROBUST_LIST): Do not define.
27198         [__sparc__ && !__arch64__ && !__sparc_v9__]
27199         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27200         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
27201         Likewise.
27202         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27203         (__ASSUME_FUTEX_LOCK_PI): Undefine.
27204         (__ASSUME_REQUEUE_PI): Likewise.
27205         (__ASSUME_SET_ROBUST_LIST): Likewise.
27206         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27207         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
27208         Undefine.
27209         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27210         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
27211         Likewise.
27212         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
27213         Likewise.
27214         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
27215         Likewise.
27216         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27217         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
27218         Undefine.
27219         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
27220         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
27221         Likewise.
27223         [BZ #16648]
27224         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27225         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
27226         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
27228 2014-03-31  Will Newton  <will.newton@linaro.org>
27230         * benchtests/Makefile (bench): Add ffs and ffsll to list
27231         of tests.
27232         * benchtests/ffs-inputs: New file.
27233         * benchtests/ffsll-inputs: Likewise.
27235 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
27237         [BZ #16770]
27238         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
27239         too large before casting to int.
27240         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
27241         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
27242         * math/libm-test.inc (scalb_test_data): Add more tests.
27244 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27246         * benchtests/Makefile (DETAILED_OPT): New make option.
27247         (bench-func): Run benchmark program with -d if DETAILED_OPT is
27248         set.
27249         * benchtests/bench-skeleton.c: Include stdbool.h.
27250         (main): Store and print timings per input.
27251         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
27252         member to each argument value.
27253         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
27254         (_print_arg_data): Initialize per-input timing to 0.
27256         * benchtests/Makefile (timing-type): New binary.
27257         (bench-clean): Also remove bench-timing-type.
27258         (bench): New target for timing-type.
27259         (bench-func): Print output in JSON format.
27260         * benchtests/bench-skeleton.c (main): Print output in JSON
27261         format.
27262         * benchtests/bench-timing-type.c: New file.
27263         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
27264         (TIMING_PRINT_STATS): Remove.
27265         * benchtests/scripts/bench.py (_print_arg_data): Store variant
27266         name separately.
27268         * benchtests/bench-modf.c: Remove.
27269         * benchtests/modf-inputs: New inputs file.
27271 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
27273         [BZ #16362]
27274         * math/s_clog10.c (M_PI_LOG10E): New macro.
27275         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
27276         imaginary parts are 0.
27277         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
27278         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
27279         imaginary parts are 0.
27280         * math/s_clog10l.c (M_PI_LOG10El): New macro.
27281         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
27282         imaginary parts are 0.
27283         * math/libm-test.inc (clog10_test_data): Update expected results
27284         for when real and imaginary parts are 0.
27286 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
27288         * elf/dl-load.c: Finish conversion of __builtin_expect into
27289         __glibc_{un}likely.
27291 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
27293         [BZ #16348]
27294         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
27295         1+x for argument with exponent below -67.
27296         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
27297         Likewise.
27298         * math/auto-libm-test-in: Add more tests of exp.
27299         * math/auto-libm-test-out: Regenerated.
27301 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27303         [BZ #16759]
27304         * inet/getnetgrent_r.c (get_nonempty_val): New function.
27305         (nscd_getnetgrent): Use it.
27307         [BZ #16760]
27308         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
27309         of stpcpy.
27311 2014-03-27  Andi Kleen  <ak@linux.intel.com>
27313         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
27314         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27315         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27316         (lll_robust_unlock): Remove out of line section. Use cfi
27317         intrinsics.
27318         (LLL_STUB_UNWIND_INFO*): Remove.
27319         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
27320         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27321         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27322         (lll_robust_unlock): Remove out of line section. Use cfi
27323         intrinsics.
27324         (LLL_STUB_UNWIND_INFO*): Remove.
27326 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27328         [BZ #16758]
27329         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
27330         blank values.
27332 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27334         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
27336 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
27338         [BZ #16198]
27339         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
27340         fnstenv.
27341         * math/test-fenv-preserve.c: New file.
27342         * math/Makefile (tests): Add test-fenv-preserve.
27344 2014-03-26  Will Newton <will.newton@linaro.org>
27346         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
27348 2014-03-25  Roland McGrath  <roland@hack.frob.com>
27350         * scripts/versionlist.awk: Partition the version sets and emit all
27351         GLIBC_* (sorted) before all others (sorted).
27353 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
27355         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
27356         GLIBC_2.2.5 version.
27358 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27360         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
27361         calls.
27363         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
27364         previous change.
27366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27368 2014-03-25  Andreas Schwab  <schwab@suse.de>
27370         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
27371         label to be used after in6ailist is initialized.
27373 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27375         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27376         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
27378 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
27380         [BZ #16357]
27381         [BZ #16599]
27382         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
27383         min_plus_half.
27384         (fp_formats): Update initializers.
27385         (init_fp_formats): Initialize new field.
27386         (output_for_one_input_case): Allow underflow for results up to
27387         min_plus_half.
27388         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
27389         * math/auto-libm-test-in: Don't mark some underflows from asin and
27390         atanh as spurious.
27391         * math/auto-libm-test-out: Regenerated.
27392         * sysdeps/i386/fpu/libm-test-ulps: Update.
27393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27395 2014-03-25  Andreas Schwab  <schwab@suse.de>
27397         * libio/Makefile (tst-ftell-partial-wide-ENV)
27398         (tst-ftell-active-handler-ENV): Define.
27400 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
27402         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
27404 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
27406         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
27408 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
27410         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
27411         * sysdeps/x86_64/fpu/multiarch/e_exp.c
27412         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27414 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
27416         [BZ #16634]
27417         * elf/dl-load.c (open_verify): Add mode parameter.
27418         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
27419         (open_path): Change from boolean 'secure' to complete flag 'mode'
27420         (_dl_map_object): Adjust.
27421         * elf/Makefile (tests): Add tst-dlopen-aout.
27422         * elf/tst-dlopen-aout.c: New test.
27424 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
27426         [BZ #16714]
27427         * sysdeps/unix/sysv/linux/s390/bits/stat.h
27428         (struct stat): Rename member pad0 to __glibc_reserved0.
27430         [BZ #16712]
27431         * sysdeps/s390/s390-32/bits/wordsize.h
27432         (__WORDSIZE32_SIZE_ULONG): New define.
27433         * sysdeps/s390/s390-64/bits/wordsize.h
27434         (__WORDSIZE32_SIZE_ULONG): Likewise.
27435         * sysdeps/generic/stdint.h (SIZE_MAX):
27436         Define as UL if __WORDSIZE32_SIZE_ULONG.
27438         [BZ #16713]
27439         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
27440         (__glibc_reserved0): New variable.
27441         (sa_flags): Change type to int.
27443         * posix/Makefile (before-compile): Use += before-compile instead
27444         of a :=.
27446         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27447         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
27449 2014-03-20  Andreas Schwab  <schwab@suse.de>
27451         [BZ #16743]
27452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
27453         non-matching result from nscd.
27455 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27457         * scripts/bench.py: Moved to ...
27458         * benchtests/scripts/bench.py: ... here.
27459         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
27461 2014-03-24  Andreas Schwab  <schwab@suse.de>
27463         [BZ #16002]
27464         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
27465         alloca_account and account alloca use for struct in6ailist.
27467 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
27469         [BZ #16284]
27470         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
27471         rounding mode to recompute results that overflow to infinity or
27472         underflow to zero.
27473         * math/auto-libm-test-in: Don't mark tests as expected to fail for
27474         bug 16284.
27475         * math/auto-libm-test-out: Regenerated.
27476         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
27477         (ccosh_test): Likewise.
27478         (csin_test_data): Use plus_oflow.
27479         (csin_test): Use ALL_RM_TEST.
27480         (csinh_test_data): Use plus_oflow.
27481         (csinh_test): Use ALL_RM_TEST.
27482         * sysdeps/i386/fpu/libm-test-ulps: Update.
27483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27485 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
27487         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
27488         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
27489         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
27491         [BZ #16731]
27492         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
27493         when x - 1 is zero.
27494         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
27495         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
27496         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27497         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
27498         argument is 1.
27499         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
27500         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
27501         zero.
27502         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
27503         * sysdeps/i386/fpu/libm-test-ulps: Update.
27504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27506 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27508         * scripts/bench.pl: Remove file.
27509         * scripts/bench.py: New benchmark script.
27510         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
27511         * benchtests/README: Mention python dependency.
27512         * scripts/pylintrc: New file.
27513         * scripts/pylint: New file.
27515         * bits/mathdef.h: Use #ifdef instead of #if.
27516         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
27517         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27518         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
27519         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27520         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
27521         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27523 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27524             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27526         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
27527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
27528         and strpbrk-ppc64 objects.
27529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27530         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
27531         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
27532         multiarch strpbrk for POWER7.
27533         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
27534         multiarch strpbrk for PPC64.
27535         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
27536         ifunc selector.
27537         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
27538         strpbrk for POWER7.
27540 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
27542         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
27543         (atan_test): Likewise.
27544         (atanh_test_data): Use NO_TEST_INLINE for two tests.
27545         (atanh_test): Use ALL_RM_TEST.
27546         (atan2_test_data): Likewise.
27547         (cabs_test): Likewise.
27548         (cacosh_test): Likewise.
27549         (carg_test): Likewise.
27550         (casin_test): Likewise.
27551         (casinh_test): Likewise.
27552         (cbrt_test): Likewise.
27553         (csqrt_test): Likewise.
27554         (erf_test): Likewise.
27555         (erfc_test): Likewise.
27556         (pow10_test): Likewise.
27557         (exp2_test): Likewise.
27558         (hypot_test): Likewise.
27559         (j0_test): Likewise.
27560         (j1_test): Likewise.
27561         (lgamma_test): Likewise.
27562         (gamma_test): Likewise.
27563         (sincos_test): Likewise.
27564         (tanh_test): Likewise.
27565         (y0_test): Likewise.
27566         (y1_test): Likewise.
27567         * sysdeps/i386/fpu/libm-test-ulps: Update.
27568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27570 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27572         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
27573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
27574         and strcspn-ppc64 objects.
27575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27576         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
27577         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
27578         multiarch strcspn for POWER7.
27579         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
27580         multiarch strcspn for PPC64.
27581         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
27582         ifunc selector.
27583         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
27584         strcspn for POWER7.
27586 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
27588         * math/gen-libm-test.pl (generate_testfile): Expect only function
27589         name as argument to AUTO_TESTS_* and pass results for all rounding
27590         modes to parse_args.
27591         (parse_auto_input): Separate inputs of automatic tests from
27592         outputs before storing in %auto_tests.
27593         * math/libm-test.inc (acos_test_data): Update call to
27594         AUTO_TESTS_f_f.
27595         (acos_test): Use ALL_RM_TEST.
27596         (acos_tonearest_test_data): Remove.
27597         (acos_test_tonearest): Likewise.
27598         (acos_towardzero_test_data): Likewise.
27599         (acos_test_towardzero): Likewise.
27600         (acos_downward_test_data): Likewise.
27601         (acos_test_downward): Likewise.
27602         (acos_upward_test_data): Likewise.
27603         (acos_test_upward): Likewise.
27604         (acosh_test_data): Update call to AUTO_TESTS_f_f.
27605         (asin_test_data): Likewise.
27606         (asin_test): Use ALL_RM_TEST.
27607         (asin_tonearest_test_data): Remove.
27608         (asin_test_tonearest): Likewise.
27609         (asin_towardzero_test_data): Likewise.
27610         (asin_test_towardzero): Likewise.
27611         (asin_downward_test_data): Likewise.
27612         (asin_test_downward): Likewise.
27613         (asin_upward_test_data): Likewise.
27614         (asin_test_upward): Likewise.
27615         (asinh_test_data): Update call to AUTO_TESTS_f_f.
27616         (atan_test_data): Likewise.
27617         (atanh_test_data): Likewise.
27618         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
27619         (cabs_test_data): Update call to AUTO_TESTS_c_f.
27620         (carg_test_data): Likewise.
27621         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
27622         (ccos_test_data): Update call to AUTO_TESTS_c_c.
27623         (ccosh_test_data): Likewise.
27624         (cexp_test_data): Likewise.
27625         (clog_test_data): Likewise.
27626         (clog10_test_data): Likewise.
27627         (cos_test_data): Update call to AUTO_TESTS_f_f.
27628         (cos_test): Use ALL_RM_TEST.
27629         (cos_tonearest_test_data): Remove.
27630         (cos_test_tonearest): Likewise.
27631         (cos_towardzero_test_data): Likewise.
27632         (cos_test_towardzero): Likewise.
27633         (cos_downward_test_data): Likewise.
27634         (cos_test_downward): Likewise.
27635         (cos_upward_test_data): Likewise.
27636         (cos_test_upward): Likewise.
27637         (cosh_test_data): Update call to AUTO_TESTS_f_f.
27638         (cosh_test): Use ALL_RM_TEST.
27639         (cosh_tonearest_test_data): Remove.
27640         (cosh_test_tonearest): Likewise.
27641         (cosh_towardzero_test_data): Likewise.
27642         (cosh_test_towardzero): Likewise.
27643         (cosh_downward_test_data): Likewise.
27644         (cosh_test_downward): Likewise.
27645         (cosh_upward_test_data): Likewise.
27646         (cosh_test_upward): Likewise.
27647         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
27648         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
27649         (ctan_test_data): Likewise.
27650         (ctan_test): Use ALL_RM_TEST.
27651         (ctan_tonearest_test_data): Remove.
27652         (ctan_test_tonearest): Likewise.
27653         (ctan_towardzero_test_data): Likewise.
27654         (ctan_test_towardzero): Likewise.
27655         (ctan_downward_test_data): Likewise.
27656         (ctan_test_downward): Likewise.
27657         (ctan_upward_test_data): Likewise.
27658         (ctan_test_upward): Likewise.
27659         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
27660         (ctanh_test): Use ALL_RM_TEST.
27661         (ctanh_tonearest_test_data): Remove.
27662         (ctanh_test_tonearest): Likewise.
27663         (ctanh_towardzero_test_data): Likewise.
27664         (ctanh_test_towardzero): Likewise.
27665         (ctanh_downward_test_data): Likewise.
27666         (ctanh_test_downward): Likewise.
27667         (ctanh_upward_test_data): Likewise.
27668         (ctanh_test_upward): Likewise.
27669         (erf_test_data): Update call to AUTO_TESTS_f_f.
27670         (erfc_test_data): Likewise.
27671         (exp_test_data): Likewise.
27672         (exp_test): Use ALL_RM_TEST.
27673         (exp_tonearest_test_data): Remove.
27674         (exp_test_tonearest): Likewise.
27675         (exp_towardzero_test_data): Likewise.
27676         (exp_test_towardzero): Likewise.
27677         (exp_downward_test_data): Likewise.
27678         (exp_test_downward): Likewise.
27679         (exp_upward_test_data): Likewise.
27680         (exp_test_upward): Likewise.
27681         (exp10_test_data): Update call to AUTO_TESTS_f_f.
27682         (exp10_test): Use ALL_RM_TEST.
27683         (exp10_tonearest_test_data): Remove.
27684         (exp10_test_tonearest): Likewise.
27685         (exp10_towardzero_test_data): Likewise.
27686         (exp10_test_towardzero): Likewise.
27687         (exp10_downward_test_data): Likewise.
27688         (exp10_test_downward): Likewise.
27689         (exp10_upward_test_data): Likewise.
27690         (exp10_test_upward): Likewise.
27691         (exp2_test_data): Update call to AUTO_TESTS_f_f.
27692         (expm1_test_data): Likewise.
27693         (expm1_test): Use ALL_RM_TEST.
27694         (expm1_tonearest_test_data): Remove.
27695         (expm1_test_tonearest): Likewise.
27696         (expm1_towardzero_test_data): Likewise.
27697         (expm1_test_towardzero): Likewise.
27698         (expm1_downward_test_data): Likewise.
27699         (expm1_test_downward): Likewise.
27700         (expm1_upward_test_data): Likewise.
27701         (expm1_test_upward): Likewise.
27702         (fma_test_data): Update call to AUTO_TESTS_fff_f.
27703         (fma_test): Use ALL_RM_TEST.
27704         (fma_towardzero_test_data): Remove.
27705         (fma_test_towardzero): Likewise.
27706         (fma_downward_test_data): Likewise.
27707         (fma_test_downward): Likewise.
27708         (fma_upward_test_data): Likewise.
27709         (fma_test_upward): Likewise.
27710         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
27711         (j0_test_data): Update call to AUTO_TESTS_f_f.
27712         (j1_test_data): Likewise.
27713         (jn_test_data): Update call to AUTO_TESTS_if_f.
27714         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
27715         (log_test_data): Update call to AUTO_TESTS_f_f.
27716         (log10_test_data): Likewise.
27717         (log1p_test_data): Likewise.
27718         (log2_test_data): Likewise.
27719         (pow_test_data): Update call to AUTO_TESTS_ff_f.
27720         (pow_tonearest_test_data): Likewise.
27721         (sin_test_data): Update call to AUTO_TESTS_f_f.
27722         (sin_test): Use ALL_RM_TEST.
27723         (sin_tonearest_test_data): Remove.
27724         (sin_test_tonearest): Likewise.
27725         (sin_towardzero_test_data): Likewise.
27726         (sin_test_towardzero): Likewise.
27727         (sin_downward_test_data): Likewise.
27728         (sin_test_downward): Likewise.
27729         (sin_upward_test_data): Likewise.
27730         (sin_test_upward): Likewise.
27731         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
27732         (sinh_test_data): Update call to AUTO_TESTS_f_f.
27733         (sinh_test): Use ALL_RM_TEST.
27734         (sinh_tonearest_test_data): Remove.
27735         (sinh_test_tonearest): Likewise.
27736         (sinh_towardzero_test_data): Likewise.
27737         (sinh_test_towardzero): Likewise.
27738         (sinh_downward_test_data): Likewise.
27739         (sinh_test_downward): Likewise.
27740         (sinh_upward_test_data): Likewise.
27741         (sinh_test_upward): Likewise.
27742         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
27743         (sqrt_test): Use ALL_RM_TEST.
27744         (sqrt_tonearest_test_data): Remove.
27745         (sqrt_test_tonearest): Likewise.
27746         (sqrt_towardzero_test_data): Likewise.
27747         (sqrt_test_towardzero): Likewise.
27748         (sqrt_downward_test_data): Likewise.
27749         (sqrt_test_downward): Likewise.
27750         (sqrt_upward_test_data): Likewise.
27751         (sqrt_test_upward): Likewise.
27752         (tan_test_data): Update call to AUTO_TESTS_f_f.
27753         (tan_test): Use ALL_RM_TEST.
27754         (tan_tonearest_test_data): Remove.
27755         (tan_test_tonearest): Likewise.
27756         (tan_towardzero_test_data): Likewise.
27757         (tan_test_towardzero): Likewise.
27758         (tan_downward_test_data): Likewise.
27759         (tan_test_downward): Likewise.
27760         (tan_upward_test_data): Likewise.
27761         (tan_test_upward): Likewise.
27762         (tanh_test_data): Update call to AUTO_TESTS_f_f.
27763         (tgamma_test_data): Likewise.
27764         (y0_test_data): Likewise.
27765         (y1_test_data): Likewise.
27766         (yn_test_data): Update call to AUTO_TESTS_if_f.
27767         (main): Do not call removed functions.
27769 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27771         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
27772         (ldexp_test_data): Remove.
27773         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
27774         scalbn_test_data.
27775         (scalb_test): Use ALL_RM_TEST.
27777 2014-03-19  Andreas Schwab  <schwab@suse.de>
27779         * nscd/nscd.service: Also invalidate netgroup cache on reload.
27781 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27783         [BZ #16649]
27784         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27785         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
27786         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
27787         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27788         (__ASSUME_PREADV): Undefine.
27789         (__ASSUME_PWRITEV): Likewise.
27791 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27793         * bits/mman-linux.h: Add comment about non-Linux use.
27794         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
27795         bits/mman-linux.h resting place.
27797         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
27798         * bits/mman-linux.h: ... here.
27800 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27802         * conform/conformtest.pl: Add standard definition when calling C
27803         preprocessor on data files.
27804         (checknamespace): Remove unused variable.
27806 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27808         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
27809         minus_oflow, plus_uflow and minus_uflow in expected results.
27810         * math/libm-test.inc (scalbn_test_data): Add more tests of
27811         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
27812         minus_uflow.
27813         (scalbn_test): Use ALL_RM_TEST.
27814         (scalbln_test_data): Add more tests of negative arguments.  Use
27815         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
27816         (scalbln_test): Use ALL_RM_TEST.
27818 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27820         * scripts/abilist.awk: Ignore symbols marked with .hidden.
27822 2014-03-18  Will Newton  <will.newton@linaro.org>
27824         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
27825         inaccurate comment.
27827 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27829         * Makerules [!subdir] (check-abi): Exit with error status if a
27830         test failed.
27832 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27834         * math/libm-test.inc (nearbyint_test_data): Include all tests used
27835         for rint.  Include results for all rounding modes.
27836         (nearbyint_test): Use ALL_RM_TEST.
27837         (rint_test_data): Include all tests used for nearbyint.
27839 2014-03-17  Will Newton  <will.newton@linaro.org>
27841         * nptl/sysdeps/pthread/pthread.h: Revert previous
27842         change.
27844         * sysdeps/generic/ldsodefs.h: Revert previous
27845         change.
27847         * libio/genops.c: Revert previous change.
27848         * libio/libioP.h: Likewise.
27849         * stdio-common/vfprintf.c: Likewise.
27851         * sysdeps/generic/math_private.h: Revert previous
27852         change.
27854         * sysdeps/generic/math_private.h: Check whether
27855         HAVE_RM_CTX is defined with #ifdef rather
27856         than #if.
27858         * argp/argp-fmtstream.h: Check whether
27859         __STRICT_ANSI__ is defined with #ifdef rather
27860         than #if.
27861         * argp/argp.h: Likewise.
27863         * libio/genops.c: Check whether
27864         _IO_JUMPS_OFFSET is defined with #ifdef rather
27865         than #if.
27866         * libio/libioP.h: Likewise.
27867         * stdio-common/vfprintf.c: Likewise.
27869         * sysdeps/generic/ldsodefs.h: Check whether
27870         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
27871         than #if.
27873         * nptl/sysdeps/pthread/pthread.h: Check
27874         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
27875         its value.
27877 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27879         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
27880         setting O_APPEND.
27881         * libio/tst-ftell-active-handler.c (do_append_test): Add a
27882         test case.
27884         [BZ #16680]
27885         * libio/fileops.c (_IO_file_open): Seek to end of file but
27886         don't cache the offset.
27887         (get_file_offset): Remove function.
27888         (do_ftell): Use cached offset when available.
27889         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
27890         don't cache the offset.
27891         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
27892         case.
27893         (do_one_test): Call it.
27894         (do_ftell_test): Fix up expected old offset for a+ mode.
27895         * libio/wfileops.c (do_ftell_wide): Used cached offset when
27896         available.
27898         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
27899         up test status with function return status.
27900         (do_write_test): Likewise.
27901         (do_append_test): Likewise.
27903         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
27904         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
27905         Remove.
27907 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27909         * math/gen-libm-test.pl (parse_args): Handle results specified for
27910         each rounding mode separately.
27911         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
27912         tests and results from lrint_tonearest_test_data,
27913         lrint_towardzero_test_data, lrint_downward_test_data and
27914         lrint_upward_test_data.
27915         (lrint_test): Use ALL_RM_TEST.
27916         (lrint_tonearest_test_data): Remove.
27917         (lrint_test_tonearest): Likewise.
27918         (lrint_towardzero_test_data): Likewise.
27919         (lrint_test_towardzero): Likewise.
27920         (lrint_downward_test_data): Likewise.
27921         (lrint_test_downward): Likewise.
27922         (lrint_upward_test_data): Likewise.
27923         (lrint_test_upward): Likewise.
27924         (llrint_test_data): Merge in per-rounding-mode tests and results
27925         from llrint_tonearest_test_data, llrint_towardzero_test_data,
27926         llrint_downward_test_data and llrint_upward_test_data.
27927         (llrint_test): Use ALL_RM_TEST.
27928         (llrint_tonearest_test_data): Remove.
27929         (llrint_test_tonearest): Likewise.
27930         (llrint_towardzero_test_data): Likewise.
27931         (llrint_test_towardzero): Likewise.
27932         (llrint_downward_test_data): Likewise.
27933         (llrint_test_downward): Likewise.
27934         (llrint_upward_test_data): Likewise.
27935         (llrint_test_upward): Likewise.
27936         (rint_test_data): Merge in per-rounding-mode tests and results
27937         from rint_tonearest_test_data, rint_towardzero_test_data,
27938         rint_downward_test_data and rint_upward_test_data.  Add
27939         per-rounding-mode results for tests not in those arrays.
27940         (rint_test): Use ALL_RM_TEST.
27941         (rint_tonearest_test_data): Remove.
27942         (rint_test_tonearest): Likewise.
27943         (rint_towardzero_test_data): Likewise.
27944         (rint_test_towardzero): Likewise.
27945         (rint_downward_test_data): Likewise.
27946         (rint_test_downward): Likewise.
27947         (rint_upward_test_data): Likewise.
27948         (rint_test_upward): Likewise.
27949         (main): Don't call removed functions.
27951 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27953         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
27954         "Compiled on ..." crapola.  It is anti-useful.
27956 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
27958         * scripts/evaluate-test.sh: Handle fourth argument to determine
27959         whether test run should stop on failure.
27960         * Makeconfig (stop-on-test-failure): New variable.
27961         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
27962         $(stop-on-test-failure).
27963         * Makefile (tests): Give a summary of results from testing and
27964         exit with failure status if they include an ERROR or FAIL.
27965         (xtests): Likewise.
27966         * manual/install.texi (Configuring and compiling): Mention
27967         stop-on-test-failure=y.
27968         * INSTALL: Regenerated.
27970 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27972         * scripts/versionlist.awk: New file.
27973         * Makerules [$(build-shared) = yes]
27974         (postclean-generated): Add Versions.def, not Versions.def.v and
27975         Versions.def.v.i.
27976         ($(common-objpfx)Versions.def.v.i): Target removed.
27977         ($(common-objpfx)Versions.def): New target.
27978         ($(common-objpfx)Versions.all): Depend on that rather that
27979         $(common-objpfx)Versions.def.v.
27980         * Versions.def: File removed.
27982         * Makeconfig (+gccwarn): Add -Wundef.
27983         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
27984         a dl-sysdep.h breaking its contract.
27985         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
27986         * include/stackinfo.h: New file.
27987         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
27988         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
27989         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
27990         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
27991         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
27992         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
27993         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27994         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27995         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27996         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27997         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27998         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
27999         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28000         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28001         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28003 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28005         [BZ #16707]
28006         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
28007         implementation.
28008         * math/libm-test.inc (round_test_data): Add more tests.
28010         [BZ #16706]
28011         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
28012         implementation.
28013         * math/libm-test.inc (nearbyint_test_data): Add more tests.
28015         [BZ #16701]
28016         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
28017         implementation.
28018         * math/libm-test.inc (ceil_test_data): Add more tests.
28020         * math/libm-test.inc (trunc_test_data): Add more tests related to
28021         BZ#16414.
28023 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28025         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
28026         with #if rather than #ifdef.
28027         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
28029 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
28031         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
28032         first.  Disable AVX-512 GCC support if assembler doesn't support
28033         it.
28034         * sysdeps/x86_64/configure: Regenerated.
28036 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
28038         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
28039         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
28040         (__old_pthread_attr_setstack): Likewise.
28041         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
28042         [!_STACK_GROWS_DOWN]: Likewise.
28044 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
28046         * config.make.in (have-bash2): Delete.
28047         * configure.ac (libc_cv_have_bash2): Delete.
28048         * configure: Regenerate.
28049         * elf/Makefile (common-ldd-rewrite): Rename to ...
28050         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
28051         (sh-ldd-rewrite): Delete.
28052         (bash-ldd-rewrite): Delete.
28053         (have-bash2): Delete checks.
28054         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
28055         ldd-rewrite.
28057         * config.make.in (have-ksh): Delete.
28058         (KSH): Delete.
28059         * configure.ac (libc_cv_have_ksh): Delete.
28060         * configure: Regenerate.
28062         * elf/Makefile: Delete $(have-ksh) check.
28063         ($(objpfx)sotruss): Change KSH to BASH.
28064         * elf/sotruss.ksh: Rename to ...
28065         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
28066         function style to match POSIX.  Drop ksh vim mode setting.
28068         * manual/time.texi (Specifying the Time Zone with TZ): Change
28069         Tuesday to Thursday.
28071         * debug/tst-longjmp_chk2.c: Update header comment.
28072         (stackoverflow_handler): Add comment.  Call assert on pass value.
28074 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
28076         [BZ #16194]
28077         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
28078         (HAVE_AVX512_ASM_SUPPORT): Likewise.
28079         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
28080         (La_x86_64_vector): Add zmm.
28081         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
28082         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
28083         ($(objpfx)tst-audit10): New target.
28084         ($(objpfx)tst-audit10.out): Likewise.
28085         (tst-audit10-ENV): New.
28086         (AVX512-CFLAGS): Likewise.
28087         (CFLAGS-tst-audit10.c): Likewise.
28088         (CFLAGS-tst-auditmod10a.c): Likewise.
28089         (CFLAGS-tst-auditmod10b.c): Likewise.
28090         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
28091         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28092         * sysdeps/x86_64/configure: Regenerated.
28093         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
28094         AVX-512 zmm register support.
28095         (_dl_x86_64_save_sse): Likewise.
28096         (_dl_x86_64_restore_sse): Likewise.
28097         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
28098         size vector registers.
28099         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
28100         (ZMM_SIZE): Likewise.
28101         * sysdeps/x86_64/tst-audit10.c: New file.
28102         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
28103         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
28105 2014-03-13  Roland McGrath  <roland@hack.frob.com>
28107         * configure.ac (HAVE_EHDR_START): New check.
28108         * configure: Regenerated.
28109         * config.h.in (HAVE_EHDR_START): New #undef.
28110         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
28111         assuming the lowest-addressed segment maps the start of the file.
28113 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
28115         * INSTALL: Regenerated.
28117 2014-03-13  Will Newton  <will.newton@linaro.org>
28119         * manual/setjmp.texi (System V contexts): Improve
28120         clarity and grammar of documentation.
28122 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28124         [BZ #16381]
28125         * elf/Makefile (tests): Add tst-pie2.
28126         (tests-pie): Add tst-pie2.
28127         * elf/tst-pie2.c: New file.
28128         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
28129         for ET_EXEC.
28130         * elf/rtld.c (map_doit): Load executable as lt_executable.
28131         (dl_main): Likewise.
28133 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
28135         [BZ #16642]
28136         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28137         (__ASSUME_PSELECT): Undefine.
28139 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28141         [BZ #16689]
28142         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
28143         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
28144         static build.
28145         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
28146         selector for static builds.
28148 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28150         [BZ #16695]
28151         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
28152         key in the buffer.
28154 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28156         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
28157         IFUNC selector for static builds.
28159 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
28161         * sysdeps/mips/math_private.h [__mips_hard_float]
28162         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
28163         libc_feresetround_mips_ctx.
28164         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
28165         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
28166         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
28168         [BZ #16677]
28169         * math/s_nextafter.c (__nextafter): Do not return value from
28170         overflowing computation.
28171         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28172         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
28173         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28174         Likewise.
28175         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
28176         Likewise.
28177         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28178         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
28180 2014-03-11  Roland McGrath  <roland@hack.frob.com>
28182         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
28183         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
28184         Move sfi_sp use from the load-multiple (that no longer sets sp) to
28185         the new mov targetting sp.
28187 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28189         [BZ #16683]
28190         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
28191         Define it for static builds as well.
28192         (NO_BZERO_IMPL): Likewise.
28194 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28196         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
28197         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
28198         multiarch strspn for PPC64.
28199         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
28200         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
28201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28202         (__libc_ifunc_impl_list): Likewise.
28203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
28204         multiarch optimizations
28205         * string/strspn.c (strspn): Using macro to redefine symbol name.
28207 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28208             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28210         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
28211         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
28212         multiarch strncat for PPC64.
28213         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
28214         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
28215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28216         (__libc_ifunc_impl_list): Likewise.
28217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
28218         multiarch optimizations
28220 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28222         [BZ #16639]
28223         * nscd/nscd.service: Make service type forking.
28225 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28227         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
28228         sign in non default rounding modes.
28229         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
28231 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
28233         * math/libm-test.inc (ALL_RM_TEST): New macro.
28234         (ceil_test): Use ALL_RM_TEST.
28235         (cimag_test): Likewise.
28236         (conj_test): Likewise.
28237         (copysign_test): Likewise.
28238         (cproj_test): Likewise.
28239         (creal_test): Likewise.
28240         (fabs_test): Likewise.
28241         (floor_test): Likewise.
28242         (fmax_test): Likewise.
28243         (fmin_test): Likewise.
28244         (fmod_test): Likewise.
28245         (fpclassify_test): Likewise.
28246         (frexp_test): Likewise.
28247         (ilogb_test): Likewise.
28248         (isfinite_test): Likewise.
28249         (finite_test): Likewise.
28250         (isgreater_test): Likewise.
28251         (isgreaterequal_test): Likewise.
28252         (isinf_test): Likewise.
28253         (isless_test): Likewise.
28254         (islessequal_test): Likewise.
28255         (islessgreater_test): Likewise.
28256         (isnan_test): Likewise.
28257         (isnormal_test): Likewise.
28258         (issignaling_test): Likewise.
28259         (isunordered_test): Likewise.
28260         (logb_test): Likewise.
28261         (logb_downward_test_data): Remove.
28262         (logb_test_downward): Likewise.
28263         (lround_test): Use ALL_RM_TEST.
28264         (llround_test): Likewise.
28265         (modf_test): Likewise.
28266         (nexttoward_test): Likewise.
28267         (remainder_test): Likewise.
28268         (drem_test): Likewise.
28269         (remainder_tonearest_test_data): Likewise.
28270         (remainder_test_tonearest): Likewise.
28271         (drem_test_tonearest): Likewise.
28272         (remainder_towardzero_test_data): Likewise.
28273         (remainder_test_towardzero): Likewise.
28274         (drem_test_towardzero): Likewise.
28275         (remainder_downward_test_data): Likewise.
28276         (remainder_test_downward): Likewise.
28277         (drem_test_downward): Likewise.
28278         (remainder_upward_test_data): Likewise.
28279         (remainder_test_upward): Likewise.
28280         (drem_test_upward): Likewise.
28281         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
28282         (round_test): Use ALL_RM_TEST.
28283         (signbit_test): Likewise.
28284         (trunc_test): Likewise.
28285         (significand_test): Likewise.
28286         (main): Don't call removed functions.
28288 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28290         [BZ #16674]
28291         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
28292         || __USE_XOPEN2K8].
28293         (ILL_ILLOPN): Likewise.
28294         (ILL_ILLADR): Likewise.
28295         (ILL_ILLTRP): Likewise.
28296         (ILL_PRVOPC): Likewise.
28297         (ILL_PRVREG): Likewise.
28298         (ILL_COPROC): Likewise.
28299         (ILL_BADSTK): Likewise.
28300         (FPE_INTDIV): Likewise.
28301         (FPE_INTOVF): Likewise.
28302         (FPE_FLTDIV): Likewise.
28303         (FPE_FLTOVF): Likewise.
28304         (FPE_FLTUND): Likewise.
28305         (FPE_FLTRES): Likewise.
28306         (FPE_FLTINV): Likewise.
28307         (FPE_FLTSUB): Likewise.
28308         (SEGV_MAPERR): Likewise.
28309         (SEGV_ACCERR): Likewise.
28310         (BUS_ADRALN): Likewise.
28311         (BUS_ADRERR): Likewise.
28312         (BUS_OBJERR): Likewise.
28313         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28314         (TRAP_TRACE): Likewise.
28315         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28316         __USE_XOPEN2K8].
28317         (CLD_KILLED): Likewise.
28318         (CLD_DUMPED): Likewise.
28319         (CLD_TRAPPED): Likewise.
28320         (CLD_STOPPED): Likewise.
28321         (CLD_CONTINUED): Likewise.
28322         (POLL_IN): Likewise.
28323         (POLL_OUT): Likewise.
28324         (POLL_MSG): Likewise.
28325         (POLL_ERR): Likewise.
28326         (POLL_PRI): Likewise.
28327         (POLL_HUP): Likewise.
28328         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
28329         Likewise.
28330         (ILL_ILLOPN): Likewise.
28331         (ILL_ILLADR): Likewise.
28332         (ILL_ILLTRP): Likewise.
28333         (ILL_PRVOPC): Likewise.
28334         (ILL_PRVREG): Likewise.
28335         (ILL_COPROC): Likewise.
28336         (ILL_BADSTK): Likewise.
28337         (FPE_INTDIV): Likewise.
28338         (FPE_INTOVF): Likewise.
28339         (FPE_FLTDIV): Likewise.
28340         (FPE_FLTOVF): Likewise.
28341         (FPE_FLTUND): Likewise.
28342         (FPE_FLTRES): Likewise.
28343         (FPE_FLTINV): Likewise.
28344         (FPE_FLTSUB): Likewise.
28345         (SEGV_MAPERR): Likewise.
28346         (SEGV_ACCERR): Likewise.
28347         (BUS_ADRALN): Likewise.
28348         (BUS_ADRERR): Likewise.
28349         (BUS_OBJERR): Likewise.
28350         (BUS_MCEERR_AR): Likewise.
28351         (BUS_MCEERR_AO): Likewise.
28352         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28353         (TRAP_TRACE): Likewise.
28354         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28355         __USE_XOPEN2K8].
28356         (CLD_KILLED): Likewise.
28357         (CLD_DUMPED): Likewise.
28358         (CLD_TRAPPED): Likewise.
28359         (CLD_STOPPED): Likewise.
28360         (CLD_CONTINUED): Likewise.
28361         (POLL_IN): Likewise.
28362         (POLL_OUT): Likewise.
28363         (POLL_MSG): Likewise.
28364         (POLL_ERR): Likewise.
28365         (POLL_PRI): Likewise.
28366         (POLL_HUP): Likewise.
28367         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
28368         (ILL_ILLOPN): Likewise.
28369         (ILL_ILLADR): Likewise.
28370         (ILL_ILLTRP): Likewise.
28371         (ILL_PRVOPC): Likewise.
28372         (ILL_PRVREG): Likewise.
28373         (ILL_COPROC): Likewise.
28374         (ILL_BADSTK): Likewise.
28375         (FPE_INTDIV): Likewise.
28376         (FPE_INTOVF): Likewise.
28377         (FPE_FLTDIV): Likewise.
28378         (FPE_FLTOVF): Likewise.
28379         (FPE_FLTUND): Likewise.
28380         (FPE_FLTRES): Likewise.
28381         (FPE_FLTINV): Likewise.
28382         (FPE_FLTSUB): Likewise.
28383         (SEGV_MAPERR): Likewise.
28384         (SEGV_ACCERR): Likewise.
28385         (BUS_ADRALN): Likewise.
28386         (BUS_ADRERR): Likewise.
28387         (BUS_OBJERR): Likewise.
28388         (BUS_MCEERR_AR): Likewise.
28389         (BUS_MCEERR_AO): Likewise.
28390         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28391         (TRAP_TRACE): Likewise.
28392         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28393         __USE_XOPEN2K8].
28394         (CLD_KILLED): Likewise.
28395         (CLD_DUMPED): Likewise.
28396         (CLD_TRAPPED): Likewise.
28397         (CLD_STOPPED): Likewise.
28398         (CLD_CONTINUED): Likewise.
28399         (POLL_IN): Likewise.
28400         (POLL_OUT): Likewise.
28401         (POLL_MSG): Likewise.
28402         (POLL_ERR): Likewise.
28403         (POLL_PRI): Likewise.
28404         (POLL_HUP): Likewise.
28405         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
28406         Likewise.
28407         (ILL_ILLOPN): Likewise.
28408         (ILL_ILLADR): Likewise.
28409         (ILL_ILLTRP): Likewise.
28410         (ILL_PRVOPC): Likewise.
28411         (ILL_PRVREG): Likewise.
28412         (ILL_COPROC): Likewise.
28413         (ILL_BADSTK): Likewise.
28414         (ILL_BADIADDR): Likewise.
28415         (ILL_BREAK): Likewise.
28416         (FPE_INTDIV): Likewise.
28417         (FPE_INTOVF): Likewise.
28418         (FPE_FLTDIV): Likewise.
28419         (FPE_FLTOVF): Likewise.
28420         (FPE_FLTUND): Likewise.
28421         (FPE_FLTRES): Likewise.
28422         (FPE_FLTINV): Likewise.
28423         (FPE_FLTSUB): Likewise.
28424         (FPE_DECOVF): Likewise.
28425         (FPE_DECDIV): Likewise.
28426         (FPE_DECERR): Likewise.
28427         (FPE_INVASC): Likewise.
28428         (FPE_INVDEC): Likewise.
28429         (SEGV_MAPERR): Likewise.
28430         (SEGV_ACCERR): Likewise.
28431         (SEGV_PSTKOVF): Likewise.
28432         (BUS_ADRALN): Likewise.
28433         (BUS_ADRERR): Likewise.
28434         (BUS_OBJERR): Likewise.
28435         (BUS_MCEERR_AR): Likewise.
28436         (BUS_MCEERR_AO): Likewise.
28437         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28438         (TRAP_TRACE): Likewise.
28439         (TRAP_BRANCH): Likewise.
28440         (TRAP_HWBKPT): Likewise.
28441         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28442         __USE_XOPEN2K8].
28443         (CLD_KILLED): Likewise.
28444         (CLD_DUMPED): Likewise.
28445         (CLD_TRAPPED): Likewise.
28446         (CLD_STOPPED): Likewise.
28447         (CLD_CONTINUED): Likewise.
28448         (POLL_IN): Likewise.
28449         (POLL_OUT): Likewise.
28450         (POLL_MSG): Likewise.
28451         (POLL_ERR): Likewise.
28452         (POLL_PRI): Likewise.
28453         (POLL_HUP): Likewise.
28454         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
28455         (ILL_ILLOPN): Likewise.
28456         (ILL_ILLADR): Likewise.
28457         (ILL_ILLTRP): Likewise.
28458         (ILL_PRVOPC): Likewise.
28459         (ILL_PRVREG): Likewise.
28460         (ILL_COPROC): Likewise.
28461         (ILL_BADSTK): Likewise.
28462         (FPE_INTDIV): Likewise.
28463         (FPE_INTOVF): Likewise.
28464         (FPE_FLTDIV): Likewise.
28465         (FPE_FLTOVF): Likewise.
28466         (FPE_FLTUND): Likewise.
28467         (FPE_FLTRES): Likewise.
28468         (FPE_FLTINV): Likewise.
28469         (FPE_FLTSUB): Likewise.
28470         (SEGV_MAPERR): Likewise.
28471         (SEGV_ACCERR): Likewise.
28472         (BUS_ADRALN): Likewise.
28473         (BUS_ADRERR): Likewise.
28474         (BUS_OBJERR): Likewise.
28475         (BUS_MCEERR_AR): Likewise.
28476         (BUS_MCEERR_AO): Likewise.
28477         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28478         (TRAP_TRACE): Likewise.
28479         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28480         __USE_XOPEN2K8].
28481         (CLD_KILLED): Likewise.
28482         (CLD_DUMPED): Likewise.
28483         (CLD_TRAPPED): Likewise.
28484         (CLD_STOPPED): Likewise.
28485         (CLD_CONTINUED): Likewise.
28486         (POLL_IN): Likewise.
28487         (POLL_OUT): Likewise.
28488         (POLL_MSG): Likewise.
28489         (POLL_ERR): Likewise.
28490         (POLL_PRI): Likewise.
28491         (POLL_HUP): Likewise.
28492         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
28493         (ILL_ILLOPN): Likewise.
28494         (ILL_ILLADR): Likewise.
28495         (ILL_ILLTRP): Likewise.
28496         (ILL_PRVOPC): Likewise.
28497         (ILL_PRVREG): Likewise.
28498         (ILL_COPROC): Likewise.
28499         (ILL_BADSTK): Likewise.
28500         (FPE_INTDIV): Likewise.
28501         (FPE_INTOVF): Likewise.
28502         (FPE_FLTDIV): Likewise.
28503         (FPE_FLTOVF): Likewise.
28504         (FPE_FLTUND): Likewise.
28505         (FPE_FLTRES): Likewise.
28506         (FPE_FLTINV): Likewise.
28507         (FPE_FLTSUB): Likewise.
28508         (SEGV_MAPERR): Likewise.
28509         (SEGV_ACCERR): Likewise.
28510         (BUS_ADRALN): Likewise.
28511         (BUS_ADRERR): Likewise.
28512         (BUS_OBJERR): Likewise.
28513         (BUS_MCEERR_AR): Likewise.
28514         (BUS_MCEERR_AO): Likewise.
28515         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28516         (TRAP_TRACE): Likewise.
28517         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28518         __USE_XOPEN2K8].
28519         (CLD_KILLED): Likewise.
28520         (CLD_DUMPED): Likewise.
28521         (CLD_TRAPPED): Likewise.
28522         (CLD_STOPPED): Likewise.
28523         (CLD_CONTINUED): Likewise.
28524         (POLL_IN): Likewise.
28525         (POLL_OUT): Likewise.
28526         (POLL_MSG): Likewise.
28527         (POLL_ERR): Likewise.
28528         (POLL_PRI): Likewise.
28529         (POLL_HUP): Likewise.
28530         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
28531         (ILL_ILLOPN): Likewise.
28532         (ILL_ILLADR): Likewise.
28533         (ILL_ILLTRP): Likewise.
28534         (ILL_PRVOPC): Likewise.
28535         (ILL_PRVREG): Likewise.
28536         (ILL_COPROC): Likewise.
28537         (ILL_BADSTK): Likewise.
28538         (FPE_INTDIV): Likewise.
28539         (FPE_INTOVF): Likewise.
28540         (FPE_FLTDIV): Likewise.
28541         (FPE_FLTOVF): Likewise.
28542         (FPE_FLTUND): Likewise.
28543         (FPE_FLTRES): Likewise.
28544         (FPE_FLTINV): Likewise.
28545         (FPE_FLTSUB): Likewise.
28546         (SEGV_MAPERR): Likewise.
28547         (SEGV_ACCERR): Likewise.
28548         (BUS_ADRALN): Likewise.
28549         (BUS_ADRERR): Likewise.
28550         (BUS_OBJERR): Likewise.
28551         (BUS_MCEERR_AR): Likewise.
28552         (BUS_MCEERR_AO): Likewise.
28553         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28554         (TRAP_TRACE): Likewise.
28555         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28556         __USE_XOPEN2K8].
28557         (CLD_KILLED): Likewise.
28558         (CLD_DUMPED): Likewise.
28559         (CLD_TRAPPED): Likewise.
28560         (CLD_STOPPED): Likewise.
28561         (CLD_CONTINUED): Likewise.
28562         (POLL_IN): Likewise.
28563         (POLL_OUT): Likewise.
28564         (POLL_MSG): Likewise.
28565         (POLL_ERR): Likewise.
28566         (POLL_PRI): Likewise.
28567         (POLL_HUP): Likewise.
28568         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
28569         (ILL_ILLOPN): Likewise.
28570         (ILL_ILLADR): Likewise.
28571         (ILL_ILLTRP): Likewise.
28572         (ILL_PRVOPC): Likewise.
28573         (ILL_PRVREG): Likewise.
28574         (ILL_COPROC): Likewise.
28575         (ILL_BADSTK): Likewise.
28576         (ILL_DBLFLT): Likewise.
28577         (ILL_HARDWALL): Likewise.
28578         (FPE_INTDIV): Likewise.
28579         (FPE_INTOVF): Likewise.
28580         (FPE_FLTDIV): Likewise.
28581         (FPE_FLTOVF): Likewise.
28582         (FPE_FLTUND): Likewise.
28583         (FPE_FLTRES): Likewise.
28584         (FPE_FLTINV): Likewise.
28585         (FPE_FLTSUB): Likewise.
28586         (SEGV_MAPERR): Likewise.
28587         (SEGV_ACCERR): Likewise.
28588         (BUS_ADRALN): Likewise.
28589         (BUS_ADRERR): Likewise.
28590         (BUS_OBJERR): Likewise.
28591         (BUS_MCEERR_AR): Likewise.
28592         (BUS_MCEERR_AO): Likewise.
28593         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28594         (TRAP_TRACE): Likewise.
28595         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28596         __USE_XOPEN2K8].
28597         (CLD_KILLED): Likewise.
28598         (CLD_DUMPED): Likewise.
28599         (CLD_TRAPPED): Likewise.
28600         (CLD_STOPPED): Likewise.
28601         (CLD_CONTINUED): Likewise.
28602         (POLL_IN): Likewise.
28603         (POLL_OUT): Likewise.
28604         (POLL_MSG): Likewise.
28605         (POLL_ERR): Likewise.
28606         (POLL_PRI): Likewise.
28607         (POLL_HUP): Likewise.
28608         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
28609         (ILL_ILLOPN): Likewise.
28610         (ILL_ILLADR): Likewise.
28611         (ILL_ILLTRP): Likewise.
28612         (ILL_PRVOPC): Likewise.
28613         (ILL_PRVREG): Likewise.
28614         (ILL_COPROC): Likewise.
28615         (ILL_BADSTK): Likewise.
28616         (FPE_INTDIV): Likewise.
28617         (FPE_INTOVF): Likewise.
28618         (FPE_FLTDIV): Likewise.
28619         (FPE_FLTOVF): Likewise.
28620         (FPE_FLTUND): Likewise.
28621         (FPE_FLTRES): Likewise.
28622         (FPE_FLTINV): Likewise.
28623         (FPE_FLTSUB): Likewise.
28624         (SEGV_MAPERR): Likewise.
28625         (SEGV_ACCERR): Likewise.
28626         (BUS_ADRALN): Likewise.
28627         (BUS_ADRERR): Likewise.
28628         (BUS_OBJERR): Likewise.
28629         (BUS_MCEERR_AR): Likewise.
28630         (BUS_MCEERR_AO): Likewise.
28631         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28632         (TRAP_TRACE): Likewise.
28633         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28634         __USE_XOPEN2K8].
28635         (CLD_KILLED): Likewise.
28636         (CLD_DUMPED): Likewise.
28637         (CLD_TRAPPED): Likewise.
28638         (CLD_STOPPED): Likewise.
28639         (CLD_CONTINUED): Likewise.
28640         (POLL_IN): Likewise.
28641         (POLL_OUT): Likewise.
28642         (POLL_MSG): Likewise.
28643         (POLL_ERR): Likewise.
28644         (POLL_PRI): Likewise.
28645         (POLL_HUP): Likewise.
28646         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
28647         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
28649         [BZ #16670]
28650         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
28651         before #include of <time.h>.
28652         [!__USE_XOPEN2K] (__need_timespec): Likewise.
28653         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
28654         (test-xfail-UNIX98/sched.h/conform): Likewise.
28656 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28658         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
28659         error absence of trapping exception support.
28660         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28662 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28664         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
28665         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
28666         * timezone/Makefile (testdata): Move definition above include of
28667         Rules.
28668         (test-zones): New variable.
28669         (tests-special): Add zone files.
28670         (build-testdata): Use $(evaluate-test).
28672         * elf/Makefile (tests-special): Rename tests to end with .out.
28673         ($(objpfx)noload-mem): Likewise.
28674         ($(objpfx)tst-leaks1-mem): Likewise.
28675         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
28676         * iconv/Makefile (xtests-special): Change test-iconvconfig to
28677         $(objpfx)test-iconvconfig.out.
28678         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
28679         set -e inside subshell and redirect output to file.
28680         * iconvdata/Makefile (generated): Rename tests to end with .out.
28681         Correct type.
28682         (tests-special): Rename tests to end with .out.
28683         ($(objpfx)mtrace-tst-loading): Likewise.
28684         * intl/Makefile (generated): Likewise.
28685         (tests-special): Likewise.
28686         ($(objpfx)mtrace-tst-gettext): Likewise.
28687         * misc/Makefile (generated): Likewise.
28688         (tests-special): Likewise.
28689         ($(objpfx)tst-error1-mem): Likewise.
28690         * nptl/Makefile (tests-special): Likewise.
28691         ($(objpfx)tst-stack3-mem): Likewise.
28692         (generated): Likewise.
28693         * posix/Makefile (generated): Likewise.
28694         (tests-special): Likewise.
28695         (xtests-special): Likewise.
28696         ($(objpfx)tst-fnmatch-mem): Likewise.
28697         ($(objpfx)bug-regex2-mem): Likewise.
28698         ($(objpfx)bug-regex14-mem): Likewise.
28699         ($(objpfx)bug-regex21-mem): Likewise.
28700         ($(objpfx)bug-regex31-mem): Likewise.
28701         ($(objpfx)tst-vfork3-mem): Likewise.
28702         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28703         ($(objpfx)tst-pcre-mem): Likewise.
28704         ($(objpfx)tst-boost-mem): Likewise.
28705         ($(objpfx)bug-ga2-mem): Likewise.
28706         ($(objpfx)bug-glob2-mem): Likewise.
28707         * resolv/Makefile (generate): Likewise.
28708         (tests-special): Likewise.
28709         (xtests-special): Likewise.
28710         (generated): Likewise.
28711         ($(objpfx)mtrace-tst-leaks): Likewise.
28712         ($(objpfx)mtrace-tst-leaks2): Likewise.
28714         * scripts/merge-test-results.sh: New file.
28715         * Makefile (tests-special-notdir): New variable.
28716         (tests): Run merge-test-results.sh.
28717         (xtests): Likewise.
28718         * Rules (tests-special-notdir): New variable.
28719         (xtests-special-notdir): Likewise.
28720         (tests): Run merge-test-results.sh
28721         (xtests): Likewise.
28723         * Makeconfig (test-xfail-name): New variable.
28724         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
28725         compute variable name for expected failures.
28726         * conform/Makefile (conformtest-headers-data): New variable.
28727         (conformtest-standards): Likewise.
28728         (conformtest-headers-ISO): Likewise.
28729         (conformtest-headers-ISO99): Likewise.
28730         (conformtest-headers-ISO11): Likewise.
28731         (conformtest-headers-POSIX): Likewise.
28732         (conformtest-headers-XPG3): Likewise.
28733         (conformtest-headers-XPG4): Likewise.
28734         (conformtest-headers-UNIX98): Likewise.
28735         (conformtest-headers-XOPEN2K): Likewise.
28736         (conformtest-headers-POSIX2008): Likewise.
28737         (conformtest-headers-XOPEN2K8): Likewise.
28738         (conformtest-header-list-base): Likewise.
28739         (conformtest-header-list-tests): Likewise.
28740         (conformtest-header-base): Likewise.
28741         (conformtest-header-tests): Likewise.
28742         (tests-special): Add $(conformtest-header-list-tests).  If
28743         [$(fast-check) && !$(cross-compiling)], add
28744         $(conformtest-header-tests) instead of
28745         $(objpfx)run-conformtest.out.
28746         (generated): Add $(conformtest-header-list-base).  If
28747         [$(fast-check) && !$(cross-compiling)], add
28748         $(conformtest-header-base).  Remove previous setting.
28749         ($(conformtest-header-list-tests)): New target.
28750         (test-xfail-run-conformtest): Remove variable.
28751         ($(objpfx)run-conformtest.out): Remove target.
28752         (test-xfail-ISO11/complex.h/conform): New variable.
28753         (test-xfail-ISO11/stdalign.h/conform): Likewise.
28754         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
28755         (test-xfail-XPG3/varargs.h/conform): Likewise.
28756         (test-xfail-XPG4/varargs.h/conform): Likewise.
28757         (test-xfail-UNIX98/varargs.h/conform): Likewise.
28758         (test-xfail-XPG4/ndbm.h/conform): Likewise.
28759         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
28760         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
28761         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
28762         (test-xfail-XPG3/fcntl.h/conform): Likewise.
28763         (test-xfail-XPG3/ftw.h/conform): Likewise.
28764         (test-xfail-XPG3/grp.h/conform): Likewise.
28765         (test-xfail-XPG3/langinfo.h/conform): Likewise.
28766         (test-xfail-XPG3/limits.h/conform): Likewise.
28767         (test-xfail-XPG3/pwd.h/conform): Likewise.
28768         (test-xfail-XPG3/search.h/conform): Likewise.
28769         (test-xfail-XPG3/signal.h/conform): Likewise.
28770         (test-xfail-XPG3/stdio.h/conform): Likewise.
28771         (test-xfail-XPG3/stdlib.h/conform): Likewise.
28772         (test-xfail-XPG3/string.h/conform): Likewise.
28773         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
28774         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
28775         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28776         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28777         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
28778         (test-xfail-XPG3/sys/types.h/conform): Likewise.
28779         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
28780         (test-xfail-XPG3/termios.h/conform): Likewise.
28781         (test-xfail-XPG3/time.h/conform): Likewise.
28782         (test-xfail-XPG3/unistd.h/conform): Likewise.
28783         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
28784         (test-xfail-XPG4/fcntl.h/conform): Likewise.
28785         (test-xfail-XPG4/langinfo.h/conform): Likewise.
28786         (test-xfail-XPG4/netdb.h/conform): Likewise.
28787         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
28788         (test-xfail-XPG4/signal.h/conform): Likewise.
28789         (test-xfail-XPG4/stdio.h/conform): Likewise.
28790         (test-xfail-XPG4/stdlib.h/conform): Likewise.
28791         (test-xfail-XPG4/stropts.h/conform): Likewise.
28792         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28793         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28794         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28795         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28796         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28797         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
28798         (test-xfail-XPG4/sys/time.h/conform): Likewise.
28799         (test-xfail-XPG4/sys/types.h/conform): Likewise.
28800         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
28801         (test-xfail-XPG4/termios.h/conform): Likewise.
28802         (test-xfail-XPG4/ucontext.h/conform): Likewise.
28803         (test-xfail-XPG4/unistd.h/conform): Likewise.
28804         (test-xfail-XPG4/utmpx.h/conform): Likewise.
28805         (test-xfail-POSIX/sched.h/conform): Likewise.
28806         (test-xfail-POSIX/signal.h/conform): Likewise.
28807         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
28808         (test-xfail-POSIX/tar.h/conform): Likewise.
28809         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
28810         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
28811         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
28812         (test-xfail-UNIX98/netdb.h/conform): Likewise.
28813         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
28814         (test-xfail-UNIX98/sched.h/conform): Likewise.
28815         (test-xfail-UNIX98/signal.h/conform): Likewise.
28816         (test-xfail-UNIX98/stdio.h/conform): Likewise.
28817         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
28818         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28819         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28820         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28821         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28822         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28823         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28824         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
28825         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28826         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28827         (test-xfail-UNIX98/unistd.h/conform): Likewise.
28828         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
28829         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
28830         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
28831         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
28832         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
28833         (test-xfail-XOPEN2K/math.h/conform): Likewise.
28834         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
28835         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28836         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28837         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
28838         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28839         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
28840         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
28841         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28842         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28843         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28844         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28845         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28846         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28847         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28848         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
28849         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28850         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28851         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28852         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
28853         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28854         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
28855         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
28856         (test-xfail-POSIX2008/signal.h/conform): Likewise.
28857         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28858         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
28859         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28860         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28861         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28862         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
28863         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28864         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28865         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28866         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28867         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
28868         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28869         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28870         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28871         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
28872         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28873         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28874         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28875         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28876         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28877         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
28878         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28879         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
28880         (conformtest-cc-flags): Likewise.
28881         ($(conformtest-header-tests): New target.
28882         * conform/check-header-lists.sh: New file.
28883         * conform/run-conformtest.sh: Remove.
28885         * conform/conformtest.pl: Allow ' and \ in values given for
28886         constants.
28887         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
28888         inclusion.
28889         [POSIX] (sys/types.h): Likewise.
28890         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
28891         inclusion.
28892         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
28893         inclusion.
28894         * conform/data/signal.h-data (SIGIO): Remove expectation.
28895         [XPG3] (SIGBUS): Do not expect.
28896         [POSIX || XPG3] (SIGPOLL): Likewise.
28897         [POSIX || XPG3] (SIGPROF): Likewise.
28898         [POSIX || XPG3] (SIGSYS): Likewise.
28899         [XPG3] (SIGTRAP): Likewise.
28900         [POSIX || XPG3] (SIGURG): Likewise.
28901         [POSIX || XPG3] (SIGVTALRM): Likewise.
28902         [POSIX || XPG3] (SIGXCPU): Likewise.
28903         [POSIX || XPG3] (SIGXFSZ): Likewise.
28904         [POSIX] (SA_SIGINFO): Expect.
28905         [XPG3] (siginfo_t): Do not expect type or contents.
28906         [POSIX] (si_pid): Do not expect element.
28907         [POSIX] (si_uid): Likewise.
28908         [POSIX] (si_addr): Likewise.
28909         [POSIX] (si_status): Likewise.
28910         [POSIX] (si_band): Likewise.
28911         [XPG4] (si_value): Likewise.
28912         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
28913         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
28914         [POSIX || XPG3] (ILL_ILLADR): Likewise.
28915         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
28916         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
28917         [POSIX || XPG3] (ILL_PRVREG): Likewise.
28918         [POSIX || XPG3] (ILL_COPROC): Likewise.
28919         [POSIX || XPG3] (ILL_BADSTK): Likewise.
28920         [POSIX || XPG3] (FPE_INTDIV): Likewise.
28921         [POSIX || XPG3] (FPE_INTOVF): Likewise.
28922         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
28923         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
28924         [POSIX || XPG3] (FPE_FLTUND): Likewise.
28925         [POSIX || XPG3] (FPE_FLTRES): Likewise.
28926         [POSIX || XPG3] (FPE_FLTINV): Likewise.
28927         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
28928         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
28929         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
28930         [POSIX || XPG3] (BUS_ADRALN): Likewise.
28931         [POSIX || XPG3] (BUS_ADRERR): Likewise.
28932         [POSIX || XPG3] (BUS_OBJERR): Likewise.
28933         [POSIX || XPG3] (CLD_EXITED): Likewise.
28934         [POSIX || XPG3] (CLD_KILLED): Likewise.
28935         [POSIX || XPG3] (CLD_DUMPED): Likewise.
28936         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
28937         [POSIX || XPG3] (CLD_STOPPED): Likewise.
28938         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
28939         [POSIX || XPG3] (POLL_IN): Likewise.
28940         [POSIX || XPG3] (POLL_OUT): Likewise.
28941         [POSIX || XPG3] (POLL_MSG): Likewise.
28942         [POSIX || XPG3] (POLL_ERR): Likewise.
28943         [POSIX || XPG3] (POLL_PRI): Likewise.
28944         [POSIX || XPG3] (POLL_HUP): Likewise.
28945         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
28946         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
28947         (SIG*): Do not allow.
28948         [XPG3] (si_*): Likewise.
28949         [XPG3] (SI_*): Likewise.
28950         [XPG3 || XPG4] (sigev_*): Likewise.
28951         [XPG3 || XPG4] (SIGEV_*): Likewise.
28952         [XPG3 || XPG4] (sival_*): Likewise.
28953         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
28954         [POSIX || XPG3] (BUS_*): Likewise.
28955         [POSIX || XPG3] (CLD_*): Likewise.
28956         [POSIX || XPG3] (FPE_*): Likewise.
28957         [POSIX || XPG3] (ILL_*): Likewise.
28958         [POSIX || XPG3] (POLL_*): Likewise.
28959         [POSIX || XPG3] (SEGV_*): Likewise.
28960         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
28961         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
28962         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
28963         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
28964         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
28965         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
28966         Specify type and value.
28967         (TVERSLEN): Likewise.
28968         (REGTYPE): Likewise.
28969         (AREGTYPE): Likewise.
28970         (LNKTYPE): Likewise.
28971         (SYMTYPE): Likewise.
28972         (CHRTYPE): Likewise.
28973         (BLKTYPE): Likewise.
28974         (DIRTYPE): Likewise.
28975         (FIFOTYPE): Likewise.
28976         (CONTTYPE): Likewise.
28977         (TSUID): Likewise.
28978         (TSGID): Likewise.
28979         (TSVTX): Likewise.
28980         (TUREAD): Likewise.
28981         (TUWRITE): Likewise.
28982         (TUEXEC): Likewise.
28983         (TGREAD): Likewise.
28984         (TGWRITE): Likewise.
28985         (TGEXEC): Likewise.
28986         (TOREAD): Likewise.
28987         (TOWRITE): Likewise.
28988         (TOEXEC): Likewise.
28989         [POSIX] (TSVTX): Expect constant.
28991 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
28993         * Makefile (tests): Change dependencies to ....
28994         (tests-special): ... additions to this variable.
28995         (tests): Depend on $(tests-special).
28996         * Makerules (check-abi-list): New variable.
28997         (check-abi): Depend on $(check-abi-list).
28998         [$(subdir) = elf] (tests-special): Add
28999         $(objpfx)check-abi-libc.out.
29000         [$(build-shared) = yes && subdir] (tests-special): Add
29001         $(check-abi-list).
29002         [$(build-shared) = yes && subdir] (tests): Do not depend on
29003         check-abi.
29004         * Rules (tests): Depend on $(tests-special).
29005         (xtests): Depend on $(xtests-special).
29006         * catgets/Makefile (tests): Change dependencies to ....
29007         (tests-special): ... additions to this variable.
29008         * conform/Makefile (tests): Change dependencies to ....
29009         (tests-special): ... additions to this variable.
29010         * elf/Makefile (tests): Change dependencies to ....
29011         (tests-special): ... additions to this variable.
29012         * grp/Makefile (tests): Change dependencies to ....
29013         (tests-special): ... additions to this variable.
29014         * iconv/Makefile (xtests): Change dependencies to ....
29015         (xtests-special): ... additions to this variable.
29016         * iconvdata/Makefile (tests): Change dependencies to ....
29017         (tests-special): ... additions to this variable.
29018         * intl/Makefile (tests): Change dependencies to ....
29019         (tests-special): ... additions to this variable.  Also add
29020         $(objpfx)tst-gettext.out.
29021         * io/Makefile (tests): Change dependencies to ....
29022         (tests-special): ... additions to this variable.
29023         * libio/Makefile (tests): Change dependencies to ....
29024         (tests-special): ... additions to this variable.
29025         * malloc/Makefile (tests): Change dependencies to ....
29026         (tests-special): ... additions to this variable.
29027         * misc/Makefile (tests): Change dependencies to ....
29028         (tests-special): ... additions to this variable.
29029         * nptl/Makefile (tests): Change dependencies to ....
29030         (tests-special): ... additions to this variable.
29031         * nptl_db/Makefile (tests): Change dependencies to ....
29032         (tests-special): ... additions to this variable.
29033         * posix/Makefile (tests): Change dependencies to ....
29034         (tests-special): ... additions to this variable.
29035         (xtests): Change dependencies to ....
29036         (xtests-special): ... additions to this variable.
29037         * resolv/Makefile (tests): Change dependencies to ....
29038         (tests-special): ... additions to this variable.
29039         (xtests): Change dependencies to ....
29040         (xtests-special): ... additions to this variable.
29041         * stdio-common/Makefile (tests): Change dependencies to ....
29042         (tests-special): ... additions to this variable.
29043         (do-tst-unbputc): Remove target.
29044         (do-tst-printf): Likewise.
29045         * stdlib/Makefile (tests): Change dependencies to ....
29046         (tests-special): ... additions to this variable.
29047         * string/Makefile (tests): Change dependencies to ....
29048         (tests-special): ... additions to this variable.
29049         * sysdeps/x86/Makefile (tests): Change dependencies to ....
29050         (tests-special): ... additions to this variable.
29052         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
29053         whole file.
29054         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
29055         whole file.
29056         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
29057         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
29059         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
29060         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
29061         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
29062         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
29063         * conform/data/libgen.h-data [XPG3]: Likewise.
29064         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
29065         * conform/data/ndbm.h-data [XPG3]: Likewise.
29066         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29067         * conform/data/netdb.h-data [XPG3]: Likewise.
29068         * conform/data/netinet/in.h-data [XPG3]: Likewise.
29069         * conform/data/poll.h-data [XPG3]: Likewise.
29070         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29071         * conform/data/strings.h-data [XPG3]: Likewise.
29072         * conform/data/stropts.h-data [XPG3]: Likewise.
29073         * conform/data/sys/mman.h-data [XPG3]: Likewise.
29074         * conform/data/sys/resource.h-data [XPG3]: Likewise.
29075         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
29076         Likewise.
29077         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
29078         * conform/data/sys/time.h-data [XPG3]: Likewise.
29079         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
29080         * conform/data/sys/uio.h-data [XPG3]: Likewise.
29081         * conform/data/sys/un.h-data [XPG3]: Likewise.
29082         * conform/data/syslog.h-data [XPG3]: Likewise.
29083         * conform/data/ucontext.h-data [XPG3]: Likewise.
29084         * conform/data/utmpx.h-data [XPG3]: Likewise.
29085         * conform/data/varargs.h-data [UNIX98]: Enable file.
29087         * manual/Makefile (INSTALL_INFO): Remove variable setting.
29089         * math/libm-test.inc (struct test_f_f_data): Move expected results
29090         into structure for each rounding mode.
29091         (struct test_ff_f_data): Likewise.
29092         (struct test_ff_f_data_nexttoward): Likewise.
29093         (struct test_fi_f_data): Likewise.
29094         (struct test_fl_f_data): Likewise.
29095         (struct test_if_f_data): Likewise.
29096         (struct test_fff_f_data): Likewise.
29097         (struct test_c_f_data): Likewise.
29098         (struct test_f_f1_data): Likewise.
29099         (struct test_fF_f1_data): Likewise.
29100         (struct test_ffI_f1_data): Likewise.
29101         (struct test_c_c_data): Likewise.
29102         (struct test_cc_c_data): Likewise.
29103         (struct test_f_i_data): Likewise.
29104         (struct test_ff_i_data): Likewise.
29105         (struct test_f_l_data): Likewise.
29106         (struct test_f_L_data): Likewise.
29107         (struct test_fFF_11_data): Likewise.
29108         (RM_): New macro.
29109         (RM_FE_DOWNWARD): Likewise.
29110         (RM_FE_TONEAREST): Likewise.
29111         (RM_FE_TOWARDZERO): Likewise.
29112         (RM_FE_UPWARD): Likewise.
29113         (RUN_TEST_LOOP_f_f): Update references to expected results.
29114         (RUN_TEST_LOOP_2_f): Likewise.
29115         (RUN_TEST_LOOP_fff_f): Likewise.
29116         (RUN_TEST_LOOP_c_f): Likewise.
29117         (RUN_TEST_LOOP_f_f1): Likewise.
29118         (RUN_TEST_LOOP_fF_f1): Likewise.
29119         (RUN_TEST_LOOP_fI_f1): Likewise.
29120         (RUN_TEST_LOOP_ffI_f1): Likewise.
29121         (RUN_TEST_LOOP_c_c): Likewise.
29122         (RUN_TEST_LOOP_cc_c): Likewise.
29123         (RUN_TEST_LOOP_f_i): Likewise.
29124         (RUN_TEST_LOOP_f_i_tg): Likewise.
29125         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29126         (RUN_TEST_LOOP_f_b): Likewise.
29127         (RUN_TEST_LOOP_f_b_tg): Likewise.
29128         (RUN_TEST_LOOP_f_l): Likewise.
29129         (RUN_TEST_LOOP_f_L): Likewise.
29130         (RUN_TEST_LOOP_fFF_11): Likewise.
29131         * math/gen-libm-test.pl (parse_args): Output four copies of
29132         expected results for each test.
29134         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29135         (__ASSUME_UTIMES): Remove.
29136         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29137         (__ASSUME_UTIMES): Likewise.
29139         * math/gen-auto-libm-tests.c: Update comment on output format.
29140         (output_for_one_input_case): Generate before-rounding and
29141         after-rounding information as conditions on output flags not
29142         floating-point format.
29143         * math/auto-libm-test-out: Regenerated.
29144         * math/gen-libm-test.pl (cond_value): New function.
29145         (or_cond_value): Use cond_value.
29146         (generate_testfile): Handle conditional exceptions.
29148 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
29150         * math/libm-test.inc (max_valid_error): New variable.
29151         (init_max_error): Take new argument specifying whether function
29152         results are exactly determined.  Set max_valid_error and bound
29153         other variables for errors based on this argument.
29154         (set_max_error): Do not record results above max_valid_error.
29155         (check_float_internal): Only accept errors of up to 0.5ulps if
29156         also at most max_valid_error.
29157         (START): Take new argument EXACT and pass it to init_max_error.
29158         (acos_test): Update call to START.
29159         (acos_test_tonearest): Likewise.
29160         (acos_test_towardzero): Likewise.
29161         (acos_test_downward): Likewise.
29162         (acos_test_upward): Likewise.
29163         (acosh_test): Likewise.
29164         (asin_test): Likewise.
29165         (asin_test_tonearest): Likewise.
29166         (asin_test_towardzero): Likewise.
29167         (asin_test_downward): Likewise.
29168         (asin_test_upward): Likewise.
29169         (asinh_test): Likewise.
29170         (atan_test): Likewise.
29171         (atanh_test): Likewise.
29172         (atan2_test): Likewise.
29173         (cabs_test): Likewise.
29174         (cacos_test): Likewise.
29175         (cacosh_test): Likewise.
29176         (carg_test): Likewise.
29177         (casin_test): Likewise.
29178         (casinh_test): Likewise.
29179         (catan_test): Likewise.
29180         (catanh_test): Likewise.
29181         (cbrt_test): Likewise.
29182         (ccos_test): Likewise.
29183         (ccosh_test): Likewise.
29184         (ceil_test): Likewise.
29185         (cexp_test): Likewise.
29186         (cimag_test): Likewise.
29187         (clog_test): Likewise.
29188         (clog10_test): Likewise.
29189         (conj_test): Likewise.
29190         (copysign_test): Likewise.
29191         (cos_test): Likewise.
29192         (cos_test_tonearest): Likewise.
29193         (cos_test_towardzero): Likewise.
29194         (cos_test_downward): Likewise.
29195         (cos_test_upward): Likewise.
29196         (cosh_test): Likewise.
29197         (cosh_test_tonearest): Likewise.
29198         (cosh_test_towardzero): Likewise.
29199         (cosh_test_downward): Likewise.
29200         (cosh_test_upward): Likewise.
29201         (cpow_test): Likewise.
29202         (cproj_test): Likewise.
29203         (creal_test): Likewise.
29204         (csin_test): Likewise.
29205         (csinh_test): Likewise.
29206         (csqrt_test): Likewise.
29207         (ctan_test): Likewise.
29208         (ctan_test_tonearest): Likewise.
29209         (ctan_test_towardzero): Likewise.
29210         (ctan_test_downward): Likewise.
29211         (ctan_test_upward): Likewise.
29212         (ctanh_test): Likewise.
29213         (ctanh_test_tonearest): Likewise.
29214         (ctanh_test_towardzero): Likewise.
29215         (ctanh_test_downward): Likewise.
29216         (ctanh_test_upward): Likewise.
29217         (erf_test): Likewise.
29218         (erfc_test): Likewise.
29219         (exp_test): Likewise.
29220         (exp_test_tonearest): Likewise.
29221         (exp_test_towardzero): Likewise.
29222         (exp_test_downward): Likewise.
29223         (exp_test_upward): Likewise.
29224         (exp10_test): Likewise.
29225         (exp10_test_tonearest): Likewise.
29226         (exp10_test_towardzero): Likewise.
29227         (exp10_test_downward): Likewise.
29228         (exp10_test_upward): Likewise.
29229         (pow10_test): Likewise.
29230         (exp2_test): Likewise.
29231         (expm1_test): Likewise.
29232         (expm1_test_tonearest): Likewise.
29233         (expm1_test_towardzero): Likewise.
29234         (expm1_test_downward): Likewise.
29235         (expm1_test_upward): Likewise.
29236         (fabs_test): Likewise.
29237         (fdim_test): Likewise.
29238         (floor_test): Likewise.
29239         (fma_test): Likewise.
29240         (fma_test_towardzero): Likewise.
29241         (fma_test_downward): Likewise.
29242         (fma_test_upward): Likewise.
29243         (fmax_test): Likewise.
29244         (fmin_test): Likewise.
29245         (fmod_test): Likewise.
29246         (fpclassify_test): Likewise.
29247         (frexp_test): Likewise.
29248         (hypot_test): Likewise.
29249         (ilogb_test): Likewise.
29250         (isfinite_test): Likewise.
29251         (finite_test): Likewise.
29252         (isgreater_test): Likewise.
29253         (isgreaterequal_test): Likewise.
29254         (isinf_test): Likewise.
29255         (isless_test): Likewise.
29256         (islessequal_test): Likewise.
29257         (islessgreater_test): Likewise.
29258         (isnan_test): Likewise.
29259         (isnormal_test): Likewise.
29260         (issignaling_test): Likewise.
29261         (isunordered_test): Likewise.
29262         (j0_test): Likewise.
29263         (j1_test): Likewise.
29264         (jn_test): Likewise.
29265         (ldexp_test): Likewise.
29266         (lgamma_test): Likewise.
29267         (gamma_test): Likewise.
29268         (lrint_test): Likewise.
29269         (lrint_test_tonearest): Likewise.
29270         (lrint_test_towardzero): Likewise.
29271         (lrint_test_downward): Likewise.
29272         (lrint_test_upward): Likewise.
29273         (llrint_test): Likewise.
29274         (llrint_test_tonearest): Likewise.
29275         (llrint_test_towardzero): Likewise.
29276         (llrint_test_downward): Likewise.
29277         (llrint_test_upward): Likewise.
29278         (log_test): Likewise.
29279         (log10_test): Likewise.
29280         (log1p_test): Likewise.
29281         (log2_test): Likewise.
29282         (logb_test): Likewise.
29283         (logb_test_downward): Likewise.
29284         (lround_test): Likewise.
29285         (llround_test): Likewise.
29286         (modf_test): Likewise.
29287         (nearbyint_test): Likewise.
29288         (nextafter_test): Likewise.
29289         (nexttoward_test): Likewise.
29290         (pow_test): Likewise.
29291         (pow_test_tonearest): Likewise.
29292         (pow_test_towardzero): Likewise.
29293         (pow_test_downward): Likewise.
29294         (pow_test_upward): Likewise.
29295         (remainder_test): Likewise.
29296         (drem_test): Likewise.
29297         (remainder_test_tonearest): Likewise.
29298         (drem_test_tonearest): Likewise.
29299         (remainder_test_towardzero): Likewise.
29300         (drem_test_towardzero): Likewise.
29301         (remainder_test_downward): Likewise.
29302         (drem_test_downward): Likewise.
29303         (remainder_test_upward): Likewise.
29304         (drem_test_upward): Likewise.
29305         (remquo_test): Likewise.
29306         (rint_test): Likewise.
29307         (rint_test_tonearest): Likewise.
29308         (rint_test_towardzero): Likewise.
29309         (rint_test_downward): Likewise.
29310         (rint_test_upward): Likewise.
29311         (round_test): Likewise.
29312         (scalb_test): Likewise.
29313         (scalbn_test): Likewise.
29314         (scalbln_test): Likewise.
29315         (signbit_test): Likewise.
29316         (sin_test): Likewise.
29317         (sin_test_tonearest): Likewise.
29318         (sin_test_towardzero): Likewise.
29319         (sin_test_downward): Likewise.
29320         (sin_test_upward): Likewise.
29321         (sincos_test): Likewise.
29322         (sinh_test): Likewise.
29323         (sinh_test_tonearest): Likewise.
29324         (sinh_test_towardzero): Likewise.
29325         (sinh_test_downward): Likewise.
29326         (sinh_test_upward): Likewise.
29327         (sqrt_test): Likewise.
29328         (sqrt_test_tonearest): Likewise.
29329         (sqrt_test_towardzero): Likewise.
29330         (sqrt_test_downward): Likewise.
29331         (sqrt_test_upward): Likewise.
29332         (tan_test): Likewise.
29333         (tan_test_tonearest): Likewise.
29334         (tan_test_towardzero): Likewise.
29335         (tan_test_downward): Likewise.
29336         (tan_test_upward): Likewise.
29337         (tanh_test): Likewise.
29338         (tgamma_test): Likewise.
29339         (trunc_test): Likewise.
29340         (y0_test): Likewise.
29341         (y1_test): Likewise.
29342         (yn_test): Likewise.
29343         (significand_test): Likewise.
29345         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
29346         individual tests in comment.
29347         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
29348         (prev_max_error): New variable.
29349         (prev_real_max_error): Likewise.
29350         (prev_imag_max_error): Likewise.
29351         (compare_ulp_data): Don't refer to test names in comment.
29352         (find_test_ulps): Remove function.
29353         (find_function_ulps): Likewise.
29354         (find_complex_function_ulps): Likewise.
29355         (init_max_error): Take function name as argument.  Look up ulps
29356         for that function.
29357         (print_ulps): Remove function.
29358         (print_max_error): Use prev_max_error instead of calling
29359         find_function_ulps.
29360         (print_complex_max_error): Use prev_real_max_error and
29361         prev_imag_max_error instead of calling find_complex_function_ulps.
29362         (check_float_internal): Take max_ulp parameter instead of calling
29363         find_test_ulps.  Don't call print_ulps.
29364         (check_float): Update call to check_float_internal.
29365         (check_complex): Update calls to check_float_internal.
29366         (START): Pass argument to init_max_error.
29367         * math/gen-libm-test.pl (%results): Don't include "kind"
29368         information.
29369         (parse_ulps): Don't handle ulps of individual tests.
29370         (print_ulps_file): Likewise.
29371         (output_ulps): Likewise.
29372         * math/README.libm-test: Update.
29373         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
29374         individual tests.
29375         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
29376         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29377         * sysdeps/arm/libm-test-ulps: Likewise.
29378         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29379         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
29380         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
29381         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
29382         * sysdeps/microblaze/libm-test-ulps: Likewise.
29383         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29384         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29385         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29386         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29387         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29388         * sysdeps/sh/libm-test-ulps: Likewise.
29389         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29390         * sysdeps/tile/libm-test-ulps: Likewise.
29391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29393 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
29395         * math/libm-test.inc (print_complex_max_error): Check separately
29396         whether real and imaginary errors are within allowed range and
29397         pass 0 to print_complex_function_ulps instead of value within
29398         allowed range.
29400 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29402         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
29403         formatting.
29404         (get_handles_fopen): Likewise.
29405         (do_write_test): Likewise.
29407         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
29409         * libio/fileops.c (do_ftell): Use cached offset when
29410         available.
29411         * libio/iofwide.c (do_ftell_wide): Likewise.
29412         * libio/iofdopen.c (_IO_new_fdopen): Don't use
29413         _IO_file_attach.
29414         * libio/wfileops.c (_IO_fwide): Don't cache offset.
29416         [BZ #16532]
29417         * libio/libioP.h (get_file_offset): New function.
29418         * libio/fileops.c (get_file_offset): Likewise.
29419         (do_ftell): Likewise.
29420         (_IO_new_file_seekoff): Split out ftell logic.
29421         * libio/wfileops.c (do_ftell_wide): Likewise.
29422         (_IO_wfile_seekoff): Split out ftell logic.
29423         * libio/tst-ftell-active-handler.c: New test case.
29424         * libio/Makefile (tests): Add it.
29426 2014-03-03  Roland McGrath  <roland@hack.frob.com>
29428         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
29429         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
29431 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29433         [BZ #16639]
29434         * nscd/connections.c (nscd_init): Call do_exit.
29435         (start_threads): Call do_exit and notify_parent.
29436         (begin_drop_privileges): Call do_exit.
29437         (finish_drop_privileges): Likewise.
29438         * nscd/selinux.c (preserve_capabilities): Likewise.
29439         (install_real_capabilities): Likewise.
29440         (nscd_selinux_enabled): Likewise.
29441         (avc_create_thread): Likewise.
29442         (avc_alloc_lock): Likewise.
29443         (nscd_avc_init): Likewise.
29444         * nscd/nscd.c (parent_fd): New static variable.
29445         (main): Create a pipe between parent and child processes.
29446         Skip closing parent_fd.
29447         (monitor_child): New function.
29448         (do_exit): Likewise.
29449         (notify_parent): Likewise.
29450         * nscd/nscd.h (notify_parent): Likewise.
29451         (do_exit): Likewise.
29453 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
29455         * malloc/malloc.c (__libc_calloc): Revert last change.
29457 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29461 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29463         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
29464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
29465         implementation.
29466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29467         (__libc_ifunc_impl_list): Likewise.
29468         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
29469         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
29470         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
29471         * string/strrchr.c: Define STRRCHR.
29473 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
29475         * benchtest/bench-strtok.c (simple_strtok): Delete.
29476         (strtok_string): Use as benchmark.
29477         * string/strtok (STRTOK): New macro.
29479 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
29481         * manual/threads.texi: Add header and standard comments to all
29482         functions.
29484         * elf/dl-lookup.c (check_match): New function.
29485         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
29486         (do_lookup_x): Remove nested function check_match. Use non-nested
29487         function check_match.
29489 2014-02-28  Roland McGrath  <roland@hack.frob.com>
29491         * csu/Makefile (generated, before-compile): Use += rather than =.
29492         * catgets/Makefile (generated, generated-dirs): Likewise.
29493         * debug/Makefile (generated): Likewise.
29494         * dlfcn/Makefile (generated): Likewise.
29495         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
29496         * iconvdata/Makefile (before-compile, generated): Likewise.
29497         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
29498         * libio/Makefile (generated): Likewise.
29499         * malloc/Makefile (generated): Likewise.
29500         * manual/Makefile (generated, generated-dirs): Likewise.
29501         * misc/Makefile (generated): Likewise.
29502         * posix/Makefile (generated): Likewise.
29503         * resolv/Makefile (generated): Likewise.
29504         * sunrpc/Makefile (generated, generated-dirs): Likewise.
29505         * timezone/Makefile (generated, generated-dirs): Likewise.
29507         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
29509 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29511         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29512         power8 implementation.
29513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
29514         file: POWER8 llround ifunc implementation.
29515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
29516         (__lllround): Add POWER8 implementation.
29517         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
29518         POWER8 llround implementation.
29520         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
29521         power8 implementation.
29522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
29523         file: POWER8 llrint ifunc implementation.
29524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
29525         Add POWER8 implementation.
29526         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
29527         POWER8 llrint implementation.
29529         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
29530         power8 implementation.
29531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
29532         file: POWER8 finite ifunc implementation.
29533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
29534         Add POWER8 implementation.
29535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
29536         Likewise.
29537         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
29538         POWER8 finite implementation.
29539         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
29541         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
29542         power8 implementation.
29543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
29544         file: POWER8 isinf ifunc implementation.
29545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
29546         POWER8 implementation.
29547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
29548         Likewise.
29549         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
29550         isinf implementation.
29551         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
29553         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
29554         (INIT_ARCH): Add hwcap2 initialization.
29555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29556         power8 implementation.
29557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
29558         file: POWER8 isnan ifunc implementation.
29559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
29560         POWER8 implementation.
29561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
29562         Likewise.
29563         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
29564         isnan implementation.
29565         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
29567 2014-02-27  Joey Ye  <joey.ye@arm.com>
29569         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29570         (_FP_NANFRAC_Q): Set to zero.
29572 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29574         [BZ #16623]
29575         * math/auto-libm-test-in: New test inputs.
29576         * math/auto-libm-test-out: Regenerate.
29577         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
29578         and DA.
29579         (__cos): Likewise.
29580         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29582 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
29584         * scripts/evaluate-test.sh: Take new argument indicating whether
29585         failure is expected.
29586         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
29587         indicating whether failure is expected.
29588         * conform/Makefile (test-xfail-run-conformtest): New variable.
29589         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
29590         level.
29591         * posix/Makefile (test-xfail-annexc): New variable.
29592         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
29594 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
29596         * argp/Makefile: Include Makeconfig immediately after defining
29597         subdir.
29598         * assert/Makefile: Likewise.
29599         * benchtests/Makefile: Likewise.
29600         * catgets/Makefile: Likewise.
29601         * conform/Makefile: Likewise.
29602         * crypt/Makefile: Likewise.
29603         * csu/Makefile: Likewise.
29604         (all): Remove target.
29605         * ctype/Makefile: Include Makeconfig immediately after defining
29606         subdir.
29607         * debug/Makefile: Likewise.
29608         * dirent/Makefile: Likewise.
29609         * dlfcn/Makefile: Likewise.
29610         * gmon/Makefile: Likewise.
29611         * gnulib/Makefile: Likewise.
29612         * grp/Makefile: Likewise.
29613         * gshadow/Makefile: Likewise.
29614         * hesiod/Makefile: Likewise.
29615         * hurd/Makefile: Likewise.
29616         (all): Remove target.
29617         * iconvdata/Makefile: Include Makeconfig immediately after
29618         defining subdir.
29619         * inet/Makefile: Likewise.
29620         * intl/Makefile: Likewise.
29621         * io/Makefile: Likewise.
29622         * libio/Makefile: Likewise.
29623         (all): Remove target.
29624         * locale/Makefile: Include Makeconfig immediately after defining
29625         subdir.
29626         * login/Makefile: Likewise.
29627         * mach/Makefile: Likewise.
29628         (all): Remove target.
29629         * malloc/Makefile: Include Makeconfig immediately after defining
29630         subdir.
29631         (all): Remove target.
29632         * manual/Makefile: Include Makeconfig immediately after defining
29633         subdir.
29634         * math/Makefile: Likewise.
29635         * misc/Makefile: Likewise.
29636         * nis/Makefile: Likewise.
29637         * nss/Makefile: Likewise.
29638         * po/Makefile: Likewise.
29639         (all): Remove target.
29640         * posix/Makefile: Include Makeconfig immediately after defining
29641         subdir.
29642         * pwd/Makefile: Likewise.
29643         * resolv/Makefile: Likewise.
29644         * resource/Makefile: Likewise.
29645         * rt/Makefile: Likewise.
29646         * setjmp/Makefile: Likewise.
29647         * shadow/Makefile: Likewise.
29648         * signal/Makefile: Likewise.
29649         * socket/Makefile: Likewise.
29650         * soft-fp/Makefile: Likewise.
29651         * stdio-common/Makefile: Likewise.
29652         * stdlib/Makefile: Likewise.
29653         * streams/Makefile: Likewise.
29654         * string/Makefile: Likewise.
29655         * sunrpc/Makefile: Likewise.
29656         (all): Remove target.
29657         * sysvipc/Makefile: Include Makeconfig immediately after defining
29658         subdir.
29659         * termios/Makefile: Likewise.
29660         * time/Makefile: Likewise.
29661         * timezone/Makefile: Likewise.
29662         (all): Remove target.
29663         * wcsmbs/Makefile: Include Makeconfig immediately after defining
29664         subdir.
29665         * wctype/Makefile: Likewise.
29667 2014-02-26  Steve Ellcey  <sellcey@mips.com>
29669         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
29670         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
29671         (libc_feholdexcept_setround_mips): Ditto.
29672         (libc_feholdsetround): New.
29673         (libc_feholdsetroundf): New.
29674         (libc_feholdsetroundl): New.
29675         (libc_feupdateenv_test_mips): New.
29676         (libc_feupdateenv_test): New.
29677         (libc_feupdateenv_testf): New.
29678         (libc_feupdateenv_testl): New.
29679         (libc_feresetround): New.
29680         (libc_feresetroundf): New.
29681         (libc_feresetroundl): New.
29682         (libc_fetestexcept_mips): New.
29683         (libc_fetestexcept): New.
29684         (libc_fetestexceptf): New.
29685         (libc_fetestexceptl): New.
29686         (HAVE_RM_CTX): New.
29687         (libc_feholdexcept_setround_mips_ctx): New.
29688         (libc_feholdexcept_setround_ctx): New.
29689         (libc_feholdexcept_setroundf_ctx): New.
29690         (libc_feholdexcept_setroundl_ctx): New.
29691         (libc_fesetenv_mips_ctx): New.
29692         (libc_fesetenv_ctx): New.
29693         (libc_fesetenv_ctxf): New.
29694         (libc_fesetenv_ctxl): New.
29695         (libc_feupdateenv_mips_ctx): New.
29696         (libc_feupdateenv_ctx): New.
29697         (libc_feupdateenvf_ctx): New.
29698         (libc_feupdateenvl_ctx): New.
29699         (libc_feholdsetround_mips_ctx): New.
29700         (libc_feholdsetround_ctx): New.
29701         (libc_feholdsetroundf_ctx): New.
29702         (libc_feholdsetroundl_ctx): New.
29703         (libc_feresetround_mips_ctx): New.
29704         (libc_feresetround_ctx): New.
29705         (libc_feresetroundf_ctx): New.
29706         (libc_feresetroundl_ctx): New.
29708 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
29710         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
29712         * manual/ipc.texi: New file.
29713         * manual/Makefile (chapters): Add ipc.
29714         * manual/job.texi: Add "Inter-Process Communication" to next.
29715         * manual/process.texi: Add "Inter-Process Communication" to prev.
29717 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29721 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
29723         * malloc/malloc.c (__libc_calloc): Simplify implementation.
29725         * manual/arith.texi: Fix spaces after sentences.
29726         * manual/charset.texi: Likewise.
29727         * manual/errno.texi: Likewise.
29728         * manual/install.texi: Likewise.
29729         * manual/llio.texi: Likewise.
29730         * manual/locale.texi: Likewise.
29731         * manual/maint.texi: Likewise.
29732         * manual/math.texi: Likewise.
29733         * manual/memory.texi: Likewise.
29734         * manual/message.texi: Likewise.
29735         * manual/probes.texi: Likewise.
29736         * manual/resource.texi: Likewise.
29737         * manual/signal.texi: Likewise.
29738         * manual/socket.texi: Likewise.
29739         * manual/stdio.texi: Likewise.
29740         * manual/string.texi: Likewise.
29741         * manual/time.texi: Likewise.
29742         * manual/users.texi: Likewise.
29744 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
29746         [BZ #16632]
29747         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
29748         _DEFAULT_SOURCE is defined.
29750 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
29751             Carlos O'Donell  <carlos@redhat.com>
29753         [BZ #16613]
29754         * elf/dl-tls.c (_dl_count_modids): New function.
29755         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
29756         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
29757         audit library and increment generation counter.
29758         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
29759         * elf/tst-audit9.c: New file.
29760         * elf/tst-auditmod9a.c: New file.
29761         * elf/tst-auditmod9b.c: New file.
29762         * elf/Makefile: Add rules to build and run tst-audit9.
29764 2014-02-25  Florian Weimer  <fweimer@redhat.com>
29766         [BZ #15347]
29767         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
29769 2014-02-25  Will Newton  <will.newton@linaro.org>
29771         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
29772         (__longjmp): Restore sp and lr before restoring callee
29773         saved registers.  Add longjmp and longjmp_target
29774         SystemTap probe point.
29775         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
29776         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
29777         Define to zero to match jmpbuf layout.
29778         * sysdeps/arm/setjmp.S: Include stap-probe.h.
29779         (__sigsetjmp): Save sp and lr before saving callee
29780         saved registers.  Add setjmp SystemTap probe point.
29782 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29784         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29786 2014-02-24  Andreas Schwab  <schwab@suse.de>
29788         [BZ #15804]
29789         * elf/pldd.c (wait_for_ptrace_stop): New function.
29790         (main): Call it after attaching.
29792 2014-02-22  Roland McGrath  <roland@hack.frob.com>
29794         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
29795         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
29796         Versions files is now verboten.
29797         * hurd/Versions (libc: GLIBC_2.0):
29798         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
29799         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
29800         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
29801         * mach/Versions: Likewise.
29803         * csu/Versions: Remove unused %include.
29804         * resolv/Versions: Likewise.
29806 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
29808         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
29809         ($(objpfx)check-local-headers.out): Likewise.
29810         ($(objpfx)begin-end-check.out): Likewise.
29811         * Makerules (check-abi-%.out): Likewise.
29812         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
29813         ($(objpfx)test2.cat): Likewise.
29814         ($(objpfx)de/libc.cat): Likewise.
29815         ($(objpfx)test-gencat.out): Likewise.
29816         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
29817         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
29818         ($(objpfx)noload-mem): Likewise.
29819         ($(objpfx)tst-pathopt.out): Likewise.
29820         ($(objpfx)tst-rtld-load-self.out): Likewise.
29821         ($(objpfx)tst-array1-cmp.out): Likewise.
29822         ($(objpfx)tst-array1-static-cmp.out): Likewise.
29823         ($(objpfx)tst-array2-cmp.out): Likewise.
29824         ($(objpfx)tst-array3-cmp.out): Likewise.
29825         ($(objpfx)tst-array4-cmp.out): Likewise.
29826         ($(objpfx)tst-array5-cmp.out): Likewise.
29827         ($(objpfx)tst-array5-static-cmp.out): Likewise.
29828         ($(objpfx)check-textrel.out): Likewise.
29829         ($(objpfx)check-execstack.out): Likewise.
29830         ($(objpfx)check-localplt.out): Likewise.
29831         ($(objpfx)order2-cmp.out): Likewise.
29832         ($(objpfx)tst-leaks1-mem): Likewise.
29833         ($(objpfx)tst-leaks1-static-mem): Likewise.
29834         ($(objpfx)tst-initorder-cmp.out): Likewise.
29835         ($(objpfx)tst-initorder2-cmp.out): Likewise.
29836         ($(objpfx)tst-unused-dep.out): Likewise.
29837         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
29838         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
29839         * iconv/Makefile (test-iconvconfig): Likewise.
29840         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
29841         ($(objpfx)iconv-test.out): Likewise.
29842         ($(objpfx)tst-tables.out): Likewise.
29843         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
29844         ($(objpfx)tst-gettext.out): Likewise.
29845         ($(objpfx)tst-translit.out): Likewise.
29846         ($(objpfx)tst-gettext2.out): Likewise.
29847         ($(objpfx)tst-gettext4.out): Likewise.
29848         ($(objpfx)tst-gettext6.out): Likewise.
29849         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
29850         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
29851         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
29852         ($(objpfx)tst-fopenloc-mem.out): Likewise.
29853         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
29854         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
29855         * posix/Makefile ($(objpfx)globtest.out): Likewise.
29856         ($(objpfx)wordexp-tst.out): Likewise.
29857         ($(objpfx)annexc.out): Likewise.
29858         ($(objpfx)tst-fnmatch-mem): Likewise.
29859         ($(objpfx)bug-regex2-mem): Likewise.
29860         ($(objpfx)bug-regex14-mem): Likewise.
29861         ($(objpfx)bug-regex21-mem): Likewise.
29862         ($(objpfx)bug-regex31-mem): Likewise.
29863         ($(objpfx)tst-vfork3-mem): Likewise.
29864         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29865         ($(objpfx)tst-pcre-mem): Likewise.
29866         ($(objpfx)tst-boost-mem): Likewise.
29867         ($(objpfx)tst-getconf.out): Likewise.
29868         ($(objpfx)bug-ga2-mem): Likewise.
29869         ($(objpfx)bug-glob2-mem): Likewise.
29870         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
29871         ($(objpfx)mtrace-tst-leaks2): Likewise.
29872         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
29873         ($(objpfx)tst-printf.out): Likewise.
29874         ($(objpfx)tst-setvbuf1.out): Likewise.
29875         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
29876         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
29877         ($(objpfx)tst-fmtmsg.out): Likewise.
29878         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
29879         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
29881         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
29882         * bits/sigaction.h [__USE_MISC]: Likewise.
29883         * bits/waitstatus.h: Update #endif comments.
29884         * ctype/ctype.h: Likewise.
29885         * dirent/dirent.h: Likewise.
29886         [__USE_MISC]: Remove redundant conditionals.
29887         * grp/grp.h: Update #endif comments.
29888         [__USE_GNU]: Remove redundant conditionals.
29889         [__USE_MISC]: Likewise.
29890         * inet/netinet/in.h [__USE_GNU]: Likewise.
29891         * io/sys/stat.h [__USE_MISC]: Likewise.
29892         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
29893         * libio/bits/stdio.h: Update #endif comments.
29894         [__USE_MISC]: Remove redundant conditionals.
29895         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
29896         * libio/stdio.h: Update #endif comments.
29897         [__USE_MISC]: Remove redundant conditionals.
29898         * math/bits/math-finite.h [__USE_MISC]: Likewise.
29899         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
29900         * math/math.h: Update #else and #endif comments.
29901         [__USE_MISC]: Remove redundant conditionals.
29902         * misc/sys/uio.h: Update #endif comments.
29903         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
29904         * posix/glob.h [__USE_MISC]: Likewise.
29905         * posix/sys/types.h: Update #endif comments.
29906         [__USE_MISC]: Remove redundant conditionals.
29907         * posix/sys/wait.h: Update #endif comments.
29908         [__USE_MISC]: Remove redundant conditionals.
29909         * posix/unistd.h: Update #endif comments.
29910         [__USE_MISC]: Remove redundant conditionals.
29911         * pwd/pwd.h [__USE_GNU]: Likewise.
29912         [__USE_MISC]: Likewise.
29913         * resolv/netdb.h [__USE_GNU]: Likewise.
29914         * signal/signal.h: Update #endif comments.
29915         [__USE_MISC]: Remove redundant conditionals.
29916         * stdlib/stdlib.h: Update #else and #endif comments.
29917         [__USE_MISC]: Remove redundant conditionals.
29918         [__USE_GNU]: Likewise.
29919         * string/bits/string2.h [__USE_MISC]: Likewise.
29920         * string/string.h: Update #endif comments.
29921         [__USE_MISC]: Remove redundant conditionals.
29922         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
29923         Likewise.
29924         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
29925         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
29926         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
29927         Likewise.
29928         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
29929         Likewise.
29930         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
29931         comments.
29932         [__USE_MISC]: Remove redundant conditionals.
29933         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
29934         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
29935         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
29936         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
29937         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
29938         Likewise.
29939         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
29940         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
29941         Likewise.
29942         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
29943         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
29944         Likewise.
29945         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
29946         Likewise.
29947         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
29948         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
29949         Likewise.
29950         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
29951         Likewise.
29952         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
29953         * sysdeps/x86/bits/string.h: Update #endif comments.
29954         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
29955         conditionals.
29956         * time/sys/time.h: Update #endif comments.
29957         * time/time.h: Likewise.
29958         [__USE_MISC]: Remove redundant conditionals.
29960 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
29962         [BZ #16600]
29963         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
29965 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
29967         * Versions.def (librt): Add GLIBC_2.17.
29969 2014-02-21  Adam Conrad  <adconrad@0c3.net>
29971         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
29972         synonym for _SYS_AUXV_H to allow direct inclusion.
29973         * sysdeps/sparc/bits/hwcap.h: Likewise.
29974         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
29975         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
29976         * sysdeps/sparc/sysdep.h: Likewise.
29978 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29980         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
29982 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29984         * benchtests/bench-strrchr.c: Print length instead of position.
29986 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
29988         [BZ #16611]
29989         * sysdeps/unix/sysv/linux/kernel-features.h
29990         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
29991         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
29992         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
29993         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
29994         Likewise.
29995         [__i386__ || __powerpc__ || __sh__ || __sparc__]
29996         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29997         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
29998         (__ASSUME_SENDMMSG): Define instead of using previous
29999         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
30000         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30001         (__ASSUME_SENDMMSG_SYSCALL): Define.
30002         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30003         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
30004         Likewise.
30005         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30006         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30007         Likewise.
30008         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30009         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30010         Likewise.
30011         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
30012         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30013         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30014         [__ASSUME_SENDMMSG]: Change conditionals to
30015         [__ASSUME_SENDMMSG_SOCKETCALL].
30016         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30017         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
30018         Define.
30019         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30020         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
30021         Likewise.
30022         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
30023         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30024         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30025         [!__ASSUME_SENDMMSG]: Change conditional to
30026         [!__ASSUME_SENDMMSG_SOCKETCALL].
30027         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30028         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30029         Define.
30031         [BZ #16610]
30032         * sysdeps/unix/sysv/linux/kernel-features.h
30033         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
30034         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
30035         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
30036         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
30037         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30038         [__i386__ || __sparc__]
30039         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30040         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
30041         (__ASSUME_RECVMMSG): Define instead of using previous
30042         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
30043         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30044         (__ASSUME_RECVMMSG_SYSCALL): Define.
30045         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30046         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30047         Likewise.
30048         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30049         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30050         Likewise.
30051         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30052         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30053         Likewise.
30054         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
30055         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30056         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30057         [__ASSUME_RECVMMSG]: Change condition to
30058         [__ASSUME_RECVMMSG_SOCKETCALL].
30059         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30060         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30061         Define.
30062         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30063         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30064         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30065         Likewise.
30066         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
30067         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30068         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30069         [!__ASSUME_RECVMMSG]: Change condition to
30070         [!__ASSUME_RECVMMSG_SOCKETCALL].
30071         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30072         (__ASSUME_RECVMMSG_SYSCALL): Define.
30074         [BZ #16609]
30075         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
30076         __powerpc__ || __s390__ || __sh__ || __sparc__]
30077         (__ASSUME_SOCKETCALL): Define.
30078         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
30079         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
30080         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
30081         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
30082         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30083         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30084         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
30085         (__ASSUME_ACCEPT4): Define instead of using previous
30086         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
30087         __powerpc__ || __sparc__ || __s390__)] condition.
30088         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30089         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30090         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
30091         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30092         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30093         [!__ASSUME_ACCEPT4]: Change condition to
30094         [!__ASSUME_ACCEPT4_SOCKETCALL].
30095         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30096         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
30097         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
30098         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30099         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
30100         __ASSUME_ACCEPT4_SYSCALL.
30101         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
30102         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
30103         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30104         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
30105         __ASSUME_ACCEPT4_SYSCALL.
30106         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
30107         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30108         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30109         [__ASSUME_ACCEPT4]: Change condition to
30110         [__ASSUME_ACCEPT4_SOCKETCALL].
30111         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30112         (__ASSUME_SOCKETCALL): Define.
30113         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
30114         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30115         (__ASSUME_SOCKETCALL): Define.
30116         (__ASSUME_ACCEPT4): Remove.
30117         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
30118         Define.
30119         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30120         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
30121         Likewise.
30122         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30123         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30125         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
30126         macro.
30127         (HWCAP_ARM_LPAE): Likewise.
30128         (HWCAP_ARM_EVTSTRM): Likewise.
30129         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
30130         Add vpfd32, lpae and evtstrm.
30131         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
30132         Increase to 22.
30134 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
30136         * math/auto-libm-test-in: Add tests of clog10.
30137         * math/auto-libm-test-out: Regenerated.
30138         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
30139         * sysdeps/i386/fpu/libm-test-ulps: Update.
30140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30142 2014-02-18  Andreas Schwab  <schwab@suse.de>
30144         [BZ #16574]
30145         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
30146         Store non-zero if the second buffer was newly allocated.
30147         (send_dg): Likewise.
30148         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
30149         to send_vc and send_dg.
30150         (res_nsend): Pass NULL for ansp2_malloced.
30151         * resolv/res_query.c (__libc_res_nquery): Add parameter
30152         answerp2_malloced and pass it down to __libc_res_nsend.
30153         (res_nquery): Pass additional NULL to __libc_res_nquery.
30154         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
30155         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
30156         second answer buffer if answerp2_malloced was set.
30157         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
30158         (__libc_res_nquerydomain): Add parameter
30159         answerp2_malloced and pass it down to __libc_res_nquery.
30160         (res_nquerydomain): Pass additional NULL to
30161         __libc_res_nquerydomain.
30162         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
30163         additional NULL to __libc_res_nsend and __libc_res_nquery.
30164         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
30165         additional NULL to __libc_res_nsearch.
30166         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
30167         parameter of __libc_res_nsearch to check for separately allocated
30168         second buffer.
30169         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
30170         __libc_res_nquery.
30171         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
30172         additional NULL to __libc_res_nquery.
30173         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
30174         __libc_res_nsearch.
30175         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
30176         * include/resolv.h: Update prototypes of __libc_res_nquery,
30177         __libc_res_nsearch, __libc_res_nsend.
30179 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
30181         * math/auto-libm-test-in: Add tests of fma.
30182         * math/auto-libm-test-out: Regenerated.
30183         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
30184         (fma_towardzero_test_data): Likewise.
30185         (fma_downward_test_data): Likewise.
30186         (fma_upward_test_data): Likewise.
30187         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
30188         mpc_mode.
30189         (rounding_modes): Add values for new field.
30190         (func_calc_method): Add value mpfr_fff_f.
30191         (func_calc_desc): Add mpfr_fff_f union field.
30192         (test_function): Add field exact_args.
30193         (FUNC): Add macro argument EXACT_ARGS.
30194         (FUNC_mpfr_f_f): Update call to FUNC.
30195         (FUNC_mpfr_f_f): Likewise.
30196         (FUNC_mpfr_ff_f): Likewise.
30197         (FUNC_mpfr_if_f): Likewise.
30198         (FUNC_mpc_c_f): Likewise.
30199         (FUNC_mpc_c_c): Likewise.
30200         (test_functions): Add fma.  Update calls to FUNC.
30201         (handle_input_arg): Add argument exact_args.
30202         (add_test): Update call to handle_input_arg.
30203         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
30204         (output_for_one_input_case): Update call to calc_generic_results.
30205         Recalculate exact zero results in each rounding mode.
30207         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
30208         non-negative before setting low bit.
30209         * math/auto-libm-test-in: Mark one asin test possibly having
30210         spurious underflow.
30211         * math/auto-libm-test-out: Regenerated.
30212         * sysdeps/i386/fpu/libm-test-ulps: Update.
30213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30215 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
30217         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
30218         * sysdeps/unix/sysv/linux/microblaze: Move directory from
30219         ports/sysdeps/unix/sysv/linux/microblaze.
30220         * README: Add missing listing for microblaze*-*-linux-gnu.
30222 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
30224         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
30225         duplicate code
30227 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
30229         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
30230         * sysdeps/unix/sysv/linux/ia64: Move directory from
30231         ports/sysdeps/unix/sysv/linux/ia64.
30232         * README: Update listing for ia64-*-linux-gnu.
30234 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
30235             Joseph Myers  <joseph@codesourcery.com>
30237         * Makeconfig (test-name): New variable.
30238         (evaluate-test): Likewise.
30239         * Makerules (do-test-clean): Remove .test-result files.
30240         (common-mostlyclean): Likewise.
30241         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
30242         * scripts/evaluate-test.sh: New file.
30244 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
30246         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
30247         separate $(objpfx)tst-fopenloc-cmp.out and
30248         $(objpfx)tst-fopenloc-mem.out targets.
30249         (tests): Update dependencies.
30250         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
30251         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
30252         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
30253         (tst-rxspencer-no-utf8-ARGS): New variable.
30254         (tst-rxspencer-no-utf8-ENV): Likewise.
30255         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
30256         instead of $(objpfx)tst-rxspencer-mem.
30257         ($(objpfx)tst-rxspencer-mem): Change target to
30258         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
30259         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
30260         * posix/tst-rxspencer-no-utf8.c: New file.
30262         * elf/Makefile ($(objpfx)order.out): Remove rule.
30263         [$(run-built-tests) = yes] (tests): Depend on
30264         $(objpfx)order-cmp.out.
30265         ($(objpfx)order-cmp.out): New rule.
30266         [$(run-built-tests) = yes] (tests): Depend on
30267         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
30268         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
30269         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
30270         $(objpfx)tst-array5-static-cmp.out.
30271         ($(objpfx)tst-array1.out): Remove rule.
30272         ($(objpfx)tst-array1-cmp.out): New rule.
30273         ($(objpfx)tst-array1-static.out): Remove rule.
30274         ($(objpfx)tst-array1-static-cmp.out): New rule.
30275         ($(objpfx)tst-array2.out): Remove rule.
30276         ($(objpfx)tst-array2-cmp.out): New rule.
30277         ($(objpfx)tst-array3.out): Remove rule.
30278         ($(objpfx)tst-array3-cmp.out): New rule.
30279         ($(objpfx)tst-array4.out): Remove rule.
30280         ($(objpfx)tst-array4-cmp.out): New rule.
30281         ($(objpfx)tst-array5.out): Remove rule.
30282         ($(objpfx)tst-array5-cmp.out): New rule.
30283         ($(objpfx)tst-array5-static.out): Remove rule.
30284         ($(objpfx)tst-array5-static-cmp.out): New rule.
30285         [$(run-built-tests) = yes] (tests): Depend on
30286         $(objpfx)order2-cmp.out.
30287         ($(objpfx)order2.out): Remove rule.
30288         ($(objpfx)order2-cmp.out): New rule.
30289         ($(objpfx)tst-initorder.out): Remove rule.
30290         [$(run-built-tests) = yes] (tests): Depend on
30291         $(objpfx)tst-initorder-cmp.out.
30292         ($(objpfx)tst-initorder-cmp.out): New rule.
30293         ($(objpfx)tst-initorder2.out): Remove rule.
30294         [$(run-built-tests) = yes] (tests): Depend on
30295         $(objpfx)tst-initorder2-cmp.out.
30296         ($(objpfx)tst-initorder2-cmp.out): New rule.
30297         [$(run-built-tests) = yes] (tests): Depend on
30298         $(objpfx)tst-unused-dep-cmp.out.
30299         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
30300         ($(objpfx)tst-unused-dep-cmp.out): New rule.
30301         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
30302         on $(objpfx)tst-setvbuf1-cmp.out.
30303         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
30304         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
30305         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
30306         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
30307         ($(objpfx)tst-svc.out): Remove rule.
30308         ($(objpfx)tst-svc-cmp.out): New rule.
30310 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
30312         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
30313         * ctype/ctype.h [__USE_MISC]: Likewise.
30314         * dirent/dirent.h [__USE_MISC]: Likewise.
30315         * grp/grp.h [__USE_MISC]: Likewise.
30316         * io/fcntl.h [__USE_MISC]: Likewise.
30317         * io/sys/stat.h [__USE_MISC]: Likewise.
30318         * libio/stdio.h [__USE_MISC]: Likewise.
30319         * posix/unistd.h [__USE_MISC]: Likewise.
30320         * pwd/pwd.h [__USE_MISC]: Likewise.
30321         * stdlib.h [__USE_MISC]: Likewise.
30322         * string/bits/string2.h [__USE_MISC]: Likewise.
30323         * string/string.h [__USE_MISC]: Likewise.
30324         * time/time.h [__USE_MISC]: Likewise.
30326 2014-02-13  Andreas Schwab  <schwab@suse.de>
30328         [BZ #16574]
30329         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
30330         second answer buffer if it was separately allocated.
30332 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
30334         * sysdeps/mips/math-tests.h: Include <features.h>.
30335         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30336         (ROUNDING_TESTS_long_double): Do not define.
30337         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30338         (EXCEPTION_TESTS_long_double): Likewise.
30339         * sysdeps/mips/mips64/libm-test-ulps: Update.
30341         * include/features.h (__USE_BSD): Remove macro definitions.
30342         (__USE_SVID): Likewise.
30343         (_BSD_SOURCE): Likewise.
30344         (_SVID_SOURCE): Likewise.
30345         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
30346         from definition of _DEFAULT_SOURCE.
30347         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
30348         [_DEFAULT_SOURCE].
30349         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
30350         * bits/mman.h [__USE_BSD]: Likewise.
30351         * bits/termios.h [__USE_BSD]: Likewise.
30352         * bits/waitstatus.h [__USE_BSD]: Likewise.
30353         * ctype/ctype.h [__USE_SVID]: Likewise.
30354         * dirent/dirent.h [__USE_BSD]: Likewise.
30355         * grp/grp.h [__USE_SVID]: Likewise.
30356         [__USE_BSD]: Likewise.
30357         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
30358         * io/fcntl.h [__USE_BSD]: Likewise.
30359         * io/ftw.h [__USE_BSD]: Likewise.
30360         * io/sys/stat.h [__USE_BSD]: Likewise.
30361         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
30362         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
30363         * libio/stdio.h [__USE_SVID]: Likewise.
30364         [__USE_BSD]: Likewise.
30365         * math/math.h [__USE_SVID]: Likewise.
30366         [__USE_BSD]: Likewise.
30367         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
30368         * misc/bits/syslog.h [__USE_BSD]: Likewise.
30369         * misc/search.h [__USE_SVID]: Likewise.
30370         * misc/sys/mman.h [__USE_BSD]: Likewise.
30371         * misc/sys/syslog.h [__USE_BSD]: Likewise.
30372         * misc/sys/uio.h [__USE_BSD]: Likewise.
30373         * posix/bits/unistd.h [__USE_BSD]: Likewise.
30374         * posix/glob.h [__USE_BSD]: Likewise.
30375         * posix/regex.h [__USE_BSD]: Likewise.
30376         * posix/sys/types.h [__USE_BSD]: Likewise.
30377         [__USE_SVID]: Likewise.
30378         * posix/sys/utsname.h [__USE_SVID]: Likewise.
30379         * posix/sys/wait.h [__USE_BSD]: Likewise.
30380         [__USE_SVID]: Likewise.
30381         * posix/unistd.h [__USE_BSD]: Likewise.
30382         [__USE_SVID]: Likewise.
30383         * pwd/pwd.h [__USE_SVID]: Likewise.
30384         * resolv/netdb.h [__USE_BSD]: Likewise.
30385         * setjmp/setjmp.h [__USE_BSD]: Likewise.
30386         * signal/signal.h [__USE_BSD]: Likewise.
30387         [__USE_SVID]: Likewise.
30388         * socket/sys/socket.h [__USE_BSD]: Likewise.
30389         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
30390         * stdlib/stdlib.h [__USE_BSD]: Likewise.
30391         [__USE_SVID]: Likewise.
30392         * string/bits/string2.h [__USE_BSD]: Likewise.
30393         [__USE_SVID]: Likewise.
30394         * string/bits/string3.h [__USE_BSD]: Likewise.
30395         * string/endian.h [__USE_BSD]: Likewise.
30396         * string/string.h [__USE_SVID]: Likewise.
30397         [__USE_BSD]: Likewise.
30398         * string/strings.h [__USE_BSD]: Likewise.
30399         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
30400         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
30401         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
30402         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
30403         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
30404         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
30405         Likewise.
30406         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
30407         Likewise.
30408         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
30409         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
30410         Likewise.
30411         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
30412         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
30413         Likewise.
30414         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
30415         Likewise.
30416         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
30417         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
30418         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
30419         Likewise.
30420         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
30421         Likewise.
30422         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
30423         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
30424         * termios/termios.h [__USE_BSD]: Likewise.
30425         * time/sys/time.h [__USE_BSD]: Likewise.
30426         * time/time.h [__USE_BSD]: Likewise.
30427         [__USE_SVID]: Likewise.
30429         * Makefile (subdir_targets): Remove subdir_lint.out.
30431         * stdio-common/Makefile (do-tst-unbputc): Remove target.
30432         (do-tst-printf): Likewise.
30433         (tests): Depend directly on $(objpfx)tst-unbputc.out and
30434         $(objpfx)tst-printf.out.
30436         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
30438         * Makerules (check-abi-%): Change target to
30439         $(objpfx)check-abi-%.out.
30440         (check-abi target): Update dependencies.
30441         (check-abi-pattern variable): Redirect output of diff to $@.
30442         (check-abi variable): Likewise.
30443         * elf/Makefile (check-abi): Update dependencies.
30445         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
30446         unused.
30447         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
30448         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
30449         subnormal range.
30450         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
30451         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
30452         value has largest subnormal exponent.
30453         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
30454         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
30455         * sysdeps/aarch64/soft-fp/sfp-machine.h
30456         (_FP_TININESS_AFTER_ROUNDING): New macro.
30457         * sysdeps/alpha/soft-fp/sfp-machine.h
30458         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30459         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30460         Likewise.
30461         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
30462         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30463         * sysdeps/mips/soft-fp/sfp-machine.h
30464         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30465         * sysdeps/powerpc/soft-fp/sfp-machine.h
30466         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30467         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30468         Likewise.
30469         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30470         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30471         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30472         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30473         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30474         Likewise.
30476 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
30478         [BZ #16545]
30479         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
30480         model 1.
30482 2014-02-12  Richard Henderson  <rth@redhat.com>
30484         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
30485         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
30486         * sysdeps/unix/sysv/linux/alpha: Move directory from
30487         ports/sysdeps/unix/sysv/linux/alpha.
30488         * README: Update listing for alpha-*-linux-gnu.
30490 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
30492         * include/features.h: Update comment documenting feature test
30493         macros.
30494         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
30495         _DEFAULT_SOURCE.
30496         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
30497         (_SVID_SOURCE): Likewise.
30498         (_DEFAULT_SOURCE): Update description of default features.
30499         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
30500         with _GNU_SOURCE.
30501         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
30502         (S_ISVTX): Likewise.
30503         * manual/math.texi (Mathematical Constants): Likewise.
30504         * manual/signal.texi (Interrupted Primitives): Likewise.
30505         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
30506         * math/test-matherr.c (_SVID_SOURCE): Do not define.
30507         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
30508         Don't refer to _SVID_SOURCE in warning text.
30510         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30512         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
30513         already defined.
30514         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
30515         * sysdeps/mips/dl-lookup.c: Remove.
30516         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
30518 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30520         [BZ #16447]
30521         * math/auto-libm-test-in: Add testcase for expl.
30522         * math/auto-libm-test-out: Regenerate.
30523         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
30524         calculation of unsafe.
30525         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
30527 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30529         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
30530         * sysdeps/unix/sysv/linux/aarch64: Move directory from
30531         ports/sysdeps/unix/sysv/linux/aarch64.
30532         * README: Update listing for aarch64*-*-linux-gnu.
30534 2014-02-11  Will Newton  <will.newton@linaro.org>
30536         * manual/probes.texi (Mathematical Function Probes): Use
30537         "triggered" instead of "hit".
30539         * manual/probes.texi (Internal Probes): Add documentation
30540         of setjmp, longjmp and longjmp_target probes.
30542         * include/stap-probe.h: Add comment about probe argument
30543         format.
30545         * malloc/mtrace.c (attribute_hidden): Remove unused macro
30546         definition.  (tr_where, tr_freehook, tr_mallochook,
30547         tr_reallochook, tr_memalignhook): Use ANSI protoype.
30549 2014-02-11  David S. Miller  <davem@davemloft.net>
30551         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
30552         processing int_tests.
30554 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
30556         * sysdeps/mips: Move directory from ports/sysdeps/mips.
30557         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
30558         * sysdeps/unix/sysv/linux/mips: Move directory from
30559         ports/sysdeps/unix/sysv/linux/mips.
30560         * README: Update listing for mips-*-linux-gnu and
30561         mips64-*-linux-gnu.
30563 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
30565         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
30566         * sysdeps/unix/sysv/linux/m68k: Move directory from
30567         ports/sysdeps/unix/sysv/linux/m68k.
30568         * README: Update listing for m68k-*-linux-gnu.
30570 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
30572         * sysdeps/tile: Move directory from ports/sysdeps/tile.
30573         * sysdeps/unix/sysv/linux/generic: Move directory from
30574         ports/sysdeps/unix/sysv/linux/generic.
30575         * sysdeps/unix/sysv/linux/tile: Move directory from
30576         ports/sysdeps/unix/sysv/linux/tile.
30577         * README: Update listing for tile*-*-linux-gnu.
30579 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
30581         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
30582         __builtin_expect.
30583         * benchtests/bench-memmem.c (simple_memmem): Likewise.
30584         * catgets/open_catalog.c (__open_catalog): Likewise.
30585         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
30586         * debug/confstr_chk.c: Likewise.
30587         * debug/fread_chk.c (__fread_chk): Likewise.
30588         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
30589         * debug/getgroups_chk.c: Likewise.
30590         * debug/mbsnrtowcs_chk.c: Likewise.
30591         * debug/mbsrtowcs_chk.c: Likewise.
30592         * debug/mbstowcs_chk.c: Likewise.
30593         * debug/memcpy_chk.c: Likewise.
30594         * debug/memmove_chk.c: Likewise.
30595         * debug/mempcpy_chk.c: Likewise.
30596         * debug/memset_chk.c: Likewise.
30597         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30598         * debug/strcat_chk.c (__strcat_chk): Likewise.
30599         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
30600         * debug/strncat_chk.c (__strncat_chk): Likewise.
30601         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
30602         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
30603         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
30604         * debug/wcpncpy_chk.c: Likewise.
30605         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30606         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
30607         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
30608         * debug/wcsncpy_chk.c: Likewise.
30609         * debug/wcsnrtombs_chk.c: Likewise.
30610         * debug/wcsrtombs_chk.c: Likewise.
30611         * debug/wcstombs_chk.c: Likewise.
30612         * debug/wmemcpy_chk.c: Likewise.
30613         * debug/wmemmove_chk.c: Likewise.
30614         * debug/wmempcpy_chk.c: Likewise.
30615         * debug/wmemset_chk.c: Likewise.
30616         * dirent/scandirat.c (SCANDIRAT): Likewise.
30617         * dlfcn/dladdr1.c (dladdr1): Likewise.
30618         * dlfcn/dladdr.c (dladdr): Likewise.
30619         * dlfcn/dlclose.c (dlclose_doit): Likewise.
30620         * dlfcn/dlerror.c (__dlerror): Likewise.
30621         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
30622         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
30623         * dlfcn/dlopen.c (dlopen_doit): Likewise.
30624         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
30625         * dlfcn/dlsym.c (dlsym_doit): Likewise.
30626         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
30627         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
30628         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
30629         Likewise.
30630         * elf/dl-conflict.c: Likewise.
30631         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30632         * elf/dl-dst.h: Likewise.
30633         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
30634         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
30635         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30636         * elf/dl-init.c (call_init, _dl_init): Likewise.
30637         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
30638         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
30639         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
30640         Likewise.
30641         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
30642         Likewise.
30643         * elf/dl-minimal.c (__libc_memalign): Likewise.
30644         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
30645         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30646         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
30647         * elf/dl-sym.c (do_sym): Likewise.
30648         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
30649         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
30650         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
30651         * elf/dl-writev.h (_dl_writev): Likewise.
30652         * elf/ldconfig.c (search_dir): Likewise.
30653         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
30654         (dl_main): Likewise.
30655         * elf/setup-vdso.h (setup_vdso): Likewise.
30656         * grp/compat-initgroups.c (compat_call): Likewise.
30657         * grp/fgetgrent.c (fgetgrent): Likewise.
30658         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
30659         * grp/putgrent.c (putgrent): Likewise.
30660         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30661         Likewise.
30662         * hurd/hurdinit.c: Likewise.
30663         * iconvdata/8bit-gap.c (struct): Likewise.
30664         * iconvdata/ansi_x3.110.c : Likewise.
30665         * iconvdata/big5.c : Likewise.
30666         * iconvdata/big5hkscs.c : Likewise.
30667         * iconvdata/cp1255.c: Likewise.
30668         * iconvdata/cp1258.c : Likewise.
30669         * iconvdata/cp932.c : Likewise.
30670         * iconvdata/euc-cn.c: Likewise.
30671         * iconvdata/euc-jisx0213.c : Likewise.
30672         * iconvdata/euc-jp.c: Likewise.
30673         * iconvdata/euc-jp-ms.c : Likewise.
30674         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
30675         * iconvdata/gb18030.c : Likewise.
30676         * iconvdata/gbbig5.c (const): Likewise.
30677         * iconvdata/gbgbk.c: Likewise.
30678         * iconvdata/gbk.c : Likewise.
30679         * iconvdata/ibm1364.c : Likewise.
30680         * iconvdata/ibm930.c : Likewise.
30681         * iconvdata/ibm932.c: Likewise.
30682         * iconvdata/ibm933.c : Likewise.
30683         * iconvdata/ibm935.c : Likewise.
30684         * iconvdata/ibm937.c : Likewise.
30685         * iconvdata/ibm939.c : Likewise.
30686         * iconvdata/ibm943.c: Likewise.
30687         * iconvdata/iso_11548-1.c: Likewise.
30688         * iconvdata/iso-2022-cn.c : Likewise.
30689         * iconvdata/iso-2022-cn-ext.c : Likewise.
30690         * iconvdata/iso-2022-jp-3.c: Likewise.
30691         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
30692         * iconvdata/iso-2022-kr.c : Likewise.
30693         * iconvdata/iso646.c (gconv_end): Likewise.
30694         * iconvdata/iso_6937-2.c : Likewise.
30695         * iconvdata/iso_6937.c : Likewise.
30696         * iconvdata/iso8859-1.c: Likewise.
30697         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
30698         * iconvdata/shift_jisx0213.c : Likewise.
30699         * iconvdata/sjis.c : Likewise.
30700         * iconvdata/t.61.c : Likewise.
30701         * iconvdata/tcvn5712-1.c : Likewise.
30702         * iconvdata/tscii.c: Likewise.
30703         * iconvdata/uhc.c : Likewise.
30704         * iconvdata/unicode.c (gconv_end): Likewise.
30705         * iconvdata/utf-16.c (gconv_end): Likewise.
30706         * iconvdata/utf-32.c (gconv_end): Likewise.
30707         * iconvdata/utf-7.c (base64): Likewise.
30708         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30709         * iconv/gconv_close.c (__gconv_close): Likewise.
30710         * iconv/gconv_open.c (__gconv_open): Likewise.
30711         * iconv/gconv_simple.c (internal_ucs4_loop_single)
30712         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
30713         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
30714         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
30715         (ucs4le_internal_loop_single): Likewise.
30716         * iconv/iconv.c (iconv): Likewise.
30717         * iconv/iconv_close.c: Likewise.
30718         * iconv/loop.c (SINGLE): Likewise.
30719         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
30720         * include/atomic.h: Likewise.
30721         * inet/inet6_option.c (option_alloc): Likewise.
30722         * intl/bindtextdom.c (set_binding_values): Likewise.
30723         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
30724         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
30725         * intl/localealias.c (read_alias_file): Likewise.
30726         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30727         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
30728         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
30729         * libio/fmemopen.c (fmemopen): Likewise.
30730         * libio/iofgets.c (_IO_fgets): Likewise.
30731         * libio/iofgets_u.c (fgets_unlocked): Likewise.
30732         * libio/iofgetws.c (fgetws): Likewise.
30733         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
30734         * libio/iogetdelim.c (_IO_getdelim): Likewise.
30735         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
30736         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
30737         * locale/findlocale.c (_nl_find_locale): Likewise.
30738         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30739         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
30740         Likewise.
30741         * locale/setlocale.c (setlocale): Likewise.
30742         * login/programs/pt_chown.c (main): Likewise.
30743         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
30744         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
30745         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
30746         (mmap, mmap64, mremap, munmap): Likewise.
30747         * math/e_exp2l.c: Likewise.
30748         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
30749         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
30750         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
30751         * math/s_catan.c (__catan): Likewise.
30752         * math/s_catanf.c (__catanf): Likewise.
30753         * math/s_catanh.c (__catanh): Likewise.
30754         * math/s_catanhf.c (__catanhf): Likewise.
30755         * math/s_catanhl.c (__catanhl): Likewise.
30756         * math/s_catanl.c (__catanl): Likewise.
30757         * math/s_ccosh.c (__ccosh): Likewise.
30758         * math/s_ccoshf.c (__ccoshf): Likewise.
30759         * math/s_ccoshl.c (__ccoshl): Likewise.
30760         * math/s_cexp.c (__cexp): Likewise.
30761         * math/s_cexpf.c (__cexpf): Likewise.
30762         * math/s_cexpl.c (__cexpl): Likewise.
30763         * math/s_clog10.c (__clog10): Likewise.
30764         * math/s_clog10f.c (__clog10f): Likewise.
30765         * math/s_clog10l.c (__clog10l): Likewise.
30766         * math/s_clog.c (__clog): Likewise.
30767         * math/s_clogf.c (__clogf): Likewise.
30768         * math/s_clogl.c (__clogl): Likewise.
30769         * math/s_csin.c (__csin): Likewise.
30770         * math/s_csinf.c (__csinf): Likewise.
30771         * math/s_csinh.c (__csinh): Likewise.
30772         * math/s_csinhf.c (__csinhf): Likewise.
30773         * math/s_csinhl.c (__csinhl): Likewise.
30774         * math/s_csinl.c (__csinl): Likewise.
30775         * math/s_csqrt.c (__csqrt): Likewise.
30776         * math/s_csqrtf.c (__csqrtf): Likewise.
30777         * math/s_csqrtl.c (__csqrtl): Likewise.
30778         * math/s_ctan.c (__ctan): Likewise.
30779         * math/s_ctanf.c (__ctanf): Likewise.
30780         * math/s_ctanh.c (__ctanh): Likewise.
30781         * math/s_ctanhf.c (__ctanhf): Likewise.
30782         * math/s_ctanhl.c (__ctanhl): Likewise.
30783         * math/s_ctanl.c (__ctanl): Likewise.
30784         * math/w_pow.c: Likewise.
30785         * math/w_powf.c: Likewise.
30786         * math/w_powl.c: Likewise.
30787         * math/w_scalb.c (sysv_scalb): Likewise.
30788         * math/w_scalbf.c (sysv_scalbf): Likewise.
30789         * math/w_scalbl.c (sysv_scalbl): Likewise.
30790         * misc/error.c (error_tail): Likewise.
30791         * misc/pselect.c (__pselect): Likewise.
30792         * nis/nis_callback.c (__nis_create_callback): Likewise.
30793         * nis/nis_call.c (__nisfind_server): Likewise.
30794         * nis/nis_creategroup.c (nis_creategroup): Likewise.
30795         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
30796         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
30797         * nis/nis_getservlist.c (nis_getservlist): Likewise.
30798         * nis/nis_lookup.c (nis_lookup): Likewise.
30799         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
30800         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
30801         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
30802         * nis/nis_xdr.c (xdr_endpoint): Likewise.
30803         * nis/nss_compat/compat-grp.c (getgrent_next_file)
30804         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
30805         * nis/nss_compat/compat-initgroups.c (add_group)
30806         (internal_getgrent_r): Likewise.
30807         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
30808         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
30809         * nis/nss_compat/compat-spwd.c (getspent_next_file)
30810         (internal_getspnam_r): Likewise.
30811         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
30812         (_nss_nis_getaliasbyname_r): Likewise.
30813         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
30814         (_nss_nis_getntohost_r): Likewise.
30815         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
30816         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
30817         (_nss_nis_getgrgid_r): Likewise.
30818         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
30819         (internal_nis_gethostent_r, internal_gethostbyname2_r)
30820         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
30821         (_nss_nis_gethostbyname4_r): Likewise.
30822         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
30823         (initgroups_netid): Likewise.
30824         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
30825         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
30826         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
30827         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
30828         (_nss_nis_getprotobynumber_r): Likewise.
30829         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
30830         (_nss_nis_getsecretkey): Likewise.
30831         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
30832         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
30833         (_nss_nis_getpwuid_r): Likewise.
30834         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
30835         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
30836         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
30837         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
30838         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
30839         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
30840         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
30841         Likewise.
30842         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
30843         (_nss_nisplus_getntohost_r): Likewise.
30844         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
30845         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
30846         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
30847         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
30848         Likewise.
30849         * nis/nss_nisplus/nisplus-initgroups.c
30850         (_nss_nisplus_initgroups_dyn): Likewise.
30851         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
30852         (_nss_nisplus_getnetbyaddr_r): Likewise.
30853         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
30854         (_nss_nisplus_getprotobynumber_r): Likewise.
30855         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
30856         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
30857         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
30858         Likewise.
30859         * nis/nss_nisplus/nisplus-service.c
30860         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
30861         (_nss_nisplus_getservbyport_r): Likewise.
30862         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
30863         (_nss_nisplus_getspnam_r): Likewise.
30864         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
30865         Likewise.
30866         * nscd/aicache.c (addhstaiX): Likewise.
30867         * nscd/cache.c (cache_search, prune_cache): Likewise.
30868         * nscd/connections.c (register_traced_file, send_ro_fd)
30869         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
30870         (main_loop_epoll): Likewise.
30871         * nscd/grpcache.c (addgrbyX): Likewise.
30872         * nscd/hstcache.c (addhstbyX): Likewise.
30873         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30874         * nscd/mem.c (gc, mempool_alloc): Likewise.
30875         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
30876         (addinnetgrX): Likewise.
30877         * nscd/nscd-client.h (__nscd_acquire_maplock)
30878         (__nscd_drop_map_ref): Likewise.
30879         * nscd/nscd_getai.c (__nscd_getai): Likewise.
30880         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30881         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
30882         Likewise.
30883         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30884         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30885         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
30886         (__nscd_get_map_ref): Likewise.
30887         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30888         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
30889         Likewise.
30890         * nscd/pwdcache.c (addpwbyX): Likewise.
30891         * nscd/selinux.c (preserve_capabilities): Likewise.
30892         * nscd/servicescache.c (addservbyX): Likewise.
30893         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
30894         * posix/fnmatch.c (fnmatch): Likewise.
30895         * posix/getopt.c (_getopt_internal_r): Likewise.
30896         * posix/glob.c (glob, glob_in_dir): Likewise.
30897         * posix/wordexp.c (exec_comm_child): Likewise.
30898         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
30899         (getanswer_r, gaih_getanswer_slice): Likewise.
30900         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
30901         * resolv/res_init.c: Likewise.
30902         * resolv/res_mkquery.c (res_nmkquery): Likewise.
30903         * resolv/res_query.c (__libc_res_nquery): Likewise.
30904         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
30905         Likewise.
30906         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
30907         * stdio-common/perror.c (perror): Likewise.
30908         * stdio-common/printf_fp.c (___printf_fp): Likewise.
30909         * stdio-common/tmpnam.c (tmpnam): Likewise.
30910         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30911         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30912         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30913         Likewise.
30914         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
30915         * stdlib/putenv.c (putenv): Likewise.
30916         * stdlib/setenv.c (__add_to_environ): Likewise.
30917         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30918         * stdlib/strtol_l.c (INTERNAL): Likewise.
30919         * string/memmem.c (memmem): Likewise.
30920         * string/strerror.c (strerror): Likewise.
30921         * string/strnlen.c (__strnlen): Likewise.
30922         * string/test-memmem.c (simple_memmem): Likewise.
30923         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
30924         * sunrpc/pm_getport.c (__get_socket): Likewise.
30925         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
30926         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
30927         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
30928         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
30929         Likewise.
30930         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30931         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30932         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
30933         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
30934         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
30935         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
30936         Likewise.
30937         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
30938         Likewise.
30939         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30940         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30941         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30942         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30943         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
30945         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30946         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
30947         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
30948         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
30949         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30950         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
30951         Likewise.
30952         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
30953         Likewise.
30954         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
30955         Likewise.
30956         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
30957         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30958         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
30959         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
30960         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30961         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
30962         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30963         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
30964         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
30965         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
30966         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
30967         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30968         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30969         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
30970         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30971         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30972         Likewise.
30973         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
30974         Likewise.
30975         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
30976         Likewise.
30977         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
30978         Likewise.
30979         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30980         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30981         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
30982         Likewise.
30983         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
30984         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
30985         * sysdeps/posix/opendir.c (__opendirat): Likewise.
30986         * sysdeps/posix/sleep.c: Likewise.
30987         * sysdeps/posix/tempname.c: Likewise.
30988         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
30989         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30990         Likewise.
30991         * sysdeps/powerpc/powerpc32/dl-machine.h
30992         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
30993         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30994         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30995         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
30996         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
30997         Likewise.
30998         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
30999         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
31000         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31001         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
31002         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31003         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
31004         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
31005         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
31006         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31007         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
31008         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
31009         (elf_machine_lazy_rel): Likewise.
31010         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31011         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
31012         (elf_machine_lazy_rel): Likewise.
31013         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
31014         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
31015         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
31016         * sysdeps/unix/grantpt.c (grantpt): Likewise.
31017         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
31018         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
31019         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31020         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31021         Likewise.
31022         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
31023         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
31024         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
31025         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
31026         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31027         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31028         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
31029         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
31030         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
31031         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31032         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31033         Likewise.
31034         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
31035         (__posix_fallocate64_l64): Likewise.
31036         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
31037         (posix_fallocate): Likewise.
31038         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
31039         Likewise.
31040         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31041         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
31042         (getifaddrs_internal): Likewise.
31043         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
31044         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
31045         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
31046         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31047         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31048         (__posix_fallocate64_l64): Likewise.
31049         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31050         Likewise.
31051         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
31052         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
31053         (__get_clockfreq): Likewise.
31054         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
31055         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31056         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
31057         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31058         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31059         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
31060         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
31061         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
31062         Likewise.
31063         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
31064         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
31065         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31066         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
31067         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31068         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
31069         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
31070         Likewise.
31071         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31072         (posix_fallocate): Likewise.
31073         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31074         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
31075         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
31076         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
31077         (elf_machine_rela, elf_machine_rela_relative)
31078         (elf_machine_lazy_rel): Likewise.
31079         * time/asctime.c (asctime_internal): Likewise.
31080         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
31081         * time/tzset.c (__tzset_parse_tz): Likewise.
31082         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31083         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31084         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
31085         * wcsmbs/wcsmbsload.h: Likewise.
31087         [BZ #15894]
31088         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
31090         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
31091         (arena_get2): Remove THREAD_STATS conditionals.
31092         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
31093         (__malloc_stats, int): Likewise.
31095 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
31097         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
31098         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
31100         * manual/setjmp.texi: Fix typos/grammar errors.
31102         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
31103         Only return early when n is <= 0.  Delete unused return statement.
31105         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
31106         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31107         * debug/tst-longjmp_chk3.c: New file.
31109         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
31110         (test_main): Replace code with set_fortify_handler call.
31111         * debug/test-strcpy_chk.c: Likewise.
31112         * debug/tst-chk1.c: Likewise.
31113         * debug/tst-longjmp_chk.c: Likewise.
31114         * test-skeleton.c: Include fcntl.h & paths.h
31115         (set_fortify_handler): Define.
31117         * debug/tst-longjmp_chk.c: Add header comment and include
31118         ../test-skeleton.c.
31119         (do_test): Mark static.
31120         (TEST_FUNCTION): Define.
31122         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
31123         (IP_PMTUDISC_INTERFACE): Likewise.
31124         (IP_MULTICAST_IF): Likewise.
31125         (IP_MULTICAST_TTL): Likewise.
31126         (IP_MULTICAST_LOOP): Likewise.
31127         (IP_ADD_MEMBERSHIP): Likewise.
31128         (IP_DROP_MEMBERSHIP): Likewise.
31129         (IP_UNBLOCK_SOURCE): Likewise.
31130         (IP_BLOCK_SOURCE): Likewise.
31131         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
31132         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31133         (IP_MSFILTER): Likewise.
31134         (MCAST_JOIN_GROUP): Likewise.
31135         (MCAST_BLOCK_SOURCE): Likewise.
31136         (MCAST_UNBLOCK_SOURCE): Likewise.
31137         (MCAST_LEAVE_GROUP): Likewise.
31138         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31139         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31140         (MCAST_MSFILTER): Likewise.
31141         (IP_MULTICAST_ALL): Likewise.
31142         (IP_UNICAST_IF): Likewise.
31144         * timezone/Makefile: Delete $(have-ksh) check.
31145         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
31146         * timezone/tzselect.ksh: Add +x mode bits.
31148         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
31149         (ANON_INODE_FS_MAGIC): Likewise.
31150         (BDEVFS_MAGIC): Likewise.
31151         (BINFMTFS_MAGIC): Likewise.
31152         (BTRFS_TEST_MAGIC): Likewise.
31153         (CRAMFS_MAGIC_WEND): Likewise.
31154         (DEBUGFS_MAGIC): Likewise.
31155         (ECRYPTFS_SUPER_MAGIC): Likewise.
31156         (EXT3_SUPER_MAGIC): Likewise.
31157         (EXT4_SUPER_MAGIC): Likewise.
31158         (FUTEXFS_SUPER_MAGIC): Likewise.
31159         (HOSTFS_SUPER_MAGIC): Likewise.
31160         (HUGETLBFS_MAGIC): Likewise.
31161         (MINIX3_SUPER_MAGIC): Likewise.
31162         (MTD_INODE_FS_MAGIC): Likewise.
31163         (NILFS_SUPER_MAGIC): Likewise.
31164         (OPENPROM_SUPER_MAGIC): Likewise.
31165         (PIPEFS_MAGIC): Likewise.
31166         (PSTOREFS_MAGIC): Likewise.
31167         (QNX6_SUPER_MAGIC): Likewise.
31168         (RAMFS_MAGIC): Likewise.
31169         (REISERFS_SUPER_MAGIC_STRING): Likewise.
31170         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
31171         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
31172         (SECURITYFS_MAGIC): Likewise.
31173         (SELINUX_MAGIC): Likewise.
31174         (SMACK_MAGIC): Likewise.
31175         (SOCKFS_MAGIC): Likewise.
31176         (SQUASHFS_MAGIC): Likewise.
31177         (STACK_END_MAGIC): Likewise.
31178         (TMPFS_MAGIC): Likewise.
31179         (USBDEVICE_SUPER_MAGIC): Likewise.
31180         (V9FS_MAGIC): Likewise.
31181         (XENFS_SUPER_MAGIC): Likewise.
31182         (CRAMFS_MAGIC): Fix typo in comment.
31183         (EXT2_SUPER_MAGIC): Update comment.
31184         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
31186 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
31188         * sysdeps/arm: Move directory from ports/sysdeps/arm.
31189         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
31190         * sysdeps/unix/sysv/linux/arm: Move directory from
31191         ports/sysdeps/unix/sysv/linux/arm.
31192         * README: Update listing for arm-*-linux-gnueabi.
31194         * README: Remove mention of am33.
31196 2014-02-07  Roland McGrath  <roland@hack.frob.com>
31198         * bits/sigset.h (__sigemptyset): Use a statement expression rather
31199         than the comma operator, to avoid "rhs of comma has no effect"
31200         compiler warnings.
31201         (__sigfillset, __sigandset, __sigorset): Likewise.
31202         * include/signal.h (__sigemptyset): Likewise.
31203         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
31205 2014-02-07  Allan McRae  <allan@archlinux.org>
31207         * version.h (RELEASE): Set to "development".
31208         (VERSION): Set to "2.19.90"
31209         * NEWS: Add 2.20 section.
31211 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
31213         [BZ #16529]
31214         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
31216 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31218         * manual/contrib.texi: Update entry for Carlos O'Donell,
31219         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
31221 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
31223         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
31225         * sysdeps/unix/sysv/linux/kernel-features.h
31226         [__LINUX_KERNEL_VERSION >= 0x020621]
31227         (__ASSUME_PROC_PID_TASK_COMM): Define.
31229 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31231         [BZ #16398]
31232         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
31233         conversion when destination buffer does not have enough space.
31234         * libio/tst-ftell-partial-wide.c: New test case.
31235         * libio/Makefile (tests): Add tst-ftell-partial-wide.
31237         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
31238         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
31239         Leonard and Allan McRae.
31241 2014-02-04  David S. Miller  <davem@davemloft.net>
31243         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
31244         32-bit.
31246 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31249         New file
31250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31251         New file
31252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31253         New file.
31254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31255         New file.
31256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31257         New file.
31258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31259         New file.
31260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31261         New file.
31262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31263         New file.
31264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31265         New file.
31266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31267         New file.
31268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31269         New file.
31270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31271         New file.
31272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31273         New file.
31275 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31277         * nptl/shlib-versions: Change powerpc*le start to 2.17.
31278         * shlib-versions: Likewise.
31280 2014-02-04  Roland McGrath  <roland@hack.frob.com>
31281             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31283         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
31284         (abilist-pattern): New variable, set to %-le.abilist.
31286         * Makerules (abilist-pattern): New variable.
31287         (vpath): Use $(abilist-pattern) in place of %.abilist.
31288         (check-abi-% pattern rule): Likewise.
31289         (check-abi, update-abi): Likewise.
31291 2014-02-04  Eric Wong  <normalperson@yhbt.net>
31293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31295 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
31297         * manual/startup.texi: Add next, previous, and top entries for
31298         the `Program Arguments' and `Environment Variables' nodes.
31300 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
31302         * manual/macros.texi: Add comments before MTASC-safety macros.
31304         * manual/users.texi: Document MTASC-safety properties.
31306         * manual/threads.texi (pthread_key_create, pthread_key_delete)
31307         (pthread_getspecific, pthread_setspecific): Format with
31308         @deftypefun, and add @safety note.
31309         * manual/signal.texi: Move comments that analyze the above
31310         functions to their home place.
31312 2014-02-03  Allan McRae  <allan@archlinux.org>
31314         * po/sl.po: Update Slovenian translation from translation project.
31316 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
31318         * manual/time.texi (timegm): Add missing blank after @c.
31319         Reported by Joseph Myers <joseph@codesourcery.com>.
31321 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
31323         * manual/check-safety.sh: New.
31324         * manual/Makefile ($(objpfx)stamp-summary): Run it.
31326         * manual/terminal.texi: Document MTASC-safety properties.
31328         * manual/filesys.texi: Document MTASC-safety properties.
31330         * manual/errno.texi: Document MTASC-safety properties.
31332         * manual/intro.texi: Document safety identifiers and
31333         conditionals.
31335         * manual/string.texi (wcstok): Fix prototype.
31336         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
31338         * manual/time.texi: Document MTASC-safety properties.
31340         * manual/string.texi: Document MTASC-safety properties.
31342         * manual/threads.texi: Document MTASC-safety properties.
31344         * manual/stdio.texi: Document MTASC-safety properties.
31346         * manual/syslog.texi: Document MTASC-safety properties.
31348         * manual/sysinfo.texi: Document MTASC-safety properties.
31350         * manual/startup.texi: Document MTASC-safety properties.
31352         * manual/socket.texi: Document MTASC-safety properties.
31354         * manual/signal.texi: Document MTASC-safety properties.
31356 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
31358         * manual/setjmp.texi: Document MTASC-safety properties.
31360         * manual/search.texi: Document MTASC-safety properties.
31362         * manual/resource.texi: Document MTASC-safety properties.
31364         * manual/process.texi: Document MTASC-safety properties.
31366         * manual/platform.texi: Document MTASC-safety properties.
31368         * manual/pipe.texi: Document MTASC-safety properties.
31370         * manual/pattern.texi: Document MTASC-safety properties.
31372         * manual/message.texi: Document MTASC-safety properties.
31374         [BZ #12751]
31375         * manual/memory.texi: Document MTASC-safety properties.
31377         * manual/math.texi: Document MTASC-safety properties.
31379         * manual/locale.texi: Document MTASC-safety properties.
31381         * manual/llio.texi: Document MTASC-safety properties.
31383         * manual/libdl.texi: New.
31385         * manual/lang.texi: Document MTASC-safety properties.
31387         * manual/job.texi: Document MTASC-safety properties.
31389         * manual/getopt.texi: Document MTASC-safety properties.
31391         * manual/ctype.texi: Document MTASC-safety properties.
31393 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
31395         [BZ #16046]
31396         * csu/libc-tls.c (static_map): Remove variable.
31397         (__libc_setup_tls): Use main executable's link map for TLS data.
31398         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
31399         casing for LM_ID_BASE and GL(dl_nns).
31400         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
31401         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
31402         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
31403         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
31404         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
31405         member.
31406         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
31407         l_phnum members.
31409 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
31411         * manual/debug.texi: Document MTASC-safety properties.
31413 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
31415         [BZ #16510]
31416         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
31417         of __x86_64__ when disabling x87 inline functions.
31419 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
31421         * manual/charset.texi: Document MTASC-safety properties.
31423         * manual/crypt.texi: Document MTASC-safety properties.
31425         * manual/conf.texi: Document MTASC-safety properties.
31427         * manual/arith.texi: Document MTASC-safety properties.
31429         * manual/argp.texi: Document MTASC-safety properties.
31431         * manual/macros.texi: Introduce macros to document multi
31432         thread, asynchronous signal and asynchronous cancellation
31433         safety properties.
31434         * manual/intro.texi: Introduce the properties themselves.
31436 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31438         * sysdeps/sh/sh4/Makefile: New file.
31440 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
31442         * math/gen-libm-test.pl ($srcdir): New variable.
31443         ($auto_input): Use it.
31445 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31447         [BZ #16506]
31448         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
31449         access beyond array bounds when parsing netgroups file.
31451         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
31452         the old buffer before realloc.
31454 2014-01-27  Allan McRae  <allan@archlinux.org>
31456         * po/fr.po: Update French translation from translation project.
31458 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31460         * sysdeps/sh/libm-test-ulps: Regenerate.
31462 2014-01-24  David S. Miller  <davem@davemloft.net>
31464         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
31466 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31468         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
31469         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
31471 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31473         [BZ #16474]
31474         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
31475         string pointers after reallocation.
31477 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31479         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
31480         __SH4A__ instead of __SH_FPU_ANY__.
31482 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31484         * sysdeps/sh/fpu_control.h: New file.
31485         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
31486         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
31487         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
31488         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
31489         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
31490         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
31491         * sysdeps/sh/sys/ucontext.h: Remove.
31492         * sysdeps/sh/sys: Remove directory.
31494 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31496         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
31497         s390/sys/ucontext.h.
31498         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
31499         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
31501 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
31503         [BZ #15605]
31504         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
31506 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31508         [BZ#16431]
31509         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31510         Adjust the vDSO correctly for internal calls.
31511         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
31513 2014-01-20  Allan McRae  <allan@archlinux.org>
31515         * po/ca.po: Update Catalan translation from translation project.
31517 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
31519         * sysdeps/s390/sotruss-lib.c: New file.
31521 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31523         [BZ#16430]
31524         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
31525         (__GI___gettimeofday): Alias for a different internal symbol to avoid
31526         local calls issues by not having a PLT stub required for IFUNC calls.
31527         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
31529 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
31531         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
31532         * math/test-fpucw-static.c: Likewise.
31534 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31536         [BZ #16453]
31537         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
31539 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31541         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
31542         implementation for powerpc.
31544 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
31546         [BZ #14782]
31547         * sysdeps/posix/system.c (__libc_system): Do not enable
31548         asynchronous cancellation.
31550 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31552         [BZ #16427]
31553         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
31554         handling only for numbers special also in the IEEE case.
31556 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31558         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31560 2014-01-11  Allan McRae  <allan@archlinux.org>
31562         * po/bg.po: Update Bulgarian translation from translation project.
31564         * po/de.po: Update German translation from translation project.
31566 2014-01-10  Roland McGrath  <roland@hack.frob.com>
31568         * sysdeps/generic/gcc-compat.h: New file.
31570 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31572         * benchtests/asin-inputs: Correct slow inputs.
31573         * benchtests/acos-inputs: Likewise.
31575 2014-01-10  Allan McRae  <allan@archlinux.org>
31577         * po:sv.po: Update Swedish translation from translation project.
31579         * po/vi.po: Update Vietnamese translation from translation project.
31581         * po/eo.po: Update Esperanto translation from translation project.
31583         * po/cs.po: Update Czech translation from translation project.
31585         * po/nl.po: Update Dutch translation from translation project.
31587         * po/pl.po: Update Polish translation from translation project.
31589         * po/ru.po: Update Russian translation from translation project.
31591         * po/uk.po: Update Ukrainian translation from translation project.
31593 2014-01-08  Brooks Moses  <bmoses@google.com>
31595         * elf/dl-load.c: Fix comment typo.
31597 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
31599         * po/header.pot: Rename to...
31600         * po/pot.header: ... this.
31601         * po/Makefile: Use pot.header.
31603 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
31604             Maxim Kuvyrkov  <maxim@kugelworks.com>
31606         [BZ #16394]
31607         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
31608         SRC and DEST against LEN.
31610 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31612         [BZ #16414]
31613         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
31614         implementation.
31615         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
31617 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31621 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
31623         [BZ #16408]
31624         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
31625         for large positive arguments.
31627 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
31629         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31631         * math/auto-libm-test-in: Mark various tests with
31632         xfail-rounding:ldbl-128ibm.
31633         * math/auto-libm-test-out: Regenerated.
31635         [BZ #16407]
31636         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31637         Increase overflow threshold.
31639 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
31641         [BZ #14286]
31642         * stdio-common/vfprintf.c: Check for integer overflow.
31644 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31646         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
31647         the first argument and return value of __tls_get_addr_internal.
31649 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31651         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
31652         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
31654 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31656         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
31657         * sysdeps/s390/rtld-global-offsets.sym: New file.
31658         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
31659         GLIBC_2.19 symbol.
31660         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
31661         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
31662         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31663         ... this.
31664         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
31665         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31666         ... this.
31667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31668         Regenerate.
31669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31670         Regenerate.
31671         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
31672         halfs of GPRs for high_gprs contexts.
31673         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
31674         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
31675         field.
31676         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
31677         uc_flags field.
31678         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
31679         64 bit versions:
31680         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
31681         for high GPRs (uc_high_gprs) and for future extensions
31682         (__reserved).
31683         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
31684         for future extensions (__reserved).
31685         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
31686         64 bit versions:
31687         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
31688         SC_HIGHGPRS offset definition.
31689         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
31690         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
31692         * Versions.def: Add GLIBC_2.19 for libpthread.
31693         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
31694         siglongjmp for libpthread with GLIBC_2.19 symver.
31695         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
31696         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
31697         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
31698         * sysdeps/s390/__longjmp.c: New file.
31699         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
31700         * sysdeps/s390/longjmp.c: New file.
31701         * sysdeps/s390/setjmp.S: New file.
31702         * sysdeps/s390/sigjmp.S: New file.
31703         * sysdeps/s390/v1-longjmp.c: New file.
31704         * sysdeps/s390/v1-setjmp.h: New file.
31705         * sysdeps/s390/v1-sigjmp.c: New file.
31706         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
31707         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
31708         GLIBC_2.19 version.
31709         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
31710         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
31711         versioned symbols for ____longjmp_chk.
31712         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31713         Likewise.
31714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31715         Regenerate.
31716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31717         Regenerate.
31718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31719         Regenerate.
31720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31721         Regenerate.
31722         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
31723         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
31724         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
31725         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
31726         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
31727         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
31728         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
31729         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
31730         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
31731         * sysdeps/s390/rtld-__longjmp.c: New file.
31732         * sysdeps/s390/rtld-setjmp.S: New file.
31734 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
31736         [BZ #16400]
31737         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31738         Return -__logl (x) for small positive arguments without evaluating
31739         a polynomial.
31741 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
31743         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
31744         Rename to ...
31745         (__ptrace_peeksiginfo_args): ... this.
31746         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31747         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31748         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31750 2014-01-06  Allan McRae  <allan@archlinux.org>
31752         * inet/netinet/in.h: Fix typo in comment.
31754 2014-01-05  Andreas Jaeger  <aj@suse.de>
31756         * sysdeps/i386/fpu/libm-test-ulps: Update.
31758 2014-01-05  Allan McRae  <allan@archlinux.org>
31760         * po/libc.pot: Regenerated.
31762         * malloc/memusagestat.c: Fix gettext call formatting.
31764 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
31766         * nscd/nscd.c: Improve usage() output.
31768 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
31770         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
31771         * sysdeps/unix/sysv/linux/configure: Regenerated.
31772         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
31773         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
31775 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31777         [BZ #16390]
31778         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31779         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
31781 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31783         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
31784         extra tokens at end of #undef directive.
31785         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
31786         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
31787         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
31789 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31791         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31793         * math/auto-libm-test-in: Mark various tests with
31794         xfail-rounding:ldbl-128ibm.
31795         * math/auto-libm-test-out: Regenerated.
31797 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
31799         [BZ #16386]
31800         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
31801         numbers with subnormal high part when calculating exponent.
31803         [BZ #16385]
31804         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
31805         fabs.
31807         [BZ #16384]
31808         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
31809         M_LN2l.
31810         (__ieee754_acoshl): Use __log1pl not __log1p.
31812 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
31814         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
31815         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
31816         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
31817         (grow_heap, heap_trim, _int_new_arena, get_free_list)
31818         (reused_arena, arena_get2): Convert to GNU style.
31819         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
31820         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
31821         (memalign_check, __malloc_set_state): Likewise.
31822         * malloc/mallocbug.c (main): Likewise.
31823         * malloc/malloc.c (__malloc_assert, malloc_init_state)
31824         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
31825         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
31826         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
31827         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
31828         (__posix_memalign, malloc_info): Likewise.
31829         * malloc/malloc.h: Likewise.
31830         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
31831         (mallochook, memalignhook, reallochook, mabort): Likewise.
31832         * malloc/mcheck.h: Likewise.
31833         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
31834         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
31835         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
31836         * malloc/morecore.c (__default_morecore): Likewise.
31837         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
31838         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
31839         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
31840         (print_and_abort): Likewise.
31841         * malloc/obstack.h: Likewise.
31842         * malloc/set-freeres.c (__libc_freeres): Likewise.
31843         * malloc/tst-mallocstate.c (main): Likewise.
31844         * malloc/tst-mtrace.c (main): Likewise.
31845         * malloc/tst-realloc.c (do_test): Likewise.
31847 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31849         [BZ #16366]
31850         * nscd/netgroupcache.c (do_notfound): New function.
31851         (addgetnetgrentX): Use it.
31853         [BZ # 16365]
31854         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
31855         NSS_STATUS_NOTFOUND.
31857 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
31859         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31862 2014-01-01  Allan McRae  <allan@archlinux.org>
31864         * scripts/update-copyrights: Update configure input file suffix.
31866         * NEWS: Update copyright year.
31867         * catgets/gencat.c: Likewise.
31868         * csu/version.c: Likewise.
31869         * debug/catchsegv.sh: Likewise.
31870         * debug/pcprofiledump.c: Likewise.
31871         * debug/xtrace.sh: Likewise.
31872         * elf/ldconfig.c: Likewise.
31873         * elf/ldd.bash.in: Likewise.
31874         * elf/pldd.c: Likewise.
31875         * elf/sotruss.ksh: Likewise.
31876         * elf/sprof.c: Likewise.
31877         * iconv/iconv_prog.c: Likewise.
31878         * iconv/iconvconfig.c: Likewise.
31879         * locale/programs/locale.c: Likewise.
31880         * locale/programs/localedef.c: Likewise.
31881         * login/programs/pt_chown.c: Likewise.
31882         * malloc/memusage.sh: Likewise.
31883         * malloc/memusagestat.c: Likewise.
31884         * malloc/mtrace.pl: Likewise.
31885         * manual/libc.texinfo: Likewise.
31886         * nscd/nscd.c: Likewise.
31887         * nss/getent.c: Likewise.
31888         * nss/makedb.c: Likewise.
31889         * posix/getconf.c: Likewise.
31890         * scripts/test-installation.pl: Likewise.
31892         * All files with FSF copyright notices: Update copyright dates
31893         using scripts/update-copyrights.
31894         * intl/plural.c: Regenerated.
31895         * locale/programs/charmap-kw.h: Likewise.
31896         * locale/programs/locfile-kw.h: Likewise.
31898 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
31900         * sysdeps/unix/sysv/linux/configure: Regenerated.
31901         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
31902         the linux/fanotify.h header.
31903         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
31904         HAVE_LINUX_FANOTIFY_H is defined.
31906 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31908         * benchtests/cos-inputs: New inputs.
31909         * benchtests/sin-inputs: Likewise.
31911         * benchtests/atan-inputs: New inputs. Fix name of multiple
31912         precision fallback inputs.
31914         * benchtests/atanh-inputs: New inputs.
31915         * benchtests/tanh-inputs: Likewise.
31917         * benchtests/acosh-inputs: New inputs.
31918         * benchtests/asinh-inputs: Likewise.
31920         * benchtests/cosh-inputs: New inputs.
31921         * benchtests/sinh-inputs: Likewise.
31923         * benchtests/acos-inputs: Add more inputs.
31924         * benchtests/asin-inputs: Likewise.
31926 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
31928         [BZ #16375]
31929         * manual/arith.texi: Fix spelling.
31930         * manual/charset.texi: Likewise.
31931         * manual/errno.texi: Likewise.
31932         * manual/filesys.texi: Likewise.
31933         * manual/lang.texi: Likewise.
31934         * manual/llio.texi: Likewise.
31935         * manual/locale.texi: Likewise.
31936         * manual/message.texi: Likewise.
31937         * manual/resource.texi: Likewise.
31938         * manual/search.texi: Likewise.
31939         * manual/setjmp.texi: Likewise.
31940         * manual/stdio.texi: Likewise.
31941         * manual/string.texi: Likewise.
31942         * manual/sysinfo.texi: Likewise.
31943         * manual/time.texi: Likewise.
31945 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
31947         * po/sl.po: New file.
31949 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
31951         * .gitignore: Add core/.gdbinit/.gdb_history.
31953 2013-12-27  Allan McRae  <allan@archlinux.org>
31955         [BZ #16369]
31956         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
31957         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
31959 2013-12-24  Brooks Moses  <bmoses@google.com>
31961         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
31962         all compilers that claim C++98 compliance, not just GCC.
31963         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31964         Likewise.
31966 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31968         * NEWS: Restore accidentally deleted bug-fix entries.
31970 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31971             Ondřej Bílka  <neleai@seznam.cz>
31973         [BZ #15073]
31974         * malloc/malloc.c (_int_free): Perform sanity check only if we
31975         have_lock.
31977 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
31979         [BZ #12986]
31980         * manual/stdio.texi (String Input Conversions): Clarify that character
31981         classes are not supported.
31983 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31987 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
31989         [BZ #16337]
31990         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31991         Calculate results for small negative arguments directly rather
31992         than using reflection formula with special underflow handling.
31994         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
31995         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
31996         sysdeps/unix/bsd/bsd4.4/syscalls.list.
31997         (fchflags): Likewise.
31998         (revoke): Likewise.
31999         (setlogin): Likewise.
32000         (sigaltstack): Likewise.
32001         (wait4): Likewise.
32002         (sigblock): Remove.
32003         (sigsetmask): Likewise.
32004         (wait3): Likewise.
32005         (waitpid): Likewise.
32006         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
32007         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32008         file.
32009         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
32010         * sysdeps/unix/bsd/Makefile: ... here.
32011         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
32012         * sysdeps/unix/bsd/Versions: ... here.
32013         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
32014         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
32015         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
32016         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
32017         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
32018         * sysdeps/unix/bsd/sigblock.c: ... here.
32019         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
32020         * sysdeps/unix/bsd/sigsetmask.c: ... here.
32021         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
32022         * sysdeps/unix/bsd/sigvec.c: ... here.
32023         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
32024         * sysdeps/unix/bsd/tcdrain.c: ... here.
32025         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
32026         * sysdeps/unix/bsd/tcgetattr.c: ... here.
32027         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
32028         * sysdeps/unix/bsd/tcsetattr.c: ... here.
32029         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
32030         * sysdeps/unix/bsd/wait.c: ... here.
32031         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
32032         * sysdeps/unix/bsd/wait3.c: ... here.
32033         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
32034         * sysdeps/unix/bsd/waitpid.c: ... here.
32036 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
32038         [BZ #16356]
32039         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
32040         round-to-nearest for [!USE_AS_EXPM1L].
32041         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
32042         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
32043         more tests of exp and exp10.  Expect some exp10 tests to miss
32044         exceptions or fail in directed rounding modes.
32045         * math/auto-libm-test-out: Regenerated.
32046         * math/libm-test.inc (exp10_tonearest_test_data): New array.
32047         (exp10_test_tonearest): New function.
32048         (exp10_towardzero_test_data): New array.
32049         (exp10_test_towardzero): New function.
32050         (exp10_downward_test_data): New array.
32051         (exp10_test_downward): New function.
32052         (exp10_upward_test_data): New array.
32053         (exp10_test_upward): New function.
32054         (main): Call the new functions.
32055         * sysdeps/i386/fpu/libm-test-ulps: Update.
32056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32058 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
32060         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32061         asinh, atan, atan2, atanh, cbrt, cos and cosh.
32062         * math/auto-libm-test-out: Regenerated.
32063         * math/libm-test.inc (acosh_test_data): Add more tests.
32064         (atanh_test_data): Likewise.
32065         (ceil_test_data): Likewise.
32066         (copysign_test_data): Likewise.
32067         * sysdeps/i386/fpu/libm-test-ulps: Update.
32068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32070         * timezone/checktab.awk: Update from tzcode 2013i.
32071         * timezone/private.h: Likewise.
32072         * timezone/scheck.c: Likewise.
32073         * timezone/tzfile.h: Likewise.
32074         * timezone/tzselect.ksh: Likewise.
32075         * timezone/zdump.c: Likewise.
32076         * timezone/zic.c: Likewise.
32078         * math/auto-libm-test-in: Add tests of cpow.
32079         * math/auto-libm-test-out: Regenerated.
32080         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
32081         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32082         mpc_cc_c.
32083         (func_calc_desc): Add mpc_cc_c union field.
32084         (test_functions): Add cpow.
32085         (special_fill_2pi): New function.
32086         (special_real_inputs): Add 2pi.
32087         (calc_generic_results): Handle mpc_cc_c.
32088         * sysdeps/i386/fpu/libm-test-ulps: Update.
32089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32091         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
32092         csqrt, ctan and ctanh.
32093         * math/auto-libm-test-out: Regenerated.
32094         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32095         (TEST_COND_x86): Likewise.
32096         (ccos_test_data): Use AUTO_TESTS_c_c.
32097         (ccosh_test_data): Likewise.
32098         (cexp_test_data): Likewise.
32099         (clog_test_data): Likewise.
32100         (csqrt_test_data): Likewise.
32101         (ctan_test_data): Likewise.
32102         (ctan_tonearest_test_data): Likewise.
32103         (ctan_towardzero_test_data): Likewise.
32104         (ctan_downward_test_data): Likewise.
32105         (ctan_upward_test_data): Likewise.
32106         (ctanh_test_data): Likewise.
32107         (ctanh_tonearest_test_data): Likewise.
32108         (ctanh_towardzero_test_data): Likewise.
32109         (ctanh_downward_test_data): Likewise.
32110         (ctanh_upward_test_data): Likewise.
32111         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32112         mpc_c_c.
32113         (func_calc_desc): Add mpc_c_c union field.
32114         (FUNC_mpc_c_c): New macro.
32115         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
32116         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
32117         ctanh.
32118         (special_fill_min_subnorm_p120): New function.
32119         (special_real_inputs): Add min_subnorm_p120.
32120         (calc_generic_results): Handle mpc_c_c.
32121         * sysdeps/i386/fpu/libm-test-ulps: Update.
32122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32124 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32126         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
32127         (do_sin_slow): New functions.
32128         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
32129         (cslow2, csloww1, csloww2): Use the new functions.
32131         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
32132         Use M to change sign of result instead of X.  Assume X is
32133         positive.
32134         (csloww1): Likewise.
32135         (__sin): Adjust.
32136         (__cos): Adjust.
32138         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
32139         arguments A and DA.
32140         (__sin): Adjust.
32141         (__cos): Likewise.
32143         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
32144         (__cos): Likewise.
32145         (sloww1): Don't adjust sign of DX.
32146         (csloww1): Likewise.
32147         (sloww2): Use X directly and don't adjust sign of DX.
32148         (csloww2): Likewise.
32150 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32152         * math/auto-libm-test-in: Add tests of cabs and carg.
32153         * math/auto-libm-test-out: Regenerated.
32154         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
32155         (carg_test_data): Likewise.
32156         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32157         mpc_c_f.
32158         (func_calc_desc): Add mpc_c_f union field.
32159         (test_functions): Add cabs and carg.
32160         (calc_generic_results): Handle mpc_c_f.
32162         * sysdeps/powerpc/powerpc32/libgcc-compat.S
32163         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
32164         as a macro and a compat symbol.
32165         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32166         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32167         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32168         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32169         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
32170         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
32171         not use .hidden.
32172         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
32173         Likewise.
32174         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
32175         Likewise.
32176         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
32177         Likewise.
32178         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
32179         Likewise.
32180         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
32181         Likewise.
32182         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
32183         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
32184         from GLIBC_2.3.2.
32186 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32190 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32192         * manual/texinfo.tex: Update to version 2013-11-26.10 with
32193         trailing whitespace removed.
32194         * scripts/config.guess: Update to version 2013-11-29.
32195         * scripts/config.sub: Update to version 2013-10-01.
32197         * math/auto-libm-test-in: Add tests of sincos.
32198         * math/auto-libm-test-out: Regenerated.
32199         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
32200         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32201         mpfr_f_11.
32202         (func_calc_desc): Add mpfr_f_11 union field.
32203         (test_functions): Add sincos.
32204         (calc_generic_results): Handle mpfr_f_11.
32205         * sysdeps/i386/fpu/libm-test-ulps: Update.
32206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32208 2013-12-19  Andreas Schwab  <schwab@suse.de>
32210         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
32211         CALL_MCOUNT.
32212         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32213         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
32214         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
32216 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32218         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
32219         * sysdeps/i386/fpu/libm-test-ulps: Update.
32220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32222         [BZ #16293]
32223         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
32224         round-to-nearest mode when using frndint.
32225         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
32226         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32227         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32228         Likewise.
32229         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
32230         sinh test to fail.
32231         * math/auto-libm-test-out: Regenerated.
32232         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
32233         (TEST_COND_x86): Likewise.
32234         (expm1_tonearest_test_data): New array.
32235         (expm1_test_tonearest): New function.
32236         (expm1_towardzero_test_data): New array.
32237         (expm1_test_towardzero): New function.
32238         (expm1_downward_test_data): New array.
32239         (expm1_test_downward): New function.
32240         (expm1_upward_test_data): New array.
32241         (expm1_test_upward): New function.
32242         (main): Run the new test functions.
32243         * sysdeps/i386/fpu/libm-test-ulps: Update.
32244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32246         * include/features.h: Update comment documenting feature test
32247         macros.  Mention _DEFAULT_SOURCE in comment.
32248         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
32249         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
32250         _BSD_SOURCE and _SVID_SOURCE.
32251         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
32252         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
32253         !_SVID_SOURCE]: Likewise.
32254         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32255         (__USE_POSIX_IMPLICITLY): Define.
32256         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32257         (_POSIX_SOURCE): Undefine and redefine.
32258         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32259         (_POSIX_C_SOURCE): Likewise.
32260         * manual/creature.texi (_DEFAULT_SOURCE): Document.
32261         (Feature Test Macros): Update documentation of default features.
32263 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32265         * benchtests/Makefile: Add bench-strtok.
32266         * benchtests/bench-strtok.c: New file: strtok benchtest.
32268 2013-12-19  Allan McRae  <allan@archlinux.org>
32270         * manual/install.texi: Suppress menu for plain text output.
32271         * INSTALL: Regenerated.
32273 2013-12-18  Brooks Moses  <bmoses@google.com>
32275         [BZ #15846]
32276         * misc/getauxval.c: Include errno.h.
32277         (__getauxval): Set errno to ENOENT if the requested type is not
32278         found.
32279         * misc/sys/auxv.h (getauxval): Document that it may set errno;
32280         don't declare with __attribute_const__.
32281         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
32282         * manual/startup.texi: Document that getauxval sets errno.
32284 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32286         * math/auto-libm-test-in: Add tests of jn and yn.
32287         * math/auto-libm-test-out: Regenerated.
32288         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
32289         (yn_test_data): Likewise.
32290         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32291         mpfr_if_f.
32292         (func_calc_desc): Add mpfr_if_f union field.
32293         (FUNC_mpfr_if_f): New macro.
32294         (test_functions): Add jn and yn.
32295         (calc_generic_results): Assert type of second input for
32296         mpfr_ff_f.  Handle mpfr_if_f.
32297         (output_for_one_input_case): Disable all checking for arguments
32298         fitting floating-point types in case of an integer argument.
32299         * sysdeps/i386/fpu/libm-test-ulps: Update.
32300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32303         Don't expect fegetround reference in libm.so.
32305 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32307         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
32308         $(config-cflags-nofma).
32310 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32312         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
32313         * math/auto-libm-test-out: Regenerated.
32315         [BZ #16338]
32316         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
32317         to determine exponent and adjust argument to have exponent of -1.
32318         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
32319         log2.
32320         * math/auto-libm-test-out: Regenerated.
32321         * sysdeps/i386/fpu/libm-test-ulps: Update.
32322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32324 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
32326         * manual/probes.texi: Remove cases when per-thread arenas are
32327         disabled.
32329 2013-12-18  Andreas Schwab  <schwab@suse.de>
32331         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
32332         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
32333         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
32334         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
32335         * sysdeps/i386/i686/multiarch/Makefile: Update.
32336         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
32338 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32340         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
32341         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
32343 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
32345         [BZ #15968]
32346         Support TZ transition times < 00:00:00.
32347         This is needed for version-3 tz-format files; it supports time
32348         stamps past 2037 for America/Godthab (the only entry in the tz
32349         database for which this change is relevant).
32350         * manual/time.texi (TZ Variable): Document transition times
32351         from -167:59:59 through -00:00:01.
32352         * time/tzset.c (tz_rule): Time of day is now signed.
32353         (__tzset_parse_tz): Parse negative time of day.
32355         Document TZ transition times >= 25:00:00.
32356         * manual/time.texi (TZ Variable): Document transition times from
32357         25:00:00 through 167:59:59.  These are already supported, and this
32358         support will help with version-3 tz-format files.
32360         * manual/time.texi (TZ Variable): Modernize North America example
32361         to reflect current (i.e., 2007-and-later) daylight saving rules.
32363         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
32365 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32367         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
32368         * sysdeps/unix/bsd/bits/stat.h: Likewise.
32369         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
32370         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32371         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
32372         * sysdeps/unix/bsd/bsdstat.h: Likewise.
32373         * sysdeps/unix/bsd/clock.c: Likewise.
32374         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
32375         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
32376         * sysdeps/unix/bsd/init-posix.c: Likewise.
32377         * sysdeps/unix/bsd/poll.c: Likewise.
32378         * sysdeps/unix/bsd/ptsname.c: Likewise.
32379         * sysdeps/unix/bsd/seekdir.c: Likewise.
32380         * sysdeps/unix/bsd/setegid.c: Likewise.
32381         * sysdeps/unix/bsd/seteuid.c: Likewise.
32382         * sysdeps/unix/bsd/setgid.c: Likewise.
32383         * sysdeps/unix/bsd/setrgid.c: Likewise.
32384         * sysdeps/unix/bsd/setruid.c: Likewise.
32385         * sysdeps/unix/bsd/setsid.c: Likewise.
32386         * sysdeps/unix/bsd/setuid.c: Likewise.
32387         * sysdeps/unix/bsd/sigaction.c: Likewise.
32388         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
32389         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
32390         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
32391         * sysdeps/unix/bsd/telldir.c: Likewise.
32392         * sysdeps/unix/bsd/times.c: Likewise.
32393         * sysdeps/unix/bsd/usleep.c: Likewise.
32395         * misc/Makefile (install-lib): Remove libbsd-compat.a.
32396         ($(objpfx)libbsd-compat.a): Remove rule.
32398         * include/features.h (__FAVOR_BSD): Do not define.
32399         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
32400         features conflicting with POSIX.
32401         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
32402         (_BSD_SOURCE): Remove description of not being a subset of other
32403         feature test macros.
32404         * manual/job.texi (getpgrp): Do not document BSD version.
32405         (getpgid): Do not document by reference to BSD getpgrp.
32406         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
32407         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
32408         * signal/signal.h [__FAVOR_BSD]: Likewise.
32409         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
32410         instead of making contents conditional on [__FAVOR_BSD].
32411         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
32413 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32417 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32419         [BZ #16314]
32420         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
32421         values below 2**-450, not 2**-500.
32422         * math/auto-libm-test-in: Don't allow spurious underflow from
32423         hypot.
32424         * math/auto-libm-test-out: Regenerated.
32426         [BZ #16316]
32427         [BZ #16330]
32428         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
32429         values of ha and hb and sort them after adjusting subnormal
32430         arguments.
32431         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32432         Likewise.
32433         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
32434         values of ea and eb and sort them after adjusting subnormal
32435         arguments.
32436         * math/auto-libm-test-in: Do not expect some hypot tests of
32437         subnormals to fail.  Add more hypot tests.
32438         * math/auto-libm-test-out: Regenerated.
32440 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32442         [BZ #13304]
32443         * sysdeps/sh/s_fma.c: New file.
32444         * sysdeps/sh/s_fmaf.c: New file.
32445         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
32446         version.
32447         * sysdeps/sh/Implies: Add sh/soft-fp.
32449 2013-12-16  Roland McGrath  <roland@hack.frob.com>
32451         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
32452         level of indirection to members `objname', `errstring', `malloced'.
32453         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
32454         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
32455         it as the __longjmp argument (just pass 1 instead).
32456         (_dl_catch_error): Initialize C with argument pointers and address of
32457         volatile local ERRCODE rather than copying values out of C at return.
32459 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
32461         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
32462         * math/auto-libm-test-out: Regenerated.
32463         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
32464         (hypot_test_data): Likewise.
32465         (pow_test_data): Likewise.
32466         (pow_tonearest_test_data): Likewise.
32467         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32468         mpfr_ff_f.
32469         (func_calc_desc): Add mpfr_ff_f union field.
32470         (FUNC_mpfr_ff_f): New macro.
32471         (test_functions): Add atan2, hypot and pow.
32472         (special_fill_min): New function.
32473         (special_fill_minus_min): Likewise.
32474         (special_fill_min_subnorm): Likewise.
32475         (special_fill_minus_min_subnorm): Likewise.
32476         (special_real_inputs): Add min, -min, min_subnorm and
32477         -min_subnorm.
32478         (calc_generic_results): Handle mpfr_ff_f.
32479         * sysdeps/i386/fpu/libm-test-ulps: Update.
32480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32482 2013-12-16  Will Newton  <will.newton@linaro.org>
32484         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
32485         (Aligned Memory Blocks): Add documentation for aligned_alloc
32486         and suggest it as an alternative to posix_memalign.
32487         (Hooks for Malloc): Document __memalign_hook is also called
32488         for aligned_alloc.  (Summary of Malloc): Add summary for
32489         aligned alloc.  Document __memalign_hook is also called
32490         for aligned_alloc.
32492 2013-12-16  Will Newton  <will.newton@linaro.org>
32494         * manual/memory.texi (Malloc Examples): Clarify default
32495         alignment documentation.  Suggest posix_memalign rather
32496         than memalign or valloc.
32497         (Aligned Memory Blocks): Remove suggestion to use memalign
32498         or valloc.  Remove obsolete comment about BSD.
32499         Document memalign errno values and mark the function obsolete.
32500         Document posix_memalign returned error codes.  Mark valloc
32501         as obsolete.  (Hooks for Malloc): __memalign_hook is also
32502         called for posix_memalign and valloc.
32503         (Summary of Malloc): Add posix_memalign to function summary.
32504         __memalign_hook is also called for posix_memalign and valloc.
32506 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32508         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
32509         TAYLOR_SIN.
32510         (__sin): Adjust.
32511         (__cos): Likewise.
32512         (sloww): Use mynumber union.  Expand ternary operator into
32513         if-else statements.
32514         (cslow): use mynumber union.
32516 2013-12-16  Allan McRae  <allan@archlinux.org>
32518         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
32519         * configure: Regenerated.
32521         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
32523         [BZ #14120]
32524         * configure.ac: Added --enable-maintainer-mode. Check for
32525         autoconf when enabled.
32526         * configure: Regenerated.
32528         * nscd/nscd.service: New file.
32529         * nscd/nscd.tmpfiles: New file.
32531 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
32533         [BZ #12100]
32534         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
32535         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
32536         * sysdeps/x86_64/multiarch/strstr.c: ... here.
32537         (strstr): Add __strstr_sse2_unaligned ifunc.
32538         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
32539         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
32540         (strcasestr): Remove __strcasestr_sse42 ifunc.
32541         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
32542         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32545 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32547         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
32548         * sysdeps/sh/bits/fenv.h: ... here.
32549         * sysdeps/sh/sh4/fpu/bits: Remove directory.
32551 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32553         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
32555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
32556         hypotf multiarch implementations.
32557         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
32558         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
32559         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
32560         multiarch hypot for PPC64.
32561         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
32562         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
32563         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
32564         multiarch hypotf for PPC64.
32566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
32567         modff multiarch implementations.
32568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
32569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
32570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
32571         multiarch modf for PPC64.
32572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
32573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
32574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
32575         multiarch modff for PPC64.
32577         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
32578         and logl multiarch implementations.
32579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
32580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
32581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
32582         multiarch logb for PPC64.
32583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
32584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
32585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
32586         multiarch logb for PPC64.
32587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
32588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
32589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
32590         multiarch logb for PPC64.
32592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
32593         isinff multiarch implementation.
32594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
32595         file.
32596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
32597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
32598         multiarch isinf for PPC64.
32599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
32600         file.
32601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
32602         multiarch isinff for PPC64.
32604         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
32605         finitef multiarch implementation.
32606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
32607         file.
32608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
32609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
32610         multiarch finite for PPC64.
32611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
32612         file.
32613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
32614         multiarch finitef for PPC64.
32616         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
32617         lrint multiarch implementation.
32618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
32619         file.
32620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
32621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
32622         multiarch llrint for PPC64.
32623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
32624         multiarch lrint for PPC64.
32626         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
32627         copysignf multiarch implementation.
32628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
32629         file.
32630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
32631         file.
32632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
32633         multiarch copysign for PPC64.
32634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
32635         multiarch copysignf for PPC64.
32637         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
32638         multiarch implementation.
32639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
32640         file.
32641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
32642         file.
32643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
32644         file.
32645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
32646         file.
32647         multiarch llround for PPC64.
32648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
32649         multiarch trunc for PPC64.
32650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
32651         multiarch truncf for PPC64.
32653         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
32654         multiarch implementation.
32655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
32656         file.
32657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
32658         file.
32659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
32660         file.
32661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
32662         file.
32663         multiarch llround for PPC64.
32664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
32665         multiarch round for PPC64.
32666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
32667         multiarch roundf for PPC64.
32669         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
32670         multiarch implementation.
32671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
32672         file.
32673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
32674         file.
32675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
32676         file.
32677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
32678         file.
32679         multiarch llround for PPC64.
32680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
32681         multiarch floor for PPC64.
32682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
32683         multiarch floorf for PPC64.
32685         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
32686         multiarch implementation.
32687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
32688         file.
32689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
32690         file.
32691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
32692         file.
32693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
32694         file.
32695         multiarch llround for PPC64.
32696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
32697         multiarch ceil for PPC64.
32698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
32699         multiarch ceilf for PPC64.
32701         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32702         multiarch implementation.
32703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
32704         file.
32705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
32706         file.
32707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
32708         file.
32709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
32710         multiarch llround for PPC64.
32711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
32712         multiarch lround for PPC64.
32714         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32715         multiarch implementation.
32716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
32717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
32718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
32719         file.
32720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
32721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
32722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
32723         multiarch isnan for PPC64.
32724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
32725         multiarch isnanf for PPC64.
32727         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
32728         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
32729         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
32730         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
32731         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
32732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
32734         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
32735         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32736         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32737         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
32740         multiarch implementations.
32741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32742         (__libc_ifunc_impl_list): Likewise.
32743         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32744         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
32745         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
32746         multiarch stpcpy for PPC64.
32748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
32749         multiarch implementations.
32750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32751         (__libc_ifunc_impl_list): Likewise.
32752         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
32753         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
32754         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
32755         multiarch strcpy for PPC64.
32757         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
32758         redefine function name.
32759         (_wordcopy_fwd_dest_aligned): Likewise.
32760         (_wordcopy_bwd_aligned): Likewise.
32761         (_wordcopy_bwd_dest_aligned): Likewise.
32762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
32763         multiarch implementations.
32764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32765         (__libc_ifunc_impl_list): Likewise.
32766         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
32767         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
32768         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
32769         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
32770         multiarch wcscpy for PPC64.
32772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
32773         multiarch implementations.
32774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32775         (__libc_ifunc_impl_list): Likewise.
32776         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
32777         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
32778         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
32779         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
32780         multiarch wcscpy for PPC64.
32782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
32783         multiarch implementations.
32784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32785         (__libc_ifunc_impl_list): Likewise.
32786         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
32787         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
32788         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
32789         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
32790         multiarch wcsrchr for PPC64.
32792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
32793         multiarch implementations.
32794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32795         (__libc_ifunc_impl_list): Likewise.
32796         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
32797         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
32798         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
32799         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
32800         multiarch wcschr for PPC64.
32802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
32803         multiarch implementations.
32804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32805         (__libc_ifunc_impl_list): Likewise.
32806         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
32807         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
32808         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
32809         multiarch strchrnul for PPC64.
32811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
32812         implementations.
32813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32814         (__libc_ifunc_impl_list): Likewise.
32815         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
32816         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
32817         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
32818         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
32819         strchr for PPC64.
32821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
32822         implementations.
32823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32824         (__libc_ifunc_impl_list): Likewise.
32825         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
32826         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
32827         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
32828         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
32829         strncmp for PPC64.
32831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
32832         multiarch implementations.
32833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32834         (__libc_ifunc_impl_list): Likewise.
32835         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
32836         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
32837         strncasecmp for PPC64.
32838         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
32839         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
32840         multiarch strncasecmp_l for PPC64.
32842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
32843         multiarch implementations.
32844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32845         (__libc_ifunc_impl_list): Likewise.
32846         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
32847         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
32848         multiarch strcasecmp for PPC64.
32849         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
32850         file.
32851         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
32852         multiarch strcasecmp_l for PPC64.
32854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
32855         implementations.
32856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32857         (__libc_ifunc_impl_list): Likewise.
32858         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
32859         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
32860         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
32861         strnlen for PPC64.
32863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
32864         implementations.
32865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32866         (__libc_ifunc_impl_list): Likewise.
32867         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
32868         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
32869         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
32870         strlen for PPC64.
32872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
32873         implementations.
32874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32875         (__libc_ifunc_impl_list): Likewise.
32876         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
32877         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
32878         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
32879         rawmemrchr for PPC64.
32881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
32882         implementation.
32883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32884         (__libc_ifunc_impl_list): Likewise.
32885         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
32886         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
32887         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
32888         memrchr for PPC64.
32890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
32891         implementation.
32892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32893         (__libc_ifunc_impl_list): Likewise.
32894         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
32895         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
32896         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
32897         memchr for PPC64.
32899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
32900         implementation.
32901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32902         (__libc_ifunc_impl_list): Likewise.
32903         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
32904         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
32905         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
32906         mempcpy for PPC64.
32908         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
32909         avoid cretion of __bzero symbol.
32910         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
32911         Likewise.
32912         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
32913         Likewise.
32914         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
32915         Likewise.
32916         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
32917         multiarch implementations.
32918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32919         (__libc_ifunc_impl_list): Likewise.
32920         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
32921         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
32922         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
32923         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
32924         bzero for PPC32.
32925         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
32926         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
32927         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
32928         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
32929         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
32930         memset for PPC64.
32931         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
32933         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
32934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
32935         implementations.
32936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32937         (__libc_ifunc_impl_list): Likewise.
32938         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
32939         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
32940         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
32941         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
32942         memcmp for PPC64.
32944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
32945         multiarch for POWER/PPC64.
32946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32947         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
32948         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
32949         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
32950         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
32951         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
32952         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
32953         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
32954         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
32955         memcpy for PPC64.
32957         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
32958         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
32959         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
32960         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
32961         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
32962         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
32963         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
32964         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
32965         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
32966         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
32967         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
32968         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
32969         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
32970         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
32971         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
32972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
32973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
32974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
32975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
32976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
32977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
32978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
32980 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32982         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
32984 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32986         * benchtests/Makefile (bench): Add exp2 and log2.
32987         (LDLIBS-bench-exp2): Add -lm.
32988         (LDLIBS-bench-log2): Likewise.
32989         * benchtests/exp2-inputs: New inputs file.
32990         * benchtests/log2-inputs: New inputs file.
32991         * benchtests/log-inputs: Add new inputs.
32992         * benchtests/tan-inputs: Likewise.
32994 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32996         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
32997         definition...
32998         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
32999         (csloww2): ... from here.
33001         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
33002         instead of structures.
33003         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
33004         (POLYNOMIAL): Likewise.
33005         (TAYLOR_SLOW): Likewise.
33006         (__sin): Likewise.
33007         (__cos): Likewise.
33008         (slow1): Likewise.
33009         (slow2): Likewise.
33010         (sloww): Likewise.
33011         (sloww1); Likewise.
33012         (sloww2): Likewise.
33013         (bsloww1): Likewise.
33014         (bsloww2): Likewise.
33015         (cslow2): Likewise.
33016         (csloww): Likewise.
33017         (csloww1): Likewise.
33018         (csloww2): Likewise.
33020 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
33022         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
33023         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
33024         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
33025         * malloc/hooks.c (realloc_check): Likewise.
33027         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33028         * malloc/arena.c: Remove PER_THREAD conditional.
33029         [!PER_THREAD]: Remove code.
33030         (ptmalloc_unlock_all2): Likewise.
33031         (ptmalloc_init): Likewise.
33032         (_int_new_arena): Likewise.
33033         (arena_get2): Likewise.
33034         * malloc/hooks.c (__malloc_get_state): Likewise.
33035         (__malloc_set_state): Likewise.
33036         * malloc/malloc.c: Likewise.
33037         (struct malloc_state): Likewise.
33038         (struct malloc_par): Likewise.
33039         (__libc_realloc): Likewise.
33040         (__libc_mallopt): Likewise.
33042 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33044         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
33046 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
33048         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33049         macro to a function.  Check for zero perturb_byte.
33050         (_int_malloc, _int_free): Remove zero perturb_byte checks.
33052         * malloc/malloc.c: (force_reg): Remove.
33053         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
33054         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
33055         force_reg by atomic_forced_read.
33056         * malloc/arena.c (ptmalloc_init): Likewise.
33057         * malloc/hooks.c (top_check): Likewise.
33059 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33063 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
33065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33067 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
33069         * math/auto-libm-test-in: Add tests of lgamma.
33070         * math/auto-libm-test-out: Regenerated.
33071         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
33072         (M_LOG_2_SQRT_PIl): Likewise.
33073         (lgamma_test_data): Use AUTO_TESTS_f_f1.
33074         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33075         mpfr_f_f1.
33076         (func_calc_desc): Add mpfr_f_f1 union field.
33077         (ARGS1): New macro.
33078         (ARGS2): Likewise.
33079         (ARGS3): Likewise.
33080         (ARGS4): Likewise.
33081         (RET1): Likewise.
33082         (RET2): Likewise.
33083         (CALC): Likewise.
33084         (FUNC): Likewise.
33085         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
33086         (test_functions): Add lgamma.
33087         (calc_generic_results): Handle mpfr_f_f1.
33088         * sysdeps/i386/fpu/libm-test-ulps: Update.
33089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33091 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33093         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
33094         __mpn_add_n for PowerPC64/POWER7.
33095         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
33096         __mpn_sub_n for PowerPC64/POWER7.
33098         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
33099         __mpn_addmul_1 for PowerPC64.
33100         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
33101         __mpn_submul_1 for PowerPC64.
33102         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
33103         for PowerPC64.
33104         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
33105         for PowerPC64.
33107 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
33109         [BZ #15089]
33110         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
33112 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33114         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
33116         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
33117         add multiarch folders.
33118         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
33119         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
33120         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
33121         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
33122         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
33123         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
33124         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
33125         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
33126         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
33127         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
33128         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
33129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
33130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
33131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
33132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
33133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
33134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
33136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33137         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
33138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
33139         New file.
33140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
33141         New file.
33142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
33143         multiarch __ieee754_hypot for PowerPC32.
33144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
33145         New file.
33146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
33147         New file.
33148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
33149         multiarch __ieee754_hypotf for PowerPC32.
33151         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
33152         long_double_symbol only if __logbl is defined.
33153         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
33154         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
33155         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
33156         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
33157         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
33158         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
33159         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
33160         path for implementation.
33161         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
33162         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
33163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
33164         logb, and logbl multiarch implementations for PowerPC32.
33165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
33166         file.
33167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
33168         file.
33169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
33170         multiarch logb for PowerPC32.
33171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
33172         file.
33173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
33174         file.
33175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
33176         multiarch logbf for PowerPC32.
33177         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
33178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
33179         file.
33180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
33181         multiarch logbl implementation for PowerPC32.
33183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
33184         and modff multiarch implementations.
33185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
33186         New file.
33187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
33188         New file.
33189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
33190         multiarch modf for PowerPC32.
33191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
33192         New file.
33193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
33194         New file.
33195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
33196         multiarch modff for PowerPC32.
33198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
33199         and lrintf multiarch implementations.
33200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
33201         New file.
33202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
33203         New file.
33204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
33205         multiarch lrint for PowerPC32.
33206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
33207         file: multiarch lrintf for PowerPC32.
33209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
33210         and lroundf multiarch implementations.
33211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
33212         New file.
33213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
33214         New file.
33215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
33216         New file.
33217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
33218         multiarch lround for PowerPC32.
33219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
33220         file: multiarch lroundf for PowerPC32.
33222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33223         copysign and copysignf multiarch implementations.
33224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
33225         New file.
33226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
33227         New file.
33228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
33229         file: multiarch copysign for PowerPC32.
33230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
33231         file: multiarch copysignf for PowerPC32.
33233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
33234         and truncf multiarch implementations.
33235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
33236         New file.
33237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
33238         file.
33239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
33240         multiarch trunc for PowerPC32.
33241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
33242         New file.
33243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
33244         New file.
33245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
33246         multiarch truncf for PowerPC32.
33248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
33249         and roundf multiarch implementations.
33250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
33251         New file.
33252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
33253         file.
33254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
33255         multiarch round for PowerPC32.
33256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
33257         New file.
33258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
33259         New file.
33260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
33261         multiarch roundf for PowerPC32.
33263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
33264         and floorf multiarch implementations.
33265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
33266         New file.
33267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
33268         file.
33269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
33270         multiarch floor for PowerPC32.
33271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
33272         New file.
33273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
33274         New file.
33275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
33276         multiarch floorf for PowerPC32.
33278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
33279         and ceilf multiarch implementations.
33280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
33281         New file.
33282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
33283         file.
33284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
33285         multiarch ceil for PowerPC32.
33286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
33287         New file.
33288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
33289         file.
33290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
33291         multiarch ceilf for PowerPC32.
33293         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
33294         is defined.
33295         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
33296         FINITEF is defined.
33297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
33298         and finitef multiarch implementations.
33299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
33300         New file.
33301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
33302         file.
33303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
33304         multiarch finite for PowerPC32.
33305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
33306         New file.
33307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
33308         file: multiarch finitef for PowerPC32.
33310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
33311         and isinff multiarch implementations.
33312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
33313         file.
33314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
33315         file.
33316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
33317         multiarch isinf for PowerPC32.
33318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
33319         New file.
33320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
33321         multiarch isinff for PowerPC32.
33323         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
33324         alias when __isnan is defined.
33325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
33326         and isnanf multiarch implementations.
33327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
33328         file.
33329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
33330         file.
33331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
33332         file.
33333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
33334         file.
33335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
33336         multiarch isnan for PowerPC32.
33337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
33338         New file.
33339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
33340         New file.
33341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
33342         multiarch isnanf for PowerPC32.
33344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
33345         and sqrtf multiarch implementations.
33346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
33347         file.
33348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
33349         file.
33350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
33351         multiarch sqrt for PowerPC32.
33352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
33353         file.
33354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
33355         file.
33356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
33357         multiarch sqrtf for PowerPC32.
33359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
33360         and llroundf multiarch implementations.
33361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
33362         New file.
33363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
33364         New file.
33365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
33366         New file.
33367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
33368         file: multiarch llround for PowerPC32.
33369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
33370         file: multiarch llroundf for PowerPC32.
33372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
33373         multiarch PowerPC32 fpu implementations.
33374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
33375         New file.
33376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
33377         New file.
33378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
33379         multiarch llrint for PowerPC32.
33380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
33381         New file.
33382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
33383         New file.
33384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
33385         file.
33387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
33389         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
33390         file.
33391         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
33392         file.
33393         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
33394         file.
33395         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
33396         multiarch wordcopy for PPC32.
33397         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
33398         wordcopy objects.
33399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33400         (__libc_ifunc_impl_list): Likewise.
33401         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
33402         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
33403         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
33404         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
33405         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
33406         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
33408         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
33409         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
33410         file.
33411         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
33412         file.
33413         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
33414         file.
33415         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
33416         multiarch wcscpy for PPC32.
33417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
33418         multiarch objects.
33419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33420         (__libc_ifunc_impl_list): Likewise.
33421         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
33422         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
33423         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
33424         sysdeps/powerpc/power6/wcscpy.c.
33426         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
33427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
33428         file.
33429         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
33430         file.
33431         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
33432         file.
33433         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
33434         multiarch wcsrchr for PPC32.
33435         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
33436         multiarch objects.
33437         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33438         (__libc_ifunc_impl_list): Likewise.
33439         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
33440         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
33441         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
33442         sysdeps/powerpc/power6/wcsrchr.c.
33444         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
33445         file.
33446         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
33447         file.
33448         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
33449         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
33450         multiarch wcschr for PPc32.
33451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
33452         multiarch objects.
33453         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33454         (__libc_ifunc_impl_list): Likewise.
33455         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
33456         * sysdeps/powerpc/power6/wcschr.c: ... to here.
33457         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
33458         sysdeps/powerpc/power6/wcschr.c.
33460         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
33461         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
33462         file.
33463         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
33464         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
33465         file: multiarch strchr for PPC32.
33466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
33467         multiarch objects.
33468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33469         (__libc_ifunc_impl_list): Likewise.
33471         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
33472         name.
33473         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
33474         file.
33475         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
33476         file.
33477         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
33478         multiarch strchrnul for PPC32.
33479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
33480         multiarch objects.
33481         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33482         (__libc_ifunc_impl_list): Likewise.
33484         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
33485         file.
33486         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
33487         multiarch strncasecmp for PPC32.
33488         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
33489         file.
33490         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
33491         multiarch strncasecmp_l for PPC32.
33492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
33493         strncasecmp multiarch objects.
33494         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33495         (__libc_ifunc_impl_list): Likewise.
33497         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
33498         file.
33499         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
33500         multiarch strncasecmp for PPC32.
33501         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
33502         New file.
33503         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
33504         multiarch strcasecmp_l for PPC32.
33505         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
33506         multiarch objects.
33507         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33508         (__libc_ifunc_impl_list): Likewise.
33510         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
33511         file.
33512         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
33513         file.
33514         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
33515         multiarch strncmp for PPC32.
33516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
33517         multiarch objects.
33518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33519         (__libc_ifunc_impl_list): Likewise.
33521         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
33522         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
33523         file.
33524         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
33525         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
33526         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
33527         multiarch objects.
33528         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33529         (__libc_ifunc_impl_list): Likewise.
33531         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
33532         file.
33533         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
33534         file.
33535         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
33536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
33537         multiarch objects.
33538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33539         (__libc_ifunc_impl_list): Likewise.
33541         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
33542         file.
33543         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
33544         file.
33545         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
33546         multiarch rawmemchr for PPC32.
33547         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
33548         multiarch objects.
33549         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33550         (__libc_ifunc_impl_list): Likewise.
33552         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
33553         file.
33554         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
33555         file.
33556         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
33557         file: memrchr multiarch for PPC32.
33558         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
33559         multiarch objects.
33560         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33561         (__libc_ifunc_impl_list): Likewise.
33563         * string/memchr.c (__memchr): Using macro to redefine symbol name.
33564         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
33565         file.
33566         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
33567         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
33568         multiarch memchr for PPC32.
33569         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
33570         multiarch objects.
33571         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33572         (__libc_ifunc_impl_list): Likewise.
33574         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
33575         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
33576         file.
33577         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
33578         file.
33579         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
33580         file: multiarch mempcpy for PPC32.
33581         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
33582         multiarch objects.
33583         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33584         (__libc_ifunc_impl_list): Likewise.
33586         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
33587         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
33588         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
33589         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
33590         multiarch bzero for PPC32.
33591         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
33592         file.
33593         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
33594         file.
33595         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
33596         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
33597         file: multiarch memset for PPC32.
33598         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
33599         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
33600         memset multiarch objects.
33601         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33602         (__libc_ifunc_impl_list): Likewise.
33604         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
33605         file.
33606         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
33607         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
33608         memcmp for PPC32.
33609         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
33610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
33611         multiarch objects.
33612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33613         (__libc_ifunc_impl_list): Likewise.
33615         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
33616         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
33617         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
33618         file.
33619         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
33620         file.
33621         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
33622         file.
33623         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
33624         multiarch memcpy for PPC32.
33625         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
33626         multiarch objects.
33627         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33628         (__libc_ifunc_impl_list): Likewise.
33630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
33631         support multiarch for POWER/PPC32.
33632         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
33633         Likewise.
33634         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
33636         Implies file to make multiarch folder appers before the fpu and
33637         default folder for power4 configuration.
33639 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33641         * scripts/bench.pl: Append volatile keyword to type.
33643 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33645         * sysdeps/sh/sotruss-lib.c: New file.
33646         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
33648 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33652 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
33654         [BZ #6810]
33655         * math/w_tgamma.c: Include <errno.h>.
33656         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
33657         * math/w_tgammaf.c: Include <errno.h>.
33658         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
33659         * math/w_tgammal.c: Include <errno.h>.
33660         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
33661         * math/auto-libm-test-in: Do not allow missing errno on tgamma
33662         underflow.  Add more tgamma tests.
33663         * math/auto-libm-test-out: Regenerated.
33664         * sysdeps/i386/fpu/libm-test-ulps: Update.
33665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33667         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
33668         sin, sinh, tan, tanh, tgamma, y0 and y1.
33669         * math/auto-libm-test-out: Regenerated.
33670         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33671         (TEST_COND_x86): Likewise.
33672         (M_E2l): Remove macro.
33673         (M_E3l): Likewise.
33674         (M_2_SQRT_PIl): Likewise.
33675         (M_SQRT_PIl): Likewise.
33676         (M_1_DIV_El): Likewise.
33677         (log_test_data): Use AUTO_TESTS_f_f.
33678         (log10_test_data): Likewise.
33679         (log1p_test_data): Likewise.
33680         (log2_test_data): Likewise.
33681         (sin_test_data): Likewise.
33682         (sin_tonearest_test_data): Likewise.
33683         (sin_towardzero_test_data): Likewise.
33684         (sin_downward_test_data): Likewise.
33685         (sin_upward_test_data): Likewise.
33686         (sinh_test_data): Likewise.
33687         (sinh_tonearest_test_data): Likewise.
33688         (sinh_towardzero_test_data): Likewise.
33689         (sinh_downward_test_data): Likewise.
33690         (sinh_upward_test_data): Likewise.
33691         (tan_test_data): Likewise.
33692         (tan_tonearest_test_data): Likewise.
33693         (tan_towardzero_test_data): Likewise.
33694         (tan_downward_test_data): Likewise.
33695         (tan_upward_test_data): Likewise.
33696         (tanh_test_data): Likewise.
33697         (tgamma_test_data): Likewise.
33698         (y0_test_data): Likewise.
33699         (y1_test_data): Likewise.
33700         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
33701         (special_real_inputs): Add pi/4.
33702         * sysdeps/i386/fpu/libm-test-ulps: Update.
33703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33705 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33707         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
33708         "longjmp_target" static probes.
33709         (__longjmp): Rename to __longjmp_symbol.
33710         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33711         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
33712         on which longjmp to generate.
33713         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33714         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
33715         probe.
33716         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33717         (__sigjmp_save): Rename to __sigjmp_save_symbol.
33718         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33719         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
33720         and __sigjmp_save_symbol based on which sigsetjmp to generated.
33721         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
33722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
33723         __longjmp_symbol based on which __longjmp to generate.
33724         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
33725         probe.
33726         (setjmp): Rename to setjmp_symbol.
33727         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33728         (_setjmp): Rename to _setjmp_symbol.
33729         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33730         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
33731         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
33732         which setjmp to generate.
33733         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
33734         "longjmp_target" static probes.
33736 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33738         * benchtests/README: Add note about output arguments.
33739         * benchtests/bench-sincos.c: Remove file.
33740         * benchtests/sincos-inputs: New file.
33741         * scripts/bench.pl: Identify output arguments and define
33742         static variables for them.
33744         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
33746         [BZ #15941]
33747         * Makefile (INSTALL): Add install-plain.texi as the primary
33748         dependency.
33749         * manual/install-plain.texi: New file.
33750         * manual/install.texi: Include node directive only for
33751         non-plaintext output.
33753 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
33755         * stdlib/longlong.h: Update from GCC.
33757         [BZ #6807]
33758         [BZ #15901]
33759         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
33760         * math/w_j0f.c (y0f): Likewise.
33761         * math/w_j0l.c (__y0l): Likewise.
33762         * math/w_j1.c (y1): Likewise.
33763         * math/w_j1f.c (y1f): Likewise.
33764         * math/w_j1l.c (__y1l): Likewise
33765         * math/w_jn.c (yn): Likewise.
33766         * math/w_jnf.c (ynf): Likewise.
33767         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
33768         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
33769         value for Bessel function domain errors outside _SVID_ mode.
33770         Adjust sign of return value for yn (negative integer, 0).
33771         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
33772         by zero in return for negative x and set sign appropriately for
33773         negative n.
33774         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
33775         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33776         * math/libm-test.inc (y0_test_data): Add more tests and adjust
33777         expectations in error cases.
33778         (y1_test_data): Likewise.
33779         (yn_test_data): Likewise.
33780         * sysdeps/i386/fpu/libm-test-ulps: Update.
33781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33783 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33785         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
33786         "64" to "64-v1".  Add "64-v2".
33787         (abi-64-options): Rename to ...
33788         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
33789         (abi-64-condition): Rename to ...
33790         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
33791         (abi-64-ld-soname): Rename to ...
33792         (abi-64-v1-ld-soname): ... this.
33793         (abi-64-v2-options): Define.
33794         (abi-64-v2-condition): Likewise.
33795         (abi-64-v2-ld-soname): Likewise.
33796         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
33797         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
33798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
33799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
33800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
33802 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33803             Alan Modra  <amodra@gmail.com>
33805         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
33806         New versions for use with the ELFv2 ABI.
33807         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
33808         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
33809         declaration.
33810         (struct La_ppc64v2_retval): Likewise.
33811         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
33812         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
33813         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
33814         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
33815         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
33816         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33817         Do not save or restore CR.
33818         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
33819         (_dl_profile_resolve): Do no save or restore CR.  Support extended
33820         return values for ELFv2 ABI.  Fix location of FPR return registers.
33821         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
33822         updated values for _CALL_ELF == 2.
33823         (La_regs, La_retval, int_retval): Likewise.
33825 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33827         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
33828         (FRAME_MIN_SIZE_PARM): Likewise.
33829         (FRAME_BACKCHAIN): Likewise.
33830         (FRAME_CR_SAVE): Likewise.
33831         (FRAME_LR_SAVE): Likewise.
33832         (FRAME_TOC_SAVE): Likewise.
33833         (FRAME_PARM_SAVE): Likewise.
33834         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
33835         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
33836         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33837         (call_mcount_parm_offset): New macro.
33838         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
33839         (PROF): Use symbolic stack frame offsets.
33840         (TAIL_CALL_SYSCALL_ERROR): Likewise.
33841         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
33842         Redefine in terms of FRAME_MIN_SIZE.
33843         (_dl_runtime_resolve): Use symbolic stack frame offsets.
33844         (_dl_profile_resolve): Likewise.  Update comment.
33845         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
33846         symbols stack frame offsets.
33847         (__sigsetjmp): Likewise.
33848         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
33849         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
33850         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
33851         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
33853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
33854         (FRAME_BACKCHAIN): Remove.
33855         (FRAME_CR_SAVE): Likewise.
33856         (FRAME_LR_SAVE): Likewise.
33857         (FRAME_COMPILER_DW): Likewise.
33858         (FRAME_LINKER_DW): Likewise.
33859         (FRAME_TOC_SAVE): Likewise.
33860         (FRAME_PARM_SAVE): Likewise.
33861         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
33862         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
33863         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
33865         (CHECK_SP): Use symbolic stack frame offsets.
33866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
33867         zone" instead of caller's parameter save area for temp storage.
33868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33869         Likewise.  Also, use symbolic stack frame offsets.
33870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
33871         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
33872         our own stack frame instead of the caller's.
33873         (__socket): Use symbolic stack frame offsets.
33875 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33876             Alan Modra  <amodra@gmail.com>
33878         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
33879         Define.
33880         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
33881         (PPC64_LOCAL_ENTRY_OFFSET): Define.
33882         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
33883         New function.
33884         (elf_machine_fixup_plt): Call it.
33885         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
33886         reloc arguments.
33887         (elf_machine_rela): Update call to elf_machine_plt_conflict.
33888         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33889         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
33890         r2 before calling target.
33892 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33893             Alan Modra  <amodra@gmail.com>
33895         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
33896         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
33897         versions of macros to support ELFv2 ABI.
33898         (LOCALENTRY): New macro.
33899         (ENTRY, EALIGN): Use it.
33900         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
33901         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
33902         fall through into ENTRY entry point.
33903         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
33904         Only define if _CALL_ELF != 2.
33906         (elf_machine_matches_host): Verify ABI version matches.
33907         (RTLD_START): Use LOCALENTRY.
33908         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
33909         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
33910         (PLT_ENTRY_WORDS): New macro.
33911         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
33912         (elf_machine_runtime_setup): Support ELFv2 ABI.
33913         (elf_machine_fixup_plt): Likewise.
33914         (elf_machine_plt_conflict): Likewise.
33915         (resolve_ifunc): Likewise.
33916         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33917         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33918         Likewise.
33919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
33920         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
33921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33922         (makecontext): Support ELFv2 ABI.
33923         * elf/elf.h (EF_PPC64_ABI): Define.
33925 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33927         * sysdeps/powerpc/powerpc64/sysdep.h
33928         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
33929         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
33930         (ENTRY) [ASSEMBLER]: ... but instead here ...
33931         (EALIGN) [ASSEMBLER]: ... and here.
33932         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
33933         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
33934         (ENTRY_2) [!ASSEMBLER]: Use it.
33935         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
33936         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
33937         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33938         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
33939         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
33940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
33941         Use PPC64_LOAD_FUNCPTR.
33943         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
33945 2013-12-04  Alan Modra  <amodra@gmail.com>
33947         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
33948         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
33949         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
33950         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
33952         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
33953         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
33954         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
33955         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
33956         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
33957         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
33959 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33962         (__makecontext): Fix incorrect CFI when backtracing out of
33963         context created via makecontext.
33964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
33965         (__setcontext): Fix incorrect CFI during switch to new context.
33966         (__novec_setcontext): Likewise.
33968 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33970         [BZ #4772]
33971         * time/strptime_l.c (__strptime_internal): Allow modifiers
33972         in strptime.
33973         * time/tst-strptime.c (day_tests): Add testcase.
33975 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33977         * scripts/bench.pl: Skip over blank lines.
33979 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
33981         [BZ #926]
33982         * manual/time.texi (Calendar Time): Clarify what timezone functions
33983         use.
33985 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33989 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33991         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
33992         implementation.
33993         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
33994         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
33995         * debug/memset_chk.c (__memset_chk): Likewise.
33996         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
33997         * debug/strncpy_chk.c: Likewise.
33999 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34001         [BZ #15268]
34002         [BZ #15425]
34003         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
34004         (__ieee754_exp): For possibly underflowing results, check size of
34005         result and force underflow exception if required.
34006         * math/auto-libm-test-in: Add more tests of exp.
34007         * math/auto-libm-test-out: Regenerated.
34008         * sysdeps/i386/fpu/libm-test-ulps: Update.
34009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34011         [BZ #16283]
34012         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
34013         * math/w_exp2f.c (__exp2f): Likewise.
34014         * math/w_exp2l.c (__exp2l): Likewise.
34015         * math/auto-libm-test-in: Do not allow missing errno on exp2
34016         underflow.
34017         * math/auto-libm-test-out: Regenerated.
34019 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
34021         [BZ #16274]
34022         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
34023         handle filename validation.
34024         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
34025         (do_open): Delete.
34027 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34029         [BZ #6786]
34030         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
34031         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
34032         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
34033         <float.h>.
34034         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
34035         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
34036         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34037         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
34038         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34039         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
34040         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34041         * math/auto-libm-test-in: Don't allow missing errno from erfc.
34042         Add more erfc tests.
34043         * math/auto-libm-test-out: Regenerated.
34044         * sysdeps/i386/fpu/libm-test-ulps: Update.
34045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34047         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
34048         exp2, expm1, j0 and j1.
34049         * math/auto-libm-test-out: Regenerated.
34050         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
34051         (erfc_test_data): Likewise.
34052         (exp_test_data): Likewise.
34053         (exp_tonearest_test_data): Likewise.
34054         (exp_towardzero_test_data): Likewise.
34055         (exp_downward_test_data): Likewise.
34056         (exp_upward_test_data): Likewise.
34057         (exp10_test_data): Likewise.
34058         (exp2_test_data): Likewise.
34059         (expm1_test_data): Likewise.
34060         (j0_test_data): Likewise.
34061         (j1_test_data): Likewise.
34062         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
34063         (input_flag_type): Add flag_xfail_rounding.
34064         (input_flags): Add xfail-rounding.
34065         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
34066         (output_for_one_input_case): Handle flag_xfail_rounding.
34067         * sysdeps/i386/fpu/libm-test-ulps: Update.
34068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34070 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
34072         [BZ #16289]
34073         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
34074         division by 0.
34076 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34078         [BZ #16195]
34079         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
34080         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
34081         (STAP_PROBE0): New macro.
34082         (STAP_PROBE1): Likewise.
34083         (STAP_PROBE2): Likewise.
34084         (STAP_PROBE3): Likewise.
34085         (STAP_PROBE4): Likewise.
34087 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
34089         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
34091 2013-12-02  Steve Ellcey  <sellcey@mips.com>
34093         * benchtests/Makefile (bench): Add sqrt.
34094         (LDLIBS-bench-sqrt): New.
34095         * benchtests/sqrt-input: New.
34097 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
34099         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
34100         (GAIH_EAI): Likewise.
34101         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
34102         (gaih_inet): Likewise.
34103         (getaddrinfo): Don't use GAIH_EAI.
34105         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
34106         (struct gaih): Remove definition.
34108 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34110         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
34111         Use HERRNOP directly.
34113 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34117 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
34119         * math/gen-auto-libm-tests.c (test_functions): Add more
34120         single-argument functions.
34121         (special_fill_pi_2): New function.
34122         (special_fill_minus_pi_2): Likewise.
34123         (special_fill_pi_6): Likewise.
34124         (special_fill_minus_pi_6): Likewise.
34125         (special_fill_pi_3): Likewise.
34126         (special_fill_2pi_3): Likewise.
34127         (special_fill_e): Likewise.
34128         (special_fill_1_e): Likewise.
34129         (special_fill_e_minus_1): Likewise.
34130         (special_real_inputs): Add more special inputs.
34131         (output_for_one_input_case): Do not require ERANGE on underflow to
34132         zero if round-to-nearest result does not underflow to zero, unless
34133         exact results required.
34134         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
34135         atan, atanh, cbrt, cos and cosh.
34136         * math/auto-libm-test-out: Regenerated.
34137         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
34138         (acos_tonearest_test_data): Likewise.
34139         (acos_towardzero_test_data): Likewise.
34140         (acos_downward_test_data): Likewise.
34141         (acos_upward_test_data): Likewise.
34142         (acosh_test_data): Likewise.
34143         (asin_test_data): Likewise.
34144         (asin_tonearest_test_data): Likewise.
34145         (asin_towardzero_test_data): Likewise.
34146         (asin_upward_test_data): Likewise.
34147         (asinh_test_data): Likewise.
34148         (atan_test_data): Likewise.
34149         (atanh_test_data): Likewise.
34150         (cbrt_test_data): Likewise.
34151         (cos_test_data): Likewise.
34152         (cos_tonearest_test_data): Likewise.
34153         (cos_towardzero_test_data): Likewise.
34154         (cos_downward_test_data): Likewise.
34155         (cos_upward_test_data): Likewise.
34156         (cosh_test_data): Likewise.
34157         (cosh_tonearest_test_data): Likewise.
34158         (cosh_towardzero_test_data): Likewise.
34159         (cosh_downward_test_data): Likewise.
34160         (cosh_upward_test_data): Likewise.
34161         * sysdeps/i386/fpu/libm-test-ulps: Update.
34162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34164 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
34166         [BZ #6787]
34167         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
34168         * math/w_exp10f.c (__exp10f): Likewise.
34169         * math/w_exp10l.c (__exp10l): Likewise.
34170         * math/libm-test.inc (exp10_test_data): Add more tests and expect
34171         errno settings in existing tests.
34173         [BZ #14032]
34174         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
34175         precision control set to double precision.
34176         * sysdeps/i386/fpu/w_sqrt.c: New file.
34177         * math/auto-libm-test-in: Add more tests.
34178         * math/auto-libm-test-out: Update.
34180         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
34181         (sqrt_test_tonearest): New function.
34182         (sqrt_towardzero_test_data): New variable.
34183         (sqrt_test_towardzero): New function.
34184         (sqrt_downward_test_data): New variable.
34185         (sqrt_test_downward): New function.
34186         (sqrt_upward_test_data): New variable.
34187         (sqrt_test_upward): New function.
34188         (main): Call the new functions.
34190         * math/gen-auto-libm-tests.c: New file.
34191         * math/auto-libm-test-in: Likewise.
34192         * math/auto-libm-test-out: New generated file.
34193         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
34194         variables.
34195         (%beautify): Add generated representations of zero.
34196         (top level): Set $auto_input and call parse_auto_input.
34197         (beautify): Remove trailing "f" from hex float constants.
34198         (parse_args): Handle XFAIL_TEST.
34199         (convert_condition): New function.
34200         (or_value): Likewise.
34201         (or_cond_value): Likewise.
34202         (generate_testfile): Handle AUTO_TESTS_* lines.
34203         (parse_auto_input): New function.
34204         * math/libm-test.inc (XFAIL_TEST): New macro.
34205         (ERRNO_UNCHANGED): Update value.
34206         (ERRNO_EDOM): Likewise.
34207         (ERRNO_ERANGE): Likewise.
34208         (IGNORE_RESULT): Likewise.
34209         (TEST_COND_flt_32): New macro.
34210         (TEST_COND_dbl_64): Likewise.
34211         (TEST_COND_ldbl_96_intel): Likewise.
34212         (TEST_COND_ldbl_96_m68k): Likewise.
34213         (TEST_COND_ldbl_128): Likewise.
34214         (TEST_COND_ldbl_128ibm): Likewise.
34215         (TEST_COND_long32): Likewise.
34216         (TEST_COND_long64): Likewise.
34217         (TEST_COND_before_rounding): Likewise.
34218         (TEST_COND_after_rounding): Likewise.
34219         (enable_test): Handle XFAIL_TEST flag.
34220         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
34221         with finite results.
34222         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
34223         auto-libm-test-out.
34225 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34226             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34228         [BZ #16214]
34229         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
34230         __tls_get_addr_internal instead of __tls_get_offset in order to
34231         avoid GOT pointer dependency.  Make rtld export
34232         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
34233         __tls_get_addr since we are a __tls_get_offset platform.
34234         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
34235         GOT pointer being set up before.
34236         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
34238 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
34240         * manual/math.texi (Errors in Math Functions): Document accuracy
34241         goals.
34243         [BZ #15004]
34244         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
34245         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
34246         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34247         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34248         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34249         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34250         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34251         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34252         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34253         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34254         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34255         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34256         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34257         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34258         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34259         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34261         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
34262         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
34263         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
34264         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
34265         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
34266         Likewise.
34267         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
34268         Likewise.
34269         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
34270         Likewise.
34271         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
34272         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
34273         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
34274         atomic-feupdateenv and flt-rounds.
34275         * sysdeps/powerpc/nofpu/Versions (libc): Add
34276         __atomic_feholdexcept, __atomic_feclearexcept,
34277         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
34278         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
34279         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
34280         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
34281         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
34282         here.
34283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34284         Update.
34286         * manual/arith.texi (FP Exceptions): Document that exceptions may
34287         not be raised when matherr is used.
34288         (Math Error Reporting): Document overflow in directed rounding
34289         modes.  Document that errno may not be set when finite values are
34290         returned on overflow.  Document intent to set errno on underflow
34291         only for underflow to zero.
34293         [BZ #16271]
34294         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
34295         round-to-nearest then adjust result for other rounding modes.
34296         * include/fenv.h (fegetround): Use libm_hidden_proto.
34297         * math/fegetround.c (fegetround): Use libm_hidden_def.
34298         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34299         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34300         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
34301         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34302         Likewise.
34303         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
34304         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34305         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34306         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
34308 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34310         [BZ #16077]
34311         * nss/Versions (libnss_files): Add
34312         _nss_files_gethostbyname3_r.
34313         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
34314         New function.
34315         (HOST_DB_LOOKUP): Remove macro.
34316         (_nss_files_gethostbyname_r): Implement function without the
34317         HOST_DB_LOOKUP macro.
34318         (_nss_files_gethostbyname2_r): Likewise.
34320 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
34322         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
34324 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
34326         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
34327         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
34328         warning.
34330 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34332         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
34333         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
34334         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34335         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34336         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
34337         __fe_nomask_env_priv and attribute_hidden.
34338         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
34339         (libc_feupdateenv_test_ppc): Likewise.
34340         (libc_feresetround_ppc): Likewise.
34341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34342         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
34343         compat_symbol macro.
34344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34345         (__fe_nomask_env): Likewise.
34346         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
34348 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34350         * string/Makefile: Remove ifunc tests.
34351         * string/test-string.h: Define TEST_IFUNC.
34352         * string/test-bcopy-ifunc.c: Remove.
34353         * string/test-bzero-ifunc.c: Likewise.
34354         * string/test-memccpy-ifunc.c: Likewise.
34355         * string/test-memchr-ifunc.c: Likewise.
34356         * string/test-memcmp-ifunc.c: Likewise.
34357         * string/test-memcpy-ifunc.c: Likewise.
34358         * string/test-memmem-ifunc.c: Likewise.
34359         * string/test-memmove-ifunc.c: Likewise.
34360         * string/test-mempcpy-ifunc.c: Likewise.
34361         * string/test-memrchr-ifunc.c: Likewise.
34362         * string/test-memset-ifunc.c: Likewise.
34363         * string/test-rawmemchr-ifunc.c: Likewise.
34364         * string/test-stpcpy-ifunc.c: Likewise.
34365         * string/test-stpncpy-ifunc.c: Likewise.
34366         * string/test-strcasecmp-ifunc.c: Likewise.
34367         * string/test-strcasestr-ifunc.c: Likewise.
34368         * string/test-strcat-ifunc.c: Likewise.
34369         * string/test-strchr-ifunc.c: Likewise.
34370         * string/test-strchrnul-ifunc.c: Likewise.
34371         * string/test-strcmp-ifunc.c: Likewise.
34372         * string/test-strcpy-ifunc.c: Likewise.
34373         * string/test-strcspn-ifunc.c: Likewise.
34374         * string/test-strlen-ifunc.c: Likewise.
34375         * string/test-strncasecmp-ifunc.c: Likewise.
34376         * string/test-strncat-ifunc.c: Likewise.
34377         * string/test-strncmp-ifunc.c: Likewise.
34378         * string/test-strncpy-ifunc.c: Likewise.
34379         * string/test-strnlen-ifunc.c: Likewise.
34380         * string/test-strpbrk-ifunc.c: Likewise.
34381         * string/test-strrchr-ifunc.c: Likewise.
34382         * string/test-strspn-ifunc.c: Likewise.
34383         * string/test-strstr-ifunc.c: Likewise.
34385 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34387         * benchtests/Makefile: Remove ifunc tests.
34388         * benchtests/bench-string.h: Define TEST_IFUNC.
34389         * benchtests/bench-bcopy-ifunc.c: Remove.
34390         * benchtests/bench-bzero-ifunc.c: Likewise.
34391         * benchtests/bench-memccpy-ifunc.c: Likewise.
34392         * benchtests/bench-memchr-ifunc.c: Likewise.
34393         * benchtests/bench-memcmp-ifunc.c: Likewise.
34394         * benchtests/bench-memcpy-ifunc.c: Likewise.
34395         * benchtests/bench-memmem-ifunc.c: Likewise.
34396         * benchtests/bench-memmove-ifunc.c: Likewise.
34397         * benchtests/bench-mempcpy-ifunc.c: Likewise.
34398         * benchtests/bench-memrchr-ifunc.c: Likewise.
34399         * benchtests/bench-memset-ifunc.c: Likewise.
34400         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
34401         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
34402         * benchtests/bench-stpcpy-ifunc.c: Likewise.
34403         * benchtests/bench-stpncpy-ifunc.c: Likewise.
34404         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
34405         * benchtests/bench-strcasestr-ifunc.c: Likewise.
34406         * benchtests/bench-strcat-ifunc.c: Likewise.
34407         * benchtests/bench-strchr-ifunc.c: Likewise.
34408         * benchtests/bench-strchrnul-ifunc.c: Likewise.
34409         * benchtests/bench-strcmp-ifunc.c: Likewise.
34410         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
34411         * benchtests/bench-strcpy-ifunc.c: Likewise.
34412         * benchtests/bench-strcspn-ifunc.c: Likewise.
34413         * benchtests/bench-strlen-ifunc.c: Likewise.
34414         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
34415         * benchtests/bench-strncat-ifunc.c: Likewise.
34416         * benchtests/bench-strncmp-ifunc.c: Likewise.
34417         * benchtests/bench-strncpy-ifunc.c: Likewise.
34418         * benchtests/bench-strnlen-ifunc.c: Likewise.
34419         * benchtests/bench-strpbrk-ifunc.c: Likewise.
34420         * benchtests/bench-strrchr-ifunc.c: Likewise.
34421         * benchtests/bench-strsep-ifunc.c: Likewise.
34422         * benchtests/bench-strspn-ifunc.c: Likewise.
34423         * benchtests/bench-strstr-ifunc.c: Likewise.
34425 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34427         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
34429 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34431         * resolv/netdb.h: Use __glibc_reserved instead __unused.
34432         * rt/aio.h: Likewise.
34433         * sysdeps/gnu/bits/utmp.h: Likewise.
34434         * sysdeps/gnu/bits/utmpx.h: Likewise.
34435         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34436         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
34437         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
34438         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
34439         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
34440         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
34441         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
34442         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
34443         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
34444         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
34445         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
34446         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
34447         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
34448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
34449         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34450         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
34451         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
34452         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
34453         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
34454         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
34455         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
34456         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
34457         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
34458         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34459         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
34460         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34461         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
34462         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
34463         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
34464         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
34465         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
34466         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
34467         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
34468         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34469         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
34470         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
34471         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
34472         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
34473         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
34474         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
34475         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
34476         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34478 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
34480         [BZ #16245]
34481         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
34482         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
34484 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
34486         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
34487         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34488         Likewise.
34490 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34492         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
34493         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
34494         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
34495         (__fesetround): Remove define.
34496         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
34497         rounding and exceptions handling.
34498         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
34499         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
34500         (__fe_nomask_env): Likewise.
34501         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
34502         __fegetround instead of fegetround.
34503         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34504         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
34506 2013-11-21  Roland McGrath  <roland@hack.frob.com>
34508         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
34509         it's there.
34511         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
34513 2013-11-21  Meador Inge  <meadori@codesourcery.com>
34515         [BZ #11157]
34516         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
34517         (encrypt_r): Likewise.
34518         * malloc/obstack.h (obstack_free): Likewise.
34519         * posix/unistd.h (encrypt): Likewise.
34521 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
34523         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
34524         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
34525         DL_CALL_DT_FINI() that call the functions directly.
34526         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
34527         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
34528         * elf/dl-fini.c: Likewise.
34530 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
34532         * malloc/hooks.c (memalign_check): Add alignment rounding.
34533         * malloc/malloc.c (_mid_memalign): New function.
34534         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
34535         Implement by calling _mid_memalign.
34536         * manual/probes.texi (Memory Allocation Probes): Remove
34537         memory_valloc_retry and memory_pvalloc_retry.
34539 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34541         * locale/programs/locarchive.c (open_archive): Add const
34542         qualifier to ARCHIVEFNAME and copy default fname to
34543         DEFAULT_FNAME.
34545         [BZ #15601]
34546         * libio/tst-widetext.input: Rename Oriya to Odia.
34547         * locale/iso-639.def: Likewise.
34549         * manual/probes.texi (Mathematical Function Probes): Add
34550         documentation for sin, cos, asin and acos probes.
34551         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
34552         (__sin32): Add slowasin probe.
34553         (__cos32): Add slowacos probe.
34554         (__mpsin): Add slowsin probe.
34555         (__mpcos): Add slowcos probe.
34557 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
34559         [BZ #15483]
34560         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
34561         thread-local __sim_exceptions_thread and global
34562         __sim_exceptions_global.
34563         (__sim_disabled_exceptions): Change to thread-local
34564         __sim_disabled_exceptions_thread and global
34565         __sim_disabled_exceptions_global.
34566         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
34567         and global __sim_round_mode_global.
34568         (__simulate_exceptions): Use thread-local floating-point state and
34569         set global state from it as needed.
34570         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
34571         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
34572         __sim_round_mode_thread.
34573         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
34574         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
34575         and global __sim_exceptions_global.
34576         (__sim_disabled_exceptions): Change to thread-local
34577         __sim_disabled_exceptions_thread and global
34578         __sim_disabled_exceptions_global.
34579         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
34580         and global __sim_round_mode_global.
34581         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
34582         (SIM_SET_GLOBAL): Likewise.
34583         * sysdeps/powerpc/soft-fp/sfp-machine.h
34584         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
34585         __sim_round_mode_thread.
34586         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
34587         __sim_disabled_exceptions_thread.
34588         (__sim_exceptions): Change to __sim_exceptions_thread.
34589         (__sim_disabled_exceptions): Change to
34590         __sim_disabled_exceptions_thread.
34591         (__sim_round_mode): Change to __sim_round_mode_thread.
34592         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
34593         thread-local floating-point state and set global state from it as
34594         needed.
34595         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
34596         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
34597         (__sim_disabled_exceptions): Remove extern declaration.
34598         (feenableexcept): Use thread-local floating-point state and set
34599         global state from it as needed.
34600         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
34601         extern declaration.
34602         (__sim_disabled_exceptions): Likewise.
34603         (__sim_round_mode): Likewise.
34604         (__fegetenv): Use thread-local floating-point state.
34605         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
34606         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
34607         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
34608         floating-point state and set global state from it as needed.
34609         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
34610         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34611         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
34612         Likewise.
34613         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34614         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
34615         Likewise.
34616         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
34617         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
34618         Use __sim_round_mode_thread.
34619         * math/test-fenv-tls.c: New file.
34620         * math/Makefile (tests): Add test-fenv-tls.
34621         ($(objpfx)test-fenv-tls): Depend on
34622         $(common-objpfx)nptl/libpthread.so.
34624 2013-11-19  Andreas Schwab  <schwab@suse.de>
34626         * locale/programs/locale.c (show_info): Decode wordarray elements.
34627         * locale/categories.def (LC_MONETARY): Add element for
34628         _NL_MONETARY_CRNCYSTR.
34629         * locale/C-monetary.c (conversion_rate): New variable.
34630         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
34631         element.
34633 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
34635         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
34636         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
34638 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34640         * elf/Makefile (tst-auxv): New test.
34641         * elf/tst-auxv.c: New
34642         * elf/rtld.c (dl_main): Adjust AT_EXECFN
34644 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
34646         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
34647         (hidden_proto): Caller changed.
34648         (hidden_tls_proto): New macro.
34649         (libc_hidden_tls_proto): Likewise.
34650         (rtld_hidden_tls_proto): Likewise.
34651         (libm_hidden_tls_proto): Likewise.
34652         (libresolv_hidden_tls_proto): Likewise.
34653         (librt_hidden_tls_proto): Likewise.
34654         (libdl_hidden_tls_proto): Likewise.
34655         (libnss_files_hidden_tls_proto): Likewise.
34656         (libnsl_hidden_tls_proto): Likewise.
34657         (libnss_nisplus_hidden_tls_proto): Likewise.
34658         (libutil_hidden_tls_proto): Likewise.
34660 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
34662         [BZ #10253]
34663         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
34664         (decompose_rpath): Defer expansion to fillin_rpath.
34665         (_dl_init_paths): Pass linkmap to fillin_rpath.
34667 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34669         * benchtests/Makefile: Add strsep.
34670         * benchtests/bench-strsep.c: New file: strsep benchtest.
34671         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
34673 2013-11-18  Andreas Schwab  <schwab@suse.de>
34675         * locale/programs/locale.c (show_info) [case byte]: Check for
34676         '\377' instead of '\177'.
34677         * locale/C-monetary.c (not_available): Always use "\377".
34678         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
34679         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
34680         detect unavailable sign_posn locale elements.
34681         * locale/localeconv.c (__localeconv): For grouping and
34682         mon_grouping handle "\177" and "\377" like no grouping.
34683         (INT_ELEM): New macro.  Use it to set all numeric members.
34684         * locale/programs/ld-monetary.c (monetary_read)
34685         <tok_mon_grouping>: Normalize single -1 to the empty string.
34686         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
34687         Likewise.
34689 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34691         [BZ #16055]
34692         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
34693         when we match (nil).
34694         * stdio-common/tst-sscanf.c (struct test): Add testcase.
34696 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
34698         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
34699         (NO_TEST_INLINE): Update value.
34700         (ERRNO_UNCHANGED): Likewise.
34701         (ERRNO_EDOM): Likewise.
34702         (ERRNO_ERANGE): Likewise.
34703         (IGNORE_RESULT): Likewise.
34704         (check_float_internal): Check signs of NaN results if
34705         TEST_NAN_SIGN used.
34706         (check_complex): Pass TEST_NAN_SIGN flag through to second
34707         check_float_internal call.
34708         (copysign_test_data): Add tests with quiet NaNs as second
34709         argument.  Use TEST_NAN_SIGN.
34710         (fabs_test_data): Add test of negative quiet NaN argument.  Use
34711         TEST_NAN_SIGN.
34712         (signbit_test_data): Add tests of quiet NaN argument.
34713         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
34715         * math/gen-libm-test.pl (show_exceptions): Take extra argument
34716         $ignore_result.
34717         (parse_args): Handle function results specified as IGNORE.
34718         * math/libm-test.inc (IGNORE_RESULT): New macro.
34719         (check_float_internal): Do not check numerical result if flag
34720         IGNORE_RESULT set.
34721         (check_complex): Pass through IGNORE_RESULT to second
34722         check_float_internal call.
34723         (check_int): Do not check numerical result if flag IGNORE_RESULT
34724         set.
34725         (check_long): Likewise.
34726         (check_bool): Likewise.
34727         (check_longlong): Likewise.
34728         (lrint_test_data): Add tests of infinite and NaN arguments.
34729         (lrint_tonearest_test_data): Likewise.
34730         (lrint_towardzero_test_data): Likewise.
34731         (lrint_downward_test_data): Likewise.
34732         (lrint_upward_test_data): Likewise.
34733         (llrint_test_data): Likewise.
34734         (llrint_tonearest_test_data): Likewise.
34735         (llrint_towardzero_test_data): Likewise.
34736         (llrint_downward_test_data): Likewise.
34737         (llrint_upward_test_data): Likewise.
34738         (lround_test_data): Likewise.
34739         (llround_test_data): Likewise.
34741         * math/libm-test.inc (NO_TEST_INLINE): New macro.
34742         (ERRNO_UNCHANGED): Update value.
34743         (ERRNO_EDOM): Likewise.
34744         (ERRNO_ERANGE): Likewise.
34745         (NO_TEST_INLINE_FLOAT): New macro.
34746         (NO_TEST_INLINE_DOUBLE): Likewise.
34747         (enable_test): New function.
34748         (RUN_TEST_f_f): Check enable_test before running test.
34749         (RUN_TEST_2_f): Likewise.
34750         (RUN_TEST_fff_f): Likewise.
34751         (RUN_TEST_c_f): Likewise.
34752         (RUN_TEST_f_f1): Likewise.
34753         (RUN_TEST_fF_f1): Likewise.
34754         (RUN_TEST_fI_f1): Likewise.
34755         (RUN_TEST_ffI_f1): Likewise.
34756         (RUN_TEST_c_c): Likewise.
34757         (RUN_TEST_cc_c): Likewise.
34758         (RUN_TEST_f_i): Likewise.
34759         (RUN_TEST_f_i_tg): Likewise.
34760         (RUN_TEST_ff_i_tg): Likewise.
34761         (RUN_TEST_f_b): Likewise.
34762         (RUN_TEST_f_b_tg): Likewise.
34763         (RUN_TEST_f_l): Likewise.
34764         (RUN_TEST_f_L): Likewise.
34765         (RUN_TEST_fFF_11): Likewise.
34766         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
34767         conditionals.
34768         (cosh_test_data): Likewise.
34769         (exp_test_data): Likewise.
34770         (expm1_test_data): Likewise.
34771         (hypot_test_data): Likewise.
34772         (pow_test_data): Likewise.
34773         (sinh_test_data): Likewise.
34774         (tanh_test_data): Likewise.
34775         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
34776         flags argument.
34778         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
34779         tests with quiet NaN input and output.
34780         (acosh_test_data): Likewise.
34781         (asin_test_data): Likewise.
34782         (asinh_test_data): Likewise.
34783         (atan_test_data): Likewise.
34784         (atanh_test_data): Likewise.
34785         (atan2_test_data): Likewise.
34786         (cbrt_test_data): Likewise.
34787         (cos_test_data): Likewise.
34788         (cosh_test_data): Likewise.
34789         (erf_test_data): Likewise.
34790         (erfc_test_data): Likewise.
34791         (exp_test_data): Likewise.
34792         (exp10_test_data): Likewise.
34793         (exp2_test_data): Likewise.
34794         (expm1_test_data): Likewise.
34795         (hypot_test_data): Likewise.
34796         (j0_test_data): Likewise.
34797         (j1_test_data): Likewise.
34798         (jn_test_data): Likewise.
34799         (lgamma_test_data): Likewise.
34800         (log_test_data): Likewise.
34801         (log10_test_data): Likewise.
34802         (log1p_test_data): Likewise.
34803         (log2_test_data): Likewise.
34804         (pow_test_data): Likewise.
34805         (scalb_test_data): Likewise.
34806         (sin_test_data): Likewise.
34807         (sincos_test_data): Likewise.
34808         (sinh_test_data): Likewise.
34809         (tan_test_data): Likewise.
34810         (tanh_test_data): Likewise.
34811         (tgamma_test_data): Likewise.
34812         (y0_test_data): Likewise.
34813         (y1_test_data): Likewise.
34814         (yn_test_data): Likewise.
34816         [BZ #16167]
34817         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
34818         argument being NaN and avoid computations with second argument in
34819         that case.
34820         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34821         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34822         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34824 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
34826         * locale/iso-639.def: Add Chitwani Tharu (the).
34828 2013-11-14  Andreas Schwab  <schwab@suse.de>
34830         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
34831         word instead of empty string.
34833 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34836         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
34837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34838         (__fe_nomask_env): Likewise.
34840 2013-11-13  Steve Ellcey  <sellcey@mips.com>
34842         * benchtests/bench-timing.h: Include time.h.
34844 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
34846         [BZ #15997]
34847         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
34848         to 3.4.0 for x32.
34849         * sysdeps/unix/sysv/linux/configure: Regenerated.
34851 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
34853         [BZ #16151]
34854         * stdlib/strtod_l.c (round_and_return): Do not consider
34855         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
34856         exponent one less than half the least subnormal exponent.
34857         * stdlib/test-strtod-round-data: Add more tests.
34858         * stdlib/tst-strtod-round.c (tests): Regenerated.
34860 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34862         [BZ #14143]
34863         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
34864         (__fe_mask_env): Likewise.
34865         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
34866         libm_hidden_proto and add function prototype.
34867         (__fe_mask_env): Add function prototype.
34868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34869         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
34870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34871         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
34872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34873         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
34875 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34877         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
34878         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
34880 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34882         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
34883         of htab_find_slot().
34885 2013-11-11  David S. Miller  <davem@davemloft.net>
34887         [BZ #16150]
34888         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
34889         symbol in the non-vis3 case in static builds.
34890         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
34891         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
34892         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
34893         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
34895 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
34897         [BZ #387]
34898         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
34899         it is empty.
34901 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34903         * benchtests/Makefile: Add bench-strtod.
34904         * benchtests/bench-strtod.c: New file: strtod benchtest
34906 2013-11-11  Andreas Schwab  <schwab@suse.de>
34908         [BZ #16153]
34909         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
34910         terminating NUL in key length.
34912 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34914         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34915         Add artificial ODP entry for vDSO symbol for PPC64.
34916         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
34917         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34919 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34921         [BZ #15374]
34922         * nss/getent.c (services_keys): Recognize services starting with digit.
34924 2013-11-06  David S. Miller  <davem@davemloft.net>
34926         [BZ #15985]
34927         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
34928         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
34930 2013-11-06  Will Newton  <will.newton@linaro.org>
34932         * manual/memory.texi (Malloc Examples): Remove register
34933         keyword from examples.
34935 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
34937         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
34939 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
34941         [BZ #6981]
34942         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
34943         depending on [__GCC_IEC_559 > 0].
34944         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
34945         depending on [__GCC_IEC_559_COMPLEX > 0].
34947 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
34949         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
34950         to iso-639.def.
34952 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
34954         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
34956 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
34958         [BZ #16112]
34959         * malloc/malloc (malloc_info): Do not handle first bin as
34960         special case.
34962 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
34964         * locale/iso-639.def: Add Central Nahuatl (nhn).
34966 2013-11-01  Bruno Haible  <bruno@clisp.org>
34968         [BZ #7003]
34969         * manual/math.texi (BSD Random): Specify range upper bound as
34970         in POSIX.
34972 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
34974         * locale/iso-639.def: Add Meadow Mari (mhr).
34976 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
34978         [BZ #14752], [BZ #15763]
34979         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
34980         Validate name.
34981         * rt/tst_shm.c: Add test for escaping directory.
34983 2013-10-31  Andreas Schwab  <schwab@suse.de>
34985         [BZ #15917]
34986         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
34987         followed by 'x' as part of digit sequence.
34988         * stdio-common/tst-sscanf.c (double_tests2): New tests.
34990 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
34992         [BZ #16037]
34993         * configure.ac: allow GNU Make 4.0 and greater.
34994         * configure: Regenerated.
34996 2013-10-30  Will Newton  <will.newton@linaro.org>
34998         [BZ #16038]
34999         * malloc/hooks.c (memalign_check): Limit alignment to the
35000         maximum representable power of two.
35001         * malloc/malloc.c (__libc_memalign): Likewise.
35002         * malloc/tst-memalign.c (do_test): Add test for very
35003         large alignment values.
35004         * malloc/tst-posix_memalign.c (do_test): Likewise.
35006 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35008         [BZ #11087]
35009         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35010         (munmap_chunk): Likewise.
35011         (mremap_chunk): Likewise.
35013 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35015         [BZ #15799]
35016         * stdlib/div.c (div): Remove obsolete code.
35017         * stdlib/ldiv.c (ldiv): Likewise.
35018         * stdlib/lldiv.c (lldiv): Likewise.
35020 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35022         [BZ #16071]
35023         * nss/nss_files/files-XXX.c (get_contents_ret): New
35024         enumerator.
35025         (get_contents): New function.
35026         (internal_getent): Use it.  Expand size of LINEBUFLEN.
35028 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
35030         * configure.in: Moved to ...
35031         * configure.ac: ... here. Change reference to configure.in
35032         to configure.ac.
35033         * sysdeps/arm/preconfigure.ac: ... here.
35034         configure.in to configure.ac.
35035         * sysdeps/gnu/configure.in: Moved to ...
35036         * sysdeps/gnu/configure.ac: ... here.
35037         * sysdeps/i386/configure.in: Moved to ...
35038         * sysdeps/i386/configure.ac: ... here.
35039         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
35040         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
35041         * sysdeps/mach/configure.in: Moved to ...
35042         * sysdeps/mach/configure.ac: ... here.
35043         * sysdeps/mach/hurd/configure.in: Moved to ...
35044         * sysdeps/mach/hurd/configure.ac: ... here.
35045         * sysdeps/powerpc/configure.in: Moved to ...
35046         * sysdeps/powerpc/configure.ac: ... here.
35047         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
35048         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
35049         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
35050         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
35051         * sysdeps/s390/s390-32/configure.in: Moved to ...
35052         * sysdeps/s390/s390-32/configure.ac: ... here.
35053         * sysdeps/s390/s390-64/configure.in: Moved to ...
35054         * sysdeps/s390/s390-64/configure.ac: ... here.
35055         * sysdeps/sh/configure.in: Moved to ...
35056         * sysdeps/sh/configure.ac: ... here.
35057         * sysdeps/sparc/configure.in: Moved to ...
35058         * sysdeps/sparc/configure.ac: ... here.
35059         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
35060         * sysdeps/unix/sysv/linux/configure.ac: ... here.
35061         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35062         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
35063         * sysdeps/x86_64/configure.in: Moved to ...
35064         * sysdeps/x86_64/configure.ac: ... here.
35065         * sysdeps/x86_64/preconfigure.in: Moved to ...
35066         * sysdeps/x86_64/preconfigure.ac: ... here.
35067         * aclocal.m4: Change reference to configure.in to configure.ac.
35068         * config.h.in: Likewise.
35069         * manual/install.texi: Likewise.
35070         * manual/maint.texi: Likewise.
35071         * Makefile: Likewise.
35072         * malloc/Makefile: Likewise.
35073         * nscd/Makefile: Likewise.
35074         * Makeconfig: Change reference to configure.in and
35075         preconfigure.in to configure.ac and preconfigure.ac
35076         respectively.
35077         * INSTALL: Regenerated.
35078         * configure: Likewise.
35079         * sysdeps/gnu/configure: Likewise.
35080         * sysdeps/i386/configure: Likewise.
35081         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
35082         * sysdeps/mach/configure: Likewise.
35083         * sysdeps/mach/hurd/configure: Likewise.
35084         * sysdeps/powerpc/configure: Likewise.
35085         * sysdeps/powerpc/powerpc32/configure: Likewise.
35086         * sysdeps/powerpc/powerpc64/configure: Likewise.
35087         * sysdeps/s390/s390-32/configure: Likewise.
35088         * sysdeps/s390/s390-64/configure: Likewise.
35089         * sysdeps/sh/configure: Likewise.
35090         * sysdeps/sparc/configure: Likewise.
35091         * sysdeps/unix/sysv/linux/configure: Likewise.
35092         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
35093         * sysdeps/x86_64/configure: Likewise.
35094         * sysdeps/x86_64/preconfigure: Likewise.
35096 2013-10-29  Andreas Schwab  <schwab@suse.de>
35098         * stdio-common/Makefile (tst-swscanf-ENV): Define.
35100 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35102         * benchtests/pow-inputs: Add new inputs.
35104         * benchtests/exp-inputs: Add new inputs.
35106         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
35107         conditional check for return value.
35108         (__cos32): Likewise.
35110 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35112         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
35113         to provide a boost for large inputs with word alignment.
35114         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
35115         implementation based on optimized PPC64 strcpy.
35116         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
35117         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
35118         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
35119         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
35121 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35123         [BZ #2801]
35124         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
35126 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35128         [BZ #14876]
35129         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
35130         * time/tst-strptime.c (day_tests): Add testcase.
35132 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35134         [BZ #14029]
35135         * manual/pattern.texi: Acknowledge that fnmatch can fail.
35137 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
35139         [BZ #16074]
35140         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
35141         MAP_FAILED on error.
35143 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35145         [BZ #16072]
35146         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
35147         heap for large requests.
35149 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
35151         [BZ #9954]
35152         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
35153         result if the result has no associated interface.
35154         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
35155         interface for all 127.X.Y.Z addresses.
35157 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
35159         * locale/iso-639.def: Add Ligurian (lij)
35161 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
35163         [BZ #15825]
35164         * sunrpc/rpc_main.c: Document rpcgen -5.
35166 2013-10-19  Michael Stahl  <mstahl@redhat.com>
35168         * elf/rtld.c (do_preload): Print the reason why preloading failed.
35170 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35172         [BZ #10278]
35173         * posix/glob.c: Match only directories when trailing slash is present.
35174         * posix/tst-gnuglob.c (my_opendir): Do not open files.
35175         (main): Add testcase.
35177 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35179         [BZ #15670]
35180         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
35182 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
35184         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
35185         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
35186         AUTH_DES and cindex for FIPS 140-2.
35187         (DES Encryption): Add cindex FIPS 46-3.
35189         * locale/locarchive.h (struct locarhandle): Add fname.
35190         * locale/programs/localedef.c (main): Pass ARGV[remaining]
35191         if an optional argument was specified to --list-archive,
35192         otherwise NULL.
35193         * locale/programs/locarchive.c (show_archive_content): Take new
35194         argument fname and pass it via ah.fname to open_archive.
35195         * locale/programs/localedef.h: Update decl.
35196         (open_archive): If AH->fname is non-null, open that file
35197         rather than the default file name, and don't ignore ENOENT.
35198         (create_archive): Set AH.fname to NULL.
35199         (delete_locales_from_archive): Likewise.
35200         (add_locales_to_archive): Likewise.
35201         * locale/programs/locfile.c (write_all_categories): Likewise.
35203 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
35204             Aldy Hernandez  <aldyh@redhat.com>
35206         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
35207         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
35208         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
35209         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
35210         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
35211         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
35212         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
35213         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
35214         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
35215         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
35216         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
35217         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
35218         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
35219         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
35220         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
35221         Likewise.
35222         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
35223         Likewise.
35224         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
35225         Likewise.
35226         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
35227         Likewise.
35228         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
35229         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
35230         Likewise.
35231         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
35232         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
35233         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
35234         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
35235         Likewise.
35236         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
35237         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
35238         * sysdeps/powerpc/preconfigure: Likewise.
35239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
35240         Likewise.
35241         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
35242         Replace contents of file by #include of <fenv_libc.h>.
35243         * sysdeps/powerpc/soft-fp/sfp-machine.h
35244         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
35245         and <sys/prctl.h>.
35246         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
35247         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
35248         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
35249         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
35250         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
35251         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
35252         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
35253         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
35254         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
35255         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
35256         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
35257         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
35258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35259         Allow copysignl PLT reference to be missing.
35261 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
35262             Joseph Myers  <joseph@codesourcery.com
35264         [BZ #15948]
35265         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
35266         single character.
35267         (add_to_tablewc): Assert sequence of wide characters is nonempty.
35269 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35271         * elf/tst-tls-dlinfo.c: Don't include tls.h.
35272         * elf/tst-tls1.c: Likewise.
35273         * elf/tst-tls10.h: Likewise.
35274         * elf/tst-tls14.c: Likewise.
35275         * elf/tst-tls2.c: Likewise.
35276         * elf/tst-tls3.c: Likewise.
35277         * elf/tst-tls4.c: Likewise.
35278         * elf/tst-tls5.c: Likewise.
35279         * elf/tst-tls6.c: Likewise.
35280         * elf/tst-tls7.c: Likewise.
35281         * elf/tst-tls8.c: Likewise.
35282         * elf/tst-tls9.c: Likewise.
35283         * elf/tst-tlsmod1.c: Likewise.
35284         * elf/tst-tlsmod13.c: Likewise.
35285         * elf/tst-tlsmod13a.c: Likewise.
35286         * elf/tst-tlsmod14a.c: Likewise.
35287         * elf/tst-tlsmod16a.c: Likewise.
35288         * elf/tst-tlsmod16b.c: Likewise.
35289         * elf/tst-tlsmod2.c: Likewise.
35290         * elf/tst-tlsmod3.c: Likewise.
35291         * elf/tst-tlsmod4.c: Likewise.
35292         * elf/tst-tlsmod5.c: Likewise.
35293         * elf/tst-tlsmod6.c: Likewise.
35295 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
35297         [BZ #12486]
35298         * malloc/malloc.c: remove checks for statistics.
35300 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35302         [BZ #15277]
35303         * inet/inet_net.c (inet_network): Detect additional invalid strings.
35304         * inet/tst-network.c: Add testcase.
35306 2013-10-17  Andreas Schwab  <schwab@suse.de>
35308         [BZ #15218]
35309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
35310         to determine canonical name.
35312 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35314         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
35315         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
35316         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35317         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35318         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35319         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35320         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35321         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35322         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35323         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35324         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35325         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35326         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35327         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35328         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35329         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35330         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35331         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35332         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35333         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35334         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35335         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35336         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35337         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
35338         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
35339         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35340         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35341         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
35342         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35343         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
35344         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35345         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35346         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35347         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35348         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35349         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35350         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35351         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35352         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35353         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35354         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35355         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35356         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35357         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35358         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35359         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35360         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35361         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35362         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35363         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35364         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35365         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35366         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35367         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35368         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35369         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35370         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35371         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35373 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
35375         [BZ #16041]
35376         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
35377         make result into a quiet NaN.
35379 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
35381         * soft-fp/adddf3.c: Fix horizontal whitespace.
35382         * soft-fp/addsf3.c: Likewise.
35383         * soft-fp/addtf3.c: Likewise.
35384         * soft-fp/divdf3.c: Likewise.
35385         * soft-fp/divsf3.c: Likewise.
35386         * soft-fp/divtf3.c: Likewise.
35387         * soft-fp/double.h: Likewise.
35388         * soft-fp/eqdf2.c: Likewise.
35389         * soft-fp/eqsf2.c: Likewise.
35390         * soft-fp/eqtf2.c: Likewise.
35391         * soft-fp/extenddftf2.c: Likewise.
35392         * soft-fp/extended.h: Likewise.
35393         * soft-fp/extendsfdf2.c: Likewise.
35394         * soft-fp/extendsftf2.c: Likewise.
35395         * soft-fp/extendxftf2.c: Likewise.
35396         * soft-fp/fixdfdi.c: Likewise.
35397         * soft-fp/fixdfsi.c: Likewise.
35398         * soft-fp/fixdfti.c: Likewise.
35399         * soft-fp/fixsfdi.c: Likewise.
35400         * soft-fp/fixsfsi.c: Likewise.
35401         * soft-fp/fixsfti.c: Likewise.
35402         * soft-fp/fixtfdi.c: Likewise.
35403         * soft-fp/fixtfsi.c: Likewise.
35404         * soft-fp/fixtfti.c: Likewise.
35405         * soft-fp/fixunsdfdi.c: Likewise.
35406         * soft-fp/fixunsdfsi.c: Likewise.
35407         * soft-fp/fixunsdfti.c: Likewise.
35408         * soft-fp/fixunssfdi.c: Likewise.
35409         * soft-fp/fixunssfsi.c: Likewise.
35410         * soft-fp/fixunssfti.c: Likewise.
35411         * soft-fp/fixunstfdi.c: Likewise.
35412         * soft-fp/fixunstfsi.c: Likewise.
35413         * soft-fp/fixunstfti.c: Likewise.
35414         * soft-fp/floatdidf.c: Likewise.
35415         * soft-fp/floatdisf.c: Likewise.
35416         * soft-fp/floatditf.c: Likewise.
35417         * soft-fp/floatsidf.c: Likewise.
35418         * soft-fp/floatsisf.c: Likewise.
35419         * soft-fp/floatsitf.c: Likewise.
35420         * soft-fp/floattidf.c: Likewise.
35421         * soft-fp/floattisf.c: Likewise.
35422         * soft-fp/floattitf.c: Likewise.
35423         * soft-fp/floatundidf.c: Likewise.
35424         * soft-fp/floatundisf.c: Likewise.
35425         * soft-fp/floatunditf.c: Likewise.
35426         * soft-fp/floatunsidf.c: Likewise.
35427         * soft-fp/floatunsisf.c: Likewise.
35428         * soft-fp/floatunsitf.c: Likewise.
35429         * soft-fp/floatuntidf.c: Likewise.
35430         * soft-fp/floatuntisf.c: Likewise.
35431         * soft-fp/floatuntitf.c: Likewise.
35432         * soft-fp/fmadf4.c: Likewise.
35433         * soft-fp/fmasf4.c: Likewise.
35434         * soft-fp/fmatf4.c: Likewise.
35435         * soft-fp/gedf2.c: Likewise.
35436         * soft-fp/gesf2.c: Likewise.
35437         * soft-fp/getf2.c: Likewise.
35438         * soft-fp/ledf2.c: Likewise.
35439         * soft-fp/lesf2.c: Likewise.
35440         * soft-fp/letf2.c: Likewise.
35441         * soft-fp/muldf3.c: Likewise.
35442         * soft-fp/mulsf3.c: Likewise.
35443         * soft-fp/multf3.c: Likewise.
35444         * soft-fp/negdf2.c: Likewise.
35445         * soft-fp/negsf2.c: Likewise.
35446         * soft-fp/negtf2.c: Likewise.
35447         * soft-fp/op-1.h: Likewise.
35448         * soft-fp/op-2.h: Likewise.
35449         * soft-fp/op-4.h: Likewise.
35450         * soft-fp/op-8.h: Likewise.
35451         * soft-fp/op-common.h: Likewise.
35452         * soft-fp/quad.h: Likewise.
35453         * soft-fp/single.h: Likewise.
35454         * soft-fp/soft-fp.h: Likewise.
35455         * soft-fp/sqrtdf2.c: Likewise.
35456         * soft-fp/sqrtsf2.c: Likewise.
35457         * soft-fp/sqrttf2.c: Likewise.
35458         * soft-fp/subdf3.c: Likewise.
35459         * soft-fp/subsf3.c: Likewise.
35460         * soft-fp/subtf3.c: Likewise.
35461         * soft-fp/truncdfsf2.c: Likewise.
35462         * soft-fp/trunctfdf2.c: Likewise.
35463         * soft-fp/trunctfsf2.c: Likewise.
35464         * soft-fp/trunctfxf2.c: Likewise.
35465         * soft-fp/unorddf2.c: Likewise.
35466         * soft-fp/unordsf2.c: Likewise.
35467         * soft-fp/unordtf2.c: Likewise.
35469 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
35471         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
35472         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
35474 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
35476         * elf/dl-libc.c: Clear initfini list after freeing.
35478 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
35480         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
35481         * soft-fp/addsf3.c: Likewise.
35482         * soft-fp/addtf3.c: Likewise.
35483         * soft-fp/divdf3.c: Likewise.
35484         * soft-fp/divsf3.c: Likewise.
35485         * soft-fp/divtf3.c: Likewise.
35486         * soft-fp/double.h: Likewise.
35487         * soft-fp/eqdf2.c: Likewise.
35488         * soft-fp/eqsf2.c: Likewise.
35489         * soft-fp/eqtf2.c: Likewise.
35490         * soft-fp/extenddftf2.c: Likewise.
35491         * soft-fp/extended.h: Likewise.
35492         * soft-fp/extendsfdf2.c: Likewise.
35493         * soft-fp/extendsftf2.c: Likewise.
35494         * soft-fp/extendxftf2.c: Likewise.
35495         * soft-fp/fixdfdi.c: Likewise.
35496         * soft-fp/fixdfsi.c: Likewise.
35497         * soft-fp/fixdfti.c: Likewise.
35498         * soft-fp/fixsfdi.c: Likewise.
35499         * soft-fp/fixsfsi.c: Likewise.
35500         * soft-fp/fixsfti.c: Likewise.
35501         * soft-fp/fixtfdi.c: Likewise.
35502         * soft-fp/fixtfsi.c: Likewise.
35503         * soft-fp/fixtfti.c: Likewise.
35504         * soft-fp/fixunsdfdi.c: Likewise.
35505         * soft-fp/fixunsdfsi.c: Likewise.
35506         * soft-fp/fixunsdfti.c: Likewise.
35507         * soft-fp/fixunssfdi.c: Likewise.
35508         * soft-fp/fixunssfsi.c: Likewise.
35509         * soft-fp/fixunssfti.c: Likewise.
35510         * soft-fp/fixunstfdi.c: Likewise.
35511         * soft-fp/fixunstfsi.c: Likewise.
35512         * soft-fp/fixunstfti.c: Likewise.
35513         * soft-fp/floatdidf.c: Likewise.
35514         * soft-fp/floatdisf.c: Likewise.
35515         * soft-fp/floatditf.c: Likewise.
35516         * soft-fp/floatsidf.c: Likewise.
35517         * soft-fp/floatsisf.c: Likewise.
35518         * soft-fp/floatsitf.c: Likewise.
35519         * soft-fp/floattidf.c: Likewise.
35520         * soft-fp/floattisf.c: Likewise.
35521         * soft-fp/floattitf.c: Likewise.
35522         * soft-fp/floatundidf.c: Likewise.
35523         * soft-fp/floatundisf.c: Likewise.
35524         * soft-fp/floatunsidf.c: Likewise.
35525         * soft-fp/floatunsisf.c: Likewise.
35526         * soft-fp/floatuntidf.c: Likewise.
35527         * soft-fp/floatuntisf.c: Likewise.
35528         * soft-fp/floatuntitf.c: Likewise.
35529         * soft-fp/fmadf4.c: Likewise.
35530         * soft-fp/fmasf4.c: Likewise.
35531         * soft-fp/fmatf4.c: Likewise.
35532         * soft-fp/gedf2.c: Likewise.
35533         * soft-fp/gesf2.c: Likewise.
35534         * soft-fp/getf2.c: Likewise.
35535         * soft-fp/ledf2.c: Likewise.
35536         * soft-fp/lesf2.c: Likewise.
35537         * soft-fp/letf2.c: Likewise.
35538         * soft-fp/muldf3.c: Likewise.
35539         * soft-fp/mulsf3.c: Likewise.
35540         * soft-fp/multf3.c: Likewise.
35541         * soft-fp/negdf2.c: Likewise.
35542         * soft-fp/negsf2.c: Likewise.
35543         * soft-fp/negtf2.c: Likewise.
35544         * soft-fp/op-1.h: Likewise.
35545         * soft-fp/op-2.h: Likewise.
35546         * soft-fp/op-4.h: Likewise.
35547         * soft-fp/op-8.h: Likewise.
35548         * soft-fp/op-common.h: Likewise.
35549         * soft-fp/quad.h: Likewise.
35550         * soft-fp/single.h: Likewise.
35551         * soft-fp/soft-fp.h: Likewise.
35552         * soft-fp/sqrtdf2.c: Likewise.
35553         * soft-fp/sqrtsf2.c: Likewise.
35554         * soft-fp/sqrttf2.c: Likewise.
35555         * soft-fp/subdf3.c: Likewise.
35556         * soft-fp/subsf3.c: Likewise.
35557         * soft-fp/subtf3.c: Likewise.
35558         * soft-fp/truncdfsf2.c: Likewise.
35559         * soft-fp/trunctfdf2.c: Likewise.
35560         * soft-fp/trunctfsf2.c: Likewise.
35561         * soft-fp/trunctfxf2.c: Likewise.
35562         * soft-fp/unorddf2.c: Likewise.
35563         * soft-fp/unordsf2.c: Likewise.
35564         * soft-fp/unordtf2.c: Likewise.
35566 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
35568         [BZ #15672]
35569         * misc/error.c (error_tail): Fix possible buffer overflow.
35571 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
35573         [BZ #13028]
35574         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
35575         address.
35577 2013-10-14  P. J. McDermott  <pj@pehjota.net>
35579         [BZ #832]
35580         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
35581         testing pipefail option.
35583 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
35585         * soft-fp/double.h: Indent preprocessor directives inside #if.
35586         * soft-fp/extended.h: Likewise.
35587         * soft-fp/op-2.h: Likewise.
35588         * soft-fp/op-4.h: Likewise.
35589         * soft-fp/op-common.h: Likewise.
35590         * soft-fp/quad.h: Likewise.
35591         * soft-fp/single.h: Likewise.
35592         * soft-fp/soft-fp.h: Likewise.
35594 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
35596         * iconv/iconv_prog.c: Fix typos.
35597         * stdio-common/psiginfo-data.h: Likewise.
35599 2013-10-12   Reuben Thomas <rrt@sc3d.org>
35601         [BZ #15764]
35602         * locale/setlocale.c: Fix typo.
35604 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
35606         [BZ #16036]
35607         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
35608         signaling NaN arguments.
35609         * soft-fp/unordsf2.c (__unordsf2): Likewise.
35610         * soft-fp/unordtf2.c (__unordtf2): Likewise.
35612         [BZ #14910]
35613         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
35614         unordered operands.
35615         * soft-fp/gesf2.c (__gesf2): Likewise.
35616         * soft-fp/getf2.c (__getf2): Likewise.
35617         * soft-fp/ledf2.c (__ledf2): Likewise.
35618         * soft-fp/lesf2.c (__lesf2): Likewise.
35619         * soft-fp/letf2.c (__letf2): Likewise.
35621         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
35622         * soft-fp/eqsf2.c (__eqsf2): Likewise.
35623         * soft-fp/eqtf2.c (__eqtf2): Likewise.
35624         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
35625         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
35626         * soft-fp/fixdfti.c (__fixdfti): Likewise.
35627         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
35628         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
35629         * soft-fp/fixsfti.c (__fixsfti): Likewise.
35630         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
35631         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
35632         * soft-fp/fixtfti.c (__fixtfti): Likewise.
35633         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
35634         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
35635         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
35636         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
35637         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
35638         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
35639         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
35640         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
35641         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
35642         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
35643         * soft-fp/floatdisf.c (__floatdisf): Likewise.
35644         * soft-fp/floatsisf.c (__floatsisf): Likewise.
35645         * soft-fp/floattidf.c (__floattidf): Likewise.
35646         * soft-fp/floattisf.c (__floattisf): Likewise.
35647         * soft-fp/floattitf.c (__floattitf): Likewise.
35648         * soft-fp/floatundidf.c (__floatundidf): Likewise.
35649         * soft-fp/floatundisf.c (__floatundisf): Likewise.
35650         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
35651         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
35652         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
35653         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
35654         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
35655         * soft-fp/gesf2.c (__gesf2): Likewise.
35656         * soft-fp/getf2.c (__getf2): Likewise.
35657         * soft-fp/ledf2.c (__ledf2): Likewise.
35658         * soft-fp/lesf2.c (__lesf2): Likewise.
35659         * soft-fp/letf2.c (__letf2): Likewise.
35661         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
35662         Undefine and redefine.
35663         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
35664         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
35665         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
35666         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
35667         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35668         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
35669         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35670         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
35671         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35672         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
35673         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35674         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
35675         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35676         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
35677         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35679         [BZ #16032]
35680         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
35681         without decrementing exponent if mantissa >= that for the
35682         denominator, not >.
35683         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
35684         denominator, not >.  Decrement exponent in < case instead of
35685         incrementing in >= case.
35686         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
35687         without decrementing exponent if mantissa >= that for the
35688         denominator, not >.
35690         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
35691         computing saturated result for unsigned overflow.
35693 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35694             Jeff Law  <law@redhat.com>
35696         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
35697         (atan2Mp): Add systemtap probe marker.
35698         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
35699         (__ieee754_log): Add systemtap probe marker.
35700         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
35701         (atanMp): Add systemtap probe marker.
35702         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
35703         (tanMp): Add systemtap probe marker.
35704         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
35705         (__slowexp): Add systemtap probe marker.
35706         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
35707         (__slowpow): Add systemtap probe marker.
35708         * manual/probes.texi: Document probes.
35710 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
35712         [BZ #15362]
35713         * libio/fileops.c (_IO_new_file_write): Return count of bytes
35714         written.
35715         (_IO_new_file_xsputn): Don't return EOF if nothing has been
35716         written.
35717         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
35718         written to buffer but not flushed.
35719         * libio/iofwrite_u.c:  Likewise.
35720         * libio/iopadn.c:  Return bytes returned even if EOF was
35721         encountered.
35722         * libio/iowpadn.c:  Likewise.
35723         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
35724         if _IO_padn does not write the whole buffer.
35725         [!COMPILE_WPRINTF] (PAD): Likewise.
35727 2013-10-10  David S. Miller  <davem@davemloft.net>
35729         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
35730         directory block.
35732 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35734         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
35735         instead of FSF address.
35736         * soft-fp/fixdfti.c: Likewise.
35737         * soft-fp/fixsfti.c: Likewise.
35738         * soft-fp/fixtfti.c: Likewise.
35739         * soft-fp/fixunsdfti.c: Likewise.
35740         * soft-fp/fixunssfti.c: Likewise.
35741         * soft-fp/fixunstfti.c: Likewise.
35742         * soft-fp/floattidf.c: Likewise.
35743         * soft-fp/floattisf.c: Likewise.
35744         * soft-fp/floattitf.c: Likewise.
35745         * soft-fp/floatuntidf.c: Likewise.
35746         * soft-fp/floatuntisf.c: Likewise.
35747         * soft-fp/floatuntitf.c: Likewise.
35748         * soft-fp/trunctfxf2.c: Likewise.
35750         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
35751         * soft-fp/fixdfti.c: Likewise.
35752         * soft-fp/fixsfti.c: Likewise.
35753         * soft-fp/fixtfti.c: Likewise.
35754         * soft-fp/fixunsdfti.c: Likewise.
35755         * soft-fp/fixunssfti.c: Likewise.
35756         * soft-fp/fixunstfti.c: Likewise.
35757         * soft-fp/floattidf.c: Likewise.
35758         * soft-fp/floattisf.c: Likewise.
35759         * soft-fp/floattitf.c: Likewise.
35760         * soft-fp/floatuntidf.c: Likewise.
35761         * soft-fp/floatuntisf.c: Likewise.
35762         * soft-fp/floatuntitf.c: Likewise.
35763         * soft-fp/trunctfxf2.c: Likewise.
35765 2013-10-10  David S. Miller  <davem@davemloft.net>
35767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35769 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
35771         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35772         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
35773         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
35774         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
35775         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
35776         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
35777         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
35779         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
35780         for NaNs before doing comparisons on argument.
35781         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35782         Likewise.
35784 2013-10-10  Will Newton  <will.newton@linaro.org>
35786         * malloc/hooks.c (memalign_check): Ensure the value of bytes
35787         passed to _int_memalign does not overflow.
35789 2013-10-10  Torvald Riegel  <triegel@redhat.com>
35791         * scripts/bench.pl: Add include-sources directive.
35792         * benchtests/README: Update documentation.
35794 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35796         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
35797         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
35798         instead of FP_INIT_ROUNDMODE.
35799         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
35800         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
35802         [BZ #16034]
35803         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
35804         copy class of input value.
35805         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
35806         not handle exceptions.
35807         * soft-fp/negsf2.c (__negsf2): Likewise.
35808         * soft-fp/negtf2.c (__negtf2): Likewise.
35809         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
35811 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
35813         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
35814         semicolon.  From Linux kernel.
35816 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
35818         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
35820 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
35822         [BZ #156]
35823         * manual/socket.texi: Added statement about buffer
35824         for gethostbyname2_r.
35826 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
35828         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
35829         Use .p2align directive instead, throughout.
35830         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35831         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
35832         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
35833         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35834         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35835         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
35836         * sysdeps/x86_64/strchr.S: Likewise.
35837         * sysdeps/x86_64/strrchr.S: Likewise.
35839 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35841         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
35843         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
35845         * sysdeps/generic/math_private.h (__mpsin1): Remove
35846         declaration.
35847         (__mpcos1): Likewise.
35848         (__mpsin): New argument __range_reduce.
35849         (__mpcos): Likewise.
35850         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35851         (slow): Use __mpsin and __mpcos.
35852         (slow1): Likewise.
35853         (slow2): Likewise.
35854         (sloww): Likewise.
35855         (sloww1): Likewise.
35856         (sloww2): Likewise.
35857         (bsloww): Likewise.
35858         (bsloww1): Likewise.
35859         (bsloww2): Likewise.
35860         (cslow2): Likewise.
35861         (csloww): Likewise.
35862         (csloww1): Likewise.
35863         (csloww2): Likewise.
35864         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
35865         range_reduce.  Merge in __mpsin1.
35866         (__mpcos): Likewise.
35867         (__mpsin1): Remove.
35868         (__mpcos1): Likewise.
35870 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
35872         * locale/loadlocale.c (_nl_intern_locale_data): Use
35873         LOCFILE_ALIGNED_P.
35874         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
35875         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
35876         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
35877         obstack data is appropriately aligned.
35878         (obstack_int32_grow_fast): Likewise.
35879         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
35880         * locale/programs/locfile.c (add_locale_uint32): Likewise.
35881         (add_locale_uint32_array): Likewise.
35883 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35885         * benchtests/Makefile: Remove ARGLIST and RET variables.
35886         ($(objpfx)bench-%.c): Pass only function name to the script.
35887         * benchtests/README: Update documentation.
35888         * benchtests/acos-inputs: Add new directives.
35889         * benchtests/acosh-inputs: Likewise.
35890         * benchtests/asin-inputs: Likewise.
35891         * benchtests/asinh-inputs: Likewise.
35892         * benchtests/atan-inputs: Likewise.
35893         * benchtests/atanh-inputs: Likewise.
35894         * benchtests/cos-inputs: Likewise.
35895         * benchtests/cosh-inputs: Likewise.
35896         * benchtests/exp-inputs: Likewise.
35897         * benchtests/log-inputs: Likewise.
35898         * benchtests/pow-inputs: Likewise.
35899         * benchtests/rint-inputs: Likewise.
35900         * benchtests/sin-inputs: Likewise.
35901         * benchtests/sinh-inputs: Likewise.
35902         * benchtests/tan-inputs: Likewise.
35903         * benchtests/tanh-inputs: Likewise.
35904         * scripts/bench.pl: Add support for new directives.
35906 2013-10-07  Alan Modra  <amodra@gmail.com>
35908         * README: Fix careless merge.
35910 2013-10-05  Alan Modra  <amodra@gmail.com>
35912         * NEWS: Mention powerpc64le support and bugs fixed.
35913         * README: Both big-endian and little-endian powerpc64 supported.
35915 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35917         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
35918         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
35919         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
35920         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
35922 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
35924         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
35925         match prototype.
35927 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
35929         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
35930         Move -mhard-float appending from
35931         ports/sysdeps/powerpc/powerpc32/Makefile.
35932         [$(with-fp) = yes] (ASFLAGS): Likewise.
35933         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
35934         * sysdeps/powerpc/nofpu: Move directory from
35935         ports/sysdeps/powerpc/nofpu.
35936         * sysdeps/powerpc/soft-fp: Move directory from
35937         ports/sysdeps/powerpc/soft-fp.
35938         * sysdeps/powerpc/powerpc32/405: Move directory from
35939         ports/sysdeps/powerpc/powerpc32/405.
35940         * sysdeps/powerpc/powerpc32/440: Move directory from
35941         ports/sysdeps/powerpc/powerpc32/440.
35942         * sysdeps/powerpc/powerpc32/464: Move directory from
35943         ports/sysdeps/powerpc/powerpc32/464.
35944         * sysdeps/powerpc/powerpc32/476: Move directory from
35945         ports/sysdeps/powerpc/powerpc32/476.
35946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
35947         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
35948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
35949         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
35950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
35951         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
35952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
35953         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
35954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
35955         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
35956         * README: Update for powerpc-*-linux-gnu software floating point
35957         support in libc.
35959         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
35960         case to powerpc/powerpc32*.
35961         * sysdeps/unix/sysv/linux/configure: Regenerated.
35963         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
35964         (_FPU_MASK_OM): Define as 0x04.
35965         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
35966         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
35967         0x00c10080.
35968         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
35969         0x0000003c.
35970         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
35972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
35973         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35974         getcontext_e500.
35975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
35976         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35977         setcontext_e500.
35978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
35979         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
35980         and setcontext_e500.
35982 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
35984         * locale/iso-3166.def: Update iso-1366.def and related occurrences
35986 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35988         * manual/threads.texi (Default Thread Attributes): Fix typo.
35990 2013-10-04  Will Newton  <will.newton@linaro.org>
35992         * malloc/Makefile: Add tst-memalign.
35993         * malloc/tst-memalign.c: New file.
35995         * malloc/tst-posix_memalign.c: Add comments.
35996         (do_test): Add comments and call free on all potentially
35997         allocated pointers. Add space after cast.
35999         * malloc/tst-pvalloc.c: Add comments.
36000         (do_test): Add comments and call free on all potentially
36001         allocated pointers. Remove duplicate check for NULL pointer.
36002         Add space after cast.
36004         * malloc/tst-valloc.c: Add comments.
36005         (do_test): Add comments and call free on all potentially
36006         allocated pointers. Remove duplicate check for NULL pointer.
36007         Add space after cast.
36009 2013-10-04  Alan Modra  <amodra@gmail.com>
36011         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36012         Use stdint types in rather than __attribute__((mode())).
36013         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36015 2013-10-04  Alan Modra  <amodra@gmail.com>
36017         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36018         Correct handling of unaligned relocs for little-endian.
36019         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36021 2013-10-04  Alan Modra  <amodra@gmail.com>
36023         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
36024         * configure: Regenerate.
36025         * nptl/shlib-versions: Powerpc*le starts at 2.18.
36026         * shlib-versions: Likewise.
36028 2013-10-04  Alan Modra  <amodra@gmail.com>
36030         * string/tester.c (test_memrchr): Increment reported test cycle.
36032 2013-10-04  Alan Modra  <amodra@gmail.com>
36034         * string/test-memcpy.c (do_one_test): When reporting errors, print
36035         string address and don't overrun end of string.
36037 2013-10-04  Alan Modra  <amodra@gmail.com>
36039         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
36040         insrdi.  Make better use of reg selection to speed exit slightly.
36041         Schedule entry path a little better.  Remove useless "are we done"
36042         checks on entry to main loop.  Handle wrapping around zero address.
36043         Correct main loop count.  Handle single left-over word from main
36044         loop inline rather than by using loop_small.  Remove extra word
36045         case in loop_small caused by wrong loop count.  Add little-endian
36046         support.
36047         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36048         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
36049         cache hint.
36050         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36051         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
36052         support.  Avoid rlwimi.
36053         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
36055 2013-10-04  Alan Modra  <amodra@gmail.com>
36057         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
36058         insrdi.  Formatting.
36059         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
36060         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36061         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36062         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36063         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36064         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
36066 2013-10-04  Alan Modra  <amodra@gmail.com>
36068         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
36069         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36070         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36071         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
36072         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36073         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36074         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36075         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36076         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
36077         use of regs.  Use power7 mtocrf.  Tidy function tails.
36079 2013-10-04  Alan Modra  <amodra@gmail.com>
36081         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
36082         Formatting.  Consistently use rXXX register defines or rN defines.
36083         Use early exit labels that avoid restoring unused non-volatile regs.
36084         Make cr field use more consistent with rWORDn compares.  Rename
36085         regs used as shift registers for unaligned loop, using rN defines
36086         for short lifetime/multiple use regs.
36087         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36088         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
36089         addi 1,1,64 to pop stack frame.  Simplify return value code.
36090         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36092 2013-10-04  Alan Modra  <amodra@gmail.com>
36094         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
36095         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
36096         rather than rlwimi.
36097         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
36098         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
36099         little-endian support.  Correct typos.
36100         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
36101         rather than rlwimi.
36102         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
36103         in loop and entry code to keep "and." results.
36104         (strchr): Add little-endian support.  Comment.  Move cntlzd
36105         earlier in tail.
36106         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
36108 2013-10-04  Alan Modra  <amodra@gmail.com>
36110         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
36111         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
36112         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
36113         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
36115 2013-10-04  Alan Modra  <amodra@gmail.com>
36117         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
36118         (rTMP): Define as r11.
36119         (strcmp): Add little-endian support.  Optimise tail.
36120         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
36121         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36122         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36123         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36124         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36125         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36126         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36128 2013-10-04  Alan Modra  <amodra@gmail.com>
36130         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
36131         little-endian support.  Remove unnecessary "are we done" tests.
36132         Handle "s" wrapping around zero and extremely large "size".
36133         Correct main loop count.  Handle single left-over word from main
36134         loop inline rather than by using small_loop.  Correct comments.
36135         Delete "zero" tail, use "end_max" instead.
36136         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
36138 2013-10-04  Alan Modra  <amodra@gmail.com>
36140         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
36141         support.  Don't branch over align.
36142         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
36143         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
36144         support.  Rearrange tmp reg use to suit.  Comment.
36145         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
36147 2013-10-04  Alan Modra  <amodra@gmail.com>
36149         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
36151 2013-10-04  Alan Modra  <amodra@gmail.com>
36153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
36154         conditional form of branch and link when obtaining pc.
36155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36157 2013-10-04  Alan Modra  <amodra@gmail.com>
36159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
36160         HIWORD/LOWORD.
36161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
36162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
36164 2013-10-04  Alan Modra  <amodra@gmail.com>
36166         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
36167         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
36168         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36169         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
36170         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36171         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36172         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
36173         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36174         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36175         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
36177 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36178             Alistair Popple <alistair@ozlabs.au.ibm.com>
36179             Alan Modra <amodra@gmail.com>
36181         [BZ #15723]
36182         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
36183         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
36184         _dl_hwcap access for little-endian.
36185         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
36186         destroy vmx regs when saving unaligned.
36187         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
36188         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
36189         destroy vmx regs when saving unaligned.
36191 2013-10-04  Alan Modra  <amodra@gmail.com>
36193         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
36194         Don't use a union to pack hi/low value.
36196 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36198         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
36199         for little-endian.
36200         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36201         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
36202         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36203         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36204         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36206 2013-10-04  Alan Modra  <amodra@gmail.com>
36208         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
36209         constants to usual value for .cst8 section, and remove redundant
36210         high address load.
36211         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
36212         constant for 0x1p52.  Load little-endian words of double from
36213         correct stack offsets.
36215 2013-10-04  Alan Modra  <amodra@gmail.com>
36217         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
36218         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
36219         words of double from correct stack offsets.
36220         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36221         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
36222         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36223         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36224         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36225         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36226         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36227         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36228         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36229         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36230         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36231         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36232         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36233         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36234         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36235         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
36236         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36238 2013-10-04  Alan Modra  <amodra@gmail.com>
36240         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
36241         64-bit int/double union.
36242         (_FPU_SETCW): Likewise.
36243         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
36244         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
36246 2013-10-04  Alan Modra  <amodra@gmail.com>
36248         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
36249         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
36251 2013-10-04  Alan Modra  <amodra@gmail.com>
36253         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
36254         use vector int constants.
36255         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
36257 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36259         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
36260         array with long long.
36261         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
36262         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
36263         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
36264         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
36265         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
36266         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
36267         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
36268         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
36269         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
36270         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
36271         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
36272         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
36273         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
36275 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36277         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
36278         (__signbit): Likewise.  Correct for little-endian.
36279         (__signbitl): Call __signbit.
36280         (lrint): Correct for little-endian.
36281         (lrintf): Call lrint.
36283 2013-10-04  Alan Modra  <amodra@gmail.com>
36285         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
36286         union 32-bit int array member with 64-bit int array.
36287         (t515, tm256): Double rather than long double.
36288         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
36290 2013-10-04  Alan Modra  <amodra@gmail.com>
36292         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
36293         Delete.
36294         (IEEE854_LONG_DOUBLE_BIAS): Delete.
36295         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
36296         version of math_ldbl.h.
36298 2013-10-04  Alan Modra  <amodra@gmail.com>
36300         [BZ #15734], [BZ #15735]
36301         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
36302         all uses of ieee875 long double macros and unions.  Simplify test
36303         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
36304         ldbl_extract_mantissa value for ix,iy exponents.  Properly
36305         normalize after ldbl_extract_mantissa, and don't add hidden bit
36306         already handled.  Don't treat low word of ieee854 mantissa like
36307         low word of IBM long double and mask off bit when testing for
36308         zero.
36309         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
36310         all uses of ieee875 long double macros and unions.  Simplify tests
36311         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
36312         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
36313         two1022, instead use their values.  Recognise that tests for large
36314         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
36315         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
36316         Rewrite all uses of ieee875 long double macros and unions.  Simplify
36317         test for 0.0L and nan.  Correct negation.
36318         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
36319         ieee875 long double macros and unions.  Correct output for large
36320         magnitude x.  Correct absolute value calculation.
36321         (__erfcl): Likewise.
36322         * math/libm-test.inc: Add tests for errors discovered in IBM long
36323         double versions of fmodl, remainderl, erfl and erfcl.
36325 2013-10-04  Alan Modra  <amodra@gmail.com>
36327         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
36328         all uses of ieee854 long double macros and unions.  Simplify tests
36329         for long doubles that are fully specified by the high double.
36330         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36331         Likewise.
36332         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
36333         Remove dead code too.
36334         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
36335         (__ieee754_ynl): Likewise.
36336         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
36337         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
36338         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36339         Remove dead code too.
36340         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
36341         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
36342         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
36343         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
36344         Simplify.
36345         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
36346         Simplify.
36347         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
36348         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36349         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
36350         Comment on variable precision.
36351         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
36352         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36353         Likewise.
36354         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36355         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36356         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36357         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
36358         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
36360 2013-10-04  Alan Modra  <amodra@gmail.com>
36362         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
36363         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
36364         all uses of ieee854 long double macros and unions.
36365         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
36366         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36367         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
36368         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
36369         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
36370         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36371         Likewise.
36372         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
36373         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36374         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
36375         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36376         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
36377         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
36378         Simplify sign and nan test too.
36379         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
36380         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36381         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
36382         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36383         Likewise.
36384         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36385         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
36386         Likewise.
36387         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36388         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
36389         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
36390         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
36391         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
36392         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
36394 2013-10-04  Alan Modra  <amodra@gmail.com>
36396         * stdio-common/printf_size.c (__printf_size): Don't use
36397         union ieee854_long_double in fpnum union.
36398         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
36399         signbit macro to retrieve sign from long double.
36400         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
36401         retrieve sign from long double.
36402         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
36403         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
36404         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
36405         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36406         * math/test-misc.c (main): Don't use union ieee854_long_double.
36408 2013-10-04  Alan Modra  <amodra@gmail.com>
36410         [BZ #15680]
36411         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
36412         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
36413         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
36414         calculation.  Remove unnecessary test for denormal exponent.
36415         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
36416         Correct handling of denormals.  Avoid undefined shift behaviour.
36417         Correct normalisation of low mantissa when low double is denormal.
36418         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
36419         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
36420         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
36421         Correct normalisation of low mantissa.  Test for overflow of high
36422         mantissa and normalise.
36423         (ldbl_nearbyint): Use more readable constant for two52.
36424         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
36425         (__mpn_construct_long_double): Fix test for overflow of high
36426         mantissa and correct normalisation.  Avoid undefined shift.
36428 2013-10-04  Alan Modra  <amodra@gmail.com>
36430         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36431         (union ibm_extended_long_double): Define as an array of ieee754_double.
36432         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
36433         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
36434         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
36435         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36436         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36437         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
36438         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36439         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36440         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36441         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
36442         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36444 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
36446         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
36447         page size instead of calling getpagesize.
36449         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
36450         (LOCFILE_ALIGN_MASK): Likewise.
36451         (LOCFILE_ALIGN_UP): Likewise.
36452         (LOCFILE_ALIGNED_P): Likewise.
36453         * locale/programs/ld-collate.c (collate_output): Use the new
36454         macros instead of __alignof__ (int32_t).
36455         * locale/weight.h (findidx): Likewise.
36457 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
36459         [BZ #431]
36460         * manual/string.texi: Fix strncat and wcsncat.
36462 2013-10-03  Brooks Moses  <bmoses@google.com>
36464         [BZ #15915]
36465         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
36466         * Makerules: ...here, and adjust associated comments.
36468 2013-10-02  Will Newton  <will.newton@linaro.org>
36470         * malloc/Makefile: Add tst-pvalloc.
36471         * malloc/tst-pvalloc.c: New file.
36473 2013-10-02  Will Newton  <will.newton@linaro.org>
36475         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
36476         improve test coverage.
36478 2013-10-02  Will Newton  <will.newton@linaro.org>
36480         * malloc/Makefile: Add tst-posix_memalign.
36481         * malloc/tst-posix_memalign.c: New file.
36483 2013-10-01  Eric Blake  <eblake@redhat.com>
36485         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
36486         Use __THROWNL rather than __THROW on static functions.
36488 2013-09-30  Petr Machata  <pmachata@redhat.com>
36490         * elf/elf.h (R_AARCH64_ABS16): New macro.
36491         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
36492         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
36493         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
36494         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
36495         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
36496         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
36497         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
36498         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
36499         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
36500         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
36501         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
36502         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
36503         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
36504         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
36505         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
36506         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
36507         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
36508         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
36509         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
36510         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
36511         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
36512         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
36513         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
36514         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
36515         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
36516         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
36517         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
36518         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
36519         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
36520         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
36521         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
36522         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
36523         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
36524         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
36525         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
36526         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
36527         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
36528         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
36529         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
36530         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
36531         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
36532         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
36533         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
36534         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
36535         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
36536         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
36537         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
36538         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
36539         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
36540         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
36541         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
36542         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
36543         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
36544         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
36545         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
36546         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
36547         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
36548         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
36549         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
36550         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
36551         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
36552         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
36553         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
36554         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
36555         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
36556         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
36557         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
36558         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
36559         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
36560         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
36561         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
36562         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
36563         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
36564         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
36565         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
36566         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
36567         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
36568         (R_AARCH64_TLSDESC_LDR): Likewise.
36569         (R_AARCH64_TLSDESC_ADD): Likewise.
36570         (R_AARCH64_TLSDESC_CALL): Likewise.
36572 2013-09-30  Andreas Schwab  <schwab@suse.de>
36574         [BZ #15048]
36575         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
36576         the nss database lookup.
36577         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36580 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
36582         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
36584 2013-09-28  P. J. McDermott  <pj@pehjota.net>
36586         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
36587         ${Bash-specific parameter/pattern/string} parameter expansion.
36588         * sysdeps/unix/make-syscalls.sh: Likewise.
36590 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36592         * sysdeps/sh/stackguard-macros.h: New file.
36594 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
36596         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36597         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
36598         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
36599         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
36600         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36601         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
36603 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36605         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
36606         Fix thread ID register.
36608 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
36610         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
36611         [POSIX || UNIX98]: Require rather than permitting all symbols from
36612         <time.h>.
36613         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
36614         element of struct sched_param.
36615         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
36616         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
36617         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
36618         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
36619         constant.
36621 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
36623         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
36624         argument calculation.
36626 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
36628         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
36629         Expect macro.
36630         [POSIX] (pthread_attr_t): Do not require type.
36631         [POSIX] (pthread_cond_t): Likewise.
36632         [POSIX] (pthread_condattr_t): Likewise.
36633         [POSIX] (pthread_key_t): Likewise.
36634         [POSIX] (pthread_mutex_t): Likewise.
36635         [POSIX] (pthread_mutexattr_t): Likewise.
36636         [POSIX] (pthread_once_t): Likewise.
36637         [POSIX] (pthread_t): Likewise.
36638         [POSIX-based standards] (pthread_atfork): Expect function.
36640 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
36641             Richard Sandiford  <richard@codesourcery.com>
36643         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
36644         (swap_endianness_p): New extern variable.
36645         (set_big_endian): New inline function.
36646         (maybe_swap_uint32): Likewise.
36647         (maybe_swap_uint32_array): Likewise.
36648         (maybe_swap_uint32_obstack): Likewise.
36649         * locale/programs/locfile.c: Include <stdbool.h>.
36650         (swap_endianness_p): New variable.
36651         (add_locale_uint32): Call maybe_swap_uint32.
36652         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
36653         (write_locale_data): Call maybe_swap_uint32_array.
36654         * locale/programs/ld-collate.c (obstack_int32_grow): Call
36655         maybe_swap_uint32.
36656         (obstack_int32_grow_fast): Likewise.
36657         (output_weightwc): Call maybe_swap_uint32_obstack.
36658         (collate_output): Likewise.
36659         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
36660         (OPT_LITTLE_ENDIAN): Likewise.
36661         (options): Add --little-endian and --big-endian options.
36662         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
36663         * locale/programs/locarchive.c: Include "locfile.h".
36664         (GET): New macro.
36665         (SET): Likewise.
36666         (INC): Likewise.
36667         (create_archive): Use the new macros to access fields of
36668         structures directly mapped from or written to locale archives.
36669         (oldlocrecentcmp): Likewise.
36670         (enlarge_archive): Likewise.
36671         (insert_name): Likewise.
36672         (add_alias): Likewise.
36673         (add_locale): Likewise.
36674         (delete_locales_from_archive): Likewise.
36675         (show_archive_content): Likewise.
36676         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
36677         locale data.
36679 2013-09-24  Roland McGrath  <roland@hack.frob.com>
36681         * manual/freemanuals.texi: Updated from (newly) canonical copy at
36682         http://www.gnu.org/doc/freemanuals.texi.
36683         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
36685 2013-09-24  Will Newton  <will.newton@linaro.org>
36687         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
36688         macro.
36690 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
36692         * locale/hashval.h (compute_hashval): Interpret bytes of key as
36693         unsigned char.
36695 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
36697         * manual/threads.texi (POSIX Threads): Fix a typo.
36699 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36701         [BZ #14547]
36702         * string/tst-strcoll-overflow.c: New test case.
36703         * string/Makefile (xtests): Add tst-strcoll-overflow.
36704         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
36705         cache if string sizes may cause integer overflow.
36707         [BZ #14547]
36708         * string/strcoll_l.c (coll_seq): New members rule, idx,
36709         save_idx and back_us.
36710         (get_next_seq_nocache): New function.
36711         (do_compare_nocache): New function.
36712         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
36713         when malloc fails.
36715 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
36717         [BZ #15754]
36718         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
36719         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
36720         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
36722         [BZ #15754]
36723         * elf/Makefile (tests): Add tst-ptrguard1.
36724         (tests-static): Add tst-ptrguard1-static.
36725         (tst-ptrguard1-ARGS): Define.
36726         (tst-ptrguard1-static-ARGS): Define.
36727         * elf/tst-ptrguard1.c: New file.
36728         * elf/tst-ptrguard1-static.c: New file.
36729         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
36730         * sysdeps/i386/stackguard-macros.h: Likewise.
36731         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36732         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36733         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36734         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36735         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36736         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36738 2013-09-23  Hector Marco  <hecmargi@upv.es>
36739             Ismael Ripoll  <iripoll@disca.upv.es>
36740             Carlos O'Donell  <carlos@redhat.com>
36742         [BZ #15754]
36743         * sysdeps/generic/stackguard-macros.h: Define
36744         __pointer_chk_guard_local and POINTER_CHK_GUARD.
36745         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
36746         Define __pointer_chk_guard_local.
36747         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
36748         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
36750 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
36752         [BZ #15859]
36753         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
36755 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
36757         * include/string.h (__ffs): Declare as hidden.
36758         * string/ffs.c (__ffs): Define as hidden.
36759         * sysdeps/i386/ffs.c (__ffs): Likewise.
36760         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
36761         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
36762         * sysdeps/s390/ffs.c (__ffs): Likewise.
36763         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
36765 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
36767         * NEWS: Mention malloc probes.
36769         * malloc/arena.c (new_heap): New memory_heap_new probe.
36770         (grow_heap): New memory_heap_more probe.
36771         (shrink_heap): New memory_heap_less probe.
36772         (heap_trim): New memory_heap_free probe.
36773         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
36774         (systrim): New memory_sbrk_less probe.
36775         * manual/probes.texi: Document them.
36777         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
36778         * manual/probes.texi: Document it.
36780         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
36781         (__libc_realloc): Add memory_realloc_retry probe.
36782         (__libc_memalign): Add memory_memalign_retry probe.
36783         (__libc_valloc): Add memory_valloc_retry probe.
36784         (__libc_pvalloc): Add memory_pvalloc_retry probe.
36785         (__libc_calloc): Add memory_calloc_retry probe.
36786         * manual/probes.texi: Document them.
36788         * malloc/arena.c (get_free_list): Add probe
36789         memory_arena_reuse_free_list.
36790         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
36791         and memory_arena_reuse.
36792         (arena_get2) [!PER_THREAD]: Likewise.
36793         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
36794         memory_arena_reuse_realloc.
36795         * manual/probes.texi: Document them.
36797         * malloc/malloc.c (__libc_free): Add
36798         memory_mallopt_free_dyn_thresholds probe.
36799         (__libc_mallopt): Add multiple memory_mallopt probes.
36800         * manual/probes.texi: Document them.
36802         * malloc/malloc.c: Include stap-probe.h.
36803         (__libc_mallopt): Add memory_mallopt probe.
36804         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
36805         * manual/probes.texi: New.
36806         * manual/Makefile (chapters): Add probes.
36807         * manual/threads.texi: Set next node.
36809 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
36811         [BZ #15963, #13985]
36812         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
36813         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
36814         Add `Chinese' to `nan' entry name.
36816 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36818         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
36819         (POLYNOMIAL): Likewise.
36820         (TAYLOR_SINCOS): Likewise.
36821         (TAYLOR_SLOW): Likewise.
36822         (__sin): Use TAYLOR_SINCOS.
36823         (__cos): Likewise.
36824         (slow): Use TAYLOR_SLOW.
36825         (sloww): Likewise.
36826         (bsloww): Likewise.
36827         (csloww): Likewise.
36829 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36831         * stdlib/strtod_l.c: Fix buffer overrun.
36833 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36835         * benchtests/Makefile (bench): Add sincos.
36836         * benchtests/bench-sincos.c: New file.
36838         * math/libm-test.inc (cos_test_data): New test inputs.
36839         (sin_test_data): Likewise.
36841         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
36842         macro.
36843         (__sin): Use it.
36844         (__cos): Likewise.
36845         (slow1): Likewise.
36846         (slow2): Likewise.
36847         (sloww1): Likewise.
36848         (sloww2): Likewise.
36849         (bsloww1): Likewise.
36850         (bsloww2): Likewise.
36851         (cslow2): Likewise.
36852         (csloww1): Likewise.
36853         (csloww2): Likewise.
36855         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
36856         function.
36857         (__sin): Use it.
36858         (__cos): Likewise.
36860         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
36861         gotos.
36862         (__cos): Likewise.
36864 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
36866         * config.h.in (HAVE_MIPS_NAN2008): New macro.
36867         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
36868         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
36869         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
36870         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
36871         * elf/cache.c (print_entry): Handle the new cache flags.
36873 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36874             Aldy Hernandez  <aldyh@redhat.com>
36876         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
36877         Change condition to [_SOFT_FLOAT].
36878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
36879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
36880         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
36881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
36882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
36883         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
36884         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
36885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
36886         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
36887         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
36888         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
36889         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
36890         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
36891         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
36892         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
36893         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
36894         declaration.
36896 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36898         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
36899         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36900         (__longjmp): Use LOAD_GP to load saved GPRs.
36901         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
36902         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36903         (__sigsetjmp): Use SAVE_GP to save GPRs.
36905         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
36906         Do not append -msoft-float.
36907         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
36909 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36911         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
36913 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
36915         [BZ #15966]
36916         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
36917         (_FPU_GETCW): Use initial "__" on variable and field names but not
36918         on macro parameter name.
36919         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
36920         parentheses around reference to macro parameter.
36922 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
36924         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
36925         prototype.
36926         (ctype_startup): Use uint32_t in cast and sizeof for
36927         ctype->charnames.
36929 2013-09-11  Jia Liu  <proljc@gmail.com>
36931         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
36932         __daddr_t_defined.
36933         [__FreeBSD__]: Likewise.
36935 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
36937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36938         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
36939         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
36940         (strchr): Remove __strchr_sse42 ifunc selection.
36941         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
36942         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
36944 2013-09-11  Will Newton  <will.newton@linaro.org>
36946         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
36947         parameter to RES. Remove hardcoded 1000 value.
36948         * benchtests/bench-skeleton.c (main): Pass RES parameter
36949         to TIMING_INIT and multiply result by 1000.
36951 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36955 2013-09-11  Andreas Schwab  <schwab@suse.de>
36957         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36958         if not defined.
36959         (O_TMPFILE) [__USE_GNU]: Define.
36960         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
36961         Define.
36963 2013-09-11  Will Newton  <will.newton@linaro.org>
36965         [BZ #15857]
36966         * malloc/malloc.c (__libc_memalign): Check the value of bytes
36967         does not overflow.
36969 2013-09-11  Will Newton  <will.newton@linaro.org>
36971         [BZ #15856]
36972         * malloc/malloc.c (__libc_valloc): Check the value of bytes
36973         does not overflow.
36975 2013-09-11  Will Newton  <will.newton@linaro.org>
36977         [BZ #15855]
36978         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
36979         does not overflow.
36981 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
36983         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
36984         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36985         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36986         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36987         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36989 2013-09-10  Allan McRae  <allan@archlinux.org>
36991         [BZ #15748]
36992         * manual/arith.texi (Parsing of Floats): Clarify
36993         cross-reference.
36995         [BZ #15849]
36996         * manual/install.texi (Running make install): Mention
36997         --enable-pt-chown.
36998         * INSTALL: Regenerated.
37000 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
37002         * csu/init-first.c (_init): Remove the !SHARED condition around
37003         FPU control word initialization.
37004         * elf/dl-support.c (_dl_fpu_control): New variable.
37005         (_dl_aux_init) <AT_FPUCW>: Initialize it.
37006         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
37007         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
37008         * math/test-fpucw-static.c: New file.
37009         * math/test-fpucw-ieee.c: New file.
37010         * math/test-fpucw-ieee-static.c: New file.
37011         * math/Makefile (tests): Add `test-fpucw-ieee' and
37012         `$(tests-static)'.
37013         (tests-static): New variable.
37014         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
37015         dependency to...
37016         [($(build-shared),yes)]
37017         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37018         ... this.
37019         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
37020         New dependency.
37022 2013-09-09  Allan McRae  <allan@archlinux.org>
37024         [BZ #15939]
37025         * manual/string.texi (Collation Functions): Fix typo in
37026         strcoll example.
37027         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
37029         [BZ #15893]
37030         * stdlib/isomac.c (get_null_defines): Fix memory leak.
37032         [BZ #15892]
37033         * libio/memstream.c (open_memstream): Fix memory leak.
37034         * libio/wmemstream.c (open_wmemstream): Likewise.
37036         [BZ #15895]
37037         * nscd/netgroupcache.c: Fix nesting of ifdefs.
37039 2013-09-09  Will Newton  <will.newton@linaro.org>
37041         * malloc/Makefile: Add tst-realloc to tests.
37042         * malloc/tst-realloc.c: New file.
37044 2013-09-09  Allan McRae  <allan@archlinux.org>
37046         [BZ #15844]
37047         * COPYING: Update from GNU website to fix FSF address.
37048         * COPYING.LIB: Likewise.
37050 2013-09-06  David S. Miller  <davem@davemloft.net>
37052         * po/zh_TW.po: Update Chinese (traditional) translation from
37053         translation project.
37055 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
37056             Joseph Myers  <joseph@codesourcery.com>
37058         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
37059         "localeinfo.h".
37060         (obstack_chunk_alloc): New macro.
37061         (obstack_chunk_free): Likewise.
37062         (record_offset): New function.
37063         (init_locale_data): Likewise.
37064         (align_locale_data): Likewise.
37065         (add_locale_empty): Likewise.
37066         (add_locale_raw_data): Likewise.
37067         (add_locale_raw_obstack): Likewise.
37068         (add_locale_string): Likewise.
37069         (add_locale_wstring): Likewise.
37070         (add_locale_uint32): Likewise.
37071         (add_locale_uint32_array): Likewise.
37072         (add_locale_char): Likewise.
37073         (start_locale_structure): Likewise.
37074         (end_locale_structure): Likewise.
37075         (start_locale_prelude): Likewise.
37076         (end_locale_prelude): Likewise.
37077         (write_locale_data): Take locale_file structure rather than an
37078         iovec.
37079         * locale/programs/locfile.h: Include "obstack.h".
37080         (struct locale_file): Change to store locale file contents instead
37081         of header.
37082         (init_locale_data): New prototype.
37083         (align_locale_data): Likewise.
37084         (add_locale_empty): Likewise.
37085         (add_locale_raw_data): Likewise.
37086         (add_locale_raw_obstack): Likewise.
37087         (add_locale_string): Likewise.
37088         (add_locale_wstring): Likewise.
37089         (add_locale_uint32): Likewise.
37090         (add_locale_uint32_array): Likewise.
37091         (add_locale_char): Likewise.
37092         (start_locale_structure): Likewise.
37093         (end_locale_structure): Likewise.
37094         (start_locale_prelude): Likewise.
37095         (end_locale_prelude): Likewise.
37096         (write_locale_data): Update prototype.
37097         * locale/programs/3level.h (struct TABLE): Remove result field.
37098         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
37099         Use new locale_file interface.
37100         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
37101         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
37102         * locale/programs/ld-address.c (address_output): Use new
37103         locale_file interface.
37104         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
37105         NO_ADD_LOCALE.
37106         (collate_finish): Don't call collseq_table_finalize.
37107         (collate_output): Use new locale_file interface.
37108         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
37109         in file.
37110         (NO_FINALIZE): Change to NO_ADD_LOCALE.
37111         (TABLE): Move defines earlier in file.
37112         (ELEMENT): Likewise.
37113         (DEFAULT): Likewise.
37114         (wctrans_table_add): Move macro and inline function earlier in
37115         file.
37116         (struct wctype_table): Move type earlier in file.
37117         (add_locale_wctype_table): New static prototype.
37118         (struct locale_ctype_t): Use logical types instead of struct iovec
37119         pointers for members.
37120         (ctype_output): Use new locale_file interface.
37121         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
37122         new locale_file interface.
37123         (allocate_arrays): Update for use of new locale_file interface.
37124         * locale/programs/ld-identification.c (identification_output): Use
37125         new locale_file interface.
37126         * locale/programs/ld-measurement.c (measurement_output): Likewise.
37127         * locale/programs/ld-messages.c (messages_output): Likewise.
37128         * locale/programs/ld-monetary.c (monetary_output): Likewise.
37129         * locale/programs/ld-name.c (name_output): Likewise.
37130         * locale/programs/ld-numeric.c (numeric_output): Likewise.
37131         * locale/programs/ld-paper.c (paper_output): Likewise.
37132         * locale/programs/ld-telephone.c (telephone_output): Likewise.
37133         * locale/programs/ld-time.c (time_output): Likewise.
37135 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37137         * benchtests/Makefile: Add memrchr benchmark.
37138         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
37139         benchmark as memrchr.
37140         * benchtests/bench-memrchr-ifunc.c: New file.
37141         * benchtests/bench-memrchr.c: New file.
37143 2013-09-06   Will Newton  <will.newton@linaro.org>
37145         * benchtests/Makefile (string-bench): Add memcpy.
37147 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
37148             Cong Wang  <amwang@redhat.com>
37150         [BZ #15850]
37151         * sysdeps/unix/sysv/linux/bits/in.h
37152         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
37153         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
37154         before __USE_KERNEL_IPV6_DEFS uses.
37155         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
37156         IPPROTO_BEETPH.
37157         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
37158         sockaddr_in6, or ipv6_mreq.
37160 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37162         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
37163         memory access for final bytes in some large inputs.
37164         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
37166 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37168         * string/test-memrchr.c: New file.
37169         * string/test-memrchr-ifunc.c: New file.
37170         * string/Makefile: Add new memrchr testcase.
37172 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
37174         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
37175         fanotify_init returns EPERM.
37177 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37179         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
37180         errors.
37181         (top level): Treat second token from macro or constant entries for
37182         allowed headers as allowed.
37183         * include/complex.h: Condition internal declarations on
37184         [!_ISOMAC].
37185         * include/fenv.h: Condition include of <stdbool.h> and internal
37186         declarations on [!_ISOMAC].
37188 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
37190         [BZ #15923]
37191         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
37193 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37195         * configure.in (--enable-versioning): Remove configure option.
37196         (libc_cv_asm_symver_directive): Remove configure test.
37197         (libc_cv_ld_version_script_option): Likewise.
37198         (VERSIONING): Remove variable and AC_SUBST.
37199         (DO_VERSIONING): Remove AC_DEFINE.
37200         * configure: Regenerated.
37201         * config.h.in (DO_VERSIONING): Remove macro.
37202         * Makerules [$(versioning) = yes]: Change conditionals to
37203         [$(build-shared) = yes].
37204         * config.make.in (versioning): Remove variable.
37205         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
37206         [$(build-shared) = yes].
37207         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
37208         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
37209         * elf/Makefile [$(versioning) = yes]: Change conditionals to
37210         [$(build-shared) = yes].
37211         * extra-lib.mk [$(versioning) = yes]: Likewise.
37212         * hurd/Makefile [$(versioning) = yes]: Likewise.
37213         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
37214         [SHARED].
37215         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
37216         [SHARED].
37217         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37218         [SHARED && !NO_HIDDEN].
37219         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
37220         [SHARED].
37221         [SHARED && DO_VERSIONING]: Likewise..
37222         * libio/Makefile [$(versioning) = yes]: Change conditionals to
37223         [$(build-shared) = yes].
37224         * manual/install.texi (--disable-versioning): Remove
37225         documentation.
37226         * INSTALL: Regenerated.
37227         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
37228         to [SHARED].
37229         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
37230         [$(build-shared) = yes].
37231         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
37232         * sysdeps/i386/i686/multiarch/strstr-c.c
37233         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37234         [SHARED && !NO_HIDDEN].
37235         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
37236         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
37237         * sysdeps/powerpc/powerpc32/dl-machine.c
37238         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
37239         * sysdeps/powerpc/powerpc32/sysdep.h
37240         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
37241         to [SHARED && PIC && !NO_HIDDEN].
37242         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
37243         conditional to [SHARED].
37245 2013-09-04   Will Newton  <will.newton@linaro.org>
37247         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
37248         * benchtests/bench-string.h: Include bench-timing.h instead
37249         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
37250         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
37251         call to HP_TIMING_DIFF_INIT.
37252         * benchtests/bench-memccpy.c: Use bench-timing.h macros
37253         instead of hp-timing.h macros.
37254         * benchtests/bench-memchr.c: Likewise.
37255         * benchtests/bench-memcmp.c: Likewise.
37256         * benchtests/bench-memcpy.c: Likewise.
37257         * benchtests/bench-memmem.c: Likewise.
37258         * benchtests/bench-memmove.c: Likewise.
37259         * benchtests/bench-memset.c: Likewise.
37260         * benchtests/bench-rawmemchr.c: Likewise.
37261         * benchtests/bench-strcasecmp.c: Likewise.
37262         * benchtests/bench-strcasestr.c: Likewise.
37263         * benchtests/bench-strcat.c: Likewise.
37264         * benchtests/bench-strchr.c: Likewise.
37265         * benchtests/bench-strcmp.c: Likewise.
37266         * benchtests/bench-strcpy.c: Likewise.
37267         * benchtests/bench-strcpy_chk.c: Likewise.
37268         * benchtests/bench-strlen.c: Likewise.
37269         * benchtests/bench-strncasecmp.c: Likewise.
37270         * benchtests/bench-strncat.c: Likewise.
37271         * benchtests/bench-strncmp.c: Likewise.
37272         * benchtests/bench-strncpy.c: Likewise.
37273         * benchtests/bench-strnlen.c: Likewise.
37274         * benchtests/bench-strpbrk.c: Likewise.
37275         * benchtests/bench-strrchr.c: Likewise.
37276         * benchtests/bench-strspn.c: Likewise.
37277         * benchtests/bench-strstr.c: Likewise.
37279 2013-09-04  Will Newton  <will.newton@linaro.org>
37281         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
37283 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
37285         [BZ #15427]
37286         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37287         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
37288         * math/libm-test.inc (lgamma_test_data): Add more tests.
37289         * sysdeps/i386/fpu/libm-test-ulps: Update.
37290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37292 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
37294         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
37295         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37296         Add ifunc.
37297         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37298         Add strcmp-sse2-unaligned
37299         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
37301 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37303         * Versions.def (libc): Add GLIBC_2.19.
37305 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37307         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
37308         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
37310 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
37312         [BZ #14155]
37313         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
37314         intermediate calculations in recurrence.
37315         (__ieee754_ynf): Likewise.
37316         * math/libm-test.inc (jn_test_data): Do not allow spurious
37317         underflow exception.  Add more tests.
37318         (yn_test_data): Add more tests.
37319         * sysdeps/i386/fpu/libm-test-ulps: Update.
37320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37322 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
37324         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
37326 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37328         * csu/init-first.c: Fix then/than typos.
37329         * locale/programs/ld-collate.c: Likewise.
37330         * locale/programs/linereader.h: Likewise.
37331         * manual/charset.texi: Likewise.
37332         * manual/filesys.texi: Likewise.
37333         * manual/stdio.texi: Likewise.
37334         * manual/string.texi: Likewise.
37335         * stdlib/fmtmsg.c: Likewise.
37336         * sysdeps/i386/stpncpy.S: Likewise.
37337         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37338         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37339         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37340         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37342 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37344         * elf/dl-open.c: Fix typos.
37345         * iconvdata/gbbig5.c: Likewise.
37346         * iconvdata/iso-2022-jp.c: Likewise.
37347         * iconv/gconv_int.h: Likewise.
37348         * iconv/loop.c: Likewise.
37349         * nis/rpcsvc/nis.h: Likewise.
37350         * resolv/ns_name.c: Likewise.
37351         * stdio-common/vfscanf.c: Likewise.
37352         * streams/stropts.h: Likewise.
37353         * sunrpc/rpc_thread.c: Likewise.
37354         * sysdeps/i386/strpbrk.S: Likewise.
37355         * sysdeps/ieee754/k_standard.c: Likewise.
37356         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37357         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37358         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
37359         * sysdeps/mach/hurd/profil.c: Likewise.
37360         * sysdeps/s390/dl-procinfo.h: Likewise.
37361         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
37362         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37363         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
37364         * sysdeps/x86_64/dl-trampoline.S: Likewise.
37365         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37367 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
37369         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
37370         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
37372 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
37374         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
37375         aix specific files.
37376         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
37377         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
37378         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
37379         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
37380         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
37381         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
37382         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
37383         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
37385 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
37386             Roland McGrath  <roland@hack.frob.com>
37388         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
37389         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
37391 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37393         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
37394         __executable_start symbol instead of _start.
37396 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
37398         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
37399         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
37400         Move macros to...
37401         * sysdeps/gnu/ldsodefs.h: ... this new file.
37403         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
37404         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
37405         instead of ELFOSABI_LINUX.
37407         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
37408         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
37409         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
37410         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
37411         Likewise.
37412         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
37413         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
37414         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
37415         Likewise.
37416         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37417         (ibm_extended_long_double): Add ieee_nan member.
37418         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
37419         (do_test): New function.
37421         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
37422         TEST_TRUNC.
37423         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
37424         functions, renamed from truncdfsf_test, trunctfsf_test,
37425         trunctfdf_test.
37426         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
37427         functions.
37428         (do_test): Run all these.
37430 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
37432         * argp/argp-help.c: Fix typos.
37433         * argp/argp-parse.c: Likewise.
37434         * debug/backtracesyms.c: Likewise.
37435         * elf/elf.h: Likewise.
37436         * malloc/malloc.c: Likewise.
37437         * nis/nis_print.c: Likewise.
37438         * resolv/res_comp.c: Likewise.
37439         * stdlib/stdlib.h: Likewise.
37440         * sunrpc/clnt_tcp.c: Likewise.
37441         * sunrpc/clnt_udp.c: Likewise.
37442         * sunrpc/clnt_unix.c: Likewise.
37443         * sysdeps/unix/bsd/ptsname.c: Likewise.
37444         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37445         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
37446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
37447         Likewise.
37448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
37449         Likewise.
37450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37451         Likewise.
37452         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37454 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37456         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
37457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37459 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
37461         [BZ #15897]
37462         * dlfcn/Makefile (tests): Add bug-dl-leaf.
37463         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
37464         ($(objpfx)bug-dl-leaf): New rule.
37465         ($(objpfx)bug-dl-leaf.so): Likewise.
37466         ($(objpfx)bug-dl-leaf.out): Likewise.
37467         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
37468         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
37469         * dlfcn/bug-dl-leaf.c: New test.
37470         * dlfcn/bug-dl-leaf-lib.c: Likewise.
37471         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
37472         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
37473         (dlclose): Likewise.
37474         (dlmopen): Likewise.
37476 2013-08-27  Roland McGrath  <roland@hack.frob.com>
37478         * include/netdb.h [!_ISOMAC]:
37479         Don't include <tls.h>.
37480         (h_errno, __libc_h_errno): Move declaration and macros out of
37481         [_LIBC_REENTRANT].
37483         * include/resolv.h [_RESOLV_H_]:
37484         Don't include <tls.h>.
37485         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
37486         * resolv/res_libc.c: Don't include <tls.h>.
37487         (_res): Use __attribute__ ((nocommon)) in place of
37488         __attribute__ ((section (".bss"))).
37490         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
37491         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
37493         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
37495         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
37496         only under [SIOCGIFCONF && SIOCGIFNETMASK].
37498         * resolv/res_mkquery.c: Include <sys/time.h>.
37500         * inet/ifreq.c: Moved to ...
37501         * sysdeps/unix/ifreq.c: ... here.
37502         * inet/ifreq.c: New file, true stub version.
37504         * socket/sa_len.c: New file.
37505         * socket/Makefile (aux): Add it.
37506         * sysdeps/unix/sysv/linux/Makefile
37507         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
37508         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
37509         and #include <socket/sa_len.c>.
37510         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
37511         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
37513         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
37514         * bits/socket.h: ... here.
37516         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
37517         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
37518         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
37520 2013-08-27  Andreas Schwab  <schwab@suse.de>
37522         [BZ #15736]
37523         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
37524         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
37525         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
37526         * string/test-strcasecmp.c (test_main): Run tests in several
37527         locales.
37528         * string/test-strncasecmp.c (test_main): Likewise.
37530         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
37531         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
37532         to __strcasecmp_nonascii and __strncasecmp_nonascii.
37533         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
37534         (__strncasecmp_ssse3) [PIC]: Likewise.
37536 2013-08-26  Roland McGrath  <roland@hack.frob.com>
37538         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
37540         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
37541         instead of explicitly declaring xdecrypt.
37542         * nis/nss_nis/nis-publickey.c: Likewise.
37544 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37546         [BZ #15890]
37547         * nscd/aicache.c: Include res_hconf.h.
37548         (addhstaiX): Initialize res_hconf.
37550 2013-08-26  Andreas Schwab  <schwab@suse.de>
37552         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
37553         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
37555 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37557         * nscd/aicache.c (addhstaiX): Fix indentation.
37559 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
37561         * configure.ac: Quote $build_pt_chown test.
37562         * configure: Regenerated.
37564 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
37566         [BZ #15532]
37567         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
37568         * math/s_cexpf.c (__cexpf): Likewise.
37569         * math/s_cexpl.c (__cexpl): Likewise.
37570         * math/libm-test.inc (cexp_test_data): Correct expected return
37571         value for NaN + i0.  Add another test.
37573 2013-08-22  David S. Miller  <davem@davemloft.net>
37575         * po/ca.po: Update Catalan translation from translation project.
37576         * po/uk.po: Add Ukrainian translations from translation project.
37578 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
37580         [BZ #15797]
37581         * math/s_fdim.c (__fdim): Check for infinite arguments if result
37582         is infinite, not alongside NaN test.
37583         * math/s_fdimf.c (__fdimf): Likewise.
37584         * math/s_fdiml.c (__fdiml): Likewise.
37585         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
37586         errno is unchanged.
37588 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
37590         * argp/argp-help.c: Fix typos.
37591         * crypt/speeds.c: Likewise.
37592         * csu/check_fds.c: Likewise.
37593         * elf/dl-load.c: Likewise.
37594         * elf/dl-open.c: Likewise.
37595         * elf/reldep3.c: Likewise.
37596         * elf/reldep.c: Likewise.
37597         * elf/sprof.c: Likewise.
37598         * iconv/iconv_charmap.c: Likewise.
37599         * iconv/skeleton.c: Likewise.
37600         * iconv/strtab.c: Likewise.
37601         * io/lockf64.c: Likewise.
37602         * libio/libioP.h: Likewise.
37603         * resolv/gai_notify.c: Likewise.
37604         * resolv/ns_name.c: Likewise.
37605         * resolv/ns_samedomain.c: Likewise.
37606         * resolv/res_send.c: Likewise.
37607         * stdlib/random.c: Likewise.
37608         * sunrpc/rpc/xdr.h: Likewise.
37609         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
37610         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37611         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37612         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37613         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37614         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37615         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37616         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37617         * sysdeps/mach/hurd/check_fds.c: Likewise.
37618         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37619         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37620         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37621         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37622         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37623         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37624         * sysdeps/pthread/aio_notify.c: Likewise.
37625         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
37626         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
37627         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
37628         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37629         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37631 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37633         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
37634         version if bit_Slow_SSE4_2 is set.
37635         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37636         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37638 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37640         [BZ #15867]
37641         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
37642         trampoline stack frame information.
37643         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
37644         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
37645         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
37646         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
37647         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
37648         * sysdeps/unix/sysv/linux/powerpc/init-first.c
37649         (_libc_vdso_platform_setup): Initialize the signal trampolines.
37650         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
37651         sa_flags value.
37652         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
37653         interrupting a syscall and set with option SA_SIGINFO.
37655 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
37657         [BZ #15531]
37658         * math/s_cproj.c (__cproj): Only return an infinity if one part of
37659         argument is infinite.
37660         * math/s_cprojf.c (__cprojf): Likewise.
37661         * math/s_cprojl.c (__cprojl): Likewise.
37662         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
37663         * math/libm-test.inc (cproj_test_data): Add more tests.
37665         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
37667         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
37668         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
37669         size.  Use __ffs to determine corresponding shift.
37671 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
37672             Roland McGrath  <roland@hack.frob.com>
37674         * Makefile (INSTALL): Remove trailing blank lines from output of
37675         makeinfo.
37677 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37679         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
37680         Align 32 bit compat elf_greg to 8 bytes.
37682 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
37684         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
37686 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37688         * string/strcoll_l.c (coll_seq): New structure.
37689         (get_next_seq_cached): New function.
37690         (get_next_seq): New function.
37691         (do_compare): New function.
37692         (STRCOLL): Use GNU style definition.  Simplify implementation
37693         by using get_next_seq, get_next_seq_cached and do_compare.
37695 2013-08-16  Florian Weimer  <fweimer@redhat.com>
37697         [BZ #14699]
37698         CVE-2013-4237
37699         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
37700         member.
37701         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
37702         member.
37703         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
37704         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
37705         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
37706         conditional.
37707         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
37708         GETDENTS_64BIT_ALIGNED.
37709         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37710         * manual/filesys.texi (Reading/Closing Directory): Document
37711         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
37712         strongly.
37713         * manual/conf.texi (Limits for Files): Add portability note to
37714         NAME_MAX, PATH_MAX.
37715         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
37717 2013-08-13  Andreas Schwab  <schwab@suse.de>
37719         [BZ #15749]
37720         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
37721         of fabs.
37722         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
37723         LDBL_MAX_EXP >= 16384]: Add tests for it.
37725 2013-08-12  David S. Miller  <davem@davemloft.net>
37727         * version.h (RELEASE): Set to "development".
37728         (VERSION): Set to "2.18.90".
37729         * NEWS: Add 2.19 section.
37731 2013-08-03  David S. Miller  <davem@davemloft.net>
37733         * po/ko.po: Update Korean translation from translation project.
37735 2013-08-01  David S. Miller  <davem@davemloft.net>
37737         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
37738         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
37739         Bilka.
37741 2013-07-30  David S. Miller  <davem@davemloft.net>
37743         * po/fr.po: Update French translation from translation project.
37745 2013-07-28  David S. Miller  <davem@davemloft.net>
37747         * po/cs.po: Update Czech translation from translation project.
37749         * po/sv.po: Update Swedish translation from translation project.
37751 2013-07-27  David S. Miller  <davem@davemloft.net>
37753         * po/eo.po: Update Esperanto translation from translation project.
37755         * po/vi.po: Update Vietnamese translation from translation project.
37757         * po/de.po: Update German translation from translation project.
37759 2013-07-26  David S. Miller  <davem@davemloft.net>
37761         * po/bg.po: Update Bulgarian translation from translation project.
37763         * po/nl.po: Update Dutch translation from translation project.
37764         * po/pl.po: Update Polish translation from translation project.
37765         * po/ru.po: Update Russian translation from translation project.
37767 2013-07-24  David S. Miller  <davem@davemloft.net>
37769         * po/libc.pot: Update.
37771 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37773         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
37774         variable page size.
37775         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
37776         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
37777         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
37779 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37781         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
37783 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37784             Andreas Schwab  <schwab@suse.de>
37785             Roland McGrath  <roland@hack.frob.com>
37786             Joseph Myers  <joseph@codesourcery.com>
37787             Carlos O'Donell  <carlos@redhat.com>
37789         [BZ #15755]
37790         * config.h.in: Define HAVE_PT_CHOWN.
37791         * config.make.in (build-pt-chown): New variable.
37792         * configure.in (--enable-pt_chown): New configure option.
37793         * configure: Regenerate.
37794         * login/Makefile: Include Makeconfig.  Build pt_chown only if
37795         build-pt-chown is enabled.
37796         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
37797         pt_chown to fix pty ownership.
37798         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
37799         CLOSE_ALL_FDS.
37800         * manual/install.texi (Configuring and compiling): Mention
37801         --enable-pt_chown. Add @findex for grantpt.
37802         * INSTALL: Regenerate.
37804 2013-07-20  David S. Miller  <davem@davemloft.net>
37806         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
37807         difference between 32-bit and 64-bit.
37809 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
37811         [BZ #15711]
37812         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
37813         Avoid system header dependency with -ffreestanding.
37814         ($(objpfx)bits/syscall%d): Likewise.
37816 2013-07-13  David S. Miller  <davem@davemloft.net>
37818         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
37819         underflows from atanl/atan2l due to bug 15319.
37820         (casinh_test_data): Likewise.
37822 2013-07-07  David S. Miller  <davem@davemloft.net>
37824         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37826 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
37828         * sysdeps/i386/fpu/libm-test-ulps: Update.
37829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37831 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37833         * configure.in (--enable-lock-elision): Fix message text.
37834         * INSTALL: Regenerate.
37835         * configure: Regenerate.
37837 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37841 2013-07-03  Andreas Jaeger  <aj@suse.de>
37843         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
37844         define.
37845         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
37846         (ptrace_peeksiginfo_args): Add.
37847         (__ptrace_peeksiginfo_flags): Add.
37848         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37849         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37850         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37852 2013-07-03  Allan McRae  <allan@archlinux.org>
37854         * sysdeps/i386/fpu/libm-test-ulps: Update.
37856 2013-07-02  David S. Miller  <davem@davemloft.net>
37858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37860 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
37862         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37864 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37866         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37869 2013-07-02  Andi Kleen <ak@linux.intel.com>
37871         * config.h.in (ENABLE_LOCK_ELISION): Add.
37872         * configure.in (--enable-lock-elision): Add option.
37873         * manual/install.texi: Document --enable lock elision.
37874         * configure: Regenerate
37875         * INSTALL: Regenerate.
37877 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
37879         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
37880         SSE4.2 strcasecmp for libc.a.
37881         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37883 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37885         [BZ #13304]
37886         * soft-fp/op-common.h (_FP_FMA): New macro.
37887         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
37888         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
37889         (_FP_MUL_MEAT_1_imm): ... here.
37890         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
37891         (_FP_MUL_MEAT_1_wide): ... here.
37892         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
37893         (_FP_MUL_MEAT_1_hard): ... here.
37894         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
37895         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
37896         (_FP_MUL_MEAT_2_wide): ... here.
37897         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
37898         (_FP_MUL_MEAT_2_wide_3mul): ... here.
37899         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
37900         (_FP_MUL_MEAT_2_gmp): ... here.
37901         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
37902         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
37903         (_FP_MUL_MEAT_4_wide): ... here.
37904         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
37905         (_FP_MUL_MEAT_4_gmp): ... here.
37906         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
37907         (_FP_WFRACBITS_DW_S): Likewise.
37908         (_FP_WFRACXBITS_DW_S): Likewise.
37909         (_FP_HIGHBIT_DW_S): Likewise.
37910         (FP_FMA_S): Likewise.
37911         (_FP_FRAC_HIGH_DW_S): Likewise.
37912         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
37913         (_FP_WFRACBITS_DW_D): Likewise.
37914         (_FP_WFRACXBITS_DW_D): Likewise.
37915         (_FP_HIGHBIT_DW_D): Likewise.
37916         (FP_FMA_D): Likewise.
37917         (_FP_FRAC_HIGH_DW_D): Likewise.
37918         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
37919         (_FP_WFRACBITS_DW_E): Likewise.
37920         (_FP_WFRACXBITS_DW_E): Likewise.
37921         (_FP_HIGHBIT_DW_E): Likewise.
37922         (FP_FMA_E): Likewise.
37923         (_FP_FRAC_HIGH_DW_E): Likewise.
37924         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
37925         (_FP_WFRACBITS_DW_Q): Likewise.
37926         (_FP_WFRACXBITS_DW_Q): Likewise.
37927         (_FP_HIGHBIT_DW_Q): Likewise.
37928         (FP_FMA_Q): Likewise.
37929         (_FP_FRAC_HIGH_DW_Q): Likewise.
37930         * soft-fp/fmasf4.c: New file.
37931         * soft-fp/fmadf4.c: Likewise.
37932         * soft-fp/fmatf4.c: Likewise.
37934 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37937         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
37938         Silvermont.
37939         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
37940         macro.
37941         (index_Slow_SSE4_2): Likewise.
37942         (index_Prefer_PMINUB_for_stringop): Likewise.
37943         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
37944         bit_Slow_SSE4_2 is set.
37945         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37946         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37948 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37950         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
37951         rtld_global._dl_hwcap2.
37952         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
37953         POWER8.
37954         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
37955         POWER8 feature descriptions defined in _dl_hwcap2.
37956         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
37957         string handling for POWER8 feature bits.
37958         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
37959         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
37960         _dl_powerpc_cap_flags.
37961         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
37962         * sysdeps/powerpc/rtld-global-offsets.sym
37963         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
37964         _dl_hwcap2 in the rtld_global_ro structure.
37966 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37968         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
37969         hardware capabilities in support of AT_HWCAP2.
37970         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
37971         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
37972         GLRO(dl_hwcap2).
37973         (_dl_show_auxv): Add support for calling _dl_procinfo to display
37974         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
37975         explicitly the unknown a_type display mechanism is used.
37976         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
37977         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
37978         struct member.
37979         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
37980         to macro prototype for AT_HWCAP2 support.
37981         * sysdeps/i386/dl-procinfo.h: Likewise.
37982         * sysdeps/s390/dl-procinfo.h: Likewise.
37983         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
37984         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
37985         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
37986         return -1 for unknown a_type display fallback.
37987         * sysdeps/sparc/dl-procinfo.h: Likewise.
37988         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
37989         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
37991 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
37993         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
37994         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
37996 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
37998         [BZ #12492]
37999         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
38000         mprotect making __stack_prot writable.
38002 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38003             Joseph Myers  <joseph@codesourcery.com>
38005         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
38006         as being properly aligned.
38008 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
38010         * dlfcn/modstatic5.c: New file.
38011         * dlfcn/tststatic5.c: New file.
38012         * dlfcn/Makefile (tests): Add tststatic5.
38013         (tests-static): Likewise.
38014         (modules-names): Add modstatic5.
38015         (tststatic5-ENV): New variable.
38016         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
38018         [BZ #15022]
38019         * elf/dl-support.c (_dl_main_map): New variable.
38020         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
38021         (_dl_nns, _dl_load_adds): Set to 1.
38022         (_dl_initial_searchlist): Refer to _dl_main_map.
38023         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
38024         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
38025         call to _dl_get_origin.
38026         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
38027         around call_map.
38028         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
38029         * dlfcn/modstatic3.c: New file.
38030         * dlfcn/tststatic3.c: New file.
38031         * dlfcn/tststatic4.c: New file.
38032         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
38033         (tests-static): Likewise.
38034         (modules-names): Add modstatic3.
38035         (tststatic3-ENV, tststatic4-ENV): New variables.
38036         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
38037         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38039 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
38041         * configure.in (CC): Require GCC version 4.4 or later.
38042         * configure: Regenerated.
38043         * manual/install.texi (Tools for Compilation): Update GCC version
38044         requirement.
38045         * INSTALL: Regenerated.
38047 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38049         [BZ #15674]
38050         * string/test-memcmp.c (check2): New.
38051         (main): Call check2.
38053         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
38055 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
38057         [BZ #15022]
38058         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
38059         over to...
38060         (dl_open_worker) [!SHARED]: ... here.
38062 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38064         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
38066 2013-06-25  Richard Henderson  <rth@redhat.com>
38068         * locale/programs/locarchive.c: Include <libc-internal.h>
38070 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
38072         * manual/texinfo.tex: Update to version 2013-06-21.17, with
38073         trailing whitespace removed.
38075 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38077         [BZ #10283]
38078         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
38079         * locale/programs/locarchive.c: Include libc-mmap.h.
38080         (prepare_address_space): Take two new outputs (the mmap base and len).
38081         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
38082         values.
38083         (create_archive): Declare new mmap base and len values for
38084         prepare_address_space, and store the result in ah.
38085         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
38086         (enlarge_archive): If ah->mmap_base is not NULL, use that and
38087         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38088         Declare new mmap base and len values for
38089         prepare_address_space, and store the result in new_ah.
38090         (open_archive): Declare new mmap base and len values for
38091         prepare_address_space, and store the result in ah.
38092         (close_archive): If ah->mmap_base is not NULL, use that and
38093         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38094         * sysdeps/generic/libc-mmap.h: New file.
38096 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38098         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38099         (ALIGN_UP): Likewise.
38100         (PTR_ALIGN_DOWN): Likewise.
38101         (PTR_ALIGN_UP): Likewise.
38103 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38105         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
38106         entry mapped to PPC_PLATFORM_POWER8.
38107         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
38108         POWER8.
38109         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
38110         (_dl_string_platform): Add case for exporting platform position for
38111         POWER8.
38112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
38113         search path to sysdeps/powerpc/powerpc32/power8 directory.
38114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
38115         search path to sysdeps/powerpc/powerpc64/power8 directory.
38116         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
38117         power7 directories.
38118         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
38119         power7 directories.
38121 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38123         * INSTALL: Regenerate.
38125         * nscd/connections.c (nscd_init): Fix comment.
38127 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
38129         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
38131         [BZ #15667]
38132         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
38133         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
38135 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38137         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
38138         DL_DST_REQ_STATIC.
38139         (DL_DST_REQ_STATIC): Remove macro.
38141 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
38143         [BZ #7006]
38144         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
38145         with a shift of 0 bits.
38147 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38149         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
38150         $(tststatic-ENV).
38152 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38154         [BZ #15655]
38155         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
38157 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38159         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
38160         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
38161         accepts -fno-tree-loop-distribute-patterns.
38162         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
38163         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
38164         recursive call.
38165         * string/memset.c (memset): Likewise.
38166         * string/test-memmove.c (simple_memmove): Disable loop transformation
38167         to library calls.
38168         * string/test-memset.c (simple_memset): Likewise.
38169         * benchtests/bench-memmove.c (simple_memmove): Likewise.
38170         * benchtests/bench-memset.c (simple_memset): Likewise.
38171         * configure: Regenerated.
38173 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
38175         * math/test-misc.c (main): Ignore fesetround failure when failures
38176         of subsequent rounding tests would be ignored.
38178         [BZ #15654]
38179         * math/fedisblxcpt.c (fedisableexcept): Return 0.
38180         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
38181         * math/fegetenv.c (__fegetenv): Return 0.
38182         * math/fegetexcept.c (fegetexcept): Return 0.
38183         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
38184         FE_TONEAREST.
38185         * math/feholdexcpt.c (feholdexcept): Return 0.
38186         * math/fesetenv.c (__fesetenv): Return 0.
38187         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
38188         argument FE_TONEAREST.
38189         * math/feupdateenv.c (__feupdateenv): Return 0.
38190         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
38192 2013-06-18  Roland McGrath  <roland@hack.frob.com>
38194         * elf/rtld-Rules (rtld-compile-command.S): New variable.
38195         (rtld-compile-command.s, rtld-compile-command.c): New variables.
38196         ($(objpfx)rtld-%.os rules): Use them.
38198 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38200         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
38201         fields.
38203 2013-06-17  Roland McGrath  <roland@hack.frob.com>
38205         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
38206         length of target pattern, then descending length of dependency pattern.
38207         * configure.in (AWK): Require gawk 3.1.2 or newer.
38208         * manual/install.texi (Tools for Compilation): Say that we do.
38209         * configure: Regenerated.
38211         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
38212         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
38213         * scripts/sysd-rules.awk: ... this new script.
38214         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
38215         than a glob-style pattern.
38217 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
38219         * math/test-misc.c (main): Do not treat incorrectly rounded
38220         conversions as failure unless ROUNDING_TESTS passes.
38222 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
38224         [BZ #15631]
38225         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
38226         restore exception state around main square root computation, then
38227         check for inexactness explicitly.
38229         * math/libm-test.inc (fma_test_data): Add another test.
38231 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38233         * manual/threads.texi (Non-POSIX Extensions): New document
38234         node.  Document pthread_getattr_default_np and
38235         pthread_setattr_default_np.
38237         * Versions.def (libpthread): Add GLIBC_2.18.
38238         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
38239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38240         Likewise.
38241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38242         Likewise.
38243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38244         Likewise.
38245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38246         Likewise.
38247         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
38248         Likewise.
38249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38250         Likewise.
38251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38252         Likewise.
38253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38254         Likewise.
38255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38256         Likewise.
38258 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38260         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38261         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
38263 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38264             H.J. Lu  <hjl.tools@gmail.com>
38266         [BZ #15627]
38267         * sysdeps/x86_64/rtld-memset.c: Remove file.
38268         * sysdeps/x86_64/rtld-memset.S: New file.
38270 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
38272         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
38273         (test_in_one_mode): Take arguments for whether the rounding mode
38274         is supported for each floating-point type.
38275         (do_test): Pass new arguments to test_in_one_mode using
38276         ROUNDING_TESTS.
38278 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38280         * posix/tst-waitid.c (do_test): Distinguish different instances of
38281         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
38282         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
38283         before entering the kernel for waitpid.
38285 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38287         * NEWS: Fix note on clock function precision.  Text by Roland
38288         McGrath.
38290 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38292         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
38293         it into place only when and if the sanity check passes.
38295 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
38297         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
38298         output for whether conversion result is exact.  Take argument
38299         indicating whether type is IBM long double.
38300         (round_for_all): Change need_exact field to ibm_ld.
38301         * stdlib/tst-strtod-round.c (struct exactness): New type.
38302         (struct test): Change bool ld_ok field to struct exactness exact.
38303         (TEST): Update all definitions for change to field.
38304         (tests): Regenerate array contents.
38305         (test_in_one_mode): Take pointer to new field instead of old ld_ok
38306         field value.  Check for IBM long double here.
38307         (do_test): Update calls to test_in_one_mode.
38309 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38311         [BZ #12515]
38312         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
38313         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
38315 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38317         [BZ #15605]
38318         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
38319         generated by the compiler on loop optimizations.
38320         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
38321         general definitions.
38323 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
38325         * math/bug-nextafter.c: Include <math-tests.h>.
38326         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38327         the relevant type.
38328         * math/bug-nexttoward.c: Include <math-tests.h>.
38329         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38330         the relevant type.
38331         * math/test-misc.c: Include <math-tests.h>.
38332         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38333         the relevant type.
38335 2013-06-12  Andreas Jaeger  <aj@suse.de>
38337         * po/ia.po: Update Interlingua translation from translation
38338         project.
38340 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38342         * include/fenv.h: Include stdbool.h.
38343         (struct rm_ctx): New structure.
38344         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
38345         Define macro.
38346         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
38347         (SET_RESTORE_ROUNDF): Likewise.
38348         (SET_RESTORE_ROUNDL): Likewise.
38349         (SET_RESTORE_ROUND_NOEX): Likewise.
38350         (SET_RESTORE_ROUND_NOEXF): Likewise.
38351         (SET_RESTORE_ROUND_NOEXL): Likewise.
38352         (SET_RESTORE_ROUND_53BIT): Likewise.
38353         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
38354         (libc_feresetround_noexf_ctx): Likewise.
38355         (libc_feresetround_noexl_ctx): Likewise.
38356         (libc_feholdsetround_53bit_ctx): Likewise.
38357         (libc_feresetround_53bit_ctx): Likewise.
38358         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
38359         (libc_feholdexcept_setround_sse_ctx): New function.
38360         (libc_fesetenv_sse_ctx): Likewise.
38361         (libc_feupdateenv_sse_ctx): Likewise.
38362         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
38363         (libc_feholdexcept_setround_387_ctx): Likewise.
38364         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
38365         (libc_feholdsetround_387_prec_ctx): Likewise.
38366         (libc_feholdsetround_387_ctx): Likewise.
38367         (libc_feholdsetround_387_53bit_ctx): Likewise.
38368         (libc_feholdsetround_sse_ctx): Likewise.
38369         (libc_feresetround_sse_ctx): Likewise.
38370         (libc_feresetround_387_ctx): Likewise.
38371         (libc_feupdateenv_387_ctx): Likewise.
38372         (libc_feholdexcept_setroundf_ctx): Define macro.
38373         (libc_fesetenvf_ctx): Likewise.
38374         (libc_feupdateenvf_ctx): Likewise.
38375         (libc_feholdsetroundf_ctx): Likewise.
38376         (libc_feresetroundf_ctx): Likewise.
38377         (libc_feholdexcept_setround_ctx): Likewise.
38378         (libc_fesetenv_ctx): Likewise.
38379         (libc_feupdateenv_ctx): Likewise.
38380         (libc_feholdsetround_ctx): Likewise.
38381         (libc_feresetround_ctx): Likewise.
38382         (libc_feholdexcept_setroundl_ctx): Likewise.
38383         (libc_feupdateenvl_ctx): Likewise.
38384         (libc_feholdsetroundl_ctx): Likewise.
38385         (libc_feresetroundl_ctx): Likewise.
38386         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
38387         (libc_feresetround_53bit_ctx): Likewise.
38389 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38391         * locale/iso-639.def: Convert to UTF-8.
38393 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
38395         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
38396         (EXCEPTION_TESTS_double): Likewise.
38397         (EXCEPTION_TESTS_long_double): Likewise.
38398         (EXCEPTION_TESTS): Likewise.
38399         * math/libm-test.inc (test_exceptions): Only test exceptions if
38400         EXCEPTION_TESTS (FLOAT).
38402 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38404         * benchtests/Makefile (string-bench): Add strcpy_chk and
38405         stpcpy_chk.
38406         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
38407         * benchtests/bench-stpcpy_chk.c: New file.
38408         * benchtests/bench-strcpy_chk-ifunc.c: New file.
38409         * benchtests/bench-strcpy_chk.c: New file.
38410         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
38411         code.
38412         (do_test): Likewise.
38414 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38416         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
38417         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
38418         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
38419         with tabs where appropriate.
38420         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
38421         dl-procinfo.h.
38422         [PPC_PLATFORM_PPC440]: Likewise.
38423         [PPC_PLATFORM_PPC464]: Likewise.
38424         [PPC_PLATFORM_PPC476]: Likewise.
38425         (_dl_string_platform): Add support for detecting ppc405, ppc440,
38426         ppc464, and ppc476 platform strings merging from ports/
38427         dl-procinfo.h.
38429 2013-06-11  Andreas Schwab  <schwab@suse.de>
38431         [BZ #14991]
38432         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
38433         (from_ucs4_idx): Regenerate.
38434         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
38435         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
38436         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
38437         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
38438         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
38439         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
38440         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
38441         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
38442         from FROM_LOOP and TO_LOOP specific macros.
38443         (BODY): Handle combining characters.
38444         * iconvdata/BIG5HKSCS.irreversible: Update.
38445         * iconvdata/BIG5HKSCS.precomposed: New file.
38446         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
38447         characters.
38448         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
38450 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38452         * include/sys/time.h: Fix indentation and add copyright header.
38454         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
38455         (do_test): Likewise.
38456         * string/test-memchr.c (do_one_test): Likewise.
38457         (do_test): Likewise.
38458         * string/test-memcmp.c (do_one_test): Likewise.
38459         (do_test): Likewise.
38460         * string/test-memcpy.c (do_one_test): Likewise.
38461         (do_test): Likewise.
38462         * string/test-memmem.c (do_one_test): Likewise.
38463         (do_test): Likewise.
38464         (do_random_tests): Likewise.
38465         * string/test-memmove.c (do_one_test): Likewise.
38466         (do_test): Likewise.
38467         * string/test-memset.c (do_one_test): Likewise.
38468         (do_test): Likewise.
38469         * string/test-rawmemchr.c (do_one_test): Likewise.
38470         (do_test): Likewise.
38471         * string/test-strcasecmp.c (do_one_test): Likewise.
38472         (do_test): Likewise.
38473         * string/test-strcasestr.c (do_one_test): Likewise.
38474         (do_test): Likewise.
38475         * string/test-strcat.c (do_one_test): Likewise.
38476         (do_test): Likewise.
38477         * string/test-strchr.c (do_one_test): Likewise.
38478         (do_test): Likewise.
38479         * string/test-strcmp.c (do_one_test): Likewise.
38480         (do_test): Likewise.
38481         * string/test-strcpy.c (do_one_test): Likewise.
38482         (do_test): Likewise.
38483         * string/test-string.h: Likewise.
38484         (test_init): Likewise.
38485         * string/test-strlen.c (do_one_test): Likewise.
38486         (do_test): Likewise.
38487         * string/test-strncasecmp.c (do_one_test): Likewise.
38488         (do_test): Likewise.
38489         * string/test-strncat.c (do_one_test): Likewise.
38490         (do_test): Likewise.
38491         * string/test-strncmp.c (do_one_test): Likewise.
38492         (do_test_limit): Likewise.
38493         (do_test): Likewise.
38494         * string/test-strncpy.c (do_one_test): Likewise.
38495         (do_test): Likewise.
38496         * string/test-strnlen.c (do_one_test): Likewise.
38497         (do_test): Likewise.
38498         * string/test-strpbrk.c (do_one_test): Likewise.
38499         (do_test): Likewise.
38500         * string/test-strrchr.c (do_one_test): Likewise.
38501         (do_test): Likewise.
38502         * string/test-strspn.c (do_one_test): Likewise.
38503         (do_test): Likewise.
38504         * string/test-strstr.c (do_one_test): Likewise.
38505         (do_test): Likewise.
38507         * benchtests/Makefile (string-bench): Add string benchmarks.
38508         * benchtests/bench-bcopy-ifunc.c: New file.
38509         * benchtests/bench-bcopy.c: New file.
38510         * benchtests/bench-bzero-ifunc.c: New file.
38511         * benchtests/bench-bzero.c: New file.
38512         * benchtests/bench-memccpy-ifunc.c: New file.
38513         * benchtests/bench-memccpy.c: New file.
38514         * benchtests/bench-memchr-ifunc.c: New file.
38515         * benchtests/bench-memchr.c: New file.
38516         * benchtests/bench-memcmp-ifunc.c: New file.
38517         * benchtests/bench-memcmp.c: New file.
38518         * benchtests/bench-memmem-ifunc.c: New file.
38519         * benchtests/bench-memmem.c: New file.
38520         * benchtests/bench-memmove-ifunc.c: New file.
38521         * benchtests/bench-memmove.c: New file.
38522         * benchtests/bench-mempcpy-ifunc.c: New file.
38523         * benchtests/bench-mempcpy.c: New file.
38524         * benchtests/bench-memset-ifunc.c: New file.
38525         * benchtests/bench-memset.c: New file.
38526         * benchtests/bench-rawmemchr-ifunc.c: New file.
38527         * benchtests/bench-rawmemchr.c: New file.
38528         * benchtests/bench-stpcpy-ifunc.c: New file.
38529         * benchtests/bench-stpcpy.c: New file.
38530         * benchtests/bench-stpncpy-ifunc.c: New file.
38531         * benchtests/bench-stpncpy.c: New file.
38532         * benchtests/bench-strcasecmp-ifunc.c: New file.
38533         * benchtests/bench-strcasecmp.c: New file.
38534         * benchtests/bench-strcasestr-ifunc.c: New file.
38535         * benchtests/bench-strcasestr.c: New file.
38536         * benchtests/bench-strcat-ifunc.c: New file.
38537         * benchtests/bench-strcat.c: New file.
38538         * benchtests/bench-strchr-ifunc.c: New file.
38539         * benchtests/bench-strchr.c: New file.
38540         * benchtests/bench-strchrnul-ifunc.c: New file.
38541         * benchtests/bench-strchrnul.c: New file.
38542         * benchtests/bench-strcmp-ifunc.c: New file.
38543         * benchtests/bench-strcmp.c: New file.
38544         * benchtests/bench-strcpy-ifunc.c: New file.
38545         * benchtests/bench-strcpy.c: New file.
38546         * benchtests/bench-strcspn-ifunc.c: New file.
38547         * benchtests/bench-strcspn.c: New file.
38548         * benchtests/bench-strlen-ifunc.c: New file.
38549         * benchtests/bench-strlen.c: New file.
38550         * benchtests/bench-strncasecmp-ifunc.c: New file.
38551         * benchtests/bench-strncasecmp.c: New file.
38552         * benchtests/bench-strncat-ifunc.c: New file.
38553         * benchtests/bench-strncat.c: New file.
38554         * benchtests/bench-strncmp-ifunc.c: New file.
38555         * benchtests/bench-strncmp.c: New file.
38556         * benchtests/bench-strncpy-ifunc.c: New file.
38557         * benchtests/bench-strncpy.c: New file.
38558         * benchtests/bench-strnlen-ifunc.c: New file.
38559         * benchtests/bench-strnlen.c: New file.
38560         * benchtests/bench-strpbrk-ifunc.c: New file.
38561         * benchtests/bench-strpbrk.c: New file.
38562         * benchtests/bench-strrchr-ifunc.c: New file.
38563         * benchtests/bench-strrchr.c: New file.
38564         * benchtests/bench-strspn-ifunc.c: New file.
38565         * benchtests/bench-strspn.c: New file.
38566         * benchtests/bench-strstr-ifunc.c: New file.
38567         * benchtests/bench-strstr.c: New file.
38569         * benchtests/Makefile: Disable parallel execution of targets.
38570         (string-bench): Add memcpy.
38571         (benchset): New variable to store a list of benchmark sets.
38572         (bench-func): Renamed from bench.
38573         (bench-set): New target.
38574         (bench): Depend on bench-func and bench-set.
38575         * benchtests/README: Add section on benchmark sets.
38576         * benchtests/bench-memcpy-ifunc.c: New file.
38577         * benchtests/bench-memcpy.c: New file.
38578         * benchtests/bench-string.h: New file.
38580 2013-06-11  Andreas Schwab  <schwab@suse.de>
38582         [BZ #15577]
38583         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
38584         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
38585         values in the triple.
38586         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
38587         terminator in the group key.
38589 2013-06-11  Andreas Jaeger  <aj@suse.de>
38591         * po/zh_TW.po: Update Chinese (traditional) translation from
38592         translation project.
38594 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38596         * include/time.h (__clock_gettime): Add libc_hidden_proto.
38597         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
38598         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
38599         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38600         (clock_getcpuclockid): Likewise.
38601         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
38602         Add weak_alias and libc_hidden_def.
38603         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
38604         * rt/clock_gettime.c (clock_gettime): Rename to
38605         __clock_gettime.  Add weak_alias and libc_hidden_def.
38606         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
38607         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
38608         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
38609         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
38610         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
38611         Likewise.
38612         * rt/clock_settime.c (clock_settime): Rename to
38613         __clock_settime.  Add weak_alias and libc_hidden_def.
38614         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
38616 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
38618         * mach/err_boot.sub: Remove trailing whitespace.
38619         * mach/err_ipc.sub: Likewise.
38620         * mach/err_mach.sub: Likewise.
38622         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
38623         (ROUNDING_TESTS_double): Likewise.
38624         (ROUNDING_TESTS_long_double): Likewise.
38625         (ROUNDING_TESTS): Likewise.
38626         * math/libm-test.inc: Include <math-tests.h>.
38627         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
38628         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
38629         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
38630         (IF_ROUND_INIT_FE_UPWARD): Likewise.
38632 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38634         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
38635         of assigning.
38637 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
38639         * sysdeps/gnu/errlist.awk: Do not generate space at end of
38640         otherwise empty TRANS lines.
38641         * sysdeps/gnu/errlist.c: Regenerated.
38643         * catgets/gencat.c (error_print): Use (void) in function
38644         definition.
38645         * crypt/crypt_util.c (__init_des): Likewise.
38646         * crypt/speeds.c (Stop): Likewise.
38647         (main): Likewise.
38648         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
38649         * inet/ruserpass.c (token): Likewise.
38650         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
38651         * intl/localealias.c (extend_alias_table): Likewise.
38652         * intl/plural-exp.c (init_germanic_plural): Likewise.
38653         * libio/fcloseall.c (__fcloseall): Likewise.
38654         * libio/genops.c (_IO_flush_all): Likewise.
38655         (_IO_flush_all_linebuffered): Likewise.
38656         (_IO_cleanup): Likewise.
38657         (_IO_iter_begin): Likewise.
38658         (_IO_iter_end): Likewise.
38659         (_IO_list_lock): Likewise.
38660         (_IO_list_unlock): Likewise.
38661         (_IO_list_resetlock): Likewise.
38662         * libio/getchar.c (getchar): Likewise.
38663         * libio/getchar_u.c (getchar_unlocked): Likewise.
38664         * libio/getwchar.c (getwchar): Likewise.
38665         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
38666         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
38667         * login/getpt.c (__getpt): Likewise.
38668         * login/tst-utmp.c (main): Likewise.
38669         * malloc/hooks.c (__malloc_check_init): Likewise.
38670         * malloc/malloc.c (__malloc_stats): Likewise.
38671         * malloc/mtrace.c (tr_break): Likewise.
38672         (mtrace): Likewise.
38673         (muntrace): Likewise.
38674         * misc/fstab.c (endfsent): Likewise.
38675         * misc/getclktck.c (__getclktck): Likewise.
38676         * misc/getdtsz.c (__getdtablesize): Likewise.
38677         * misc/gethostid.c (gethostid): Likewise.
38678         * misc/getpagesize.c (__getpagesize): Likewise.
38679         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
38680         (__get_nprocs): Likewise.
38681         (__get_phys_pages): Likewise.
38682         (__get_avphys_pages): Likewise.
38683         * misc/getttyent.c (getttyent): Likewise.
38684         (setttyent): Likewise.
38685         (endttyent): Likewise.
38686         * misc/getusershell.c (getusershell): Likewise.
38687         (endusershell): Likewise.
38688         (setusershell): Likewise.
38689         (initshells): Likewise.
38690         * misc/hsearch.c (__hdestroy): Likewise.
38691         * misc/sync.c (sync): Likewise.
38692         * misc/syslog.c (closelog_internal): Likewise.
38693         (closelog): Likewise.
38694         * misc/ttyslot.c (ttyslot): Likewise.
38695         * misc/vhangup.c (vhangup): Likewise.
38696         * posix/fork.c (__fork): Likewise.
38697         * posix/getegid.c (__getegid): Likewise.
38698         * posix/geteuid.c (__geteuid): Likewise.
38699         * posix/getgid.c (__getgid): Likewise.
38700         * posix/getpid.c (__getpid): Likewise.
38701         * posix/getppid.c (__getppid): Likewise.
38702         * posix/getuid.c (__getuid): Likewise.
38703         * posix/pause.c (pause): Likewise.
38704         * posix/setpgrp.c (setpgrp): Likewise.
38705         * posix/setsid.c (__setsid): Likewise.
38706         * posix/test-vfork.c (noop): Likewise.
38707         * resolv/gethnamaddr.c (_endhtent): Likewise.
38708         (_gethtent): Likewise.
38709         (ht_endhostent): Likewise.
38710         (gethostent): Likewise.
38711         (dns_service): Likewise.
38712         * stdlib/drand48.c (drand48): Likewise.
38713         * stdlib/lrand48.c (lrand48): Likewise.
38714         * stdlib/mrand48.c (mrand48): Likewise.
38715         * stdlib/rand.c (rand): Likewise.
38716         * stdlib/random.c (__random): Likewise.
38717         * stdlib/setenv.c (clearenv): Likewise.
38718         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
38719         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
38720         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
38721         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
38722         (__get_nprocs): Likewise.
38723         (__get_phys_pages): Likewise.
38724         (__get_avphys_pages): Likewise.
38725         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
38726         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
38727         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
38728         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
38729         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
38730         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
38731         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
38732         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
38733         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
38734         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
38735         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
38736         * sysdeps/mach/hurd/sync.c (sync): Likewise.
38737         * sysdeps/posix/clock.c (clock): Likewise.
38738         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
38739         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
38740         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
38741         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
38742         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
38743         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
38744         (__get_nprocs_conf): Likewise.
38745         (__get_phys_pages): Likewise.
38746         (__get_avphys_pages): Likewise.
38747         * time/clock.c (clock): Likewise.
38748         * time/tzset.c (__tzname_max): Likewise.
38750 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
38752         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
38753         (__bswap_32): Do not use "register".
38754         * crypt/crypt.c (_ufc_doit_r): Likewise.
38755         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38756         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38757         * gmon/gmon.c (__monstartup): Likewise.
38758         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
38759         * hurd/hurdmalloc.c (more_memory): Likewise.
38760         (malloc): Likewise.
38761         (free): Likewise.
38762         (realloc): Likewise.
38763         (malloc_fork_prepare): Likewise.
38764         (malloc_fork_parent): Likewise.
38765         (malloc_fork_child): Likewise.
38766         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
38767         (_svcauth_des): Likewise.
38768         * inet/inet_lnaof.c (inet_lnaof): Likewise.
38769         * inet/inet_net.c (inet_network): Likewise.
38770         * inet/inet_netof.c (inet_netof): Likewise.
38771         * inet/rcmd.c (__validuser2_sa): Likewise.
38772         * io/fts.c (fts_open): Likewise.
38773         (fts_load): Likewise.
38774         (fts_close): Likewise.
38775         (fts_read): Likewise.
38776         (fts_children): Likewise.
38777         (fts_build): Likewise.
38778         (fts_stat): Likewise.
38779         (fts_sort): Likewise.
38780         (fts_alloc): Likewise.
38781         (fts_lfree): Likewise.
38782         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
38783         (_IO_file_xsgetn): Likewise.
38784         (_IO_file_xsgetn_mmap): Likewise.
38785         * libio/iofopncook.c (_IO_cookie_read): Likewise.
38786         (_IO_cookie_write): Likewise.
38787         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
38788         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
38789         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
38790         * malloc/obstack.c (_obstack_begin): Likewise.
38791         (_obstack_begin_1): Likewise.
38792         (_obstack_newchunk): Likewise.
38793         (_obstack_allocated_p): Likewise.
38794         (obstack_free): Likewise.
38795         (_obstack_memory_used): Likewise.
38796         * misc/getttyent.c (getttynam): Likewise.
38797         (getttyent): Likewise.
38798         (skip): Likewise.
38799         (value): Likewise.
38800         * misc/getusershell.c (initshells): Likewise.
38801         * misc/syslog.c (__vsyslog_chk): Likewise.
38802         * misc/ttyslot.c (ttyslot): Likewise.
38803         * nis/nis_hash.c (__nis_hash): Likewise.
38804         * posix/fnmatch_loop.c (FCT): Likewise.
38805         * posix/getconf.c (print_all): Likewise.
38806         (main): Likewise.
38807         * posix/getopt.c (exchange): Likewise.
38808         * posix/glob.c (globfree): Likewise.
38809         (prefix_array): Likewise.
38810         (__glob_pattern_type): Likewise.
38811         * resolv/arpa/nameser.h (NS_GET16): Likewise.
38812         (NS_GET32): Likewise.
38813         (NS_PUT16): Likewise.
38814         (NS_PUT32): Likewise.
38815         * resolv/gethnamaddr.c (getanswer): Likewise.
38816         (gethostbyname2): Likewise.
38817         (gethostbyaddr): Likewise.
38818         (_gethtent): Likewise.
38819         (_gethtbyname2): Likewise.
38820         (_gethtbyaddr): Likewise.
38821         * resolv/ns_print.c (dst_s_get_int16): Likewise.
38822         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38823         * resolv/res_init.c (__res_vinit): Likewise.
38824         (net_mask): Likewise.
38825         * resolv/res_mkquery.c (outchar): Likewise.
38826         (PRINT): Likewise.
38827         * stdio-common/printf_fp.c (outchar): Likewise.
38828         (PRINT): Likewise.
38829         * stdio-common/printf_fphex.c (outchar): Likewise.
38830         (PRINT): Likewise.
38831         * stdio-common/printf_size.c (outchar): Likewise.
38832         (PRINT): Likewise.
38833         * stdio-common/test_rdwr.c (main): Likewise.
38834         * stdio-common/tfformat.c (matches): Likewise.
38835         * stdio-common/vfprintf.c (outchar): Likewise.
38836         (printf_unknown): Likewise.
38837         (buffered_vfprintf): Likewise.
38838         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38839         * stdio-common/xbug.c (AppendToBuffer): Likewise.
38840         (ReadFile): Likewise.
38841         * stdlib/qsort.c (SWAP): Likewise.
38842         (_quicksort): Likewise.
38843         * stdlib/setenv.c (__add_to_environ): Likewise.
38844         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38845         * stdlib/strtol_l.c (__strtol_l): Likewise.
38846         * stdlib/tst-strtod.c (main): Likewise.
38847         * stdlib/tst-strtol.c (main): Likewise.
38848         * stdlib/tst-strtoll.c (main): Likewise.
38849         * string/bits/string2.h (__strcmp_cc): Likewise.
38850         (__strcmp_cg): Likewise.
38851         (__strcspn_c1): Likewise.
38852         (__strcspn_c2): Likewise.
38853         (__strcspn_c3): Likewise.
38854         (__strspn_c1): Likewise.
38855         (__strspn_c2): Likewise.
38856         (__strspn_c3): Likewise.
38857         (__strsep_1c): Likewise.
38858         (__strsep_2c): Likewise.
38859         (__strsep_3c): Likewise.
38860         * string/memccpy.c (__memccpy): Likewise.
38861         * string/stpcpy.c (__stpcpy): Likewise.
38862         * string/strcmp.c (strcmp): Likewise.
38863         * string/strrchr.c (strrchr): Likewise.
38864         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
38865         Likewise.
38866         * sysdeps/mach/hurd/getcwd.c
38867         (_hurd_canonicalize_directory_name_internal): Likewise.
38868         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
38869         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
38870         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
38871         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
38872         Likewise, in both definitions.
38873         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
38874         definitions.
38875         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
38876         64] (__bswap_64): Likewise.
38877         * time/test_time.c (main): Likewise.
38878         * time/tzfile.c (__tzfile_read): Likewise.
38879         (__tzfile_compute): Likewise.
38880         * time/tzset.c (__tzset_parse_tz): Likewise.
38881         (tzset_internal): Likewise.
38882         (compute_change): Likewise.
38883         * wcsmbs/wcscat.c (__wcscat): Likewise.
38884         * wcsmbs/wcschr.c (wcschr): Likewise.
38885         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
38886         * wcsmbs/wcscspn.c (wcscspn): Likewise.
38887         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
38888         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
38889         * wcsmbs/wcsspn.c (wcsspn): Likewise.
38890         * wcsmbs/wcsstr.c (wcsstr): Likewise.
38891         * wcsmbs/wmemchr.c (wmemchr): Likewise.
38892         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38893         * wcsmbs/wmemset.c (wmemset): Likewise.
38895 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
38897         * scripts/config.guess: Update to version 2013-05-16.
38898         * scripts/config.sub: Update to version 2013-04-24.
38899         * scripts/install-sh: Update to version 2011-11-20.07.
38900         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
38901         * scripts/move-if-change: Update to version 2012-01-06 07:23.
38903 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
38905         * debug/fgetws_u_chk.c: Fix leading whitespaces.
38906         * elf/sln.c: Likewise.
38907         * hurd/hurd/ioctl.h: Likewise.
38908         * hurd/hurdmalloc.c: Likewise.
38909         * hurd/xattr.c: Likewise.
38910         * include/shlib-compat.h: Likewise.
38911         * inet/ruserpass.c: Likewise.
38912         * libio/iofgets_u.c: Likewise.
38913         * libio/iofgetws_u.c: Likewise.
38914         * locale/programs/ld-identification.c: Likewise.
38915         * locale/programs/ld-time.c: Likewise.
38916         * mach/msg-destroy.c: Likewise.
38917         * nss/nss_files/files-netgrp.c: Likewise.
38918         * resolv/res_data.c: Likewise.
38919         * soft-fp/op-1.h: Likewise.
38920         * soft-fp/op-2.h: Likewise.
38921         * soft-fp/op-4.h: Likewise.
38922         * soft-fp/op-common.h: Likewise.
38923         * stdio-common/printf_fphex.c: Likewise.
38924         * stdlib/strtod_l.c: Likewise.
38925         * sunrpc/rpc/clnt.h: Likewise.
38926         * sysdeps/generic/framestate.c: Likewise.
38927         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38928         * sysdeps/i386/bsd-setjmp.S: Likewise.
38929         * sysdeps/i386/__longjmp.S: Likewise.
38930         * sysdeps/i386/setjmp.S: Likewise.
38931         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38932         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38933         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38934         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38935         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38936         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38937         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38938         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38939         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38940         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38941         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38942         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38943         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38944         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38945         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38946         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38947         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38948         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
38949         * sysdeps/ieee754/support.c: Likewise.
38950         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38951         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
38952         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
38953         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
38954         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
38955         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
38956         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
38957         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
38958         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
38959         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
38960         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
38961         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
38962         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
38963         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
38964         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
38965         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
38966         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38969 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
38971         * posix/transbug.c: Remove executable mode.
38973 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
38975         * crypt/speeds.c: Remove trailing whitespace.
38976         * dlfcn/default.c: Likewise.
38977         * elf/ifuncdep2.c: Likewise.
38978         * elf/ifuncmain1.c: Likewise.
38979         * elf/ifuncmain1vis.c: Likewise.
38980         * elf/testobj.h: Likewise.
38981         * elf/tst-stackguard1.c: Likewise.
38982         * gmon/sys/gmon.h: Likewise.
38983         * hurd/hurdmsg.c: Likewise.
38984         * hurd/new-fd.c: Likewise.
38985         * hurd/ports-get.c: Likewise.
38986         * iconvdata/ibm1008_420.c: Likewise.
38987         * inet/tst-getni1.c: Likewise.
38988         * inet/tst-getni2.c: Likewise.
38989         * libio/ioungetc.c: Likewise.
38990         * libio/wfiledoalloc.c: Likewise.
38991         * manual/libm-err-tab.pl: Likewise.
38992         * math/w_dremf.c: Likewise.
38993         * misc/ftruncate.c: Likewise.
38994         * posix/bug-glob2.c: Likewise.
38995         * posix/tst-pcre.c: Likewise.
38996         * posix/wait4.c: Likewise.
38997         * resolv/README: Likewise.
38998         * resolv/res_debug.h: Likewise.
38999         * resolv/tst-inet_ntop.c: Likewise.
39000         * setjmp/bug269-setjmp.c: Likewise.
39001         * soft-fp/extended.h: Likewise.
39002         * soft-fp/op-1.h: Likewise.
39003         * soft-fp/op-2.h: Likewise.
39004         * soft-fp/op-4.h: Likewise.
39005         * soft-fp/op-8.h: Likewise.
39006         * soft-fp/testit.c: Likewise.
39007         * stdio-common/bug16.c: Likewise.
39008         * stdlib/random.c: Likewise.
39009         * sunrpc/rpcsvc/rquota.x: Likewise.
39010         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
39011         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39012         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39013         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39014         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39015         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39016         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39017         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39018         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39019         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39020         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39021         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39022         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39023         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39024         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39025         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39026         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39027         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39028         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39029         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39030         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39031         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39032         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
39033         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39034         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39035         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39036         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39037         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39038         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39039         * sysdeps/ieee754/s_lib_version.c: Likewise.
39040         * sysdeps/mach/hurd/check_fds.c: Likewise.
39041         * sysdeps/mach/hurd/getsockname.c: Likewise.
39042         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
39043         * sysdeps/mach/hurd/recvfrom.c: Likewise.
39044         * sysdeps/powerpc/bits/link.h: Likewise.
39045         * sysdeps/powerpc/dl-procinfo.c: Likewise.
39046         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
39047         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
39048         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
39049         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39050         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39051         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
39052         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39053         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
39054         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39055         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39056         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39057         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
39058         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39059         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39060         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39061         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39062         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39063         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39064         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39065         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39066         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
39067         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39068         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39069         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
39070         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39071         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39072         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39073         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39074         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39075         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39076         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39077         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39078         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39079         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
39080         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39081         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
39082         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39083         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39084         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
39085         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
39086         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
39087         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
39088         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
39089         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39090         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
39091         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
39092         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39093         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
39094         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
39095         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39096         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39097         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39098         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39099         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
39100         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39101         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39102         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39103         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
39104         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39105         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
39106         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
39107         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
39108         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39109         * sysdeps/powerpc/sysdep.h: Likewise.
39110         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39111         * sysdeps/s390/s390-64/sub_n.S: Likewise.
39112         * sysdeps/sh/dl-trampoline.S: Likewise.
39113         * sysdeps/sh/memset.S: Likewise.
39114         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
39115         * sysdeps/sh/strlen.S: Likewise.
39116         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
39117         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
39118         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
39119         * sysdeps/sparc/sparc32/rem.S: Likewise.
39120         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
39121         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
39122         * sysdeps/sparc/sparc32/strchr.S: Likewise.
39123         * sysdeps/sparc/sparc32/udiv.S: Likewise.
39124         * sysdeps/sparc/sparc32/urem.S: Likewise.
39125         * sysdeps/sparc/sparc64/add_n.S: Likewise.
39126         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39127         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
39128         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
39129         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
39130         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
39131         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
39132         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
39133         * sysdeps/unix/bsd/times.c: Likewise.
39134         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
39135         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
39136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39139         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
39140         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39141         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
39142         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
39143         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
39144         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
39145         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39146         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
39147         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39148         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39149         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
39150         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39151         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
39152         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
39153         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
39154         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
39155         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
39156         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39157         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
39158         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
39159         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39160         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
39161         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39162         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
39163         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
39164         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
39165         * sysdeps/x86_64/strcspn.S: Likewise.
39167 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39169         * locale/C-translit.h: Revert #include <stdint.h> because this is a
39170         generated file.  Regenerate properly from gen-translit.pl.
39171         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
39172         locale/C-translit.h.
39174 2013-06-05  Andreas Schwab  <schwab@suse.de>
39176         [BZ #15100]
39177         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
39178         week as 6 instead of -1.
39179         * time/tst-strptime.c (day_tests): Add test case.
39181 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39183         * sysdeps/generic/math_private.h
39184         (libc_feholdexcept_setround_53bit): Replace with
39185         libc_feholdsetround_53bit.
39186         (libc_feupdateenv_53bit): Replace with
39187         libc_feresetround_53bit.
39188         (SET_RESTORE_ROUND_53BIT): Adjust.
39190 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39192         * string/test-strchrnul.c: Add copyright header.
39194         * posix/tst-getaddrinfo4.c: Increase test timeout.
39196 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
39198         [BZ #15536]
39199         * math/libm-test.inc (MAX_EXP): Remove
39200         (MIN_EXP): Define.
39201         (ulp): Use MIN_EXP - MANT_DIG.
39202         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
39204 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
39206         * po/be.po: Revert last change.
39207         * po/zh_CN.po: Likewise.
39208         * po/header.pot: Likewise.
39210 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
39212         * Makefile ($(common-objpfx)linkobj/libc.so): Define
39213         link-libc-deps to empty as target-specific variable.
39214         * Makerules (link-libc-args): New variable.
39215         (libc-for-link): Likewise.
39216         (link-libc-deps): Likewise.
39217         (lib%.so): Depend on $(link-libc-deps).  Link with
39218         $(link-libc-args).
39219         (build-module): Link with $(link-libc-args).
39220         (build-module-asneeded): Likewise.
39221         (build-module-helper-objlist): Filter out $(link-libc-deps) from
39222         list of objects.
39223         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
39224         target-specific variable.
39225         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
39226         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
39227         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
39228         libc.
39229         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
39230         libc and ld.so.
39231         ($(objpfx)libpcprofile.so): Likewise.
39232         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
39233         libc_nonshared.a.
39234         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
39235         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
39236         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
39237         $(link-libc-deps).
39238         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
39239         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
39240         * login/Makefile ($(objpfx)libutil.so): Likewise.
39241         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
39242         * math/Makefile ($(objpfx)libm.so): Likewise.
39243         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
39244         $(objpfx)libnsl.so): Define libc-for-link as target-specific
39245         variable instead of depending directly on libc.
39246         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
39247         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
39248         $(link-libc-deps).
39249         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
39250         libc.
39251         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
39252         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
39253         ($(objpfx)libanl.so): Likewise.
39254         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
39255         ld.so.
39256         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
39257         $(link-libc-deps).
39258         * sysdeps/i386/fpu/Makefile: Remove file.
39259         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
39260         ($(objpfx)libm.so): Remove dependency on ld.so.
39262 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
39264         [BZ # 15553]
39265         * nis/yp_xdr.c (XDRMAXNAME): Define.
39266         (XDRMAXRECORD): Define.
39267         (xdr_domainname): Use XDRMAXNAME.
39268         (xdr_mapname): Likewise.
39269         (xdr_peername): Likewise.
39270         (xdr_keydat): Use XDRMAXRECORD.
39271         (xdr_valdat): Likewise.
39273 2013-05-30  Jeff Law  <law@redhat.com>
39275         [BZ #14256]
39276         * manual/errno.texi (ESTALE): Update to account for more than
39277         just NFS file systems.
39278         * sysdeps/gnu/errlist.c: Regenerated.
39280 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39282         [BZ #15465]
39283         * elf/Makefile (tests): Add tst-null-argv.
39284         (modules-names):  Add tst-null-argv-lib.
39285         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
39286         (tst-null-argv-ENV): Set environment for tst-null-argv.
39287         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
39288         (RTLD_PROGNAME): New macro.
39289         * elf/tst-null-argv.c: New test case.
39290         * elf/tst-null-argv-lib.c: Library for test case.
39291         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
39292         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
39293         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
39294         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
39295         * elf/dl-init.c (call_init): Likewise.
39296         (_dl_init): Likewise.
39297         * elf/dl-load.c (print_search_path): Likewise.
39298         (_dl_map_object): Likewise.
39299         * elf/dl-lookup.c (do_lookup_x): Likewise.
39300         (add_dependency): Likewise.
39301         (_dl_lookup_symbol_x): Likewise.
39302         (_dl_debug_bindings): Likewise.
39303         * elf/dl-open.c (_dl_show_scope): Likewise.
39304         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39305         * elf/dl-version.c (match_symbol): Likewise.
39306         (_dl_check_map_versions): Likewise.
39307         * elf/rtld.c (dl_main): Likewise.
39308         (print_unresolved): Use RTLD_PROGNAME.
39309         (print_missing_version): Likewise.
39310         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
39311         (elf_machine_rela): Likewise.
39312         * sysdeps/powerpc/powerpc32/dl-machine.c
39313         (__process_machine_rela): Likewise.
39314         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39315         Likewise.
39316         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39317         Likewise.
39318         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39319         Likewise.
39320         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39321         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
39322         Likewise.
39323         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
39324         Likewise.
39325         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39327 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
39329         * po/be.po: Add descriptive title.
39330         * po/zh_CN.po: Likewise.
39331         * po/header.pot: Likewise.
39333 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
39335         * locale/programs/locarchive.c (create_archive): Inlucde fname in
39336         error message.
39337         (enlarge_archive): Likewise.
39339 2013-05-28  Ben North  <ben@redfrontdoor.org>
39341         * manual/arith.texi (frexp): It is the magnitude of the return
39342         value which lies in [0.5, 1), not the return value itself.
39344 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39348 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
39350         * stdio-common/bug26.c (main): Correct fscanf template.
39352         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
39353         declare _dl_skip_args.
39355         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
39356         Don't declare.
39358         * manual/platform.texi: Add missing @end deftypefun.
39360 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
39362         [BZ #15529]
39363         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
39364         bit of mantissa of 2^16382.
39365         * math/libm-test.inc (hypot_test_data): Add more tests.
39367         * math/libm-test.inc: Add drem and pow10 to list of tested
39368         functions.
39369         (pow10_test): New function.
39370         (drem_test): Likewise.
39371         (drem_test_tonearest): Likewise.
39372         (drem_test_towardzero): Likewise.
39373         (drem_test_downward): Likewise.
39374         (drem_test_upward): Likewise.
39375         (main): Call the new functions.
39377         * math/libm-test.inc (finite_test_data): Remove.
39378         (finite_test): Run tests from isfinite_test_data.
39379         (gamma_test_data): Remove.
39380         (gamma_test): Run tests from lgamma_test_data.
39381         * sysdeps/i386/fpu/libm-test-ulps: Update.
39382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39384 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39386         * manual/platform.texi: Add PowerPC PPR function set documentation.
39387         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
39388         implementation.
39390 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
39392         * math/libm-test.inc (MAX_EXP): Define.
39393         (ULPDIFF): Define.
39394         (ulp): New function.
39395         (check_float_internal): Use ULPDIFF.
39396         (cpow_test): Disable failing test.
39397         (check_ulp): Test ulp() implemetnation.
39398         (main): Call check_ulp before starting tests.
39400 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
39402         * math/gen-libm-test.pl (generate_testfile): Do not handle
39403         START_DATA and END_DATA.
39404         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
39405         END_DATA.
39406         (acos_tonearest_test_data): Likewise.
39407         (acos_towardzero_test_data): Likewise.
39408         (acos_downward_test_data): Likewise.
39409         (acos_upward_test_data): Likewise.
39410         (acosh_test_data): Likewise.
39411         (asin_test_data): Likewise.
39412         (asin_tonearest_test_data): Likewise.
39413         (asin_towardzero_test_data): Likewise.
39414         (asin_downward_test_data): Likewise.
39415         (asin_upward_test_data): Likewise.
39416         (asinh_test_data): Likewise.
39417         (atan_test_data): Likewise.
39418         (atanh_test_data): Likewise.
39419         (atan2_test_data): Likewise.
39420         (cabs_test_data): Likewise.
39421         (cacos_test_data): Likewise.
39422         (cacosh_test_data): Likewise.
39423         (carg_test_data): Likewise.
39424         (casin_test_data): Likewise.
39425         (casinh_test_data): Likewise.
39426         (catan_test_data): Likewise.
39427         (catanh_test_data): Likewise.
39428         (cbrt_test_data): Likewise.
39429         (ccos_test_data): Likewise.
39430         (ccosh_test_data): Likewise.
39431         (ceil_test_data): Likewise.
39432         (cexp_test_data): Likewise.
39433         (cimag_test_data): Likewise.
39434         (clog_test_data): Likewise.
39435         (clog10_test_data): Likewise.
39436         (conj_test_data): Likewise.
39437         (copysign_test_data): Likewise.
39438         (cos_test_data): Likewise.
39439         (cos_tonearest_test_data): Likewise.
39440         (cos_towardzero_test_data): Likewise.
39441         (cos_downward_test_data): Likewise.
39442         (cos_upward_test_data): Likewise.
39443         (cosh_test_data): Likewise.
39444         (cosh_tonearest_test_data): Likewise.
39445         (cosh_towardzero_test_data): Likewise.
39446         (cosh_downward_test_data): Likewise.
39447         (cosh_upward_test_data): Likewise.
39448         (cpow_test_data): Likewise.
39449         (cproj_test_data): Likewise.
39450         (creal_test_data): Likewise.
39451         (csin_test_data): Likewise.
39452         (csinh_test_data): Likewise.
39453         (csqrt_test_data): Likewise.
39454         (ctan_test_data): Likewise.
39455         (ctan_tonearest_test_data): Likewise.
39456         (ctan_towardzero_test_data): Likewise.
39457         (ctan_downward_test_data): Likewise.
39458         (ctan_upward_test_data): Likewise.
39459         (ctanh_test_data): Likewise.
39460         (ctanh_tonearest_test_data): Likewise.
39461         (ctanh_towardzero_test_data): Likewise.
39462         (ctanh_downward_test_data): Likewise.
39463         (ctanh_upward_test_data): Likewise.
39464         (erf_test_data): Likewise.
39465         (erfc_test_data): Likewise.
39466         (exp_test_data): Likewise.
39467         (exp_tonearest_test_data): Likewise.
39468         (exp_towardzero_test_data): Likewise.
39469         (exp_downward_test_data): Likewise.
39470         (exp_upward_test_data): Likewise.
39471         (exp10_test_data): Likewise.
39472         (exp2_test_data): Likewise.
39473         (expm1_test_data): Likewise.
39474         (fabs_test_data): Likewise.
39475         (fdim_test_data): Likewise.
39476         (finite_test_data): Likewise.
39477         (floor_test_data): Likewise.
39478         (fma_test_data): Likewise.
39479         (fma_towardzero_test_data): Likewise.
39480         (fma_downward_test_data): Likewise.
39481         (fma_upward_test_data): Likewise.
39482         (fmax_test_data): Likewise.
39483         (fmin_test_data): Likewise.
39484         (fmod_test_data): Likewise.
39485         (fpclassify_test_data): Likewise.
39486         (frexp_test_data): Likewise.
39487         (gamma_test_data): Likewise.
39488         (hypot_test_data): Likewise.
39489         (ilogb_test_data): Likewise.
39490         (isfinite_test_data): Likewise.
39491         (isgreater_test_data): Likewise.
39492         (isgreaterequal_test_data): Likewise.
39493         (isinf_test_data): Likewise.
39494         (isless_test_data): Likewise.
39495         (islessequal_test_data): Likewise.
39496         (islessgreater_test_data): Likewise.
39497         (isnan_test_data): Likewise.
39498         (isnormal_test_data): Likewise.
39499         (issignaling_test_data): Likewise.
39500         (isunordered_test_data): Likewise.
39501         (j0_test_data): Likewise.
39502         (j1_test_data): Likewise.
39503         (jn_test_data): Likewise.
39504         (ldexp_test_data): Likewise.
39505         (lgamma_test_data): Likewise.
39506         (lrint_test_data): Likewise.
39507         (lrint_tonearest_test_data): Likewise.
39508         (lrint_towardzero_test_data): Likewise.
39509         (lrint_downward_test_data): Likewise.
39510         (lrint_upward_test_data): Likewise.
39511         (llrint_test_data): Likewise.
39512         (llrint_tonearest_test_data): Likewise.
39513         (llrint_towardzero_test_data): Likewise.
39514         (llrint_downward_test_data): Likewise.
39515         (llrint_upward_test_data): Likewise.
39516         (log_test_data): Likewise.
39517         (log10_test_data): Likewise.
39518         (log1p_test_data): Likewise.
39519         (log2_test_data): Likewise.
39520         (logb_test_data): Likewise.
39521         (logb_downward_test_data): Likewise.
39522         (lround_test_data): Likewise.
39523         (llround_test_data): Likewise.
39524         (modf_test_data): Likewise.
39525         (nearbyint_test_data): Likewise.
39526         (nextafter_test_data): Likewise.
39527         (nexttoward_test_data): Likewise.
39528         (pow_test_data): Likewise.
39529         (pow_tonearest_test_data): Likewise.
39530         (pow_towardzero_test_data): Likewise.
39531         (pow_downward_test_data): Likewise.
39532         (pow_upward_test_data): Likewise.
39533         (remainder_test_data): Likewise.
39534         (remainder_tonearest_test_data): Likewise.
39535         (remainder_towardzero_test_data): Likewise.
39536         (remainder_downward_test_data): Likewise.
39537         (remainder_upward_test_data): Likewise.
39538         (remquo_test_data): Likewise.
39539         (rint_test_data): Likewise.
39540         (rint_tonearest_test_data): Likewise.
39541         (rint_towardzero_test_data): Likewise.
39542         (rint_downward_test_data): Likewise.
39543         (rint_upward_test_data): Likewise.
39544         (round_test_data): Likewise.
39545         (scalb_test_data): Likewise.
39546         (scalbn_test_data): Likewise.
39547         (scalbln_test_data): Likewise.
39548         (signbit_test_data): Likewise.
39549         (sin_test_data): Likewise.
39550         (sin_tonearest_test_data): Likewise.
39551         (sin_towardzero_test_data): Likewise.
39552         (sin_downward_test_data): Likewise.
39553         (sin_upward_test_data): Likewise.
39554         (sincos_test_data): Likewise.
39555         (sinh_test_data): Likewise.
39556         (sinh_tonearest_test_data): Likewise.
39557         (sinh_towardzero_test_data): Likewise.
39558         (sinh_downward_test_data): Likewise.
39559         (sinh_upward_test_data): Likewise.
39560         (sqrt_test_data): Likewise.
39561         (tan_test_data): Likewise.
39562         (tan_tonearest_test_data): Likewise.
39563         (tan_towardzero_test_data): Likewise.
39564         (tan_downward_test_data): Likewise.
39565         (tan_upward_test_data): Likewise.
39566         (tanh_test_data): Likewise.
39567         (tgamma_test_data): Likewise.
39568         (trunc_test_data): Likewise.
39569         (y0_test_data): Likewise.
39570         (y1_test_data): Likewise.
39571         (yn_test_data): Likewise.
39572         (significand_test_data): Likewise.
39574         * math/gen-libm-test.pl (@functions): Remove variable.
39575         (generate_testfile): Don't handle START and END lines.
39576         * math/libm-test.inc (START): New macro.
39577         (END): Likewise.
39578         (END_COMPLEX): Likewise.
39579         (acos_test): Use END macro without arguments.
39580         (acos_test_tonearest): Likewise.
39581         (acos_test_towardzero): Likewise.
39582         (acos_test_downward): Likewise.
39583         (acos_test_upward): Likewise.
39584         (acosh_test): Likewise.
39585         (asin_test): Likewise.
39586         (asin_test_tonearest): Likewise.
39587         (asin_test_towardzero): Likewise.
39588         (asin_test_downward): Likewise.
39589         (asin_test_upward): Likewise.
39590         (asinh_test): Likewise.
39591         (atan_test): Likewise.
39592         (atanh_test): Likewise.
39593         (atan2_test): Likewise.
39594         (cabs_test): Likewise.
39595         (cacos_test): Use END_COMPLEX macro without arguments.
39596         (cacosh_test): Likewise.
39597         (carg_test): Use END macro without arguments.
39598         (casin_test): Use END_COMPLEX macro without arguments.
39599         (casinh_test): Likewise.
39600         (catan_test): Likewise.
39601         (catanh_test): Likewise.
39602         (cbrt_test): Use END macro without arguments.
39603         (ccos_test): Use END_COMPLEX macro without arguments.
39604         (ccosh_test): Likewise.
39605         (ceil_test): Use END macro without arguments.
39606         (cexp_test): Use END_COMPLEX macro without arguments.
39607         (cimag_test): Use END macro without arguments.
39608         (clog_test): Use END_COMPLEX macro without arguments.
39609         (clog10_test): Likewise.
39610         (conj_test): Likewise.
39611         (copysign_test): Use END macro without arguments.
39612         (cos_test): Likewise.
39613         (cos_test_tonearest): Likewise.
39614         (cos_test_towardzero): Likewise.
39615         (cos_test_downward): Likewise.
39616         (cos_test_upward): Likewise.
39617         (cosh_test): Likewise.
39618         (cosh_test_tonearest): Likewise.
39619         (cosh_test_towardzero): Likewise.
39620         (cosh_test_downward): Likewise.
39621         (cosh_test_upward): Likewise.
39622         (cpow_test): Use END_COMPLEX macro without arguments.
39623         (cproj_test): Likewise.
39624         (creal_test): Use END macro without arguments.
39625         (csin_test): Use END_COMPLEX macro without arguments.
39626         (csinh_test): Likewise.
39627         (csqrt_test): Likewise.
39628         (ctan_test): Likewise.
39629         (ctan_test_tonearest): Likewise.
39630         (ctan_test_towardzero): Likewise.
39631         (ctan_test_downward): Likewise.
39632         (ctan_test_upward): Likewise.
39633         (ctanh_test): Likewise.
39634         (ctanh_test_tonearest): Likewise.
39635         (ctanh_test_towardzero): Likewise.
39636         (ctanh_test_downward): Likewise.
39637         (ctanh_test_upward): Likewise.
39638         (erf_test): Use END macro without arguments.
39639         (erfc_test): Likewise.
39640         (exp_test): Likewise.
39641         (exp_test_tonearest): Likewise.
39642         (exp_test_towardzero): Likewise.
39643         (exp_test_downward): Likewise.
39644         (exp_test_upward): Likewise.
39645         (exp10_test): Likewise.
39646         (exp2_test): Likewise.
39647         (expm1_test): Likewise.
39648         (fabs_test): Likewise.
39649         (fdim_test): Likewise.
39650         (finite_test): Likewise.
39651         (floor_test): Likewise.
39652         (fma_test): Likewise.
39653         (fma_test_towardzero): Likewise.
39654         (fma_test_downward): Likewise.
39655         (fma_test_upward): Likewise.
39656         (fmax_test): Likewise.
39657         (fmin_test): Likewise.
39658         (fmod_test): Likewise.
39659         (fpclassify_test): Likewise.
39660         (frexp_test): Likewise.
39661         (gamma_test): Likewise.
39662         (hypot_test): Likewise.
39663         (ilogb_test): Likewise.
39664         (isfinite_test): Likewise.
39665         (isgreater_test): Likewise.
39666         (isgreaterequal_test): Likewise.
39667         (isinf_test): Likewise.
39668         (isless_test): Likewise.
39669         (islessequal_test): Likewise.
39670         (islessgreater_test): Likewise.
39671         (isnan_test): Likewise.
39672         (isnormal_test): Likewise.
39673         (issignaling_test): Likewise.
39674         (isunordered_test): Likewise.
39675         (j0_test): Likewise.
39676         (j1_test): Likewise.
39677         (jn_test): Likewise.
39678         (ldexp_test): Likewise.
39679         (lgamma_test): Likewise.
39680         (lrint_test): Likewise.
39681         (lrint_test_tonearest): Likewise.
39682         (lrint_test_towardzero): Likewise.
39683         (lrint_test_downward): Likewise.
39684         (lrint_test_upward): Likewise.
39685         (llrint_test): Likewise.
39686         (llrint_test_tonearest): Likewise.
39687         (llrint_test_towardzero): Likewise.
39688         (llrint_test_downward): Likewise.
39689         (llrint_test_upward): Likewise.
39690         (log_test): Likewise.
39691         (log10_test): Likewise.
39692         (log1p_test): Likewise.
39693         (log2_test): Likewise.
39694         (logb_test): Likewise.
39695         (logb_test_downward): Likewise.
39696         (lround_test): Likewise.
39697         (llround_test): Likewise.
39698         (modf_test): Likewise.
39699         (nearbyint_test): Likewise.
39700         (nextafter_test): Likewise.
39701         (nexttoward_test): Likewise.
39702         (pow_test): Likewise.
39703         (pow_test_tonearest): Likewise.
39704         (pow_test_towardzero): Likewise.
39705         (pow_test_downward): Likewise.
39706         (pow_test_upward): Likewise.
39707         (remainder_test): Likewise.
39708         (remainder_test_tonearest): Likewise.
39709         (remainder_test_towardzero): Likewise.
39710         (remainder_test_downward): Likewise.
39711         (remainder_test_upward): Likewise.
39712         (remquo_test): Likewise.
39713         (rint_test): Likewise.
39714         (rint_test_tonearest): Likewise.
39715         (rint_test_towardzero): Likewise.
39716         (rint_test_downward): Likewise.
39717         (rint_test_upward): Likewise.
39718         (round_test): Likewise.
39719         (scalb_test): Likewise.
39720         (scalbn_test): Likewise.
39721         (scalbln_test): Likewise.
39722         (signbit_test): Likewise.
39723         (sin_test): Likewise.
39724         (sin_test_tonearest): Likewise.
39725         (sin_test_towardzero): Likewise.
39726         (sin_test_downward): Likewise.
39727         (sin_test_upward): Likewise.
39728         (sincos_test): Likewise.
39729         (sinh_test): Likewise.
39730         (sinh_test_tonearest): Likewise.
39731         (sinh_test_towardzero): Likewise.
39732         (sinh_test_downward): Likewise.
39733         (sinh_test_upward): Likewise.
39734         (sqrt_test): Likewise.
39735         (tan_test): Likewise.
39736         (tan_test_tonearest): Likewise.
39737         (tan_test_towardzero): Likewise.
39738         (tan_test_downward): Likewise.
39739         (tan_test_upward): Likewise.
39740         (tanh_test): Likewise.
39741         (tgamma_test): Likewise.
39742         (trunc_test): Likewise.
39743         (y0_test): Likewise.
39744         (y1_test): Likewise.
39745         (yn_test): Likewise.
39746         (significand_test): Likewise.
39748 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
39750         [BZ #15381]
39751         * libio/genops.c (_IO_no_init): Initialize wide struct info.
39753 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39755         [BZ #14894]
39756         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
39757         __ppc_mdoio and __ppc_mdoom.
39758         * manual/platform.texi: Document new functions __ppc_yield,
39759         __ppc_mdoio and __ppc_mdoom.
39761 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
39763         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
39764         (main): Mention "tls" pseudo-hwcap is legacy.
39765         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
39767 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39769         * math/gen-libm-test.pl (parse_args): Output only string of
39770         arguments as text for test name, not full call or descriptions of
39771         tests for extra outputs.
39772         (generate_testfile): Do not pass function name to parse_args.
39773         Generate this_func variable from START.
39774         * math/libm-test.inc (struct test_f_f_data): Rename test_name
39775         field to arg_str.
39776         (struct test_ff_f_data): Likewise.
39777         (test_ff_f_data_nexttoward): Likewise.
39778         (struct test_fi_f_data): Likewise.
39779         (struct test_fl_f_data): Likewise.
39780         (struct test_if_f_data): Likewise.
39781         (struct test_fff_f_data): Likewise.
39782         (struct test_c_f_data): Likewise.
39783         (struct test_f_f1_data): Likewise.  Remove field extra_name.
39784         (struct test_fF_f1_data): Likewise.
39785         (struct test_ffI_f1_data): Likewise.
39786         (struct test_c_c_data): Rename test_name field to arg_str.
39787         (struct test_cc_c_data): Likewise.
39788         (struct test_f_i_data): Likewise.
39789         (struct test_ff_i_data): Likewise.
39790         (struct test_f_l_data): Likewise.
39791         (struct test_f_L_data): Likewise.
39792         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
39793         and extra2_name.
39794         (COMMON_TEST_SETUP): New macro.
39795         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
39796         (COMMON_TEST_CLEANUP): Likewise.
39797         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
39798         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
39799         macros.
39800         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
39801         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
39802         macros.
39803         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
39804         (RUN_TEST_fff_f): Take argument string.  Call new setup and
39805         cleanup macros.
39806         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
39807         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
39808         macros.
39809         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
39810         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
39811         macros.
39812         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39813         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
39814         cleanup macros.
39815         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39816         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
39817         cleanup macros.
39818         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39819         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
39820         cleanup macros.
39821         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39822         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
39823         macros.
39824         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
39825         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
39826         macros.
39827         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
39828         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
39829         macros.
39830         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
39831         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
39832         cleanup macros.
39833         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
39834         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
39835         cleanup macros.
39836         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
39837         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
39838         macros.
39839         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
39840         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
39841         cleanup macros.
39842         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
39843         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
39844         macros.
39845         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
39846         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
39847         macros.
39848         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
39849         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
39850         cleanup macros.
39851         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
39853 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
39855         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
39856         to _sifields.sigfault.
39857         (si_addr_lsb): Define new macro.
39858         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39859         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39860         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
39862 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
39864         [BZ #15441]
39865         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
39866         returns -1.
39867         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
39868         null return -1.
39869         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
39870         loading the domain.
39872 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39874         * math/gen-libm-test.pl (parse_args): Do not include expected
39875         result in test name.
39876         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
39877         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39878         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39879         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39880         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39883 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39885         * benchtests/Makefile: Sort function entries.
39887         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
39888         tanh, asinh, acosh, atanh.
39889         * benchtests/acos-inputs: New file.
39890         * benchtests/acosh-inputs: New file.
39891         * benchtests/asin-inputs: New file.
39892         * benchtests/asinh-inputs: New file.
39893         * benchtests/atanh-inputs: New file.
39894         * benchtests/cosh-inputs: New file.
39895         * benchtests/log-inputs: New file.
39896         * benchtests/sinh-inputs: New file.
39897         * benchtests/tanh-inputs: New file.
39899 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
39901         [BZ #15339]
39902         * posix/tst-getaddrinfo4.c: New test.
39903         * posix/Makefile (tests): Add it.
39905 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39907         [BZ #15339]
39908         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
39909         when no services were used.
39910         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
39911         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
39913 2013-05-21  Andreas Schwab  <schwab@suse.de>
39915         [BZ #15014]
39916         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
39917         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
39918         successful.
39919         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
39920         redundant variable declarations and reallocation of buffer when
39921         parsing as IPv6 address.  Always set NSS status when called from
39922         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
39923         buffer too small.  Correct computation of needed size.
39924         * nss/Makefile (tests): Add test-digits-dots.
39925         * nss/test-digits-dots.c: New test.
39927 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39929         * benchtests/Makefile: Remove instructions for adding
39930         benchmark tests.
39931         * benchtests/README: New file to explain how to execute and
39932         enhance the benchmark tests.
39934 2013-05-21  Andreas Schwab  <schwab@suse.de>
39936         [BZ #15493]
39937         * setjmp/Makefile (tests): Add tst-sigsetjmp.
39938         * setjmp/tst-sigsetjmp.c: New test.
39940 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39942         * sysdeps/x86_64/memset.S (memset): New implementation.
39943         (__bzero): Likewise.
39944         (__memset_tail): New function.
39946 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39948         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
39949         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
39950         __memcpy_sse2_unaligned ifunc selection.
39951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39952         Add memcpy-sse2-unaligned.S.
39953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39954         Add: __memcpy_sse2_unaligned.
39956 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
39958         [BZ #15490]
39959         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39960         math_force_eval before restoring floating-point envrionment.
39961         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
39962         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
39963         Likewise.
39964         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
39965         <math_private.h>.
39966         (__nearbyintl): Use math_force_eval before restoring
39967         floating-point environment.
39968         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
39970         * math/gen-libm-test.pl (special_functions): Remove.
39971         (parse_args): Don't handle TEST_extra.  Handle functions with no
39972         return value.
39973         * math/libm-test.inc (struct test_sincos_data): Replace with
39974         struct test_fFF_11_data.
39975         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
39976         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
39977         (sincos_test_data): Change element type to struct
39978         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
39979         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
39980         RUN_TEST_LOOP_sincos.
39981         * math/README.libm-test: Don't mention special handling of
39982         individual functions.
39983         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
39984         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39985         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39986         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39987         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39990         * math/gen-libm-test.pl (get_variable): Remove function.
39991         (parse_args): Don't show pointer parameters to call in test
39992         names.  Use "extra output N" in test names for extra outputs
39993         rather than naming variables.
39995 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
39997         [BZ #15488]
39998         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
39999         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
40000         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
40001         double tests.
40002         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
40003         disable.
40004         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
40005         check_long_double.
40007         * math/gen-libm-test.pl (@tests): Remove variable.
40008         ($count): Likewise.
40009         (new_test): Remove function.
40010         (show_exceptions): New function.
40011         (special_functions): Use show_exceptions instead of new_test.
40012         (parse_args): Likewise.
40013         (generate_testfile): Pass only function name in generated call to
40014         print_max_error or print_complex_max_error.
40015         (get_ulps): Do not handle complex tests specially.
40016         (output_test): Rename to ...
40017         (get_all_ulps_for_test): ... this.  Return a string rather than
40018         printing to a file.  Require ulps to be present.
40019         (output_ulps): Generate arrays rather than #defines.
40020         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
40021         (struct ulp_data): New type.
40022         (BUILD_COMPLEX_ULP): Remove macro.
40023         (compare_ulp_data): New function.
40024         (find_ulps): Likewise.
40025         (find_test_ulps): Likewise.
40026         (find_function_ulps): Likewise.
40027         (find_complex_function_ulps): Likewise.
40028         (print_max_error): Determine allowed ulps using
40029         find_function_ulps.
40030         (print_complex_max_error): Determine allowed ulps using
40031         find_complex_function_ulps.
40032         (check_float_internal): Determine max ulps using find_test_ulps.
40033         (check_float): Do not take max_ulp parameter.  Update call to
40034         check_float_internal.
40035         (check_complex): Likewise.
40036         (check_int): Do not take max_ulp parameter.
40037         (check_long): Likewise.
40038         (check_bool): Likewise.
40039         (check_longlong): Likewise.
40040         (struct test_f_f_data): Remove max_ulp field.
40041         (struct test_ff_f_data): Likewise.
40042         (struct test_ff_f_data_nexttoward): Likewise.
40043         (struct test_fi_f_data): Likewise.
40044         (struct test_fl_f_data): Likewise.
40045         (struct test_if_f_data): Likewise.
40046         (struct test_fff_f_data): Likewise.
40047         (struct test_c_f_data): Likewise.
40048         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
40049         (struct test_fF_f1_data): Likewise.
40050         (struct test_ffI_f1_data): Likewise.
40051         (struct test_c_c_data): Remove max_ulp field.
40052         (struct test_cc_c_data): Likewise.
40053         (struct test_f_i_data): Likewise.
40054         (struct test_ff_i_data): Likewise.
40055         (struct test_f_l_data): Likewise.
40056         (struct test_f_L_data): Likewise.
40057         (struct test_sincos_data): Likewise.
40058         (RUN_TEST_f_f): Do not handle ulps.
40059         (RUN_TEST_LOOP_f_f): Likewise.
40060         (RUN_TEST_2_f): Likewise.
40061         (RUN_TEST_LOOP_2_f): Likewise.
40062         (RUN_TEST_fff_f): Likewise.
40063         (RUN_TEST_LOOP_fff_f): Likewise.
40064         (RUN_TEST_c_f): Likewise.
40065         (RUN_TEST_LOOP_c_f): Likewise.
40066         (RUN_TEST_f_f1): Likewise.
40067         (RUN_TEST_LOOP_f_f1): Likewise.
40068         (RUN_TEST_fF_f1): Likewise.
40069         (RUN_TEST_LOOP_fF_f1): Likewise.
40070         (RUN_TEST_fI_f1): Likewise.
40071         (RUN_TEST_LOOP_fI_f1): Likewise.
40072         (RUN_TEST_ffI_f1): Likewise.
40073         (RUN_TEST_LOOP_ffI_f1): Likewise.
40074         (RUN_TEST_c_c): Likewise.
40075         (RUN_TEST_LOOP_c_c): Likewise.
40076         (RUN_TEST_cc_c): Likewise.
40077         (RUN_TEST_LOOP_cc_c): Likewise.
40078         (RUN_TEST_f_i): Likewise.
40079         (RUN_TEST_LOOP_f_i): Likewise.
40080         (RUN_TEST_f_i_tg): Likewise.
40081         (RUN_TEST_LOOP_f_i_tg): Likewise.
40082         (RUN_TEST_ff_i_tg): Likewise.
40083         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40084         (RUN_TEST_f_b): Likewise.
40085         (RUN_TEST_LOOP_f_b): Likewise.
40086         (RUN_TEST_f_b_tg): Likewise.
40087         (RUN_TEST_LOOP_f_b_tg): Likewise.
40088         (RUN_TEST_f_l): Likewise.
40089         (RUN_TEST_LOOP_f_l): Likewise.
40090         (RUN_TEST_f_L): Likewise.
40091         (RUN_TEST_LOOP_f_L): Likewise.
40092         (RUN_TEST_sincos): Likewise.
40093         (RUN_TEST_LOOP_sincos): Likewise.
40095 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
40097         [BZ #15480]
40098         [BZ #15485]
40099         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
40100         main case of finite arguments, set rounding mode to FE_TONEAREST
40101         and discard exceptions.
40102         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
40103         exceptions.
40104         (remainder_tonearest_test_data): New variable.
40105         (remainder_test_tonearest): New function.
40106         (remainder_towardzero_test_data): New variable.
40107         (remainder_test_towardzero): New function.
40108         (remainder_downward_test_data): New variable.
40109         (remainder_test_downward): New function.
40110         (remainder_upward_test_data): New variable.
40111         (remainder_test_upward): New function.
40112         (main): Call the new test functions.
40114         * math/libm-test.inc (struct test_f_f1_data): Remove field
40115         extra_init.
40116         (struct test_fF_f1_data): Likewise.
40117         (struct test_ffI_f1_data): Likewise.
40118         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
40119         based on value of EXTRA_EXPECTED.
40120         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40121         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
40122         EXTRA_VAR based on value of EXTRA_EXPECTED.
40123         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40124         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
40125         EXTRA_VAR based on value of EXTRA_EXPECTED.
40126         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40127         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
40128         EXTRA_VAR based on value of EXTRA_EXPECTED.
40129         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40130         * math/gen-libm-test.pl (parse_args): Don't output initializers
40131         for extra output values.
40133         * math/libm-test.inc (check_int): Expect result to be exactly
40134         equal to expected value and do not handle ulps.
40135         (check_long): Likewise.
40136         (check_longlong): Likewise.
40138         * math/libm-test.inc (ceil_test_data): Test for "inexact"
40139         exceptions.
40140         (cimag_test_data): Likewise.
40141         (conj_test_data): Likewise.
40142         (copysign_test_data): Likewise.
40143         (cproj_test_data): Likewise.
40144         (creal_test_data): Likewise.
40145         (fabs_test_data): Likewise.
40146         (fdim_test_data): Likewise.
40147         (finite_test_data): Likewise.
40148         (floor_test_data): Likewise.
40149         (fmax_test_data): Likewise.
40150         (fmin_test_data): Likewise.
40151         (fmod_test_data): Likewise.
40152         (fpclassify_test_data): Likewise.
40153         (frexp_test_data): Likewise.
40154         (ilogb_test_data): Likewise.
40155         (isfinite_test_data): Likewise.
40156         (isgreater_test_data): Likewise.
40157         (isgreaterequal_test_data): Likewise.
40158         (isinf_test_data): Likewise.
40159         (isless_test_data): Likewise.
40160         (islessequal_test_data): Likewise.
40161         (islessgreater_test_data): Likewise.
40162         (isnan_test_data): Likewise.
40163         (isnormal_test_data): Likewise.
40164         (issignaling_test_data): Likewise.
40165         (isunordered_test_data): Likewise.
40166         (ldexp_test_data): Likewise.
40167         (lrint_test_data): Likewise.
40168         (lrint_test_data) [TEST_FLOAT]: Disable one test.
40169         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
40170         (lrint_tonearest_test_data): Test for "inexact" exceptions.
40171         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40172         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
40173         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40174         test input.
40175         (lrint_towardzero_test_data): Test for "inexact" exceptions.
40176         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40177         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
40178         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
40179         that test input.
40180         (lrint_downward_test_data): Test for "inexact" exceptions.
40181         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40182         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
40183         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40184         test input.
40185         (lrint_upward_test_data): Test for "inexact" exceptions.
40186         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
40187         test input.
40188         (llrint_test_data): Test for "inexact" exceptions.
40189         (llrint_test_data) [TEST_FLOAT]: Disable one test.
40190         (llrint_tonearest_test_data): Test for "inexact" exceptions.
40191         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40192         (llrint_towardzero_test_data): Test for "inexact" exceptions.
40193         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40194         (llrint_downward_test_data): Test for "inexact" exceptions.
40195         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40196         (llrint_upward_test_data): Test for "inexact" exceptions.
40197         (logb_test_data): Likewise.
40198         (logb_downward_test_data): Likewise.
40199         (nextafter_test_data): Likewise.
40200         (nexttoward_test_data): Likewise.
40201         (remainder_test_data): Likewise.
40202         (remquo_test_data): Likewise.
40203         (scalbn_test_data): Likewise.
40204         (scalbln_test_data): Likewise.
40205         (signbit_test_data): Likewise.
40206         (sqrt_test_data): Likewise.
40207         (significand_test_data): Likewise.
40209 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40211         [BZ #15424]
40212         * benchtests/bench-modf.c (struct args): Mark arg0 as
40213         volatile.
40214         * scripts/bench.pl: Mark members of struct args as volatile.
40216 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40218         [BZ # 15497]
40219         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
40220         negative infinity on POWER6 or lower.
40221         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
40223 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40225         [BZ #15442]
40226         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
40227         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
40228         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
40229         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
40230         (_FP_SETQNAN): New macro.
40231         (_FP_SETQNAN_SEMIRAW): Likewise.
40232         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
40233         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
40234         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
40235         (FP_EXTEND): Use _FP_FRAC_SNANP.
40236         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
40237         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
40238         into account.
40239         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40240         New macro.
40241         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40242         Likewise.
40244 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40246         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
40247         with DIVIDE_BY_ZERO_EXCEPTION.
40248         (gamma_test_data): Likewise.
40249         (lgamma_test_data): Likewise.
40250         (log_test_data): Likewise.
40251         (log10_test_data): Likewise.
40252         (log2_test_data): Likewise.
40253         (tgamma_test_data): Likewise.
40255         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
40256         (acos_test_tonearest): Likewise.
40257         (acos_test_towardzero): Likewise.
40258         (acos_test_downward): Likewise.
40259         (acos_test_upward): Likewise.
40260         (acosh_test): Likewise.
40261         (asin_test): Likewise.
40262         (asin_test_tonearest): Likewise.
40263         (asin_test_towardzero): Likewise.
40264         (asin_test_downward): Likewise.
40265         (asin_test_upward): Likewise.
40266         (asinh_test): Likewise.
40267         (atan_test): Likewise.
40268         (atanh_test): Likewise.
40269         (atan2_test): Likewise.
40270         (cabs_test): Likewise.
40271         (cacos_test): Likewise.
40272         (cacosh_test): Likewise.
40273         (casin_test): Likewise.
40274         (casinh_test): Likewise.
40275         (catan_test): Likewise.
40276         (catanh_test): Likewise.
40277         (cbrt_test): Likewise.
40278         (ccos_test): Likewise.
40279         (ccosh_test): Likewise.
40280         (cexp_test): Likewise.
40281         (clog_test): Likewise.
40282         (clog10_test): Likewise.
40283         (cos_test): Likewise.
40284         (cos_test_tonearest): Likewise.
40285         (cos_test_towardzero): Likewise.
40286         (cos_test_downward): Likewise.
40287         (cos_test_upward): Likewise.
40288         (cosh_test): Likewise.
40289         (cosh_test_tonearest): Likewise.
40290         (cosh_test_towardzero): Likewise.
40291         (cosh_test_downward): Likewise.
40292         (cosh_test_upward): Likewise.
40293         (cpow_test): Likewise.
40294         (csin_test): Likewise.
40295         (csinh_test): Likewise.
40296         (csqrt_test): Likewise.
40297         (ctan_test): Likewise.
40298         (ctan_test_tonearest): Likewise.
40299         (ctan_test_towardzero): Likewise.
40300         (ctan_test_downward): Likewise.
40301         (ctan_test_upward): Likewise.
40302         (ctanh_test): Likewise.
40303         (ctanh_test_tonearest): Likewise.
40304         (ctanh_test_towardzero): Likewise.
40305         (ctanh_test_downward): Likewise.
40306         (ctanh_test_upward): Likewise.
40307         (erf_test): Likewise.
40308         (erfc_test): Likewise.
40309         (exp_test): Likewise.
40310         (exp_test_tonearest): Likewise.
40311         (exp_test_towardzero): Likewise.
40312         (exp_test_downward): Likewise.
40313         (exp_test_upward): Likewise.
40314         (exp10_test): Likewise.
40315         (exp2_test): Likewise.
40316         (expm1_test): Likewise.
40317         (fmod_test): Likewise.
40318         (gamma_test): Likewise.
40319         (hypot_test): Likewise.
40320         (j0_test): Likewise.
40321         (j1_test): Likewise.
40322         (jn_test): Likewise.
40323         (lgamma_test): Likewise.
40324         (log_test): Likewise.
40325         (log10_test): Likewise.
40326         (log1p_test): Likewise.
40327         (log2_test): Likewise.
40328         (logb_test_downward): Likewise.
40329         (pow_test): Likewise.
40330         (pow_test_tonearest): Likewise.
40331         (pow_test_towardzero): Likewise.
40332         (pow_test_downward): Likewise.
40333         (pow_test_upward): Likewise.
40334         (remainder_test): Likewise.
40335         (remquo_test): Likewise.
40336         (sin_test): Likewise.
40337         (sin_test_tonearest): Likewise.
40338         (sin_test_towardzero): Likewise.
40339         (sin_test_downward): Likewise.
40340         (sin_test_upward): Likewise.
40341         (sincos_test): Likewise.
40342         (sinh_test): Likewise.
40343         (sinh_test_tonearest): Likewise.
40344         (sinh_test_towardzero): Likewise.
40345         (sinh_test_downward): Likewise.
40346         (sinh_test_upward): Likewise.
40347         (sqrt_test): Likewise.
40348         (tan_test): Likewise.
40349         (tan_test_tonearest): Likewise.
40350         (tan_test_towardzero): Likewise.
40351         (tan_test_downward): Likewise.
40352         (tan_test_upward): Likewise.
40353         (tanh_test): Likewise.
40354         (tgamma_test): Likewise.
40355         (y0_test): Likewise.
40356         (y1_test): Likewise.
40357         (yn_test): Likewise.
40359         * math/gen-libm-test.pl (adjust_arg): Remove function.
40360         (special_function): Remove argument $in_func.  Only handle
40361         generating output for tables of tests, not inside functions.
40362         (parse_args): Likewise.
40363         (generate_testfile): Remove variable $in_func.  Update call to
40364         parse_args.
40365         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
40366         (MINUS_ZERO_INIT): Rename macro to minus_zero.
40367         (PLUS_INFTY_INIT): Rename macro to plus_infty.
40368         (MINUS_INFTY_INIT): Rename macro to minus_infty.
40369         (QNAN_VALUE_INIT): Rename macro to qnan_value.
40370         (MAX_VALUE_INIT): Rename macro to max_value.
40371         (MIN_VALUE_INIT): Rename macro to min_value.
40372         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
40373         (plus_zero): Remove variable.
40374         (minus_zero): Likewise.
40375         (plus_infty): Likewise.
40376         (minus_infty): Likewise.
40377         (qnan_value): Likewise.
40378         (max_value): Likewise.
40379         (min_value): Likewise.
40380         (min_subnorm_value): Likewise.
40382 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40384         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
40385         uint64_t or uint32_t usage.
40386         * crypt/sha256-block.c: Likewise.
40387         * crypt/sha256-crypt.c: Likewise.
40388         * crypt/sha256.c: Likewise.
40389         * crypt/sha512-block.c: Likewise.
40390         * crypt/sha512-crypt.c: Likewise.
40391         * crypt/sha512.c: Likewise.
40392         * debug/backtrace-tst.c: Likewise.
40393         * debug/pcprofiledump.c: Likewise.
40394         * elf/cache.c: Likewise.
40395         * elf/dl-cache.c: Likewise.
40396         * elf/dl-misc.c: Likewise.
40397         * elf/dl-profile.c: Likewise.
40398         * elf/dl-support.c: Likewise.
40399         * elf/ldconfig.c: Likewise.
40400         * elf/sprof.c: Likewise.
40401         * iconv/dummy-repertoire.c: Likewise.
40402         * iconv/iconv_charmap.c: Likewise.
40403         * iconv/skeleton.c: Likewise.
40404         * iconvdata/8bit-generic.c: Likewise.
40405         * iconvdata/cp737.h: Likewise.
40406         * iconvdata/cp775.h: Likewise.
40407         * iconvdata/ibm1008.h: Likewise.
40408         * iconvdata/ibm1025.h: Likewise.
40409         * iconvdata/ibm1046.h: Likewise.
40410         * iconvdata/ibm1097.h: Likewise.
40411         * iconvdata/ibm1112.h: Likewise.
40412         * iconvdata/ibm1122.h: Likewise.
40413         * iconvdata/ibm1123.h: Likewise.
40414         * iconvdata/ibm1124.h: Likewise.
40415         * iconvdata/ibm1129.h: Likewise.
40416         * iconvdata/ibm1130.h: Likewise.
40417         * iconvdata/ibm1132.h: Likewise.
40418         * iconvdata/ibm1133.h: Likewise.
40419         * iconvdata/ibm1137.h: Likewise.
40420         * iconvdata/ibm1140.h: Likewise.
40421         * iconvdata/ibm1141.h: Likewise.
40422         * iconvdata/ibm1142.h: Likewise.
40423         * iconvdata/ibm1143.h: Likewise.
40424         * iconvdata/ibm1144.h: Likewise.
40425         * iconvdata/ibm1145.h: Likewise.
40426         * iconvdata/ibm1146.h: Likewise.
40427         * iconvdata/ibm1147.h: Likewise.
40428         * iconvdata/ibm1148.h: Likewise.
40429         * iconvdata/ibm1149.h: Likewise.
40430         * iconvdata/ibm1153.h: Likewise.
40431         * iconvdata/ibm1154.h: Likewise.
40432         * iconvdata/ibm1155.h: Likewise.
40433         * iconvdata/ibm1156.h: Likewise.
40434         * iconvdata/ibm1157.h: Likewise.
40435         * iconvdata/ibm1158.h: Likewise.
40436         * iconvdata/ibm1160.h: Likewise.
40437         * iconvdata/ibm1161.h: Likewise.
40438         * iconvdata/ibm1162.h: Likewise.
40439         * iconvdata/ibm1163.h: Likewise.
40440         * iconvdata/ibm1164.h: Likewise.
40441         * iconvdata/ibm1166.h: Likewise.
40442         * iconvdata/ibm1167.h: Likewise.
40443         * iconvdata/ibm12712.h: Likewise.
40444         * iconvdata/ibm1390.h: Likewise.
40445         * iconvdata/ibm1399.h: Likewise.
40446         * iconvdata/ibm16804.h: Likewise.
40447         * iconvdata/ibm4517.h: Likewise.
40448         * iconvdata/ibm4899.h: Likewise.
40449         * iconvdata/ibm4909.h: Likewise.
40450         * iconvdata/ibm4971.h: Likewise.
40451         * iconvdata/ibm5347.h: Likewise.
40452         * iconvdata/ibm803.h: Likewise.
40453         * iconvdata/ibm856.h: Likewise.
40454         * iconvdata/ibm901.h: Likewise.
40455         * iconvdata/ibm902.h: Likewise.
40456         * iconvdata/ibm9030.h: Likewise.
40457         * iconvdata/ibm9066.h: Likewise.
40458         * iconvdata/ibm921.h: Likewise.
40459         * iconvdata/ibm922.h: Likewise.
40460         * iconvdata/ibm9448.h: Likewise.
40461         * iconvdata/isiri-3342.h: Likewise.
40462         * iconvdata/jis0201.h: Likewise.
40463         * include/link.h: Likewise.
40464         * include/netdb.h: Likewise.
40465         * inet/check_native.c: Likewise.
40466         * inet/check_pf.c: Likewise.
40467         * inet/getipv4sourcefilter.c: Likewise.
40468         * inet/getnameinfo.c: Likewise.
40469         * inet/getsourcefilter.c: Likewise.
40470         * inet/htonl.c: Likewise.
40471         * inet/setipv4sourcefilter.c: Likewise.
40472         * inet/setsourcefilter.c: Likewise.
40473         * inet/test-inet6_opt.c: Likewise.
40474         * inet/tst-network.c: Likewise.
40475         * locale/C-collate.c: Likewise.
40476         * locale/C-ctype.c: Likewise.
40477         * locale/C-time.c: Likewise.
40478         * locale/C-translit.h: Likewise.
40479         * locale/loadarchive.c: Likewise.
40480         * locale/programs/3level.h: Likewise.
40481         * locale/programs/charmap.c: Likewise.
40482         * locale/programs/charmap.h: Likewise.
40483         * locale/programs/ld-address.c: Likewise.
40484         * locale/programs/ld-collate.c: Likewise.
40485         * locale/programs/ld-ctype.c: Likewise.
40486         * locale/programs/ld-identification.c: Likewise.
40487         * locale/programs/ld-measurement.c: Likewise.
40488         * locale/programs/ld-messages.c: Likewise.
40489         * locale/programs/ld-monetary.c: Likewise.
40490         * locale/programs/ld-name.c: Likewise.
40491         * locale/programs/ld-numeric.c: Likewise.
40492         * locale/programs/ld-paper.c: Likewise.
40493         * locale/programs/ld-telephone.c: Likewise.
40494         * locale/programs/ld-time.c: Likewise.
40495         * locale/programs/linereader.c: Likewise.
40496         * locale/programs/locale.c: Likewise.
40497         * locale/programs/locarchive.c: Likewise.
40498         * locale/programs/locfile.h: Likewise.
40499         * locale/programs/repertoire.c: Likewise.
40500         * locale/programs/simple-hash.c: Likewise.
40501         * locale/programs/simple-hash.h: Likewise.
40502         * malloc/memusage.c: Likewise.
40503         * malloc/memusagestat.c: Likewise.
40504         * nis/nis_defaults.c: Likewise.
40505         * nis/nis_hash.c: Likewise.
40506         * nis/nis_print.c: Likewise.
40507         * nis/nis_xdr.c: Likewise.
40508         * nscd/connections.c: Likewise.
40509         * nscd/hstcache.c: Likewise.
40510         * nscd/nscd_gethst_r.c: Likewise.
40511         * nscd/nscd_getserv_r.c: Likewise.
40512         * nscd/nscd_helper.c: Likewise.
40513         * nscd/servicescache.c: Likewise.
40514         * nss/makedb.c: Likewise.
40515         * nss/nss_db/db-XXX.c: Likewise.
40516         * nss/nss_db/db-initgroups.c: Likewise.
40517         * nss/nss_db/db-netgrp.c: Likewise.
40518         * nss/nss_files/files-network.c: Likewise.
40519         * nss/nss_files/files-parse.c: Likewise.
40520         * posix/bug-regex5.c: Likewise.
40521         * posix/fnmatch_loop.c: Likewise.
40522         * posix/regcomp.c: Likewise.
40523         * posix/regexec.c: Likewise.
40524         * posix/tst-rfc3484-2.c: Likewise.
40525         * posix/tst-rfc3484-3.c: Likewise.
40526         * posix/tst-rfc3484.c: Likewise.
40527         * resolv/nss_dns/dns-canon.c: Likewise.
40528         * resolv/nss_dns/dns-network.c: Likewise.
40529         * resolv/res_init.c: Likewise.
40530         * resolv/res_mkquery.c: Likewise.
40531         * resolv/tst-aton.c: Likewise.
40532         * stdlib/cxa_atexit.c: Likewise.
40533         * stdlib/cxa_finalize.c: Likewise.
40534         * stdlib/gen-fpioconst.c: Likewise.
40535         * stdlib/strtol_l.c: Likewise.
40536         * string/tst-endian.c: Likewise.
40537         * sunrpc/auth_des.c: Likewise.
40538         * sunrpc/clnt_udp.c: Likewise.
40539         * sunrpc/rtime.c: Likewise.
40540         * sunrpc/svcauth_des.c: Likewise.
40541         * sunrpc/xdr.c: Likewise.
40542         * sunrpc/xdr_intXX_t.c: Likewise.
40543         * sunrpc/xdr_rec.c: Likewise.
40544         * sysdeps/generic/ldconfig.h: Likewise.
40545         * sysdeps/generic/ldsodefs.h: Likewise.
40546         * sysdeps/generic/memusage.h: Likewise.
40547         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40548         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
40549         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
40550         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40551         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40552         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40553         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40554         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40555         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40556         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40557         * sysdeps/posix/getaddrinfo.c: Likewise.
40558         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40559         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40560         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40561         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40562         * sysdeps/powerpc/test-gettimebase.c: Likewise.
40563         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40564         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
40565         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
40566         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40567         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
40568         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40569         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40570         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
40571         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
40572         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
40573         * sysdeps/x86_64/dl-tls.h: Likewise.
40574         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
40575         * time/alt_digit.c: Likewise.
40576         * time/era.c: Likewise.
40577         * wcsmbs/tst-c16c32-1.c: Likewise.
40579 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40581         * math/libm-test.inc (struct test_sincos_data): New type.
40582         (RUN_TEST_LOOP_sincos): New macro.
40583         (sincos_test_data): New variable.
40584         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
40586 2013-05-16  Richard Henderson  <rth@redhat.com>
40588         * math/atest-exp2.c (LIMB64): New macro.
40589         (CONSTSZ): New macro.
40590         (mp_exp1, mp_exp_m1, mp_log2): New variables.
40591         (hexdig): Move ...
40592         (print_mpn_fp): ... to function scope.
40593         (read_mpn_hex): Remove.
40594         (get_log2): Remove.
40595         (exp2_mpn): Use mp_log2.
40596         (main): Use mp_exp1.
40598 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40600         * math/libm-test.inc: Remove comment about not testing "inexact"
40601         exceptions.
40602         (INEXACT_EXCEPTION): New macro.
40603         (NO_INEXACT_EXCEPTION): Likewise.
40604         (INVALID_EXCEPTION_OK): Update value.
40605         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40606         (OVERFLOW_EXCEPTION_OK): Likewise.
40607         (UNDERFLOW_EXCEPTION_OK): Likewise.
40608         (IGNORE_ZERO_INF_SIGN): Likewise.
40609         (ERRNO_UNCHANGED): Likewise.
40610         (ERRNO_EDOM): Likewise.
40611         (ERRNO_ERANGE): Likewise.
40612         (test_exceptions): Handle testing "inexact" exceptions.
40613         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
40614         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
40615         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
40616         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
40617         INEXACT_EXCEPTION.
40618         (rint_towardzero_test_data): Likewise.
40619         (rint_downward_test_data): Likewise.
40620         (rint_upward_test_data): Likewise.
40622         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
40623         with OVERFLOW_EXCEPTION.
40624         (exp10_test_data): Likewise.
40625         (exp2_test_data): Likewise.
40626         (expm1_test_data): Likewise.
40627         (lgamma_test_data): Likewise.
40628         (pow_test_data): Likewise.
40629         (tgamma_test_data): Likewise.
40630         (yn_test_data): Remove duplicate test of overflow.
40632         * math/libm-test.inc (struct test_cc_c_data): New type.
40633         (RUN_TEST_LOOP_cc_c): New macro.
40634         (cpow_test_data): New variable.
40635         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
40637         * math/libm-test.inc (struct test_f_L_data): New type.
40638         (RUN_TEST_LOOP_f_L): New macro.
40639         (llrint_test_data): New variable.
40640         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
40641         (llrint_tonearest_test_data): New variable.
40642         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
40643         (llrint_towardzero_test_data): New variable.
40644         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
40645         (llrint_downward_test_data): New variable.
40646         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
40647         (llrint_upward_test_data): New variable.
40648         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
40649         (llround_test_data): New variable.
40650         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
40652 2013-05-13  Peter Collingbourne  <pcc@google.com>
40654         * math/atest-exp2.c (get_log2): Remove const attribute.
40656 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40658         * math/libm-test.inc (struct test_f_l_data): New type.
40659         (RUN_TEST_LOOP_f_l): New macro.
40660         (lrint_test_data): New variable.
40661         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
40662         (lrint_tonearest_test_data): New variable.
40663         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
40664         (lrint_towardzero_test_data): New variable.
40665         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
40666         (lrint_downward_test_data): New variable.
40667         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
40668         (lrint_upward_test_data): New variable.
40669         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
40670         (lround_test_data): New variable.
40671         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
40673 2013-05-15  Peter Collingbourne  <pcc@google.com>
40675         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
40676         (EXTRACT_WORDS64) Use where appropriate.
40677         (INSERT_WORDS64) Likewise.
40679         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
40680         constraints with x constraints.
40681         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
40683         * malloc/obstack.c (_obstack_compat): Add initializer.
40685 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40687         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
40688         si_trapno and add si_addr_lsb to _sifields.sigfault.
40689         (si_trapno): Remove macro.
40690         (si_addr_lsb): Define new macro.
40691         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40693 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40695         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
40696         instead of TEST_f_l.
40697         (llrint_test_tonearest): Likewise.
40698         (llrint_test_towardzero): Likewise.
40699         (llrint_test_downward): Likewise.
40700         (llrint_test_upward): Likewise.
40701         (llround_test): Likewise.
40703         * math/libm-test.inc (struct test_f_i_data): Add comment.
40704         (RUN_TEST_LOOP_f_b): New macro.
40705         (RUN_TEST_LOOP_f_b_tg): Likewise.
40706         (finite_test_data): New variable.
40707         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
40708         (isfinite_test_data): New variable.
40709         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40710         (isinf_test_data): New variable.
40711         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40712         (isnan_test_data): New variable.
40713         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40714         (isnormal_test_data): New variable.
40715         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40716         (issignaling_test_data): New variable.
40717         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40718         (signbit_test_data): New variable.
40719         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40721         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
40722         with INVALID_EXCEPTION.
40723         (acosh_test_data): Likewise.
40724         (asin_test_data): Likewise.
40725         (atanh_test_data): Likewise.
40726         (fmod_test_data): Likewise.
40727         (log_test_data): Likewise.
40728         (log10_test_data): Likewise.
40729         (log2_test_data): Likewise.
40730         (pow_test_data): Likewise.
40731         (sqrt_test_data): Likewise.
40732         (y0_test_data): Likewise.
40733         (y1_test_data): Likewise.
40734         (yn_test_data): Likewise.
40736         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
40737         function contents.
40739         * math/libm-test.inc (struct test_ff_i_data): New type.
40740         (RUN_TEST_LOOP_ff_i_tg): New macro.
40741         (isgreater_test_data): New variable.
40742         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40743         (isgreaterequal_test_data): New variable.
40744         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40745         (isless_test_data): New variable.
40746         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40747         (islessequal_test_data): New variable.
40748         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40749         (islessgreater_test_data): New variable.
40750         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40751         (isunordered_test_data): New variable.
40752         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40754 2013-05-14  David S. Miller  <davem@davemloft.net>
40756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40758 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
40760         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
40762         * math/libm-test.inc (struct test_fF_f1_data): Change type of
40763         extra_test to int.
40764         (struct test_f_i_data): Change type of max_ulp to int.
40766         * math/libm-test.inc (test_ffI_f1_data): New type.
40767         (RUN_TEST_LOOP_ffI_f1): New macro.
40768         (remquo_test_data): New variable.
40769         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
40771         * setjmp/tst-setjmp-fp.c: New file.
40772         * setjmp/Makefile (tests): Add tst-setjmp-fp.
40773         (link-libm): New variable.
40774         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
40776         * math/libm-test.inc (struct test_f_i_data): New type.
40777         (RUN_TEST_LOOP_f_i): New macro.
40778         (RUN_TEST_LOOP_f_i_tg): Likewise.
40779         (fpclassify_test_data): New variable.
40780         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
40781         (ilogb_test_data): New variable.
40782         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
40784         * math/libm-test.inc (scalbln_test): Correct function name in END
40785         call.
40787         * math/libm-test.inc (struct test_f_f1_data): Add comment.
40788         (RUN_TEST_LOOP_fI_f1): New macro.
40789         (frexp_test_data): New variable.
40790         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
40792         * math/libm-test.inc (struct test_fF_f1_data): New type.
40793         (RUN_TEST_LOOP_fF_f1): New macro.
40794         (modf_test_data): New variable.
40795         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
40797         * math/libm-test.inc (struct test_f_f1_data): New type.
40798         (RUN_TEST_LOOP_f_f1): New macro.
40799         (gamma_test_data): New variable.
40800         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40801         (lgamma_test_data): New variable.
40802         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40804 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
40806         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
40807         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
40808         (main): Comment "tls" pseudo-hwcap.
40810 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
40812         * math/libm-test.inc (struct test_fl_f_data): New type.
40813         (RUN_TEST_LOOP_fl_f): New variable.
40814         (scalbln_test_data): New variable.
40815         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
40817         * math/libm-test.inc (struct test_fi_f_data): New type.
40818         (RUN_TEST_LOOP_fi_f): New macro.
40819         (ldexp_test_data): New variable.
40820         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
40821         (scalbn_test_data): New variable.
40822         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
40824         * math/libm-test.inc (struct test_c_f_data): New type.
40825         (RUN_TEST_LOOP_c_f): New macro.
40826         (cabs_test_data): New variable.
40827         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
40828         (carg_test_data): New variable.
40829         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
40830         (cimag_test_data): New variable.
40831         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
40832         (creal_test_data): New variable.
40833         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
40835         * math/libm-test.inc (struct test_if_f_data): New type.
40836         (RUN_TEST_LOOP_if_f): New macro.
40837         (jn_test_data): New variable.
40838         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
40839         (yn_test_data): New variable.
40840         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
40842         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
40844 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40846         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
40847         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
40849 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40851         * benchtests/Makefile (CPPFLAGS-nonlib): Add
40852         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
40853         (bench-deps): Add bench-timing.h.
40854         * benchtests-bench-skeleton.c: Include bench-timing.h.
40855         (main): Use TIMING_* macros instead of clock_gettime.
40856         * benchtests/bench-timing.h: New file.
40858         [BZ #14582]
40859         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
40860         Renamed from _LIB_VERSION.
40861         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
40863 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
40865         * math/libm-test.inc (struct test_fff_f_data): New type.
40866         (RUN_TEST_LOOP_fff_f): New macro.
40867         (fma_test_data): New variable.
40868         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
40869         (fma_towardzero_test_data): New variable.
40870         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
40871         (fma_downward_test_data): New variable.
40872         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
40873         (fma_upward_test_data): New variable.
40874         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
40876         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
40877         (struct test_c_c_data): New type.
40878         (RUN_TEST_LOOP_c_c): New macro.
40879         (cacos_test_data): New variable.
40880         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
40881         (cacosh_test_data): New variable.
40882         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
40883         (casin_test_data): New variable.
40884         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
40885         (casinh_test_data): New variable.
40886         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
40887         (catan_test_data): New variable.
40888         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
40889         (catanh_test_data): New variable.
40890         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
40891         (ccos_test_data): New variable.
40892         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
40893         (ccosh_test_data): New variable.
40894         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
40895         (cexp_test_data): New variable.
40896         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
40897         (clog_test_data): New variable.
40898         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
40899         (clog10_test_data): New variable.
40900         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
40901         (conj_test_data): New variable.
40902         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
40903         (cproj_test_data): New variable.
40904         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
40905         (csin_test_data): New variable.
40906         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
40907         (csinh_test_data): New variable.
40908         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
40909         (csqrt_test_data): New variable.
40910         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
40911         (ctan_test_data): New variable.
40912         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
40913         (ctan_tonearest_test_data): New variable.
40914         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40915         (ctan_towardzero_test_data): New variable.
40916         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40917         (ctan_downward_test_data): New variable.
40918         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40919         (ctan_upward_test_data): New variable.
40920         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40921         (ctanh_test_data): New variable.
40922         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
40923         (ctanh_tonearest_test_data): New variable.
40924         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40925         (ctanh_towardzero_test_data): New variable.
40926         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40927         (ctanh_downward_test_data): New variable.
40928         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40929         (ctanh_upward_test_data): New variable.
40930         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40931         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
40932         of BUILD_COMPLEX.
40934         * math/libm-test.inc (struct test_ff_f_data): New type.
40935         (struct test_ff_f_data_nexttoward): Likewise.
40936         (RUN_TEST_LOOP_2_f): New macro.
40937         (RUN_TEST_LOOP_ff_f): Likewise.
40938         (atan2_test_data): New variable.
40939         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
40940         (copysign_test_data): New variable.
40941         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
40942         (fdim_test_data): New variable.
40943         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
40944         (fmax_test_data): New variable.
40945         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
40946         (fmin_test_data): New variable.
40947         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
40948         (fmod_test_data): New variable.
40949         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
40950         (hypot_test_data): New variable.
40951         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
40952         (nextafter_test_data): New variable.
40953         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
40954         (nexttoward_test_data): New variable.
40955         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
40956         (pow_test_data): New variable.
40957         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
40958         (pow_tonearest_test_data): New variable.
40959         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
40960         (pow_towardzero_test_data): New variable.
40961         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
40962         (pow_downward_test_data): New variable.
40963         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
40964         (pow_upward_test_data): New variable.
40965         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
40966         (remainder_test_data): New variable.
40967         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
40968         (scalb_test_data): New variable.
40969         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
40970         * sysdeps/i386/fpu/libm-test-ulps: Update.
40972 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
40974         * math/libm-test.inc (fma_test): Use max_value instead of local
40975         variable fltmax.
40976         (nextafter_test): Likewise.
40978         * math/libm-test.inc (acos_towardzero_test_data): New variable.
40979         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40980         (acos_downward_test_data): New variable.
40981         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40982         (acos_upward_test_data): New variable.
40983         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40984         (acosh_test_data): New variable.
40985         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
40986         (asin_test_data): New variable.
40987         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
40988         (asin_tonearest_test_data): New variable.
40989         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40990         (asin_towardzero_test_data): New variable.
40991         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40992         (asin_downward_test_data): New variable.
40993         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40994         (asin_upward_test_data): New variable.
40995         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40996         (asinh_test_data): New variable.
40997         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
40998         (atan_test_data): New variable.
40999         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
41000         (atanh_test_data): New variable.
41001         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
41002         (cbrt_test_data): New variable.
41003         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
41004         (ceil_test_data): New variable.
41005         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
41006         (cos_test_data): New variable.
41007         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
41008         (cos_tonearest_test_data): New variable.
41009         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41010         (cos_towardzero_test_data): New variable.
41011         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41012         (cos_downward_test_data): New variable.
41013         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41014         (cos_upward_test_data): New variable.
41015         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41016         (cosh_test_data): New variable.
41017         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
41018         (cosh_tonearest_test_data): New variable.
41019         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41020         (cosh_towardzero_test_data): New variable.
41021         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41022         (cosh_downward_test_data): New variable.
41023         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41024         (cosh_upward_test_data): New variable.
41025         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41026         (erf_test_data): New variable.
41027         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
41028         (erfc_test_data): New variable.
41029         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
41030         (exp_test_data): New variable.
41031         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
41032         (exp_tonearest_test_data): New variable.
41033         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41034         (exp_towardzero_test_data): New variable.
41035         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41036         (exp_downward_test_data): New variable.
41037         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41038         (exp_upward_test_data): New variable.
41039         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41040         (exp10_test_data): New variable.
41041         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
41042         (exp2_test_data): New variable.
41043         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
41044         (expm1_test_data): New variable.
41045         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
41046         (fabs_test_data): New variable.
41047         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
41048         (floor_test_data): New variable.
41049         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
41050         (j0_test_data): New variable.
41051         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
41052         (j1_test_data): New variable.
41053         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
41054         (log_test_data): New variable.
41055         (log_test): Run tests with RUN_TEST_LOOP_f_f.
41056         (log10_test_data): New variable.
41057         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
41058         (log1p_test_data): New variable.
41059         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
41060         (log2_test_data): New variable.
41061         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
41062         (logb_test_data): New variable.
41063         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
41064         (logb_downward_test_data): New variable.
41065         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41066         (nearbyint_test_data): New variable.
41067         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
41068         (rint_test_data): New variable.
41069         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
41070         (rint_tonearest_test_data): New variable.
41071         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41072         (rint_towardzero_test_data): New variable.
41073         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41074         (rint_downward_test_data): New variable.
41075         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41076         (rint_upward_test_data): New variable.
41077         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41078         (round_test_data): New variable.
41079         (round_test): Run tests with RUN_TEST_LOOP_f_f.
41080         (sin_test_data): New variable.
41081         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
41082         (sin_tonearest_test_data): New variable.
41083         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41084         (sin_towardzero_test_data): New variable.
41085         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41086         (sin_downward_test_data): New variable.
41087         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41088         (sin_upward_test_data): New variable.
41089         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41090         (sinh_test_data): New variable.
41091         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
41092         (sinh_tonearest_test_data): New variable.
41093         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41094         (sinh_towardzero_test_data): New variable.
41095         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41096         (sinh_downward_test_data): New variable.
41097         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41098         (sinh_upward_test_data): New variable.
41099         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41100         (sqrt_test_data): New variable.
41101         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
41102         (tan_test_data): New variable.
41103         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
41104         (tan_tonearest_test_data): New variable.
41105         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41106         (tan_towardzero_test_data): New variable.
41107         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41108         (tan_downward_test_data): New variable.
41109         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41110         (tan_upward_test_data): New variable.
41111         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41112         (tanh_test_data): New variable.
41113         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
41114         (tgamma_test_data): New variable.
41115         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
41116         (trunc_test_data): New variable.
41117         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
41118         (y0_test_data): New variable.
41119         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
41120         (y1_test_data): New variable.
41121         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
41122         (significand_test_data): New variable.
41123         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
41125 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
41127         [BZ #12387]
41128         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
41130 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41132         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
41134 2013-05-10  Andreas Jaeger  <aj@suse.de>
41136         [BZ #15448]
41137         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
41138         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
41140 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41142         * math/gen-libm-test.pl (adjust_arg): New function.
41143         (special_functions): Handle generating output in both functions
41144         and arrays.
41145         (parse_args): Likewise.
41146         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
41147         $in_func argument to parse_args.
41148         * math/libm-test.inc (struct test_f_f_data): New type.
41149         (IF_ROUND_INIT_): New macro.
41150         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
41151         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41152         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41153         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41154         (ROUND_RESTORE_): Likewise.
41155         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
41156         (ROUND_RESTORE_FE_TONEAREST): Likewise.
41157         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
41158         (ROUND_RESTORE_FE_UPWARD): Likewise.
41159         (RUN_TEST_LOOP_f_f): New macro.
41160         (acos_test_data): New variable.
41161         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
41162         (acos_tonearest_test_data): New variable.
41163         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41165 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41167         * benchtests/bench-skeleton.c (startup): Fix coding style.
41169 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41171         [BZ #6809]
41172         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
41173         negative infinity argument.
41174         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
41175         negative infinity argument.
41176         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
41177         negative infinity argument.
41178         * math/libm-test.inc (tgamma_test): Expect errno to be set for
41179         domain errors.
41181 2013-05-10  Florian Weimer  <fweimer@redhat.com>
41183         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
41184         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
41185         * iconv/iconv_prog.c (main): Likewise.
41186         * locale/programs/charmap-dir.c (charmap_readdir)
41187         (fopen_uncompressed): Likewise.
41188         * locale/programs/locfile.c (siblings_uncached)
41189         (write_locale_data): Use lstat64 instead of lstat.
41190         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
41191         stat.
41193 2013-05-10  Andreas Jaeger  <aj@suse.de>
41195         [BZ #15395]
41196         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
41197         localization.
41198         Include <locale.h>.
41200 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
41202         * elf/dl-close.c (_dl_close_worker): Add comments.
41204 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
41206         [BZ #15359]
41207         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
41208         high part of pi/2.
41209         (__ieee754_rem_pio2l): Update comments.
41211         [BZ #15429]
41212         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
41213         high part of pi/2.
41214         (__ieee754_rem_pio2l): Update comments.
41216         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
41217         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
41219         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
41220         M_PI_4l.
41222         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
41223         (M_PI_34_LOG10El): Likewise.
41224         (M_PI2_LOG10El): Likewise.
41225         (M_PI4_LOG10El): Likewise.
41226         (M_PI_LOG10El): Likewise.
41228 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41232 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
41234         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
41235         (MINUS_ZERO_INIT): Likewise.
41236         (PLUS_INFTY_INIT): Likewise.
41237         (MINUS_INFTY_INIT): Likewise.
41238         (QNAN_VALUE_INIT): Likewise.
41239         (MAX_VALUE_INIT): Likewise.
41240         (MIN_VALUE_INIT): Likewise.
41241         (MIN_SUBNORM_VALUE_INIT): Likewise.
41242         (plus_zero): Initialize with PLUS_ZERO_INIT.
41243         (minus_zero): Initialize with MINUS_ZERO_INIT.
41244         (plus_infty): Initialize with PLUS_INFTY_INIT.
41245         (minus_infty): Initialize with MINUS_INFTY_INIT.
41246         (qnan_value): Initialize with QNAN_VALUE_INIT.
41247         (max_value): Initialize with MAX_VALUE_INIT.
41248         (min_value): Initialize with MIN_VALUE_INIT.
41249         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
41251         * math/libm-test.inc (RUN_TEST_if_f): New macro.
41252         (jn_test): Use TEST_if_f instead of TEST_ff_f.
41253         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
41254         (yn_test): Use TEST_if_f instead of TEST_ff_f.
41256         * math/libm-test.inc (RUN_TEST_f_f): New macro.
41257         (RUN_TEST_2_f): Likewise.
41258         (RUN_TEST_ff_f): Likewise.
41259         (RUN_TEST_fi_f): Likewise.
41260         (RUN_TEST_fl_f): Likewise.
41261         (RUN_TEST_fff_f): Likewise.
41262         (RUN_TEST_c_f): Likewise.
41263         (RUN_TEST_f_f1): Likewise.
41264         (RUN_TEST_fF_f1): Likewise.
41265         (RUN_TEST_fI_f1): Likewise.
41266         (RUN_TEST_ffI_f1): Likewise.
41267         (RUN_TEST_c_c): Likewise.
41268         (RUN_TEST_cc_c): Likewise.
41269         (RUN_TEST_f_i): Likewise.
41270         (RUN_TEST_f_i_tg): Likewise.
41271         (RUN_TEST_ff_i_tg): Likewise.
41272         (RUN_TEST_f_b): Likewise.
41273         (RUN_TEST_f_b_tg): Likewise.
41274         (RUN_TEST_f_l): Likewise.
41275         (RUN_TEST_f_L): Likewise.
41276         (RUN_TEST_sincos): Likewise.
41277         * math/gen-libm-test.pl (new_test): Take new argument to indicate
41278         whether to show exceptions.  Do not include ");\n" in return
41279         value.
41280         (special_functions): Output call to RUN_TEST_sincos instead of
41281         check_float calls.  Update calls to new_test.
41282         (parse_args): Output call to single RUN_TEST_* macro instead of
41283         check_* calls and other assignments.  Update calls to new_test.
41285         [BZ #2546]
41286         [BZ #2560]
41287         [BZ #5159]
41288         [BZ #15426]
41289         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
41290         input to result for tgamma overflow.
41291         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
41292         (gamma_coeff): New variable.
41293         (NCOEFF): New macro.
41294         (gamma_positive): New function.
41295         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
41296         underflow here.  Use gamma_positive instead of exp (lgamma) for
41297         other arguments.
41298         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
41299         (gamma_coeff): New variable.
41300         (NCOEFF): New macro.
41301         (gammaf_positive): New function.
41302         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
41303         underflow here.  Use gamma_positive instead of exp (lgamma) for
41304         other arguments.
41305         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
41306         (gamma_coeff): New variable.
41307         (NCOEFF): New macro.
41308         (gammal_positive): New function.
41309         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
41310         underflow here.  Use gamma_positive instead of exp (lgamma) for
41311         other arguments.
41312         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
41313         (gamma_coeff): New variable.
41314         (NCOEFF): New macro.
41315         (gammal_positive): New function.
41316         (__ieee754_gammal_r): Handle positive infinity, overflow and
41317         underflow here.  Handle NaN the same as positive infinity.  Remove
41318         check x < 0xffffffff for negative integers.  Use gamma_positive
41319         instead of exp (lgamma) for other arguments.
41320         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
41321         (gamma_coeff): New variable.
41322         (NCOEFF): New macro.
41323         (gammal_positive): New function.
41324         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
41325         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
41326         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
41327         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
41328         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
41329         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
41330         * sysdeps/generic/math_private.h (__gamma_productf): New
41331         prototype.
41332         (__gamma_product): Likewise.
41333         (__gamma_productl): Likewise.
41334         * math/Makefile (libm-calls): Add gamma_product.
41335         * math/libm-test.inc (tgamma_test): Add more tests.
41336         * sysdeps/i386/fpu/libm-test-ulps: Update.
41337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41339 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
41341         * benchtests/bench-skeleton.c (main): Preheat CPU.
41343 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
41345         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
41347 2013-05-07  Roland McGrath  <roland@hack.frob.com>
41349         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
41350         and _dl_skip_args_internal.
41352 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
41354         * manual/message.texi (Message Translation): Talk about users.
41355         Message to key mapping impacts design.
41357 2013-05-06  Roland McGrath  <roland@hack.frob.com>
41359         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
41361         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
41363         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
41364         * sysdeps/wordsize-64/glob64.c: ... here.
41366         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
41367         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
41368         New macros.
41370         * debug/getlogin_r_chk.c: Moved to ...
41371         * login/getlogin_r_chk.c: ... here.
41372         * debug/Makefile (routines): Move getlogin_r_chk to ...
41373         * login/Makefile (routines): ... here.
41374         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
41375         * login/Versions (libc: GLIBC_2.4): ... here.
41377         * io/poll.c (__poll): Renamed from poll.
41378         Add libc_hidden_def.
41379         (poll): Define as weak alias.
41381         * debug/ptsname_r_chk.c: Moved to ...
41382         * login/ptsname_r_chk.c: ... here.
41383         * debug/Makefile (routines): Move ptsname_r_chk to ...
41384         * login/Makefile (routines): ... here.
41385         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
41386         * login/Versions (libc: GLIBC_2.4): ... here.
41388         * posix/getlogin.c: Moved to ...
41389         * login/getlogin.c: ... here.
41390         * posix/getlogin_r.c: Moved to ...
41391         * login/getlogin_r.c: ... here.
41392         * posix/getlogin_r.c: Moved to ...
41393         * login/getlogin_r.c: ... here.
41394         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
41395         * login/Makefile (routines): ... here.
41396         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
41397         * login/Versions (libc: GLIBC_2.0): ... here.
41399         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
41400         (setrlimit): Define as weak alias.
41402         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
41403         Call __ names for open, ftruncate, and close.
41404         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
41405         (truncate): Define as weak alias.
41407 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
41409         * math/gen-libm-test.pl (parse_args): Initialize x before each
41410         test of frexp, modf and remquo.
41412         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
41413         test signgam value.
41415 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41417         [BZ #15418]
41418         [BZ #15419]
41419         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
41420         internal tests.
41421         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41423 2013-05-06  Roland McGrath  <roland@hack.frob.com>
41425         * elf/dl-writev.h: New file.
41426         * elf/dl-misc.c: Include it.
41427         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
41428         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
41430 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
41432         * math/libm-test.inc (noXFails): Remove variable.
41433         (noXPasses): Likewise.
41434         (BUILD_COMPLEX_INT): Remove macro.
41435         (print_screen): Remove xfail argument.
41436         (print_screen_max_error): Likewise.
41437         (update_stats): Likewise.
41438         (print_max_error): Likewise.  Update calls to other affected
41439         functions.
41440         (print_complex_max_error): Likewise.
41441         (test_single_exception): Update calls to print_screen.
41442         (test_single_errno): Likewise.
41443         (check_float_internal): Remove xfail argument.  Update calls to
41444         other affected functions.
41445         (check_float): Likewise.
41446         (check_complex): Likewise.
41447         (check_int): Likewise.
41448         (check_long): Likewise.
41449         (check_bool): Likewise.
41450         (check_longlong): Likewise.
41451         (main): Don't print noXFails and noXPasses.
41452         * math/gen-libm-test.pl (top level): Don't mention expected
41453         failure handling in comment.
41454         (new_test): Don't handle expected failures.
41455         (parse_args): Don't mention expected failure handling in comment.
41456         (generate_testfile): Don't handle expected failures.
41457         (parse_ulps): Likewise.
41458         (print_ulps_file): Likewise.
41459         (get_failure): Remove function.
41460         (output_test): Don't handle expected failures.
41461         * make/README.libm-test: Don't mention expected failure handling.
41463         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
41464         (minus_zero): Likewise.
41465         (plus_infty): Likewise.
41466         (minus_infty): Likewise.
41467         (qnan_value): Likewise.
41468         (max_value): Likewise.
41469         (min_value): Likewise.
41470         (min_subnorm_value): Likewise.
41471         (initialize): Do not initialize those variables dynamically.
41473 2013-05-03  Roland McGrath  <roland@hack.frob.com>
41475         * io/open.c (__open_2): Moved to ...
41476         * io/open_2.c: ... this new file.
41477         * io/open64.c (__open64_2): Moved to ...
41478         * io/open64_2.c: ... this new file.
41479         * io/openat.c (__openat_2): Moved to ...
41480         * io/openat_2.c: ... this new file.
41481         * io/openat64.c (__openat64_2): Moved to ...
41482         * io/openat64_2.c: ... this new file.
41483         * io/Makefile (routines): Add them.
41484         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
41485         * sysdeps/unix/sysv/linux/open_2.c: File removed.
41486         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
41487         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
41488         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
41489         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
41490         (__openat64): Add hidden_ver.
41491         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
41492         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
41494         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
41495         Separately conditionalize setting of GLRO(dl_sysinfo) so
41496         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
41497         as well, but the actual setting is only under [NEED_DL_SYSINFO].
41499 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41501         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
41502         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
41503         definition.
41504         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
41505         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41506         (_libc_vdso_platform_setup): Add __vdso_time initialization.
41507         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
41508         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
41510 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
41512         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
41513         test signgam value.
41515         * math/libm-test.inc (hypot_test): Do not use
41516         IGNORE_ZERO_INF_SIGN.
41518 2013-05-03  Andreas Jaeger  <aj@suse.de>
41520         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
41521         Linux 3.9.
41522         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
41523         (PF_MAX): Adjust for VSOCK change.
41525 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41529 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
41531         [BZ #15264]
41532         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
41533         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
41534         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
41536 2013-05-02  David S. Miller  <davem@davemloft.net>
41538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41540 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
41542         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
41544 2013-05-01  Roland McGrath  <roland@hack.frob.com>
41546         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
41548 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
41550         [BZ #14952]
41551         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
41552         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
41553         Use __attribute__ ((__gnu_inline__)).
41554         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
41555         Don't use __attribute__ ((__gnu_inline__)).
41557 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
41559         [BZ #15423]
41560         * math/s_catan.c (__catan): Handle small real or imaginary part of
41561         input specially to avoid spurious underflow.
41562         * math/s_catanf.c (__catanf): Likewise.
41563         * math/s_catanh.c (__catanh): Likewise.
41564         * math/s_catanhf.c (__catanhf): Likewise.
41565         * math/s_catanhl.c (__catanhl): Likewise.
41566         * math/s_catanl.c (__catanl): Likewise.
41567         * math/libm-test.inc (catan_test): Add more tests.
41568         (catanh_test): Likewise.
41569         * sysdeps/i386/fpu/libm-test-ulps: Update.
41570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41572 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41576 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
41578         [BZ #15416]
41579         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
41580         accurately for denominator in atan2.
41581         * math/s_catanf.c (__catanf): Likewise.
41582         * math/s_catanh.c (__catanh): Likewise.
41583         * math/s_catanhf.c (__catanhf): Likewise.
41584         * math/s_catanhl.c (__catanhl): Likewise.
41585         * math/s_catanl.c (__catanl): Likewise.
41586         * math/libm-test.inc (catan_test): Add more tests.
41587         (catanh_test): Likewise.
41588         * sysdeps/i386/fpu/libm-test-ulps: Update.
41589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41591 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41593         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
41595         * benchtests/Makefile (bench): Remove slow benchmarks.
41596         * benchtests/atan-inputs: Add slow benchmark inputs.
41597         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
41598         (BENCH_FUNC): Accept variant offset.
41599         (VARIANT): Define.
41600         * benchtests/bench-skeleton.c (main): Run benchmark for each
41601         variant.
41602         * benchtests/cos-inputs: Add slow benchmark inputs.
41603         * benchtests/exp-inputs: Likewise.
41604         * benchtests/pow-inputs: Likewise.
41605         * benchtests/sin-inputs: Likewise.
41606         * benchtests/slowatan-inputs: Remove.
41607         * benchtests/slowatan.c: Remove.
41608         * benchtests/slowcos-inputs: Remove.
41609         * benchtests/slowcos.c: Remove.
41610         * benchtests/slowexp-inputs: Remove.
41611         * benchtests/slowexp.c: Remove.
41612         * benchtests/slowpow-inputs: Remove.
41613         * benchtests/slowpow.c: Remove.
41614         * benchtests/slowsin-inputs: Remove.
41615         * benchtests/slowsin.c: Remove.
41616         * benchtests/slowtan-inputs: Remove.
41617         * benchtests/slowtan.c: Remove.
41618         * benchtests/tan-inputs: Add slow benchmark inputs.
41619         * scripts/bench.pl: Parse comments and directives.
41621         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
41622         in CPPFLAGS.
41623         ($(objpfx)bench-%.c): Remove *-ITER.
41624         * benchtests/bench-modf.c: Remove definition of ITER.
41625         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
41626         (main): Loop for DURATION seconds instead of fixed number of
41627         iterations.
41628         * scripts/bench.pl: Don't expect iterations in parameters.
41630 2013-04-29  Roland McGrath  <roland@hack.frob.com>
41632         * io/fchdir.c (__fchdir): Renamed from fchdir.
41633         (fchdir): Define as weak alias.
41635 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
41637         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
41638         (ERRNO_EDOM): Likewise.
41639         (ERRNO_ERANGE): Likewise.
41640         (noErrnoTests): New variable.
41641         (init_max_error): Set errno to 0.
41642         (test_single_errno): New function.
41643         (test_errno): Likewise.
41644         (check_float_internal): Call test_errno.  Set errno to 0.
41645         (check_complex): Refer to errno tests in comment.
41646         (check_int): Call test_errno.  Set errno to 0.
41647         (check_long): Likewise.
41648         (check_bool): Likewise.
41649         (check_longlong): Likewise.
41650         (cos_test): Use ERRNO_* flags for errno tests instead of
41651         check_int.
41652         (expm1_test): Likewise.
41653         (fmod_test): Likewise.
41654         (ilogb_test): Likewise.
41655         (lgamma_test): Likewise.
41656         (pow_test): Likewise.
41657         (remainder_test): Likewise.
41658         (sin_test): Likewise.
41659         (tan_test): Likewise.
41660         (yn_test): Likewise.
41661         (initialize): Set errno to 0.
41662         (main): Print number of errno tests.
41663         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
41665 2013-04-29  Andreas Jaeger  <aj@suse.de>
41667         [BZ #15084]
41668         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
41669         and RES_USEVC.
41671         [BZ #15085]
41672         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
41673         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
41674         unimplemented.
41676         [BZ #15380]
41677         * stdlib/random.c (__initstate): Return NULL if
41678         __initstate fails.
41680         [BZ #15086]
41681         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
41682         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
41683         RES_SNGLKUPREOP.
41685 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41689 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
41691         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
41692         of individual tests.
41693         (casin_test): Likewise.
41694         (casinh_test): Likewise.
41696 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
41698         [BZ #15409]
41699         * math/s_catan.c (__catan): Handle arguments with large real or
41700         imaginary part separately without squaring.
41701         * math/s_catanf.c (__catanf): Likewise.
41702         * math/s_catanh.c (__catanh): Likewise.
41703         * math/s_catanhf.c (__catanhf): Likewise.
41704         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41705         and redefine.
41706         (__catanhl): Handle arguments with large real or imaginary part
41707         separately without squaring.
41708         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41709         and redefine.
41710         (__catanl): Handle arguments with large real or imaginary part
41711         separately without squaring.
41712         * math/libm-test.inc (catan_test): Add more tests.
41713         (catanh_test): Likewise.
41714         * sysdeps/i386/fpu/libm-test-ulps: Update.
41715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41717 2013-04-27  Andreas Jaeger  <aj@suse.de>
41719         [BZ #15007]
41720         * stdlib/stdlib.h: Update guards for qecvt.
41721         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
41722         <stdlib.h>.
41724 2013-04-27  Allan McRae  <allan@archlinux.org>
41726         * sysdeps/i386/fpu/libm-test-ulps: Update.
41728 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
41730         [BZ #15406]
41731         * math/s_catan.c: Include <float.h>.
41732         (__catan): Ensure underflow exception occurs for underflowed
41733         result.
41734         * math/s_catanf.c: Include <float.h>.
41735         (__catanf): Ensure underflow exception occurs for underflowed
41736         result.
41737         * math/s_catanh.c: Include <float.h>.
41738         (__catanh): Ensure underflow exception occurs for underflowed
41739         result.
41740         * math/s_catanhf.c: Include <float.h>.
41741         (__catanhf): Ensure underflow exception occurs for underflowed
41742         result.
41743         * math/s_catanhl.c: Include <float.h>.
41744         (__catanhl): Ensure underflow exception occurs for underflowed
41745         result.
41746         * math/s_catanl.c: Include <float.h>.
41747         (__catanl): Ensure underflow exception occurs for underflowed
41748         result.
41749         * math/libm-test.inc (catan_test): Add more tests.
41750         (catanh_test): Likewise.
41752         [BZ #15405]
41753         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
41754         underflowed result.
41755         * math/s_ccoshf.c (__ccoshf): Likewise.
41756         * math/s_ccoshl.c (__ccoshl): Likewise.
41757         * math/s_csin.c (__csin): Likewise.
41758         * math/s_csinf.c (__csinf): Likewise.
41759         * math/s_csinh.c (__csinh): Likewise.
41760         * math/s_csinhf.c (__csinhf): Likewise.
41761         * math/s_csinhl.c (__csinhl): Likewise.
41762         * math/s_csinl.c (__csinl): Likewise.
41763         * math/libm-test.inc (ccos_test): Add more tests.
41764         (ccosh_test): Likewise.
41765         (csin_test): Likewise.
41766         (csinh_test): Likewise.
41768 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41770         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
41771         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
41772         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
41773         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
41774         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
41775         powerpc/power5+/fpu folders.
41776         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
41779 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41783 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
41785         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
41786         additions to variable.
41787         [$(config-machine) = x86_64] (modules-names): Likewise.
41788         ($(objpfx)tst-audit3): Remove dependency.
41789         ($(objpfx)tst-audit3.out): Likewise.
41790         ($(objpfx)tst-audit4): Likewise.
41791         ($(objpfx)tst-audit4.out): Likewise.
41792         ($(objpfx)tst-audit5): Likewise.
41793         ($(objpfx)tst-audit5.out): Likewise.
41794         ($(objpfx)tst-audit6): Likewise.
41795         ($(objpfx)tst-audit6.out): Likewise.
41796         ($(objpfx)tst-audit7): Likewise.
41797         ($(objpfx)tst-audit7.out): Likewise.
41798         (tst-audit3-ENV): Remove variable.
41799         (tst-audit4-ENV): Likewise.
41800         (tst-audit5-ENV): Likewise.
41801         (tst-audit6-ENV): Likewise.
41802         (tst-audit7-ENV): Likewise.
41803         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
41804         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
41805         addition to variable.
41806         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
41807         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
41808         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
41809         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
41810         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
41811         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
41812         tst-audit3, tst-audit4 and tst-audit5.
41813         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
41814         tst-audit6 and tst-audit7.
41815         [$(subdir) = elf] (modules-names): Add audit modules for those
41816         tests.
41817         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
41818         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
41819         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
41820         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
41821         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
41822         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
41823         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
41824         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
41825         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
41826         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
41827         [$(subdir) = elf] (tst-audit3-ENV): New variable.
41828         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
41829         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
41830         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
41831         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
41832         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
41833         Likewise.
41834         [$(subdir) = elf && $(config-cflags-avx) = yes]
41835         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
41836         [$(subdir) = elf && $(config-cflags-avx) = yes]
41837         (CFLAGS-tst-auditmod4a.c): Likewise.
41838         [$(subdir) = elf && $(config-cflags-avx) = yes]
41839         (CFLAGS-tst-auditmod4b.c): Likewise.
41840         [$(subdir) = elf && $(config-cflags-avx) = yes]
41841         (CFLAGS-tst-auditmod6b.c): Likewise.
41842         [$(subdir) = elf && $(config-cflags-avx) = yes]
41843         (CFLAGS-tst-auditmod6c.c): Likewise.
41844         [$(subdir) = elf && $(config-cflags-avx) = yes]
41845         (CFLAGS-tst-auditmod7b.c): Likewise.
41846         * elf/tst-audit3.c: Move to ...
41847         * sysdeps/x86_64/tst-audit3.c: ... here.
41848         * elf/tst-audit4.c: Move to ...
41849         * sysdeps/x86_64/tst-audit4.c: ... here.
41850         * elf/tst-audit5.c: Move to ...
41851         * sysdeps/x86_64/tst-audit5.c: ... here.
41852         * elf/tst-audit6.c: Move to ...
41853         * sysdeps/x86_64/tst-audit6.c: ... here.
41854         * elf/tst-audit7.c: Move to ...
41855         * sysdeps/x86_64/tst-audit7.c: ... here.
41856         * elf/tst-auditmod3a.c: Move to ...
41857         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
41858         * elf/tst-auditmod3b.c: Move to ...
41859         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
41860         * elf/tst-auditmod4a.c: Move to ...
41861         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
41862         * elf/tst-auditmod4b.c: Move to ...
41863         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
41864         * elf/tst-auditmod5a.c: Move to ...
41865         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
41866         * elf/tst-auditmod5b.c: Move to ...
41867         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
41868         * elf/tst-auditmod6a.c: Move to ...
41869         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
41870         * elf/tst-auditmod6b.c: Move to ...
41871         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
41872         * elf/tst-auditmod6c.c: Move to ...
41873         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
41874         * elf/tst-auditmod7a.c: Move to ...
41875         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
41876         * elf/tst-auditmod7b.c: Move to ...
41877         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
41879 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
41881         [BZ #15366]
41882         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
41883         define unconditionally.
41884         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
41885         define unconditionally.
41886         (INT8_C, INT16_C, etc.): Likewise.
41888 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
41890         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
41891         __ehdr_start with hidden visibility.
41893         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
41895 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
41897         * math/libm-test.inc (cos_test): Use accurate hex constants.
41898         (sincost_test): Likewise.
41900 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
41902         * math/libm-test.inc (catan_test): Add more tests.
41903         (catanh_test): Likewise.
41905         * math/s_catanf.c (__catanf): Use suffixed floating-point
41906         constants.
41907         * math/s_catanhf.c (__catanhf): Likewise.
41908         * math/s_catanhl.c (__catanhl): Likewise.
41909         * math/s_catanl.c (__catanl): Likewise.
41911         [BZ #15394]
41912         * math/s_catan.c (__catan): Calculate imaginary part of result
41913         with log1p not log unless computing log of number close to 0.
41914         * math/s_catanf.c (__catanf): Likewise.
41915         * math/s_catanl.c (__catanl): Likewise.
41916         * math/s_catanh.c (__catanh): Calculate real part of result with
41917         log1p not log unless computing log of number close to 0.
41918         * math/s_catanhf.c (__catanhf): Likewise.
41919         * math/s_catanhl.c (__catanhl): Likewise.
41920         * math/libm-test.inc (catan_test): Add more tests.
41921         (catanh_test): Likewise.
41922         * sysdeps/i386/fpu/libm-test-ulps: Update.
41923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41925 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41927         * benchtests/Makefile: Mention files in which fast and slow
41928         paths of math functions are implemented.
41930 2013-04-23  Roland McGrath  <roland@hack.frob.com>
41932         * sysdeps/posix/timespec_get.c: New file.
41934 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41936         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
41937         POWER.
41938         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
41939         for POWER.
41940         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
41941         powerpc/power5/fpu folders.
41942         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
41943         * benchtests/Makefile: Add modf testcase.
41944         * benchtests/bench-modf.c: New file: Benchmark test for mo
41946 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41948         [BZ #14888]
41949         * time/Makefile (tests): Add tst-strptime-whitespace.
41950         * time/strptime_l.c (get_number): Use ISSPACE.
41951         (__strptime_internal): Likewise.
41952         * time/tst-strptime-whitespace.c: New test case.
41954 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
41956         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
41957         member.
41958         (_nss_files_init): Set it here.
41960 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
41962         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
41963         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
41964         unsigned.
41966 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
41968         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
41970 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41972         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
41973         size just once.
41975 2013-04-21  David S. Miller  <davem@davemloft.net>
41977         * po/ru.po: Update Russion translation from translation project.
41979 2013-04-17  Adam Conrad  <adconrad@0c3.net>
41981         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
41982         and setfsgid.
41984 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
41986         * configure.in: Remove i386 configure warning. Remove i386 case.
41987         * configure: Regenerate.
41988         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
41989         Add example to error message.
41990         * sysdeps/i386/configure: Regenerate.
41992 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41994         * benchtests/Makefile (bench): Add cos, tan, slowcos and
41995         slowtan.
41996         * benchtests/cos-inputs: New file.
41997         * benchtests/slowcos-inputs: New file.
41998         * benchtests/slowcos.c: New file.
41999         * benchtests/slowtan-inputs: New file.
42000         * benchtests/slowtan.c: New file.
42001         * benchtests/tan-inputs: New file.
42003 2013-04-16  Roland McGrath  <roland@hack.frob.com>
42005         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
42006         considered kosher.
42008 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42010         * benchtests/Makefile: Include cppflags-iterator.mk to add
42011         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
42013         * Makefile.in (bench-clean): New target.
42014         * benchtests/Makefile (bench-clean): Likewise.
42016 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
42018         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
42020 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
42022         * stdio-common/tstdiomisc.c: Fix coding-style violation.
42024 2013-04-15  Andreas Schwab  <schwab@suse.de>
42026         * nscd/grpcache.c (cache_addgr): Properly check for short write.
42027         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42028         * nscd/pwdcache.c (cache_addpw): Likewise.
42029         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
42030         more than recsize.
42032 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42034         * benchtests/Makefile (bench): Write all output to
42035         bench-out.tmp together.
42037 2013-04-15  Andreas Schwab  <schwab@suse.de>
42039         * nscd/nscd.c (main): Don't fork again after closing files.
42041 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42043         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
42045         * benchtests/Rules (bench-deps): Collect dependencies into a
42046         single variable.  Add Makefile to dependencies.
42047         ($(objpfx)bench-%.c): Depend on bench-deps.
42049 2013-04-12  Roland McGrath  <roland@hack.frob.com>
42050             Xavier Roche  <roche+kml2@exalead.com>
42052         [BZ #15361]
42053         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
42054         just that it's a file descriptor.
42055         * manual/llio.texi (Synchronizing AIO Operations): Update description
42056         for EBADF error from aio_fsync.
42058 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42060         * Rules (bench): Move target definition...
42061         * benchtests/Makefile: ... here.
42063 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
42065         * math/libm-test.inc (cos_test): Fix PI/2 test.
42066         (sincos_test): Likewise.
42067         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42068         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
42070 2013-04-11  Andreas Schwab  <schwab@suse.de>
42072         [BZ #13988]
42073         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
42074         accept exponent character only when digits were seen.
42075         * stdio-common/Makefile (tests): Add bug26.
42076         * stdio-common/bug26.c: New file.
42078         [BZ #14293]
42079         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
42080         non-freeable.
42082 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42084         * Makeconfig (rtld-prefix): Define built linker prefix.
42085         * Rules (run-bench): Use it.
42086         * math/Makefile (run-regen-ulps): Likewise.
42088         * Rules (bench): Remove eval.
42090 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42091             Roland McGrath  <roland@hack.frob.com>
42092             Ondrej Bilka  <neleai@seznam.cz>
42094         [BZ #15346]
42095         * time/getdate.c: Include ctype.h and alloca.h.
42096         (__getdate_r): Trim leading and trailing spaces of input.
42097         * time/tst-getdate.c (tests): Add tests with leading and
42098         trailing spaces.
42100 2013-04-08  Roland McGrath  <roland@hack.frob.com>
42102         [BZ #14280]
42103         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
42104         when computing value.
42106 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42108         * math/README.libm-test (How can I generate "libm-test-ulps"?):
42109         Use testrun.sh to run libm tests.
42111         [BZ #15309]
42112         * elf/dl-open.c (dl_open_worker): memset all of seen array.
42114 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
42116         [BZ #15264]
42117         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
42119 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42121         * Makefile.in (regen-ulps): New target.
42122         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42123         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
42124         [ifneq (no,$(PERL)] (regen-ulps): New target.
42125         [ifeq (no,$(PERL)] (regen-ulps): New target.
42126         * math/libm-test.inc (ulps_file_name): Define.
42127         (output_dir): New variable.
42128         (options): Add "output-dir" option.
42129         (parse_opt): Handle 'o' case.
42130         (main): If output_dir is non-NULL use it as a prefix
42131         otherwise use "".
42132         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
42134 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42136         [BZ #10060, #10062]
42137         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
42138         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
42139         fail configure if __sync_val_compare_and_swap is not inlined.
42140         * sysdeps/i386/configure: Regenerate.
42141         * configure.in: Build for i686 when configured for i386.
42142         * configure: Regenerate.
42143         * README: Remove i386 reference.
42145 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42147         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
42148         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42150 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42152         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
42153         (lmsnanval): New variables.
42154         (F): Add conversion tests.
42155         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
42156         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
42158         * stdio-common/tstdiomisc.c (F): Properly collect individual
42159         tests' results.
42161         [BZ #14686, #15336]
42162         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
42163         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
42164         Instead, use input NaN values or generate a qNaN by arithmetic
42165         operation.  Also fix bugs to comply with the standard.
42166         * math/libm-test.inc (remainder_test): Add more tests.
42168         [BZ #15335, #15342]
42169         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
42170         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
42171         input NaN values or generate a qNaN by arithmetic operation.
42173         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
42174         unreachable code.
42176         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
42177         definitions.
42179 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
42181         [BZ #14478]
42182         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
42183         underflowed result.
42184         * math/s_cexpf.c (__cexpf): Likewise.
42185         * math/s_cexpl.c (__cexpl): Likewise.
42186         * math/libm-test.inc (cexp_test): Add more tests.
42188 2013-04-03  Andreas Schwab  <schwab@suse.de>
42190         [BZ #15330]
42191         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
42192         order arrays from heap if bigger than alloca cutoff.
42194 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
42196         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42197         (SNAN_TESTS_double): Refer to GCC PR56831.
42198         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
42199         GCC PR56828.
42201 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42203         * Rules (bench): Move bench.out after the run is complete.
42205         * Rules (bench): Echo currently running benchmark.
42207         * benchtests/Makefile (bench): Add atan and slowatan.
42208         * benchtests/atan-inputs: New file.
42209         * benchtests/slowatan-inputs: New file.
42210         * benchtests/slowatan.c: New file.
42212         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
42213         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
42214         its value.
42216         [BZ #15305]
42217         * sysdeps/unix/sysv/linux/kernel-features.h
42218         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
42219         __ASSUME_XFS_RESTRICTED_CHOWN.
42220         * sysdeps/unix/sysv/linux/pathconf.c
42221         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42222         Save and restore errno.
42224 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
42226         [BZ #15327]
42227         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
42228         arguments using __kernel_casinh.
42229         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
42230         arguments using __kernel_casinhf.
42231         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
42232         arguments using __kernel_casinhl.
42233         * math/libm-test.inc (cacosh_test): Add more tests.
42234         * sysdeps/i386/fpu/libm-test-ulps: Update.
42235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42237 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42239         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
42240         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
42242         * bench/Makefile (bench): Add sin and slowsin.
42243         * benchtests/sin-inputs: New file.
42244         * benchtests/slowsin-inputs: New file.
42245         * benchtests/slowsin.c: New file.
42247         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
42248         (bench): Add slowexp and slowpow.
42249         (exp-ITER): Increase iterations.
42250         (pow-ITER): Likewise.
42251         * benchtests/exp-inputs: Change input.
42252         * benchtests/pow-inputs: Likewise.
42253         * benchtests/slowexp-inputs: New file.
42254         * benchtests/slowexp.c: New file.
42255         * benchtests/slowpow-inputs: New file.
42256         * benchtests/slowpow.c: New file.
42258 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42260         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
42261         instructions.
42262         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42263         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
42264         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42265         * benchtests/Makefile: Add rint benchtest.
42266         * benchtests/rint-inputs: Input for rint benchtest.
42268 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42270         * Versions.def (libm): Add GLIBC_2.18.
42271         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
42272         hidden libm prototypes.
42273         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
42274         * math/Makefile (libm-calls): Add s_issignaling.
42275         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
42276         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
42277         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
42278         declaration.
42279         * math/math.h [__USE_GNU] (issignaling): New macro.
42280         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
42281         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
42282         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
42283         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
42284         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
42285         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
42286         * manual/arith.texi (issignaling): New section.
42287         * manual/libm-err-tab.pl (@all_functions): Update comment.
42288         * math/gen-libm-test.pl (parse_args): Apply special handling for
42289         issignaling.
42290         * math/libm-test.inc (print_float, issignaling_test): New
42291         functions.
42292         (check_float_internal): Add issignaling checks.
42293         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
42294         default definition.
42295         * sysdeps/powerpc/math-tests.h: New file.
42296         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
42297         tests.
42298         * math/test-snan.c (TEST_FUNC): Likewise.
42300 2013-03-30  David S. Miller  <davem@davemloft.net>
42302         * po/de.po: Update from translation team.
42304 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
42306         [BZ #10357]
42307         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42308         imaginary part less than 1.0 and real part less than 0.5
42309         specially.
42310         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42311         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42312         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
42313         (cacos_test): Add more tests.
42314         (casin_test): Likewise.
42315         (casinh_test): Likewise.
42316         * sysdeps/i386/fpu/libm-test-ulps: Update.
42317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42319 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42321         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
42322         ONE with its value.
42324         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
42325         (__pow_mp): Replace ONE and MONE with their values.
42326         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42327         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
42328         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42329         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
42330         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42331         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42333         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
42335         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
42336         (__pow_mp): Replace ZERO and MZERO with their values.
42337         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
42338         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42339         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42340         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42341         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42342         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
42343         (__sqr): Likewise.
42345         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
42347         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
42349 2013-03-28  Roland McGrath  <roland@hack.frob.com>
42351         * include/stdlib.h [!SHARED] (__call_tls_dtors):
42352         Declare with __attribute__ ((weak)).
42353         * stdlib/exit.c (__libc_atexit) [!SHARED]:
42354         Call __call_tls_dtors only if it's not NULL.
42356 2013-03-28  Roland McGrath  <roland@hack.frob.com>
42358         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
42359         didn't do it already, then set _dl_phdr and _dl_phnum based on the
42360         magic __ehdr_start linker symbol if it's defined.
42361         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
42362         them up here if it was already done.
42364         * elf/dl-support.c (_dl_phdr): Make pointer to const.
42365         (_dl_aux_init): Use const in cast when setting it.
42366         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
42367         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
42368         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
42370         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
42371         Declare them here.
42372         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
42373         * csu/libc-tls.c: Nor here.
42374         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
42376         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
42377         (__libc_message): Never call vsyslog.
42379 2013-03-28  Alan Modra  <amodra@gmail.com>
42381         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
42382         Define as empty.
42383         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
42384         Likewise.
42386 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42388         [BZ #15214]
42389         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
42390         underflow.
42391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42393 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42395         [BZ #15304]
42396         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42397         Don't add gid passed as argument.
42399         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
42401 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
42403         [BZ #15307]
42404         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42405         imaginary part between 1.0 and 1.5 and real part less than 0.5
42406         specially.
42407         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42408         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42409         * math/libm-test.inc (cacos_test): Add more tests.
42410         (casin_test): Likewise.
42411         (casinh_test): Likewise.
42412         * sysdeps/i386/fpu/libm-test-ulps: Update.
42413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42415 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42417         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
42418         constants.
42419         (norm): Likewise.
42420         (denorm): Likewise.
42421         (__dbl_mp): Likewise.
42422         (add_magnitudes): Likewise.
42423         (sub_magnitudes): Likewise.
42424         (__add): Likewise.
42425         (__sub): Likewise.
42426         (__mul): Likewise.
42427         (__sqr): Likewise.
42428         (__inv): Likewise.
42429         (__dvd): Likewise.
42431         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
42432         commented code.
42433         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
42434         (__dubcos): Likewise.
42435         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
42436         (__ieee754_acos): Likewise.
42437         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
42438         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
42439         (__exp1): Likewise.
42440         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42441         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42442         (log1): Likewise.
42443         (my_log2): Likewise.
42444         (checkint): Likewise.
42445         * sysdeps/ieee754/dbl-64/e_remainder.c
42446         (__ieee754_remainder): Likewise.
42447         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42448         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
42449         (bsloww): Likewise.
42450         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42452         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
42453         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
42454         MANTISSA_STORE_T to store computations on mantissa.  Use
42455         macros for rounding and division.
42456         (denorm): Likewise.
42457         (__dbl_mp): Likewise.
42458         (add_magnitudes): Likewise.
42459         (sub_magnitudes): Likewise.
42460         (__mul): Likewise.
42461         (__sqr): Likewise.
42462         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
42463         powers of two in terms of TWOPOW macro.
42464         (mp_no): Make type of mantissa as MANTISSA_T.
42465         [!RADIXI]: Define RADIXI.
42466         [!TWO52]: Define TWO52.
42467         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
42469 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42471         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
42472         llroundl symbol when building for PPC32.
42474 2013-03-24  Mark H Weaver  <mhw@netris.org>
42476         * manual/arith.texi (Normalization Functions): Fix prototypes for
42477         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
42479 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42481         [BZ #13889]
42482         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
42483         high value to check if expl overflow.
42484         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
42485         to check for underflow and overflow.
42486         * math/libm-test.inc: Add exp test.
42488 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
42490         [BZ #11120]
42491         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
42492         with NOT_IN_libc.
42494 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42496         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
42497         symbol.
42499 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42501         * math/gen-libm-test.pl (parse_args, special_functions): Properly
42502         wrap blocks consisting of several statements.
42504         * sysdeps/generic/math-tests.h: New file.
42505         * sysdeps/i386/fpu/math-tests.h: Likewise.
42506         * math/test-snan.c: Include it.
42507         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
42509 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
42511         [BZ #15285]
42512         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
42513         (__ieee754_j0l): Do not improve calculations using cos of twice
42514         input for inputs above LDBL_MAX / 2.0L.
42515         (__ieee754_y0l): Likewise.
42516         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
42517         (__ieee754_j1l): Do not improve calculations using cos of twice
42518         input for inputs above LDBL_MAX / 2.0L.
42519         (__ieee754_y1l): Likewise.
42520         * math/libm-test.inc (j0_test): Add another test.
42521         (j1_test): Likewise.
42522         (y0_test): Likewise.
42523         (y1_test): Likewise.
42524         * sysdeps/i386/fpu/libm-test-ulps: Update.
42526 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42528         * Rules ($(objpfx)bench-%.c): Include code from a C source
42529         file.
42531 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
42533         [BZ #15287]
42534         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42535         imaginary part 1.0 and real part less than 0.5 specially.
42536         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42537         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42538         * math/libm-test.inc (cacos_test): Add more tests.
42539         (casin_test): Likewise.
42540         (casinh_test): Likewise.
42541         * sysdeps/i386/fpu/libm-test-ulps: Update.
42542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42544 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42546         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
42547         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
42549 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
42551         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
42552         * config.make.in (config-cflags-sse4): Remove variable.
42553         (config-cflags-avx): Likewise.
42554         (config-cflags-sse2avx): Likewise.
42555         (config-cflags-novzeroupper): Likewise.
42556         (config-asflags-i686): Likewise.
42557         (have-mfma4): Likewise.
42558         (have-as-vis3): Likewise.
42559         (MIG): Likewise.
42560         * configure.in (MIG): Do not AC_SUBST.
42561         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
42562         (libc_cv_cc_sse4): Do not AC_SUBST.
42563         (libc_cv_cc_avx): Likewise.
42564         (libc_cv_cc_sse2avx): Likewise.
42565         (libc_cv_cc_novzeroupper): Likewise.
42566         (libc_cv_cc_fma4): Likewise.
42567         (libc_cv_as_i686): Likewise.
42568         (libc_cv_sparc_as_vis3): Likewise.
42569         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
42570         LIBC_CONFIG_VAR.
42571         (config-asflags-i686): Likewise.
42572         (config-cflags-avx): Likewise.
42573         (config-cflags-sse2avx): Likewise.
42574         (have-mfma4): Likewise.
42575         (config-cflags-novzeroupper): Likewise.
42576         * sysdeps/mach/configure.in (MIG): Likewise.
42577         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
42578         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
42579         LIBC_CONFIG_VAR.
42580         (config-cflags-avx): Likewise.
42581         (config-cflags-sse2avx): Likewise.
42582         (have-mfma4): Likewise.
42583         (config-cflags-novzeroupper): Likewise.
42584         * configure: Regenerated.
42585         * sysdeps/i386/configure: Likewise.
42586         * sysdeps/mach/configure: Likewise.
42587         * sysdeps/sparc/configure: Likewise.
42588         * sysdeps/x86_64/configure: Likewise.
42590 2013-03-20  Roland McGrath  <roland@hack.frob.com>
42592         [BZ #14812]
42593         * locale/programs/localedef.c (options): Put N_ translation marker
42594         on argument names, not just descriptions.
42596 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42598         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
42600 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
42602         [BZ #14176]
42603         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
42605 2013-03-19  Roland McGrath  <roland@hack.frob.com>
42607         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
42608         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
42609         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
42610         [!BEFORE_ABORT] (before_abort): New function.
42611         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
42612         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
42613         (writev_for_fatal): New function.
42614         (WRITEV_FOR_FATAL): New macro; call that.
42615         (backtrace_and_maps): New function.
42616         (BEFORE_ABORT): New macro; call that.
42617         (struct str_list): Type removed.
42618         (__libc_message, __libc_fatal): Functions removed.
42619         Include <sysdeps/posix/libc_fatal.c> instead.
42621 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
42623         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
42624         constants.
42625         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
42626         double constants.
42628 2013-03-19  Andreas Schwab  <schwab@suse.de>
42630         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
42631         * sysdeps/gnu/configure: Regenerate.
42633         * configure.in: Substitute libc_cv_rtlddir.
42634         * configure: Regenerate.
42635         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
42636         * Makeconfig (rtlddir, inst_rtlddir): New variables.
42637         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
42638         * elf/Makefile (install-others, CFLAGS-interp.c)
42639         (ldso_install, common-ldd-rewrite): Likewise.
42640         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
42641         $(inst_slibdir)/$(rtld-installed-name).
42642         * scripts/rellns-sh: Add -p option.
42643         * Makerules (make-shlib-link): Use rellns-sh to get relative name
42644         for source.
42646 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42648         * manual/nptl.texi: Renamed to ...
42649         * manual/threads.texi: ... this.
42650         * manual/Makefile (chapters): Update.
42652 2013-03-18  Roland McGrath  <roland@hack.frob.com>
42654         [BZ #14812]
42655         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
42656         on argument names, not just descriptions.
42657         * malloc/memusagestat.c (options): Likewise.
42658         * nss/getent.c (options): Likewise.
42660 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
42662         [BZ #14812]
42663         * iconv/iconv_prog.c (options): Put N_ translation marker
42664         on argument names, not just descriptions.
42665         * iconv/iconvconfig.c (options): Likewise.
42667 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
42669         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
42670         implementation which is faster on all x86_64 architectures.
42671         Tested on AMD, Intel Nehalem, SNB, IVB.
42672         * sysdeps/x86_64/strnlen.S: Likewise.
42674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42675         Remove all multiarch strlen and strnlen versions.
42676         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42677         Remove strlen and strnlen related parts.
42679         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
42680         Inline strlen part.
42681         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42683         * sysdeps/x86_64/multiarch/strlen.S: Remove.
42684         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
42685         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
42686         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
42687         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42688         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
42690 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
42692         * manual/memory.texi (Malloc Tunable Parameters):
42693         Sort parameters alphabetically. Add comments for missing entries.
42695 2013-03-17  David S. Miller  <davem@davemloft.net>
42697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42699 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
42701         [BZ #15283]
42702         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
42703         for arguments at most half maximum finite value.
42704         * math/libm-test.inc (j0_test): Add more tests.
42705         (j1_test): Likewise.
42706         (y0_test): Likewise.
42707         (y1_test): Likewise.
42708         * sysdeps/i386/fpu/libm-test-ulps: Update.
42709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42711         [BZ #14155]
42712         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
42713         1 / x and functions P and Q for arguments above 0x1p256L.
42714         (__ieee754_y0l): Likewise.
42715         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
42716         (__ieee754_y1l): Likewise.
42717         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
42718         (j1_test): Likewise.
42719         (y0_test): Likewise.
42720         (y1_test): Likewise.
42722 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
42724         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
42725         variable.
42727 2013-03-15  Roland McGrath  <roland@hack.frob.com>
42729         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
42730         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
42731         zero since it's initialized to EXEC_PAGESIZE.
42733         * sysdeps/unix/sysv/linux/ldsodefs.h
42734         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
42735         * sysdeps/generic/ldsodefs.h: ... here.
42737 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
42739         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
42741         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
42742         math/test-snan.c.
42743         * math/test-snan.c: Renamed from
42744         sysdeps/powerpc/fpu/test-powerpc-snan.c.
42745         * math/Makefile (tests): Add test-snan.
42746         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
42747         test-powerpc-snan.
42749         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
42750         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
42751         functions.
42752         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
42753         __builtin_nan family of functions.
42754         * math/libm-test.inc (initialize): Initialize qnan_value with
42755         __builtin_nan family of functions.
42756         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
42757         Remove variables.
42758         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
42759         Remove functions.
42760         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
42761         storage class.  Initialize qNaN_var and sNaN_var with
42762         __builtin_nan and __builtin_nans families of functions,
42763         respectively.
42765         * math/libm-test.inc (acosh_test): Also test with qNaN input.
42766         (sqrt_test): Remove duplicate test with qNaN input.
42767         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
42768         (round_test, signbit_test, significand_test): Note missing +/-Inf
42769         as well as qNaN tests.
42771         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
42772         qNaN_var.  Fix a few strings, too.
42773         * math/libm-test.inc (nan_value): Rename to qnan_value.
42774         * math/gen-libm-test.pl (%beautify): Adjust to that.
42775         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
42776         * math/test-misc.c (main): Likewise.
42777         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
42778         to __qnan_bytes, and __qnan_union, respectively.
42779         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
42780         Likewise.
42781         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
42782         and lqnanval, respectively.
42783         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
42784         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
42785         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
42786         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
42788         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
42789         * math/test-misc.c (main) [__x86_64__]: Enable test for long
42790         doubles.
42792         * math/test-misc.c (main): Fix copy'n'pastos.
42793         * misc/tst-efgcvt.c (special): Likewise.
42795         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
42796         Remove declarations.
42798 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42800         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
42801         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
42802         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
42803         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
42805 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42807         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
42808         macro to return vdso values correctly in IFUNC implementations.
42809         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42810         Optimization by using IFUNC.
42812 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42813             Richard Henderson  <rth@redhat.com>
42814             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42816         * Makefile.in (bench): New target.
42817         * NEWS: Mention the benchmark framework.
42818         * Rules (bench): Likewise.
42819         (binaries-bench): Generate binaries for functions to
42820         benchmark.
42821         * benchtests/Makefile: New makefile for benchmark tests.
42822         * benchtests/bench-skeleton.c: New skeleton file for benchmark
42823         programs.
42824         * benchtests/exp-inputs: New input file for EXP function.
42825         * benchtests/pow-inputs: New input file for POW function.
42826         * scripts/bench.pl: New script to generate source files for
42827         benchmark programs.
42829 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42831         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
42832         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
42833         computations on mantissa.  Use macros for rounding and
42834         division.
42835         (denorm): Likewise.
42836         (__dbl_mp): Likewise.
42837         (add_magnitudes): Likewise.
42838         (sub_magnitudes): Likewise.
42839         (__mul): Likewise.
42840         (__sqr): Likewise.
42841         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
42842         powers of two in terms of TWOPOW macro.
42843         (mp_no): Make type of mantissa as MANTISSA_T.
42844         [!RADIXI]: Define RADIXI.
42845         [!TWO52]: Define TWO52.
42846         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
42848         * manual/nptl.texi (cindex): Modify threads to pthreads.
42850 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
42852         * sysdeps/x86_64/preconfigure: Regenerated.
42854 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
42856         [BZ #14155]
42857         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
42858         0x1p28 and above.
42859         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
42860         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
42861         0x1p28 and above.
42862         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
42863         * math/libm-test.inc (j0_test): Do not allow one spurious
42864         underflow exception.
42865         (y1_test): Likewise.
42867 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42869         * manual/Makefile (chapters): Add nptl.
42870         * manual/debug.texi (Debugging Support): Add link to Threads
42871         chapter.
42872         * manual/nptl.texi: New file.
42874         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
42876 2013-03-14  Petr Baudis  <pasky@ucw.cz>
42878         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
42879         for non-NULL pointer before the memory validity test. Pointed
42880         out by Holger Brunck <holger.brunck@keymile.com>.
42882 2013-03-13  Andreas Schwab  <schwab@suse.de>
42884         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
42885         instead of .os.
42887 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
42889         * timezone/zic.c: Update from tzcode 2013b.
42891 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
42893         * manual/install.texi (Configuring and compiling):
42894         Mention i686 and i586.
42895         * INSTALL: Regenerate.
42897 2013-03-12  Roland McGrath  <roland@hack.frob.com>
42899         * sysdeps/init_array/elf-init.c: New file.
42900         * csu/elf-init.c
42901         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
42902         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
42904         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
42905         __gmon_start__ as global, but as static with a .preinit_array pointer.
42906         * sysdeps/init_array/gmon-start.c: New file.  Use that.
42907         * sysdeps/init_array/crti.S: New file, empty except for comments.
42908         * sysdeps/init_array/crtn.S: Likewise.
42910 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
42912         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
42913         definining bcopy.
42914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42915         Remove Prefer_SSE_for_memop.
42916         * sysdeps/x86_64/multiarch/init-arch.h: Remove
42917         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
42918         HAS_PREFER_SSE_FOR_MEMOP.
42919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
42920         memset-x86-64.
42921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42922         Remove bzero, memset ifunc support.
42923         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
42924         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
42925         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42926         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42928 2013-03-11  Andreas Schwab  <schwab@suse.de>
42930         [BZ #15234]
42931         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
42932         by SHLIB_COMPAT.
42933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
42934         (GLIBC_2.16): Remove pthread_atfork.
42936 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
42938         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
42939         (ptestcases.h): Likewise.
42941 2013-03-08  Roland McGrath  <roland@hack.frob.com>
42943         * Makeconfig ($(common-objpfx)config.status): Depend on
42944         sysdeps/*/preconfigure{,.in} too.
42946 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
42948         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
42949         (__free_hook): Use void * instead of __malloc_ptr_t.
42950         (__malloc_hook): Likewise.
42951         (__realloc_hook): Likewise.
42952         (__memalign_hook): Likewise.
42953         (__after_morecore_hook): Likewise.
42954         * malloc/arena.c (save_malloc_hook): Likewise.
42955         (save_free_hook): Likewise.
42956         * malloc/hooks.c (malloc_hook_ini): Likewise.
42957         (realloc_hook_ini): Likewise.
42958         (memalign_hook_ini): Likewise.
42959         * malloc/malloc.c (malloc_hook_ini): Likewise.
42960         (realloc_hook_ini): Likewise.
42961         (memalign_hook_ini): Likewise.
42962         (__free_hook): Likewise.
42963         (__malloc_hook): Likewise.
42964         (__realloc_hook): Likewise.
42965         (__memalign_hook): Likewise.
42966         (__libc_malloc): Likewise.
42967         (__libc_free): Likewise.
42968         (__libc_realloc): Likewise.
42969         (__libc_memalign): Likewise.
42970         (__libc_valloc): Likewise.
42971         (__libc_pvalloc): Likewise.
42972         (__libc_calloc): Likewise.
42973         (__posix_memalign): Likewise.
42974         * malloc/morecore.c (__sbrk): Likewise.
42975         (__default_morecore): Likewise.
42977         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
42979         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
42980         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
42981         __malloc_ptrdiff_t.
42983         * malloc/malloc.h (__malloc_size_t): Remove macro.
42984         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
42985         __malloc_size_t.
42986         (old_memalign_hook): Likewise.
42987         (old_realloc_hook): Likewise.
42988         (struct hdr): Likewise.
42989         (flood): Likewise.
42990         (mallochook): Likewise.
42991         (memalignhook): Likewise.
42992         (reallochook): Likewise.
42993         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
42994         (tr_old_realloc_hook): Likewise.
42995         (tr_old_memalign_hook): Likewise.
42996         (tr_mallochook): Likewise.
42997         (tr_reallochook): Likewise.
42998         (tr_memalignhook): Likewise.
43000 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43002         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
43003         default_ldbl_pack and using as default implementation.
43004         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
43005         implementation.
43006         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
43007         redundant definition.
43008         (ldbl_insert_mantissa): Likewise.
43009         (ldbl_canonicalize): Likewise.
43010         (ldbl_nearbyint): Likewise.
43011         (ldbl_pack): Rename to ldbl_pack_ppc.
43012         (ldbl_unpack): Rename to ldbl_unpack_ppc.
43013         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
43014         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
43016 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43018         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
43019         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
43020         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
43021         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
43022         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
43023         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
43024         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
43025         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
43027 2013-03-07  Andreas Jaeger  <aj@suse.de>
43029         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43030         bits/mman-linux.h.
43032 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43034         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
43035         Include mpa.h and declare __MPEXP.
43036         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
43037         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43038         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43039         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
43040         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43041         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43042         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
43044         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
43045         (__slowpow): Use long double EXPL and LOGL functions to
43046         compute POW.
43047         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43048         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43049         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
43050         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43051         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43052         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
43054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
43055         intermediate variable to calculate exponent.
43056         (__sqr): Likewise.
43057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43058         Likewise.
43059         (__sqr): Likewise.
43061         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
43062         [!NO__SQR]: Define __sqr.
43063         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
43064         and NO__SQR.  Remove all code except __mul and __sqr.  Include
43065         sysdeps/ieee754/dbl-64/mpa.c.
43066         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43068         [BZ #12723]
43069         * posix/Makefile (tests): Add tst-pathconf.
43070         * posix/tst-pathconf.c: New test case.
43071         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
43072         _PC_PIPE_BUF.
43073         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
43075 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
43077         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
43079 2013-03-06  Andreas Jaeger  <aj@suse.de>
43081         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
43082         definition via __MAP_ANONYMOUS.
43084         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
43085         it's not part of Linux headers.
43087         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
43088         (MAP_HUGE_MASK): Define.
43090         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43091         Define.
43092         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43093         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43094         Define.
43095         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43096         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43097         Define.
43098         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43099         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
43100         Define.
43101         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43103         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
43104         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
43105         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
43106         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
43107         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
43108         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
43110         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43111         Handle f2fs.
43113         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43114         Handle f2fs and efivarfs.
43116         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
43117         f2fs.
43119         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
43120         (EFIVARFS_MAGIC): Add.
43121         (F2FS_LINK_MAX): Add.
43123 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43125         * stdio-common/vfprintf.c: Replace __builtin_expect with
43126         __glibc_unlikely.
43128 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
43130         [BZ #13550]
43131         * sysdeps/generic/bp-sym.h: Remove file.
43132         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
43133         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
43134         <bp-sym.h> and <bp-asm.h>.
43135         (__longjmp): Don't use BP_SYM.
43136         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
43137         and <bp-asm.h>.
43138         (memcpy): Don't use BP_SYM.
43139         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
43140         <bp-sym.h> and <bp-asm.h>.
43141         (memcpy): Don't use BP_SYM.
43142         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
43143         <bp-asm.h>.
43144         (memcpy): Don't use BP_SYM.
43145         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
43146         <bp-asm.h>.
43147         (memset): Don't use BP_SYM.
43148         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43149         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43150         (__bzero): Don't use BP_SYM.
43151         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43152         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43153         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
43154         <bp-sym.h> and <bp-asm.h>.
43155         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43156         pointers.
43157         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
43158         <bp-sym.h> and <bp-asm.h>.
43159         (memcpy): Don't use BP_SYM.
43160         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
43161         <bp-sym.h> and <bp-asm.h>.
43162         (memset): Don't use BP_SYM.
43163         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43164         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43165         (__bzero): Don't use BP_SYM.
43166         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43167         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43168         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
43169         <bp-sym.h> and <bp-asm.h>.
43170         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43171         pointers.
43172         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
43173         <bp-sym.h> and <bp-asm.h>.
43174         (memcpy): Don't use BP_SYM.
43175         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
43176         <bp-sym.h> and <bp-asm.h>.
43177         (memset): Don't use BP_SYM.
43178         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43179         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43180         (__bzero): Don't use BP_SYM.
43181         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43182         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43183         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
43184         <bp-sym.h> and <bp-asm.h>.
43185         (__memchr): Don't use BP_SYM.
43186         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
43187         <bp-sym.h> and <bp-asm.h>.
43188         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43189         pointers.
43190         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
43191         <bp-sym.h> and <bp-asm.h>.
43192         (memcpy): Don't use BP_SYM.
43193         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
43194         <bp-sym.h> and <bp-asm.h>.
43195         (__mempcpy): Don't use BP_SYM.
43196         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
43197         <bp-sym.h> and <bp-asm.h>.
43198         (__memrchr): Don't use BP_SYM.
43199         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
43200         <bp-sym.h> and <bp-asm.h>.
43201         (memset): Don't use BP_SYM.
43202         (__bzero): Likewise.
43203         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
43204         <bp-sym.h> and <bp-asm.h>.
43205         (__rawmemchr): Don't use BP_SYM.
43206         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
43207         <bp-sym.h> and <bp-asm.h>.
43208         (__STRCMP): Don't use BP_SYM.
43209         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
43210         <bp-sym.h> and <bp-asm.h>.
43211         (strchr): Don't use BP_SYM.
43212         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
43213         <bp-sym.h> and <bp-asm.h>.
43214         (__strchrnul): Don't use BP_SYM.
43215         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
43216         <bp-sym.h> and <bp-asm.h>.
43217         (strlen): Don't use BP_SYM.
43218         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
43219         <bp-sym.h> and <bp-asm.h>.
43220         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43221         pointers.
43222         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
43223         <bp-sym.h> and <bp-asm.h>.
43224         (__strnlen): Don't use BP_SYM.
43225         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
43226         <bp-sym.h> and <bp-asm.h>.
43227         (__GI__setjmp): Don't use BP_SYM.
43228         (_setjmp): Likewise.
43229         (__sigsetjmp): Likewise.
43230         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
43231         (L(start_addresses)): Don't use BP_SYM.
43232         (_start): Likewise.
43233         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
43234         <bp-asm.h>.
43235         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
43236         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
43237         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43238         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43239         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
43240         <bp-asm.h>.
43241         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
43242         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
43243         about bounded pointers.
43244         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43245         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43246         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
43247         <bp-asm.h>.
43248         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43249         about bounded pointers.  Remove GKM FIXME comments.
43250         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43251         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
43252         <bp-asm.h>.
43253         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
43254         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
43255         Remove GKM FIXME comments.
43256         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43257         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43258         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
43259         <bp-asm.h>.
43260         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43261         about bounded pointers.  Remove GKM FIXME comment.
43262         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
43263         and <bp-asm.h>.
43264         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43265         pointers.
43266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
43267         <bp-sym.h> and <bp-asm.h>.
43268         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
43270         <bp-sym.h> and <bp-asm.h>.
43271         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43272         comment.
43274 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43276         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
43277         call free(NULL).
43279 2013-03-05  David S. Miller  <davem@davemloft.net>
43281         * po/es.po: Update from translation team.
43283 2013-03-05  Andreas Jaeger  <aj@suse.de>
43285         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
43286         <bits/mman-linux.h>.
43287         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43288         is fine.
43289         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
43290         <bits/mman-linux.h> to end of file.
43291         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43292         is fine.
43293         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
43294         <bits/mman-linux.h> to end of file.
43295         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43296         is fine.
43297         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
43298         <bits/mman-linux.h> to end of file.
43300         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
43301         (MCL_CURRENT, MCL_FUTURE): Define here.
43303 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43305         [BZ #15232]
43306         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
43307         attribute_hidden.
43308         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43310 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43312         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
43313         fourth parameter needed for rt_sigprocmask syscall.
43314         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43315         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43316         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
43317         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43318         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43319         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
43321 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
43323         [BZ #13550]
43324         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
43325         comment about bounded pointers.
43326         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
43327         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
43329 2013-03-04  Andreas Jaeger  <aj@suse.de>
43331         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
43332         common definitions.
43334         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
43335         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
43336         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
43337         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43338         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43339         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43341 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43343         [BZ #15055]
43344         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
43345         __ieee754_sqrl instead of __sqrl.
43347 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
43349         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
43350         * sysdeps/powerpc/fpu_control.h: ... here.
43351         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
43352         * sysdeps/powerpc/bits/fenvinline.h: ... here.
43353         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
43354         * sysdeps/powerpc/bits/mathinline.h: ... here.
43356 2013-03-01  Roland McGrath  <roland@hack.frob.com>
43358         * elf/dl-hwcaps.c (_dl_important_hwcaps):
43359         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
43360         to just [NEED_DL_SYSINFO_DSO].
43361         * elf/dl-support.c: Likewise.
43362         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43363         * elf/rtld.c (dl_main): Likewise.
43364         * elf/setup-vdso.h (setup_vdso): Likewise.
43365         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
43366         * sysdeps/unix/sysv/linux/dl-sysdep.c
43367         (_dl_discover_osversion): Likewise.
43369 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
43371         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
43372         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
43374 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43376         * NEWS: Mention libm performance improvements and non-x86 PI
43377         futex support.
43379         * csu/libc-start.c (__pthread_initialize_minimal): Change
43380         function arguments.
43381         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
43383 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
43385         [BZ #13550]
43386         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
43387         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
43388         <bp-sym.h> and <bp-asm.h>.
43389         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43390         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
43391         and <bp-asm.h>.
43392         (memcpy): Don't use BP_SYM.
43393         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
43394         <bp-asm.h>.
43395         (__mpn_add_n): Don't use BP_SYM.
43396         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
43397         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
43398         and <bp-asm.h>.
43399         (__mpn_addmul_1): Don't use BP_SYM.
43400         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43401         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
43402         <bp-sym.h>.
43403         (_setjmp): Don't use BP_SYM.
43404         (__novmx_setjmp): Likewise.
43405         (__GI__setjmp): Likewise.
43406         (__vmx_setjmp): Likewise.
43407         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
43408         <bp-sym.h>.
43409         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
43410         (__bzero): Don't use BP_SYM.
43411         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43412         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43413         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
43414         <bp-sym.h> and <bp-asm.h>.
43415         (memcpy): Don't use BP_SYM.
43416         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
43417         <bp-sym.h> and <bp-asm.h>.
43418         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43419         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
43420         <bp-sym.h> and <bp-asm.h>.
43421         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43422         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
43423         <bp-asm.h>.
43424         (__mpn_lshift): Don't use BP_SYM.
43425         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43426         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
43427         <bp-asm.h>.
43428         (memset): Don't use BP_SYM.
43429         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43430         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43431         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
43432         <bp-asm.h>.
43433         (__mpn_mul_1): Don't use BP_SYM.
43434         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43435         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
43436         <bp-sym.h> and <bp-asm.h>.
43437         (memcmp): Don't use BP_SYM.
43438         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
43439         <bp-sym.h> and <bp-asm.h>.
43440         (memcpy): Don't use BP_SYM.
43441         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
43442         <bp-sym.h> and <bp-asm.h>.
43443         (memset): Don't use BP_SYM.
43444         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
43445         <bp-sym.h> and <bp-asm.h>.
43446         (strncmp): Don't use BP_SYM.
43447         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
43448         <bp-sym.h> and <bp-asm.h>.
43449         (memcpy): Don't use BP_SYM.
43450         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
43451         <bp-sym.h> and <bp-asm.h>.
43452         (memset): Don't use BP_SYM.
43453         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
43454         <bp-sym.h> and <bp-asm.h>.
43455         (__memchr): Don't use BP_SYM.
43456         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
43457         <bp-sym.h> and <bp-asm.h>.
43458         (memcmp): Don't use BP_SYM.
43459         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
43460         <bp-sym.h> and <bp-asm.h>.
43461         (memcpy): Don't use BP_SYM.
43462         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
43463         <bp-sym.h> and <bp-asm.h>.
43464         (__mempcpy): Don't use BP_SYM.
43465         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
43466         <bp-sym.h> and <bp-asm.h>.
43467         (__memrchr): Don't use BP_SYM.
43468         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
43469         <bp-sym.h> and <bp-asm.h>.
43470         (memset): Don't use BP_SYM.
43471         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
43472         <bp-sym.h> and <bp-asm.h>.
43473         (__rawmemchr): Don't use BP_SYM.
43474         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
43475         <bp-sym.h> and <bp-asm.h>.
43476         (__STRCMP): Don't use BP_SYM.
43477         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
43478         <bp-sym.h> and <bp-asm.h>.
43479         (strchr): Don't use BP_SYM.
43480         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
43481         <bp-sym.h> and <bp-asm.h>.
43482         (__strchrnul): Don't use BP_SYM.
43483         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
43484         <bp-sym.h> and <bp-asm.h>.
43485         (strlen): Don't use BP_SYM.
43486         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
43487         <bp-sym.h> and <bp-asm.h>.
43488         (strncmp): Don't use BP_SYM.
43489         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
43490         <bp-sym.h> and <bp-asm.h>.
43491         (__strnlen): Don't use BP_SYM.
43492         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
43493         <bp-asm.h>.
43494         (__mpn_rshift): Don't use BP_SYM.
43495         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43496         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
43497         <bp-sym.h> and <bp-asm.h>.
43498         (__sigsetjmp): Don't use BP_SYM.
43499         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
43500         (L(start_addresses)): Don't use BP_SYM.
43501         (_start): Likewise.
43502         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
43503         <bp-asm.h>.
43504         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
43505         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43506         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43507         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
43508         <bp-asm.h>.
43509         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
43510         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43511         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43512         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
43513         <bp-asm.h>.
43514         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
43515         comments.
43516         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43517         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
43518         <bp-asm.h>.
43519         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
43520         FIXME comments.
43521         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43522         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43523         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
43524         <bp-asm.h>.
43525         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
43526         comment.
43527         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
43528         and <bp-asm.h>.
43529         (strncmp): Don't use BP_SYM,
43530         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
43531         <bp-asm.h>.
43532         (__mpn_sub_n): Don't use BP_SYM.
43533         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43534         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
43535         and <bp-asm.h>.
43536         (__mpn_submul_1): Don't use BP_SYM.
43537         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
43539         <bp-sym.h> and <bp-asm.h>.
43540         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
43542         <bp-sym.h> and <bp-asm.h>.
43543         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43544         comment.
43546 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
43549         Use ZK to minimize writes to Z.
43550         (sub_magnitudes): Simplify code a bit.
43551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
43552         Use ZK to minimize writes to Z.
43553         (sub_magnitudes): Simplify code a bit.
43555 2013-02-27  Roland McGrath  <roland@hack.frob.com>
43557         * csu/gmon-start.c: Add special exception to license text.
43559 2013-02-27  Richard Henderson  <rth@redhat.com>
43561         * scripts/config.guess: Update from config.git.
43562         * scripts/config.sub: Likewise.
43564 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43566         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
43568         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
43570         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
43572         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
43574         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
43576 2013-02-26  Roland McGrath  <roland@hack.frob.com>
43578         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
43579         [$(build-shared = yes].
43581 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43583         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
43584         (__mul): Reduce iterations for calculating mantissa.
43586         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
43587         MPTWO.
43588         (__mpranred): Likewise.
43590         [BZ #15160]
43591         * malloc/memusagestat.c (main): Draw graphs for heap and stack
43592         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
43594 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
43596         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
43597         Define __attribute__.
43599 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43601         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
43602         unused.
43603         * posix/regex_internal.h (__attribute): Remove.
43604         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
43605         (re_string_context_at): Likewise.
43606         (bitset_not): Use __attribute__ and mark function as possibly
43607         unused.
43608         (bitset_merge): Likewise.
43609         (bitset_mask): Likewise.
43610         (re_string_char_size_at): Likewise.
43611         (re_string_wchar_at): Likewise.
43612         (re_string_elem_size_at): Likewise.
43614 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43616         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
43617         code.
43618         (cc32): Likewise.
43620         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
43621         (__acr): Likewise.
43622         (__cpy): Likewise.
43623         (norm): Likewise.
43624         (denorm): Likewise.
43625         (__dbl_mp): Likewise.
43626         (add_magnitudes): Likewise.
43627         (sub_magnitudes): Likewise.
43628         (__mul): Likewise.
43629         (__inv): Likewise.
43631         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
43632         style.
43634         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
43635         style.
43637         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
43638         code.
43640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
43641         up changes with default code.
43642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
43643         Likewise.
43645 2013-02-24  Allan McRae  <allan@archlinux.org>
43647         * manual/socket.texi (The Internet Namespace): Order menu items
43648         to match that in the file.
43650         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
43651         node listing of the info page menu.
43653 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
43655         [BZ #13550]
43656         * sysdeps/i386/bp-asm.h: Remove file.
43657         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
43658         (PARMS): Do not use macros from bp-asm.h.
43659         (S1): Likewise.
43660         (S2): Likewise.
43661         (SIZE): Likewise.
43662         (__mpn_add_n): Do not use BP_SYM
43663         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
43664         "bp-asm.h".
43665         (PARMS): Do not use macros from bp-asm.h.
43666         (S1): Likewise.
43667         (SIZE): Likewise.
43668         (__mpn_addmul_1): Do not use BP_SYM
43669         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
43670         "bp-asm.h".
43671         (PARMS): Do not use macros from bp-asm.h.
43672         (SIGMSK): Likewise.
43673         (_setjmp): Likewise.  Do not use BP_SYM.
43674         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
43675         "bp-asm.h".
43676         (PARMS): Do not use macros from bp-asm.h.
43677         (SIGMSK): Likewise.
43678         (setjmp): Likewise.  Do not use BP_SYM.
43679         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
43680         "bp-asm.h".
43681         (PARMS): Do not use macros from bp-asm.h.
43682         (__frexp): Do not use BP_SYM.
43683         (frexp): Likewise.
43684         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
43685         "bp-asm.h".
43686         (PARMS): Do not use macros from bp-asm.h.
43687         (__frexpf): Do not use BP_SYM.
43688         (frexpf): Likewise.
43689         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
43690         "bp-asm.h".
43691         (PARMS): Do not use macros from bp-asm.h.
43692         (__frexpl): Do not use BP_SYM.
43693         (frexpl): Likewise.
43694         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
43695         "bp-asm.h".
43696         (PARMS): Do not use macros from bp-asm.h.
43697         (__remquo): Do not use BP_SYM.
43698         (remquo): Likewise.
43699         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
43700         "bp-asm.h".
43701         (PARMS): Do not use macros from bp-asm.h.
43702         (__remquof): Do not use BP_SYM.
43703         (remquof): Likewise.
43704         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
43705         "bp-asm.h".
43706         (PARMS): Do not use macros from bp-asm.h.
43707         (__remquol): Do not use BP_SYM.
43708         (remquol): Likewise.
43709         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
43710         "bp-asm.h".
43711         (PARMS): Do not use macros from bp-asm.h.
43712         (DEST): Likewise.
43713         (SRC): Likewise.
43714         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
43715         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
43716         "bp-asm.h".
43717         (PARMS): Do not use macros from bp-asm.h.
43718         (strlen): Do not use BP_SYM.
43719         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
43720         "bp-asm.h".
43721         (PARMS): Do not use macros from bp-asm.h.
43722         (S1): Likewise.
43723         (S2): Likewise.
43724         (SIZE): Likewise.
43725         (__mpn_add_n): Do not use BP_SYM.
43726         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
43727         "bp-asm.h".
43728         (PARMS): Do not use macros from bp-asm.h.
43729         (S1): Likewise.
43730         (SIZE): Likewise.
43731         (__mpn_addmul_1): Do not use BP_SYM.
43732         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
43733         weak_alias.
43734         (bzero): Likewise.
43735         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
43736         "bp-asm.h".
43737         (PARMS): Do not use macros from bp-asm.h.
43738         (S): Likewise.
43739         (SIZE): Likewise.
43740         (__mpn_lshift): Do not use BP_SYM.
43741         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
43742         "bp-asm.h".
43743         (PARMS): Do not use macros from bp-asm.h.
43744         (DEST): Likewise.
43745         (SRC): Likewise.
43746         (LEN): Likewise.
43747         (memcpy): Likewise.  Do not use BP_SYM.
43748         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
43749         libc_hidden_def and weak_alias.
43750         (mempcpy): Do not use BP_SYM in weak_alias.
43751         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
43752         "bp-asm.h".
43753         (PARMS): Do not use macros from bp-asm.h.
43754         (DEST): Likewise.
43755         (LEN): Likewise.
43756         [!BZERO_P] (CHR): Likewise.
43757         (memset): Likewise.  Do not use BP_SYM.
43758         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
43759         "bp-asm.h".
43760         (PARMS): Do not use macros from bp-asm.h.
43761         (S1): Likewise.
43762         (SIZE): Likewise.
43763         (__mpn_mul_1): Do not use BP_SYM.
43764         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
43765         "bp-asm.h".
43766         (PARMS): Do not use macros from bp-asm.h.
43767         (S): Likewise.
43768         (SIZE): Likewise.
43769         (__mpn_rshift): Do not use BP_SYM.
43770         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
43771         "bp-asm.h".
43772         (PARMS): Do not use macros from bp-asm.h.
43773         (STR): Likewise.
43774         (CHR): Likewise.
43775         (strchr): Likewise.  Do not use BP_SYM.
43776         (index): Do not use BP_SYM in weak_alias.
43777         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
43778         "bp-asm.h".
43779         (PARMS): Do not use macros from bp-asm.h.
43780         (DEST): Likewise.
43781         (SRC): Likewise.
43782         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
43783         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
43784         "bp-asm.h".
43785         (PARMS): Do not use macros from bp-asm.h.
43786         (strlen): Do not use BP_SYM.
43787         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
43788         "bp-asm.h".
43789         (PARMS): Do not use macros from bp-asm.h.
43790         (S1): Likewise.
43791         (S2): Likewise.
43792         (SIZE): Likewise.
43793         (__mpn_sub_n): Do not use BP_SYM.
43794         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
43795         "bp-asm.h".
43796         (PARMS): Do not use macros from bp-asm.h.
43797         (S1): Likewise.
43798         (SIZE): Likewise.
43799         (__mpn_submul_1): Do not use BP_SYM.
43800         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
43801         "bp-asm.h".
43802         (PARMS): Do not use macros from bp-asm.h.
43803         (S1): Likewise.
43804         (S2): Likewise.
43805         (SIZE): Likewise.
43806         (__mpn_add_n): Do not use BP_SYM.
43807         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
43808         weak_alias.
43809         (bzero): Likewise.
43810         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
43811         "bp-asm.h".
43812         (PARMS): Do not use macros from bp-asm.h.
43813         (BLK2): Likewise.
43814         (LEN): Likewise.
43815         (memcmp): Do not use BP_SYM.
43816         (bcmp): Do not use BP_SYM in weak_alias.
43817         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
43818         "bp-asm.h".
43819         (PARMS): Do not use macros from bp-asm.h.
43820         (DEST): Likewise.
43821         (SRC): Likewise.
43822         (LEN): Likewise.
43823         (memcpy): Likewise.  Do not use BP_SYM.
43824         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
43825         "bp-asm.h".
43826         (PARMS): Do not use macros from bp-asm.h.
43827         (DEST): Likewise.
43828         (SRC): Likewise.
43829         (LEN): Likewise.
43830         (memmove): Likewise.  Do not use BP_SYM.
43831         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
43832         "bp-asm.h".
43833         (PARMS): Do not use macros from bp-asm.h.
43834         (DEST): Likewise.
43835         (SRC): Likewise.
43836         (LEN): Likewise.
43837         (__mempcpy): Likewise.  Do not use BP_SYM.
43838         (mempcpy): Do not use BP_SYM in weak_alias.
43839         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
43840         "bp-asm.h".
43841         (PARMS): Do not use macros from bp-asm.h.
43842         (DEST): Likewise.
43843         (LEN): Likewise.
43844         [!BZERO_P] (CHR): Likewise.
43845         (memset): Likewise.  Do not use BP_SYM.
43846         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
43847         "bp-asm.h".
43848         (PARMS): Do not use macros from bp-asm.h.
43849         (STR2): Likewise.
43850         (strcmp): Do not use BP_SYM.
43851         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
43852         "bp-asm.h".
43853         (PARMS): Do not use macros from bp-asm.h.
43854         (STR): Likewise.
43855         (DELIM): Likewise.
43856         [USE_AS_STRTOK_R] (SAVE): Likewise.
43857         (FUNCTION): Likewise.  Do not use BP_SYM.
43858         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
43859         aliases.
43860         (strtok_r): Likewise.
43861         (__GI___strtok_r): Likewise.
43862         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43863         (PARMS): Do not use macros from bp-asm.h.
43864         (S): Likewise.
43865         (SIZE): Likewise.
43866         (__mpn_lshift): Do not use BP_SYM.
43867         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43868         (PARMS): Do not use macros from bp-asm.h.
43869         (STR): Likewise.
43870         (CHR): Likewise.
43871         (__memchr): Do not use BP_SYM.
43872         (memchr): Do not use BP_SYM in weak_alias.
43873         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43874         (PARMS): Do not use macros from bp-asm.h.
43875         (BLK2): Likewise.
43876         (LEN): Likewise.
43877         (memcmp): Do not use BP_SYM.
43878         (bcmp): Do not use BP_SYM in weak_alias.
43879         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
43880         (PARMS): Do not use macros from bp-asm.h.
43881         (S1): Likewise.
43882         (SIZE): Likewise.
43883         (__mpn_mul_1): Do not use BP_SYM.
43884         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
43885         "bp-asm.h".
43886         (PARMS): Do not use macros from bp-asm.h.
43887         (STR): Likewise.
43888         (CHR): Likewise.
43889         (__rawmemchr): Do not use BP_SYM.
43890         (rawmemchr): Do not use BP_SYM in weak_alias.
43891         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43892         (PARMS): Do not use macros from bp-asm.h.
43893         (S): Likewise.
43894         (SIZE): Likewise.
43895         (__mpn_rshift): Do not use BP_SYM.
43896         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43897         (PARMS): Do not use macros from bp-asm.h.
43898         (SIGMSK): Likewise.
43899         (__sigsetjmp): Likewise.  Do not use BP_SYM.
43900         * sysdeps/i386/start.S: Do not include "bp-sym.h".
43901         (_start): Do not use BP_SYM.
43902         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
43903         (PARMS): Do not use macros from bp-asm.h.
43904         (DEST): Likewise.
43905         (SRC): Likewise.
43906         (__stpcpy): Likewise.  Do not use BP_SYM.
43907         (stpcpy): Do not use BP_SYM in weak_alias.
43908         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
43909         "bp-asm.h".
43910         (PARMS): Do not use macros from bp-asm.h.
43911         (DEST): Likewise.
43912         (SRC): Likewise.
43913         (LEN): Likewise.
43914         (__stpncpy): Likewise.  Do not use BP_SYM.
43915         (stpncpy): Do not use BP_SYM in weak_alias.
43916         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43917         (PARMS): Do not use macros from bp-asm.h.
43918         (STR): Likewise.
43919         (CHR): Likewise.
43920         (strchr): Likewise.  Do not use BP_SYM.
43921         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
43922         "bp-asm.h".
43923         (PARMS): Do not use macros from bp-asm.h.
43924         (STR): Likewise.
43925         (CHR): Likewise.
43926         (__strchrnul): Likewise.  Do not use BP_SYM.
43927         (strchrnul): Do not use BP_SYM in weak_alias.
43928         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
43929         "bp-asm.h".
43930         (PARMS): Do not use macros from bp-asm.h.
43931         (STOP): Likewise.
43932         (strcspn): Do not use BP_SYM.
43933         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
43934         "bp-asm.h".
43935         (PARMS): Do not use macros from bp-asm.h.
43936         (STR): Likewise.
43937         (STOP): Likewise.
43938         (strpbrk): Likewise.  Do not use BP_SYM.
43939         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
43940         "bp-asm.h".
43941         (PARMS): Do not use macros from bp-asm.h.
43942         (STR): Likewise.
43943         (CHR): Likewise.
43944         (strrchr): Likewise.  Do not use BP_SYM.
43945         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
43946         (PARMS): Do not use macros from bp-asm.h.
43947         (SKIP): Likewise.
43948         (strspn): Do not use BP_SYM.
43949         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
43950         (PARMS): Do not use macros from bp-asm.h.
43951         (STR): Likewise.
43952         (DELIM): Likewise.
43953         (SAVE): Likewise.
43954         (FUNCTION): Likewise.  Do not use BP_SYM.
43955         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
43956         aliases.
43957         (strtok_r): Likewise.
43958         (__GI___strtok_r): Likewise.
43959         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
43960         (PARMS): Do not use macros from bp-asm.h.
43961         (S1): Likewise.
43962         (S2): Likewise.
43963         (SIZE): Likewise.
43964         (__mpn_sub_n): Do not use BP_SYM.
43965         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
43966         "bp-asm.h".
43967         (PARMS): Do not use macros from bp-asm.h.
43968         (S1): Likewise.
43969         (SIZE): Likewise.
43970         (__mpn_submul_1): Do not use BP_SYM.
43971         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
43972         <bp-sym.h>.
43973         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
43974         and <bp-asm.h>.
43975         (PARMS): Do not use macros from bp-asm.h.
43976         (FLAGS): Likewise.
43977         (PTID): Likewise.
43978         (TLS): Likewise.
43979         (CTID): Likewise.
43980         (__clone): Do not use BP_SYM.
43981         (clone): Do not use BP_SYM in weak_alias.
43982         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
43983         and <bp-asm.h>.
43984         (PARMS): Do not use macros from bp-asm.h.
43985         (LEN): Likewise.
43986         (__mmap64): Do not use BP_SYM.
43987         (mmap64): Do not use BP_SYM in weak_alias.
43988         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43989         <bp-sym.h> and <bp-asm.h>.
43990         (PARMS): Do not use macros from bp-asm.h.
43991         (__posix_fadvise64_l64): Do not use BP_SYM.
43992         * sysdeps/unix/sysv/linux/i386/semtimedop.S
43993         (PARMS): Do not use macros from bp-asm.h.
43994         (NSOPS): Likewise.
43995         (semtimedop): Do not use BP_SYM.
43996         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
43997         and <bp-asm.h>.
43999 2013-02-21  Allan McRae  <allan@archlinux.org>
44001         * manual/message.texi (Charset conversion in gettext):
44002         Move @end statement to beginning of line.
44004 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
44007         static.
44008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44009         Likewise.
44011         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
44012         (denorm): Likewise.
44013         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
44014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
44016 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44018         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
44019         tail-call to the resolved function if pltexit isn't needed.
44021 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44023         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
44024         or Y being zero as being unlikely.
44025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44026         Likewise.
44028 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
44030         * manual/nss.texi (System Databases and Name Service Switch):
44031         Remove frobnicate @pxref.
44033 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44035         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44036         __attribute__ ((unused)) to __attribute__ ((__unused__)).
44038 2013-02-20  Petr Machata  <pmachata@redhat.com>
44040         * elf/elf.h (R_ARM_TARGET1): New macro.
44041         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44042         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
44043         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
44044         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
44045         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
44046         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
44047         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
44048         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
44049         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
44050         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
44051         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44052         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
44053         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
44054         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
44055         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
44056         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
44057         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
44058         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
44059         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
44060         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
44061         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
44062         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
44063         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
44064         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
44065         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
44066         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
44067         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
44068         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
44069         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
44070         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44071         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
44072         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
44073         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
44074         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
44075         (R_ARM_THM_GOT_BREL12): Likewise.
44076         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
44077         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
44078         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
44079         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
44080         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44081         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
44082         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
44083         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
44084         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
44086 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44088         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44089         __attribute_used__ to __attribute__ ((unused)).
44091 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44093         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
44094         powerpc mpa.c.
44095         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
44096         comment formatting.
44097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
44099 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
44101         [BZ #13550]
44102         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
44103         Remove macro.
44104         (ENTER): Remove both macro definitions.
44105         (LEAVE): Likewise.
44106         (CHECK_BOUNDS_LOW): Likewise.
44107         (CHECK_BOUNDS_HIGH): Likewise.
44108         (CHECK_BOUNDS_BOTH): Likewise.
44109         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
44110         (RETURN_BOUNDED_POINTER): Likewise.
44111         (RETURN_NULL_BOUNDED_POINTER): Likewise.
44112         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
44113         (POP_ERRNO_LOCATION_RETURN): Likewise.
44114         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
44115         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44116         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
44117         macros.
44118         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44119         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
44120         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
44121         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
44122         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
44123         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
44124         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
44125         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
44126         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
44127         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
44128         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
44129         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
44130         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44131         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
44132         removed macros.
44133         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44134         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
44135         macros.
44136         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44137         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
44138         * sysdeps/i386/i586/memset.S (memset): Likewise.
44139         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
44140         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44141         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
44142         macros.
44143         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44144         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
44145         Change uses of L(2) to L(out).
44146         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
44147         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
44148         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
44149         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44150         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
44151         removed macros.
44152         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44153         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
44154         macros.
44155         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44156         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
44157         (RETURN): Do not use macro LEAVE.
44158         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
44159         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
44160         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
44161         * sysdeps/i386/i686/memset.S (memset): Likewise.
44162         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
44163         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
44164         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44165         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
44166         Likewise.
44167         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44168         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
44169         L(1_2) and L(1_3) into L(1).
44170         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44171         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
44172         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44173         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
44174         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44175         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
44176         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
44177         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44178         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
44179         macros.
44180         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
44181         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44182         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
44183         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
44184         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
44185         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44186         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
44187         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
44188         * sysdeps/i386/strcspn.S (strcspn): Likewise.
44189         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
44190         * sysdeps/i386/strrchr.S (strrchr): Likewise.
44191         * sysdeps/i386/strspn.S (strspn): Likewise.
44192         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
44193         conditional code.
44194         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44195         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
44196         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44197         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
44198         L(1_3) into L(1_1).
44199         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
44200         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44201         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
44202         macros.
44203         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44205 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
44207         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
44208         macro.
44210 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44212         * math/atest-exp.c (exp_mpn): Remove ROUND.
44213         * math/atest-exp2.c (exp_mpn): Likewise.
44214         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
44216         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
44217         * stdlib/tst-tls-atexit-lib.c: Likewise.
44218         * stdlib/tst-tls-atexit.c: Likewise.
44220 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44222         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
44223         and __attribute_alloc_size__.
44225 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44227         * include/programs/xmalloc.h: Change __attribute_alloc_size to
44228         __attribute_alloc_size__.
44229         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
44230         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
44232 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44234         * include/programs/xmalloc.h: New file.
44235         * catgets/gencat.c: Include it.
44236         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
44237         * elf/pldd.c: Likewise.
44238         * iconv/iconv_charmap.c: Likewise.
44239         * iconv/iconvconfig.c: Likewise.
44240         * iconv/strtab.c: Likewise.
44241         * locale/programs/locale.c: Likewise.
44242         * locale/programs/localedef.h: Likewise.
44243         * locale/programs/simple-hash.c: Likewise.
44244         * nscd/nscd.h: Likewise.
44245         * nss/makedb.c: Likewise.
44246         * sysdeps/generic/ldconfig.h: Likewise.
44248 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44250         * Versions.def: Add GLIBC_2.18.
44251         * include/link.h (struct link_map): New member l_tls_dtor_count.
44252         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
44253         (__call_tls_dtors): Likewise.
44254         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
44255         __cxa_thread_atexit_impl.
44256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44257         Likewise.
44258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44259         Likewise.
44260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44261         Likewise.
44262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44263         Likewise.
44264         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
44266         Likewise.
44267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
44268         Likewise.
44269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44271         Likewise.
44272         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
44273         (tests): Add test case tst-tls-atexit.
44274         (modules-names): Add shared library for tst-tls-atexit.
44275         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
44276         (GLIBC_PRIVATE): Add __call_tls_dtors.
44277         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
44278         for libstdc++.
44279         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
44280         * stdlib/tst-tls-atexit.c: New test case.
44281         * stdlib/tst-tls-atexit-lib.c: New test case.
44283         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
44285         * elf/Versions (ld): Add _dl_find_dso_for_object.
44286         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
44287         * elf/dl-open.c (_dl_find_dso_for_object): New function.
44288         (dl_open_worker): Use _dl_find_dso_for_object.
44289         * elf/dl-sym.c (do_sym): Likewise.
44290         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
44292 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44294         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
44295         Syntactic changes only.
44296         (_dl_runtime_profile): Do a tail-call to the resolved function.
44298 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
44300         [BZ #13550]
44301         * sysdeps/x86_64/bp-asm.h: Remove file.
44302         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
44303         <bp-sym.h> and <bp-asm.h>.
44304         (__clone): Do not use BP_SYM.
44305         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
44306         <bp-sym.h> and <bp-asm.h>.
44307         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44308         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
44309         "bp-asm.h".
44310         (_setjmp): Do not use BP_SYM.
44311         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
44312         "bp-asm.h".
44313         (setjmp): Do not use BP_SYM.
44314         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
44315         libc_hidden_def.
44316         (mempcpy): Do not use BP_SYM in weak_alias.
44317         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
44318         "bp-asm.h".
44319         (strchr): Do not use BP_SYM.
44320         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
44321         "bp-asm.h".
44322         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
44323         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
44324         (_start): Do not use BP_SYM.
44325         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
44326         "bp-asm.h".
44327         (strcat): Do not use BP_SYM.
44328         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
44329         "bp-asm.h".
44330         (STRCMP): Do not use BP_SYM.
44331         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
44332         "bp-asm.h".
44333         (STRCPY): Do not use BP_SYM.
44334         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
44335         "bp-asm.h".
44336         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
44337         "bp-asm.h".
44338         (FUNCTION): Do not use BP_SYM.
44339         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
44340         weak_alias.
44341         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
44343 2013-02-17  Andreas Jaeger  <aj@suse.de>
44345         * time/Versions: Sort entries.
44346         * string/Versions: Likewise.
44347         * resolv/Versions: Likewise.
44348         * posix/Versions: Likewise.
44349         * iconv/Versions: Likewise.
44350         * elf/Versions: Likewise.
44351         * wcsmbs/Versions: Likewise.
44353 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44355         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
44356         loop termination condition.
44358         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
44359         variable to calculate EZ.
44360         (__sqr): Likewise.
44362         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
44363         the lower precision input.
44365 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
44367         [BZ #13550]
44368         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
44369         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
44370         (run-via-rtld-prefix): Do not handle %-bp tests.
44371         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
44372         (all-object-suffixes): Remove .ob.
44373         (bppfx): Remove variable.
44374         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
44375         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
44376         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
44377         [$(build-bounded) = yes] (libtype.ob): Likewise.
44378         * Makerules (elide-routines.ob): Remove variable.
44379         (do-tests-clean): Do not handle *-bp.out.
44380         (common-mostlyclean): Do not handle *-bp and *-bp.out.
44381         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
44382         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
44383         (tests): Do not include $(tests-bp.out).
44384         (xtests): Do not include $(xtests-bp.out).
44385         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
44386         [$(build-bounded) = yes] ($(addprefix
44387         $(objpfx),$(binaries-bounded))): Remove rule.
44388         ($(objpfx)%-bp.out): Remove rule.
44389         * config.make.in (build-bounded): Remove variable.
44390         * crypt/Makefile [$(build-bounded) = yes]
44391         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
44392         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
44393         append to variable.
44394         [$(build-bounded) = yes] (install-lib): Likewise.
44395         [$(build-bounded) = yes] (generated): Likewise.
44396         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
44397         Remove rule.
44398         * intl/Makefile [$(build-bounded) = yes]
44399         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
44400         * math/Makefile [$(build-bounded) = yes]
44401         ($(tests:%=$(objpfx)%-bp): Likewise.
44402         * misc/Makefile [$(build-bounded) = yes]
44403         ($(objpfx)tst-tsearch-bp): Likewise.
44404         * nptl/Makeconfig (bounded-thread-library): Remove variable.
44405         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
44406         Remove dependency.
44407         * string/Makefile (o-objects.ob): Remove variable.
44408         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
44409         (CFLAGS-.ob): Remove variable.
44410         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
44411         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
44412         both definitions of variable.
44413         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
44414         (ASFLAGS-.ob): Remove variable.
44416 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
44418         [BZ #13550]
44419         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
44420         Remove __BOUNDED_POINTERS__ from condition.
44421         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
44422         * string/bits/string2.h [!__NO_STRING_INLINES &&
44423         !__BOUNDED_POINTERS__]: Likewise.
44424         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
44425         Likewise.
44426         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
44427         Remove conditional code.
44428         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
44429         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
44430         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
44431         condition.
44433         [BZ #13550]
44434         * csu/libc-start.c: Do not include <bp-sym.h>.
44435         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
44436         * elf/dl-open.c: Do not include <bp-sym.h>.
44437         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
44438         * math/fegetenv.c: Do not include <bp-sym.h>.
44439         (fegetenv): Do not use BP_SYM in versioned symbols.
44440         * nptl/sysdeps/pthread/bits/libc-lockP.h
44441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
44442         <bp-sym.h>.
44443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44444         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
44445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44446         (__pthread_mutex_destroy): Likewise.
44447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44448         (__pthread_mutex_lock): Likewise.
44449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44450         (__pthread_mutex_trylock): Likewise.
44451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44452         (__pthread_mutex_unlock): Likewise.
44453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44454         (__pthread_mutexattr_init): Likewise.
44455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44456         (__pthread_mutexattr_destroy): Likewise.
44457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44458         (__pthread_mutexattr_settype): Likewise.
44459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44460         (__pthread_rwlock_init): Likewise.
44461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44462         (__pthread_rwlock_destroy): Likewise.
44463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44464         (__pthread_rwlock_rdlock): Likewise.
44465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44466         (__pthread_rwlock_tryrdlock): Likewise.
44467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44468         (__pthread_rwlock_wrlock): Likewise.
44469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44470         (__pthread_rwlock_trywrlock): Likewise.
44471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44472         (__pthread_rwlock_unlock): Likewise.
44473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44474         (__pthread_key_create): Likewise.
44475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44476         (__pthread_setspecific): Likewise.
44477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44478         (__pthread_getspecific): Likewise.
44479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
44480         Likewise.
44481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44482         (_pthread_cleanup_push_defer): Likewise.
44483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44484         (_pthread_cleanup_pop_restore): Likewise.
44485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44486         (pthread_setcancelstate): Likewise.
44487         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
44488         <bp-sym.h>.
44489         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
44490         (memchr): Do not use BP_SYM in weak_alias.
44491         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
44492         (fegetenv): Do not use BP_SYM in versioned symbols.
44493         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
44494         (fesetenv): Do not use BP_SYM in versioned symbols.
44495         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
44496         (feupdateenv): Do not use BP_SYM in versioned symbols.
44497         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
44498         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
44499         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
44500         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
44501         (open64): Do not use BP_SYM in weak_alias.
44502         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
44503         (fegetenv): Do not use BP_SYM in versioned symbols.
44504         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
44505         (fesetenv): Do not use BP_SYM in versioned symbols.
44506         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
44507         (feupdateenv): Do not use BP_SYM in versioned symbols.
44508         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
44509         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
44510         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
44511         (feraiseexcept): Do not use BP_SYM in versioned symbols.
44512         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
44513         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
44514         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
44515         <bp-sym.h>.
44516         (__libc_start_main): Do not use BP_SYM.
44518 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
44521         redundant return line.
44522         (norm): Likewise.
44523         (denorm): Likewise.
44524         (dbl_mp): Likewise.
44525         (sub_magnitudes): Likewise.
44526         (__add): Likewise.
44527         (__sub): Likewise.
44528         (__mul): Likewise.
44529         (__inv): Likewise.
44530         (__dvd): Likewise.
44531         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
44532         (norm): Likewise.
44533         (denorm): Likewise.
44534         (dbl_mp): Likewise.
44535         (sub_magnitudes): Likewise.
44536         (__add): Likewise.
44537         (__sub): Likewise.
44538         (__mul): Likewise.
44539         (__inv): Likewise.
44540         (__dvd): Likewise.
44542         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
44543         instead of __mul.
44544         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44545         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
44546         (cc32): Likewise.
44548         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
44549         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
44550         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
44551         of __mul for squares.
44552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
44553         function
44554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
44555         Likewise.
44556         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
44557         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44559 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
44561         [BZ #13550]
44562         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
44563         code.
44564         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
44565         prototype or function definition.  Rename ubp_* variables and
44566         parameters.  Remove argv definitions conditional on
44567         [__BOUNDED_POINTERS__].
44568         * debug/backtrace.c (__backtrace): Do not use __unbounded.
44569         * elf/dl-runtime.c (_dl_fixup): Likewise.
44570         * include/set-hooks.h (RUN_HOOK): Likewise.
44571         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
44572         definition.
44573         * string/strcpy.c (strcpy): Do not use __unbounded.
44574         * sysdeps/generic/frame.h (struct layout): Likewise.
44575         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
44576         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
44577         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
44578         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
44579         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
44580         (__backtrace): Likewise.
44581         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
44582         use __ptrvalue.
44583         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
44584         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44585         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
44586         Likewise.
44587         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
44588         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
44589         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44590         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
44591         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
44592         Do not use __unbounded.
44593         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
44594         Rename __unboundedrlimits parameter to rlimits in prototype.
44595         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
44596         Do not use __unbounded.
44597         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
44598         not use __ptrvalue.
44599         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
44600         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
44601         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
44602         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
44603         __ptrvalue or __unbounded.
44604         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
44605         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
44606         use __unbounded.
44607         (__new_msgctl): Do not use __ptrvalue.
44608         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
44609         __unbounded.
44610         (__libc_msgrcv): Do not use __ptrvalue.
44611         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
44612         startup_info): Do not use __unbounded.
44613         (__libc_start_main): Likewise.  Rename ubp_* variables and
44614         parameters.  Remove argv definitions conditional on
44615         [__BOUNDED_POINTERS__].
44616         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
44617         __ptrvalue.
44618         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
44619         use __unbounded.
44620         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
44621         or __ptrvalue.
44622         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
44623         use __unbounded.
44624         (__new_shmctl): Do not use __ptrvalue.
44625         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
44626         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
44627         Likewise.
44628         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
44629         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
44630         (__libc_sigaction): Likewise.
44631         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
44632         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
44633         Likewise.
44634         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
44636 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
44638         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
44640         * string/mempcpy.c: Implement by calling memcpy.
44642 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44644         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
44646         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
44647         evaluation.
44649         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
44650         values in the mantissa.
44652         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
44653         minimize writes to Z.
44654         (sub_magnitudes): Simplify code a bit.
44656 2013-02-12  Roland McGrath  <roland@hack.frob.com>
44658         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
44659         from the message.  The linker prefixes all warnings with that already.
44661 2013-02-12  Andreas Schwab  <schwab@suse.de>
44663         [BZ #15078]
44664         * posix/regexec.c (extend_buffers): Add parameter min_len.
44665         (check_matching): Pass minimum needed length.
44666         (clean_state_log_if_needed): Likewise.
44667         (get_subexp): Likewise.
44668         * posix/Makefile (tests): Add bug-regex34.
44669         (bug-regex34-ENV): Define.
44670         * posix/bug-regex34.c: New file.
44672         [BZ #11561]
44673         * posix/regcomp.c (parse_bracket_exp): When looking up collating
44674         elements compare against the byte sequence of it, not its name.
44675         * posix/Makefile (tests): Add bug-regex35.
44676         (bug-regex35-ENV): Define.
44677         * posix/bug-regex35.c: New file.
44679 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44681         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
44682         comment.
44683         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
44684         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
44685         (CHECK_EOL): Add undef.
44687 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
44689         * bits/stdlib-bsearch.h: New file.
44690         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
44691         * stdlib/stdlib.h: Likewise.
44693 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44695         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
44696         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
44697         declaration.
44698         * manual/search.texi (Array Search Function): Add missing const in
44699         lfind prototype.
44700         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
44701         declaration to use rlim_t.
44702         (Basic Scheduling Functions): Remove erroneous const from
44703         sched_getparam prototype.  Remove erroneous * from
44704         sched_get_priority_max and sched_get_priority_min prototypes.
44705         (Resource Usage): Fix summary @comment on vtimes to refer to
44706         sys/vtimes.h rather than vtimes.h.
44707         Add missing *s in vtimes prototype.
44708         (Limits on Resources): Fix ulimit prototype to return long int.
44709         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
44710         prototypes to use long int rather than double.
44711         (BSD Random): Fix initstate and setstate to use char *, not void *.
44712         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
44713         prototype to make second argument 'struct aiocb64 *const[]'.
44714         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
44715         (Status of AIO Operations): Remove erroneous const in aio_return and
44716         aio_return64 prototypes.
44717         (Synchronizing I/O): Fix sync prototype to return void.
44718         * manual/startup.texi (Suboptions): Remove an erroneous const in
44719         getsubopt prototype.
44720         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
44721         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
44722         use size_t rather than int.
44723         (Scanning All Users): Likewise for getpwent_r.
44724         (Setting Groups): Add missing const to setgroups prototype.
44725         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
44726         * manual/socket.texi (Host Names): Fix gethostbyaddr and
44727         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
44728         'const void *' rather than 'const char *'.
44729         (Host Address Functions): Likewise for inet_ntop.
44730         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
44731         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
44732         ssize_t for return value.
44733         (Sending Data): Likewise for send, sendto, sendmsg.
44734         (Socket Option Functions): Add a missing const in setsockopt prototype.
44735         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
44736         use wchar_t for the argument.
44737         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
44738         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
44739         take no arguments.
44740         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
44741         double/float/long double for second argument.
44742         Fix return types of significand, significandf, significandl.
44743         * manual/filesys.texi (Setting Permissions): Use mode_t for second
44744         argument in fchmod prototype.
44745         (File Owner): Use uid_t and gid_t in fchown prototype.
44746         (File Times): Add const to utimes, futimes, and lutimes prototypes.
44747         (Making Special Files): Use mode_t and dev_t in mknod prototype.
44748         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
44749         use 'const struct dirent **' as argument types to CMP function pointer
44750         argument.
44751         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
44752         (File Times): Fix summary magic @comment for struct utimbuf and utime
44753         to refer to utime.h, not time.h.
44754         * manual/string.texi (Argz Functions): Add missing const in
44755         argz_extract and argz_next prototypes.
44756         (Finding Tokens in a String): Likewise for basename.
44757         (String/Array Comparison): Fix typo in wcscasecmp prototype.
44758         (Copying and Concatenation): Fix typo in wmemmove prototype.
44759         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
44760         (Signal Stack): Remove erroneous const in sigstack prototype.
44761         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
44762         prototype.
44763         (Simple Calendar Time): Likewise for stime.
44764         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
44765         prototype.
44766         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
44767         say sys/sysctl.h instead.
44768         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
44769         and vsyslog prototypes.
44771 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44773         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
44774         Remove.
44776 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44778         * misc/sys/mman.h: Fix typo in mremap comment.
44780 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44782         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
44783         the '\0' terminator.
44785 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44787         [BZ #13550]
44788         * debug/segfault.c: Don't include <bp-checks.h>.
44789         * sysdeps/generic/bp-checks.h: Remove file.
44790         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
44791         (__GETDENTS): Don't use CHECK_N.
44792         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
44793         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44794         (__getgroups): Don't use CHECK_N.
44795         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
44796         (setgroups): Don't use CHECK_N.
44797         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
44798         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
44799         (__libc_msgrcv): Don't use CHECK_N.
44800         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
44801         (__libc_msgsnd): Don't use CHECK_N.
44802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
44803         <bp-checks.h>.
44804         (__libc_pread): Don't use CHECK_N.
44805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
44806         include <bp-checks.h>.
44807         (__libc_pread64): Don't use CHECK_N.
44808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
44809         include <bp-checks.h>.
44810         (__libc_pwrite): Don't use CHECK_N.
44811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
44812         include <bp-checks.h>.
44813         (__libc_pwrite64): Don't use CHECK_N.
44814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
44815         <bp-checks.h>.
44816         (__libc_pread): Don't use CHECK_N.
44817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
44818         include <bp-checks.h>.
44819         (__libc_pread64): Don't use CHECK_N.
44820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
44821         include <bp-checks.h>.
44822         (__libc_pwrite): Don't use CHECK_N.
44823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
44824         include <bp-checks.h>.
44825         (__libc_pwrite64): Don't use CHECK_N.
44826         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
44827         (do_pread): Don't use CHECK_N.
44828         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
44829         (do_pread64): Don't use CHECK_N.
44830         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
44831         (do_pwrite): Don't use CHECK_N.
44832         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
44833         (do_pwrite64): Don't use CHECK_N.
44834         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
44835         (__libc_readv): Don't use CHECK_N.
44836         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
44837         (semop): Don't use CHECK_N.
44838         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
44839         <bp-checks.h>.
44840         (semtimedop): Don't use CHECK_N.
44841         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
44842         (__libc_pread): Don't use CHECK_N.
44843         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
44844         <bp-checks.h>.
44845         (__libc_pread64): Don't use CHECK_N.
44846         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
44847         <bp-checks.h>.
44848         (__libc_pwrite): Don't use CHECK_N.
44849         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
44850         <bp-checks.h>.
44851         (__libc_pwrite64): Don't use CHECK_N.
44852         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
44853         <bp-checks.h>.
44854         (__libc_msgrcv): Don't use CHECK_N.
44855         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
44856         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
44857         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
44858         (__libc_writev): Don't use CHECK_N.
44860 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44862         * string/strcpy.c: Removed unused variable.
44864         * Makeconfig (+sysdep-includes): Define with := rather than =.
44865         Use an existing include/ subdir of each sysdeps dir before it.
44867 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44869         * nscd/connection.c (register_traced_file): Comment function.
44870         [HAVE_INOTIFY] (union __inev): Define.
44871         [HAVE_INOTIFY] (inotify_check_files): New function.
44872         [HAVE_INOTIFY] (clear_db_cache): Likewise.
44873         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
44874         clear_db_cache.
44875         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
44877 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44879         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
44880         loaded if not already and that a failure is permanent.
44882 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44884         [BZ #15006]
44885         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
44886         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
44888 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44890         [BZ #13550]
44891         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
44892         (CHECK_1_NULL_OK): Likewise.
44893         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
44894         (__fxstat): Do not use CHECK_1.
44895         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
44896         <bp-checks.h>.
44897         (___fxstat64): Do not use CHECK_1.
44898         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44899         <bp-checks.h>.
44900         (__fxstatat): Do not use CHECK_1.
44901         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44902         <bp-checks.h>.
44903         (__fxstatat64): Do not use CHECK_1.
44904         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
44905         <bp-checks.h>.
44906         (__fxstat): Do not use CHECK_1.
44907         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44908         <bp-checks.h>.
44909         (__fxstatat): Do not use CHECK_1.
44910         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44911         <bp-checks.h>.
44912         (__getresgid): Do not use CHECK_1.
44913         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44914         <bp-checks.h>.
44915         (__getresuid): Do not use CHECK_1.
44916         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
44917         <bp-checks.h>.
44918         (__lxstat): Do not use CHECK_1.
44919         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44920         <bp-checks.h>.
44921         (__old_msgctl): Do not use CHECK_1.
44922         (__new_msgctl): Likewise.
44923         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
44924         <bp-checks.h>.
44925         (__new_setrlimit): Do not use CHECK_1.
44926         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44927         <bp-checks.h>.
44928         (__old_shmctl): Do not use CHECK_1.
44929         (__new_shmctl): Likewise.
44930         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
44931         <bp-checks.h>.
44932         (__xstat): Do not use CHECK_1.
44933         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
44934         (__lxstat): Do not use CHECK_1.
44935         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
44936         <bp-checks.h>.
44937         (___lxstat64): Do not use CHECK_1.
44938         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
44939         (__old_msgctl): Do not use CHECK_1.
44940         (__new_msgctl): Likewise.
44941         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
44942         <bp-checks.h>.
44943         (__gettimeofday): Do not use CHECK_1.
44944         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
44945         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
44946         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
44947         <bp-checks.h>.
44948         (__gettimeofday): Do not use CHECK_1.
44949         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
44950         (__old_shmctl): Do not use CHECK_1_NULL_OK.
44951         (__new_shmctl): Do not use CHECK_1.
44952         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
44953         <bp-checks.h>.
44954         (do_sigtimedwait): Do not use CHECK_1.
44955         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
44956         <bp-checks.h>.
44957         (do_sigwaitinfo): Do not use CHECK_1.
44958         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
44959         <bp-checks.h>.
44960         (msgctl): Do not use CHECK_1.
44961         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
44962         <bp-checks.h>.
44963         (shmctl): Do not use CHECK_1.
44964         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
44965         (ustat): Do not use CHECK_1.
44966         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
44967         <bp-checks.h>.
44968         (__fxstat): Do not use CHECK_1.
44969         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44970         <bp-checks.h>.
44971         (__fxstatat): Do not use CHECK_1.
44972         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
44973         <bp-checks.h>.
44974         (__lxstat): Do not use CHECK_1.
44975         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
44976         <bp-checks.h>.
44977         (__xstat): Do not use CHECK_1.
44978         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
44979         (__xstat): Do not use CHECK_1.
44980         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
44981         (___xstat64): Do not use CHECK_1.
44983         [BZ #13550]
44984         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
44985         definitions.
44986         (CHECK_BOUNDS_HIGH): Likewise.
44987         * string/strcpy.c: Do not include <bp-checks.h>.
44988         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
44990 2013-02-07  Roland McGrath  <roland@hack.frob.com>
44992         * nscd/nscd-client.h (__nscd_drop_map_ref):
44993         Add __attribute__ ((unused)).
44994         * nis/nss-nisplus.h (niserr2nss): Likewise.
44996         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
44997         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
44999         * csu/libc-tls.c (init_static_tls, init_slotinfo):
45000         Remove inline keyword.
45001         * include/rounding-mode.h (round_away): Likewise.
45002         * libio/wfileops.c (adjust_wide_data): Likewise.
45003         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
45004         (__m128i_strloadu_tolower): Likewise.
45005         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
45006         (__m128i_strloadu_tolower): Likewise.
45007         * time/mktime.c (ydhms_diff): Likewise.
45008         * locale/elem-hash.h (elem_hash): Likewise.
45009         * locale/setlocale.c (setdata): Likewise.
45010         * posix/regex_internal.h (re_string_char_size_at): Likewise.
45011         (re_string_wchar_at): Likewise.
45012         (bitset_not, bitset_merge, bitset_mask): Likewise.
45013         [!(__GNUC__ > 3)] (inline): Remove macro.
45014         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
45015         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
45016         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
45017         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
45018         * string/memcmp.c (memcmp_bytes): Likewise.
45019         * locale/programs/locarchive.c (compute_hashval): Likewise.
45020         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
45021         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
45022         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
45023         * nss/getent.c (print_rpc, print_protocols): Likewise.
45024         (print_passwd, print_group, print_aliases): Likewise.
45025         * nis/nss-nisplus.h (niserr2nss): Likewise.
45026         * nscd/connections.c (restart_p): Likewise.
45027         Change return type to bool.
45029 2013-02-05  Roland McGrath  <roland@hack.frob.com>
45031         * Makeconfig (all-Depend-files): Add existing
45032         $(sorted-subdirs:=/Depend) files.
45033         (all-subdirs): Remove nss.
45034         * sysdeps/unix/inet/Subdirs: Add it here instead.
45035         * hesiod/Depend: New file.
45037         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
45038         instead of calling alloca.
45040         * io/lseek.c (__lseek): Rename to __libc_lseek.
45041         Define __lseek as an alias.
45043         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
45045 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
45047         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
45048         else clause and remove check for non-standard endianness.
45050 2013-02-04  David S. Miller  <davem@davemloft.net>
45052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45054 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
45056         [BZ #13550]
45057         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
45058         (__ubp_memchr): Remove prototype.
45059         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
45060         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45061         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
45062         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45063         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
45064         Remove alias.
45065         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
45066         (__ubp_memchr): Likewise.
45067         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
45068         (__ubp_memchr): Likewise.
45069         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
45070         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
45071         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
45072         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
45073         CHECK_STRING.
45074         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45075         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
45076         (__getcwd): Do not use CHECK_STRING.
45077         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45078         <bp-checks.h>.
45079         (__real_chown): Do not use CHECK_STRING.
45080         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
45081         <bp-checks.h>.
45082         (fchownat): Do not use CHECK_STRING.
45083         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
45084         CHECK_STRING.
45085         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45086         <bp-checks.h>.
45087         (__lchown): Do not use CHECK_STRING.
45088         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45089         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45090         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45091         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
45092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45093         include <bp-checks.h>.
45094         (truncate64): Do not use CHECK_STRING.
45095         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45096         <bp-checks.h>.
45097         (__real_chown): Do not use CHECK_STRING.
45098         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45099         <bp-checks.h>.
45100         (__lchown): Do not use CHECK_STRING.
45101         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45102         <bp-checks.h>.
45103         (__chown): Do not use CHECK_STRING.
45104         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
45105         <bp-checks.h>.
45106         (truncate64): Do not use CHECK_STRING.
45107         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
45108         Likewise.
45109         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
45110         (__xmknod): Do not use CHECK_STRING.
45111         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45112         <bp-checks.h>.
45113         (__xmknodat): Do not use CHECK_STRING.
45114         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45115         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
45117 2013-02-04  Andreas Schwab  <schwab@suse.de>
45119         [BZ #14142]
45120         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
45121         * include/netdb.h: Likewise for h_errno.
45122         * elf/tst-stackguard1.c: Include <tls.h>.
45124 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45126         * elf/link.h (struct link_map): Extend the l_addr comment.
45127         * include/link.h (struct link_map): Likewise.
45129 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
45131         [BZ #13550]
45132         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
45133         (BOUNDED_1): Remove macro.
45134         * debug/backtrace.c: Don't include <bp-checks.h>.
45135         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
45136         (__backtrace): Likewise.
45137         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
45138         <bp-checks.h>.
45139         (__backtrace): Don't use BOUNDED_1.
45140         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
45141         <bp-checks.h>.
45142         (__backtrace): Don't use BOUNDED_1.
45143         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
45144         (__backtrace): Don't use BOUNDED_1.
45145         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
45146         (shmat): Don't use BOUNDED_N.
45148 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
45150         [BZ #13550]
45151         * sysdeps/generic/bp-start.h: Remove file.
45152         * csu/libc-start.c: Don't include <bp-start.h>.
45153         (LIBC_START_MAIN): Set up __environ directly instead of using
45154         INIT_ARGV_and_ENVIRON.
45155         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
45156         <bp-start.h>.
45158         [BZ #13550]
45159         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
45160         definitions.
45161         (CHECK_FCNTL): Likewise.
45162         (CHECK_N_PAGES): Likewise.
45164         [BZ #13550]
45165         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
45166         definitions.
45167         (CHECK_SIGSET_NULL_OK): Likewise.
45168         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
45169         <bp-checks.h>.
45170         (sigpending): Don't use CHECK_SIGSET.
45171         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
45172         <bp-checks.h>.
45173         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45174         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
45175         <bp-checks.h>.
45176         (do_sigsuspend): Don't use CHECK_SIGSET.
45177         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
45178         use CHECK_SIGSET.
45179         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
45180         (do_sigwait): Don't use CHECK_SIGSET.
45181         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
45182         use CHECK_SIGSET.
45183         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
45184         include <bp-checks.h>.
45185         (sigpending): Don't use CHECK_SIGSET.
45186         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
45187         include <bp-checks.h>.
45188         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45189         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
45190         <bp-checks.h>.
45191         (sigpending): Don't use CHECK_SIGSET.
45192         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
45193         <bp-checks.h>.
45194         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45196         [BZ #13550]
45197         * sysdeps/generic/bp-semctl.h: Remove file.
45198         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
45199         <bp-checks.h> and <bp-semctl.h>.
45200         (__old_semctl): Don't use CHECK_SEMCTL.
45201         (__new_semctl): Likewise.
45202         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
45203         and <bp-semctl.h>.
45204         (__old_semctl): Don't use CHECK_SEMCTL.
45205         (__new_semctl): Likewise.
45206         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
45207         <bp-checks.h> and <bp-semctl.h>.
45208         (__old_semctl): Don't use CHECK_SEMCTL.
45209         (__new_semctl): Likewise.
45210         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
45211         <bp-checks.h> and <bp-semctl.h>.
45212         (semctl): Don't use CHECK_SEMCTL.
45214         [BZ #13550]
45215         * Makerules (elide-bp-thunks): Remove variable.
45216         (elide-routines.oS): Don't use $(elide-bp-thunks).
45217         (elide-routines.os): Likewise.
45218         (elide-routines.o): Likewise.
45219         (elide-routines.op): Likewise.
45220         (elide-routines.og): Likewise.
45221         (objects): Don't use $(bp-thunks).
45222         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
45223         include.
45224         (common-generated): Do not add s-proto-bp.d.
45225         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
45226         (int): Likewise.
45227         (typ): Likewise.
45228         Do not generate makefile rules for bounded-pointer thunks.
45229         * sysdeps/generic/bp-thunks.h: Remove file.
45230         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
45231         * sysdeps/unix/s-proto-bp.S: Likewise.
45233         [BZ #15062]
45234         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
45235         parts of result separately when argument is not close to line from
45236         -i to i and one part of argument is small.
45237         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45238         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45239         * math/libm-test.inc (cacos_test): Add more tests.
45240         (casin_test): Likewise.
45241         (casinh_test): Likewise.
45242         * sysdeps/i386/fpu/libm-test-ulps: Update.
45243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45245 2013-01-31  David S. Miller  <davem@davemloft.net>
45247         * po/de.po: Update from translation team.
45249 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
45251         * time/tzfile.c: Include stdint.h for SIZE_MAX.
45253 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
45255         * configure.in (_AC_PROG_CC_C89): New definition.
45256         * configure: Regenerate.
45258         * configure.in (AC_PROG_CPP): New definition.
45259         * configure: Regenerate.
45261 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45263         * debug/tst-backtrace.h: New file.
45264         * debug/tst-backtrace2.c: Include tst-backtrace.h.
45265         (ret): Remove variable.
45266         (x): Likewise.
45267         (FAIL): Remove macro.
45268         (NO_INLINE): Likewise.
45269         (fn1): Use match function instead of strstr.
45270         * debug/tst-backtrace3.c: Include tst-backtrace.h.
45271         (ret): Remove variable.
45272         (x): Likewise.
45273         (FAIL): Remove macro.
45274         (NO_INLINE): Likewise.
45275         (fn): Use match function instead of strstr.
45276         * debug/tst-backtrace4.c: Include tst-backtrace.h.
45277         (ret): Remove variable.
45278         (x): Likewise.
45279         (FAIL): Remove macro.
45280         (NO_INLINE): Likewise.
45281         (handle_signal): Use match function instead of strstr.
45282         * debug/tst-backtrace5.c: Include tst-backtrace.h.
45283         (ret): Remove variable.
45284         (x): Likewise.
45285         (FAIL): Remove macro.
45286         (NO_INLINE): Likewise.
45287         (handle_signal): Use match function instead of strstr.
45289 2013-01-23  Roland McGrath  <roland@hack.frob.com>
45291         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
45293 2013-01-23  David S. Miller  <davem@davemloft.net>
45295         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
45296         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
45297         argument of CAS if possible.
45298         * sysdeps/sparc/sparc64/bits/atomic.h
45299         (__arch_compare_and_exchange_val_32_acq): Likewise.
45300         (__arch_compare_and_exchange_val_64_acq): Likewise.
45302 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
45304         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
45305         * sysdeps/posix/ulimit.c: ... this.
45306         Include <limits.h>.
45307         * sysdeps/unix/bsd/ulimit.c: Remove file.
45309 2013-01-23  Adam Conrad  <adconrad@0c3.net>
45311         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
45312         (LDFLAGS-tst-array5): Likewise.
45314 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45316         [BZ #15036]
45317         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
45318         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
45319         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
45320         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
45322 2013-01-21  David S. Miller  <davem@davemloft.net>
45324         * sysdeps/sparc/backtrace.c: New file.
45325         * sysdeps/sparc/sparc32/backtrace.h: New file.
45326         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
45327         * sysdeps/sparc/sparc64/backtrace.h: New file.
45328         * sysdeps/sparc/sparc64/backtrace.c: Delete.
45329         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
45330         -funwind-tables.
45332 2013-01-21  Andreas Schwab  <schwab@suse.de>
45334         [BZ #15020]
45335         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
45336         closed its stdout.
45338 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
45340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
45341         "mpa2.h".
45342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45344 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
45345             Mark Mitchell  <mark@codesourcery.com>
45346             Tom de Vries  <tom@codesourcery.com>
45347             Paul Pluzhnikov  <ppluzhnikov@google.com>
45349         * debug/tst-backtrace2.c: New file.
45350         * debug/tst-backtrace3.c: Likewise.
45351         * debug/tst-backtrace4.c: Likewise.
45352         * debug/tst-backtrace5.c: Likewise.
45353         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
45354         (CFLAGS-tst-backtrace3.c): Likewise.
45355         (CFLAGS-tst-backtrace4.c): Likewise.
45356         (CFLAGS-tst-backtrace5.c): Likewise.
45357         (LDFLAGS-tst-backtrace2): Likewise.
45358         (LDFLAGS-tst-backtrace3): Likewise.
45359         (LDFLAGS-tst-backtrace4): Likewise.
45360         (LDFLAGS-tst-backtrace5): Likewise.
45361         (tests): Add new tests tst-backtrace2, tst-backtrace3,
45362         tst-backtrace4 and tst-backtrace5.
45364 2013-01-18  Anton Blanchard  <anton@samba.org>
45365             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45367         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
45368         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
45369         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
45370         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
45371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45372         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
45373         "+r" and remove output regs list as redundant.  Add explicit inline
45374         asm to specify register of return val to work around compiler codegen
45375         bug.  Remove (int) cast on return value.  Add return type parameter to
45376         use in macro so that this macro does not truncate return value for
45377         64-bit values.
45378         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
45379         pass to INTERNAL_VSYSCALL_NCS.
45380         (INLINE_VSYSCALL): Add 'long int' as return type to
45381         INTERNAL_VSYSCALL_NCS macro invocation.
45382         (INTERNAL_VSYSCALL): Add 'long int' as return type to
45383         INTERNAL_VSYSCALL_NCS macro invocation.
45384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45386 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45388         [BZ #14496]
45389         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
45390         Fix application of SIMD FP exception mask.
45392         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
45393         mp_no from a power of two.
45394         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
45395         __mpexp_twomm1.  Use __pow_mp.
45397         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
45398         multiplication.
45400 2013-01-17  David S. Miller  <davem@davemloft.net>
45402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45404 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
45406         [BZ #15023]
45407         * include/complex.h: Condition contents on [!_COMPLEX_H].
45408         (__kernel_casinhf): New prototype.
45409         (__kernel_casinh): Likewise.
45410         (__kernel_casinhl): Likewise.
45411         * math/Makefile (libm_calls): Add k_casinh.
45412         * math/k_casinh.c: New file.
45413         * math/k_casinhf.c: Likewise.
45414         * math/k_casinhl.c: Likewise.
45415         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
45416         finite nonzero arguments.
45417         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
45418         finite nonzero arguments.
45419         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
45420         finite nonzero arguments.
45421         * math/s_casinh.c: Do not include <float.h>.
45422         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
45423         * math/s_casinhf.c: Do not include <float.h>.
45424         (__casinhf): Move code for finite nonzero arguments to
45425         k_casinhf.c.
45426         * math/s_casinhl.c: Do not include <float.h>.
45427         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
45428         redefine.
45429         (__casinhl): Move code for finite nonzero arguments to
45430         k_casinhl.c.
45431         * math/libm-test.inc (cacos_test): Add more tests.
45432         * sysdeps/i386/fpu/libm-test-ulps: Update.
45433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45435 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
45437         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
45438         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
45439         [!HAVE_MREMAP]: Remove [defined linux] case.
45440         * malloc/arena.c: Do not include <malloc-sysdep.h>.
45442 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45444         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
45446 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
45448         * elf/elf.h (R_386_SIZE32): New relocation.
45449         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
45450         R_386_SIZE32.
45451         (elf_machine_rela): Likewise.
45452         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45453         R_X86_64_SIZE64 and R_X86_64_SIZE32.
45455 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
45457         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
45458         (FP_FAST_FMA): Do not define.
45459         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
45460         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
45461         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
45462         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
45463         !_SOFT_FLOAT]: Likewise.
45464         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
45465         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
45466         value.
45467         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
45468         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
45469         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
45470         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
45471         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
45472         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
45473         file.
45475 2013-01-16  Andreas Schwab  <schwab@suse.de>
45477         [BZ #14327]
45478         * include/stdlib.h (__mktemp): Add declaration.
45479         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
45480         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
45482 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45484         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
45485         definitions.
45486         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45487         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
45488         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
45489         definitions here.
45490         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
45491         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
45492         definitions.
45493         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
45494         and ONE.
45495         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
45496         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
45497         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
45498         definitions.
45499         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
45500         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
45501         definitions.
45502         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45504         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
45506 2013-01-15  David S. Miller  <davem@davemloft.net>
45508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45509         trunc{,f} to libm-sysdep_routes.
45510         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
45512         file.
45513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
45514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
45515         file.
45516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
45517         file.
45518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
45519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
45520         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
45521         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
45522         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
45523         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
45524         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
45525         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
45527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45528         nearbyint{,f} to libm-sysdep_routes.
45529         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
45531         New file.
45532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
45533         file.
45534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
45535         New file.
45536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
45537         file.
45538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
45539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
45540         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
45541         file.
45542         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
45543         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
45544         file.
45545         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
45546         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
45547         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
45549         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45550         libc_feholdexcept and libc_fesetenv.
45552 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
45554         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
45556 2013-01-14  David S. Miller  <davem@davemloft.net>
45558         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
45559         (SPARC_ASM_VIS2_IFUNC): Likewise.
45560         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
45561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
45562         use of 'siam' instruction.
45563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
45564         Likewise.
45565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
45566         Likewise.
45567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
45568         Likewise.
45569         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
45570         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
45571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
45572         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
45573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
45574         file.
45575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
45576         file.
45577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
45578         file.
45579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
45580         file.
45581         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
45582         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
45583         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
45584         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
45585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
45586         new VIS2 routines.
45587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45590         Likewise.
45591         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45592         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
45596         routines to libm-sysdep_routines.
45597         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45600         fdim/fdimf to libm-sysdep_routines.
45601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
45602         file.
45603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
45604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
45605         file.
45606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
45607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
45608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
45609         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
45610         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
45611         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
45612         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
45614 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45616         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
45617         to optimize copies.
45619         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
45620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45621         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
45624         local variable MPTWO.
45625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45626         Likewise.
45628 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
45630         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
45631         GLOB_NOESCAPE.
45633 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
45635         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
45637 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
45639         * manual/pattern.texi (glob_t): Document gl_flags.
45640         (glob64_t): Likewise.
45642 2013-01-11  David S. Miller  <davem@davemloft.net>
45644         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
45645         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
45646         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
45647         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
45648         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
45649         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
45650         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
45651         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
45652         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
45653         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
45654         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
45655         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
45656         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
45658         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
45659         sparc V9 rather than using V8 code.
45660         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45661         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45663         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45664         Move to...
45665         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
45666         Here.
45668 2013-01-11  Roland McGrath  <roland@hack.frob.com>
45670         [BZ #14941]
45671         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
45672         not in the main loop.
45673         * configure: Regenerated.
45675 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
45677         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
45678         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
45679         to just #else.
45680         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
45681         [!__GLIBC_HAVE_LONG_LONG] case.
45682         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
45683         condition to just #else.
45684         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
45685         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
45686         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
45687         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
45688         unconditional.
45689         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
45690         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45691         #elif condition to just #else.
45692         * sysdeps/unix/sysv/linux/sys/sysmacros.h
45693         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
45694         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45695         #elif condition to just #else.
45697 2013-01-11  Steve Ellcey  <sellcey@mips.com>
45699         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
45700         (EF_MIPS_ARCH_64): Fix value.
45701         (EF_MIPS_ARCH_32R2): New.
45702         (EF_MIPS_ARCH_64R2): New.
45704 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
45706         * Makeconfig (+link-pie-before-libc): New.
45707         (+link-pie-after-libc): Likewise.
45708         (+link-pie-tests): Likewise.
45709         (+link-pie): Rewritten.
45710         (link-before-libc): Remove $(config-LDFLAGS).
45711         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
45712         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
45713         (config-LDFLAGS): Renamed to ...
45714         (rtld-LDFLAGS): This.
45715         (rtld-tests-LDFLAGS): New macro.
45716         (link-libc-rpath-link): Likewise.
45717         (link-libc-tests-rpath-link): Likewise.
45718         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
45719         (link-libc): Prepand $(link-libc-rpath-link).
45720         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
45721         (test-program-prefix): New macro.
45722         (test-via-rtld-prefix): Likewise.
45723         (test-program-cmd): Likewise.
45724         (host-test-program-cmd): Likewise.
45725         * Makefile ($(common-objpfx)testrun.sh): Replace
45726         $(run-program-prefix) with $(test-program-prefix).
45727         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
45728         $(rtld-LDFLAGS).
45729         ($(common-objpfx)shlib.lds): Likewise.
45730         (build-module-helper): Likewise.
45731         ($(common-objpfx)format.lds): Likewise.
45732         * Rules (binaries-pie-tests): New.
45733         (binaries-pie-notests): Likewise.
45734         (binaries-pie): Rewritten.
45735         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
45736         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
45737         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
45738         (make-test-out): Replace $(host-built-program-cmd) with
45739         $(host-test-program-cmd).
45740         * config.make.in (build-hardcoded-path-in-tests): New variable.
45741         * configure.in (--enable-hardcoded-path-in-tests): New configure
45742         option.
45743         (hardcoded_path_in_tests): New AC_SUBST.
45744         * configure: Regenerated.
45745         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
45746         $(built-program-cmd) with $(test-program-cmd).
45747         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
45748         (test_program_cmd): This.
45749         * elf/Makefile ($(objpfx)order.out): Run test with
45750         $(test-program-prefix).
45751         ($(objpfx)order2.out): Likewise.
45752         ($(objpfx)tst-initorder.out): Likewise.
45753         ($(objpfx)tst-initorder2.out): Likewise.
45754         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
45755         $(test-program-cmd).
45756         ($(objpfx)tst-array1-static.out): Likewise.
45757         ($(objpfx)tst-array2.out): Likewise.
45758         ($(objpfx)tst-array3.out): Likewise.
45759         ($(objpfx)tst-array4.out): Likewise.
45760         ($(objpfx)tst-array5.out): Likewise.
45761         ($(objpfx)tst-array5-static.out): Likewise.
45762         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
45763         $(test-program-cmd).
45764         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
45765         $(run-program-prefix) with $(test-program-prefix).
45766         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
45767         (test_program_prefix): This.
45768         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
45769         $(run-program-prefix) with $(test-program-prefix).
45770         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
45771         (test_program_prefix): This.
45772         * iconvdata/tst-tables.sh: Likewise.
45773         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
45774         $(run-program-prefix) with $(test-program-prefix).
45775         ($(objpfx)tst-translit.out): Likewise.
45776         ($(objpfx)tst-gettext2.out): Likewise.
45777         ($(objpfx)tst-gettext4.out): Likewise.
45778         ($(objpfx)tst-gettext6.out): Likewise.
45779         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
45780         (test_program_prefix): This.
45781         * intl/tst-gettext2.sh: Likewise.
45782         * intl/tst-gettext4.sh  Likewise.
45783         * intl/tst-gettext6.sh: Likewise.
45784         * intl/tst-translit.sh: Likewise.
45785         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
45786         with $(test-program-cmd).
45787         * libio/Makefile ($(objpfx)test-freopen.out): Replace
45788         $(run-program-prefix) with $(test-program-prefix).
45789         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
45790         (test_program_prefix): This.
45791         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
45792         $(run-program-prefix) with $(test-program-prefix).
45793         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
45794         (test_program_prefix): This.
45795         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
45796         * posix/Makefile ($(objpfx)globtest.out): Replace
45797         $(run-via-rtld-prefix) and $(test-wrapper) with
45798         $(test-program-prefix) and $(test-via-rtld-prefix).
45799         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
45800         $(test-program-prefix).
45801         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
45802         $(host-test-program-cmd).
45803         (tst-spawn-ARGS): Likewise.
45804         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
45805         $(test-program-prefix).
45806         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
45807         (test_via_rtld_prefix): This.
45808         (test_wrapper): Renamed to ...
45809         (test_program_prefix): This.
45810         (run_program_prefix): Replaced by test_program_prefix.
45811         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
45812         (test_program_prefix): This.
45813         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
45814         with $(host-test-program-cmd).
45815         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
45816         $(run-program-prefix) with $(test-program-prefix).
45817         ($(objpfx)tst-printf.out): Likewise.
45818         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
45819         $(test-program-cmd).
45820         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
45821         (test_program_prefix): This.
45822         * stdio-common/tst-unbputc.sh: Likewise.
45823         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
45824         $(run-program-prefix) with $(test-program-prefix).
45825         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
45826         (test_program_prefix): This.
45827         * string/Makefile ($(objpfx)tst-svc.out):  Replace
45828         $(built-program-cmd) with $(test-program-cmd).
45830 2013-01-11  Andreas Jaeger  <aj@suse.de>
45832         [BZ #15003]
45833         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
45834         value. Sync with Linux 3.7.
45836 2013-01-10  David S. Miller  <davem@davemloft.net>
45838         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
45839         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45840         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45842 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45844         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
45845         never set.
45846         * configure: Regenerated.
45848 2013-01-10  David S. Miller  <davem@davemloft.net>
45850         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
45851         sparc V9 rather than using V8 code.
45852         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45853         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45855 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45857         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
45858         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
45859         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
45860         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
45861         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
45862         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
45863         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
45864         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
45865         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
45866         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
45867         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
45868         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
45869         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
45870         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
45871         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
45872         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
45873         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
45874         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
45875         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
45876         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
45877         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
45878         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
45879         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
45880         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
45881         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
45882         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
45883         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
45885 2013-01-10  David S. Miller  <davem@davemloft.net>
45887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45889 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45891         * posix/Makefile (tests-static): New variable.
45892         (tests): Add $(tests-static).
45893         (tst-exec-static-ARGS): New variable.
45894         (tst-spawn-static-ARGS): Likewise.
45895         * posix/tst-exec-static.c: New file.
45896         * posix/tst-spawn-static.c: Likewise.
45897         * posix/tst-exec.c: Support run directly.
45898         * posix/tst-spawn.c: Likewise.
45900 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
45902         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
45903         long.
45904         * math/bits/mathcalls.h (llrint): Likewise.
45905         (llround): Likewise.
45906         * stdlib/stdlib.h (struct drand48_data): Likewise.
45907         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
45908         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
45909         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
45910         Likewise.
45911         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
45912         Likewise.
45913         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
45914         (elf_greg_t): Likewise.
45915         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
45916         (__jmp_buf): Likewise.
45917         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
45918         definitions.
45919         (llrint): Likewise, for all definitions.
45920         (llrintl): Likewise.
45922         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
45923         Remove [__GNUC__] condition.
45924         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
45925         condition to just [__USE_ISOC99].
45926         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
45928 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45930         [BZ #14200]
45931         * sysdeps/unix/sysv/linux/x86/bits/environments.h
45932         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
45933         defined.
45934         (_POSIX_V6_ILP32_OFF32): Likewise.
45935         (_XBS5_ILP32_OFF32): Likewise.
45936         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
45937         (__ILP32_OFFBIG_LDFLAGS): Likewise.
45939 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45941         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
45943         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
45944         doubles __mpexp_twomm1.  Adjust usage.
45945         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
45946         Remove.
45948 2013-01-10  Andreas Schwab  <schwab@suse.de>
45950         [BZ #14964]
45951         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
45952         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
45954 2013-01-09  David S. Miller  <davem@davemloft.net>
45956         [BZ #15003]
45957         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
45958         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
45959         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
45960         (TCP_FASTOPEN): Define.
45961         (tcp_repair_opt): New structure.
45962         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
45963         enum values.
45964         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
45965         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
45966         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
45967         (tcp_cookie_transactions): New structure.
45969 2013-01-09  Anton Blanchard  <anton@samba.org>
45971         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
45972         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
45973         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
45974         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
45976 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
45978         * include/features.h (__USE_ANSI): Remove.
45980 2013-01-09  Roland McGrath  <roland@hack.frob.com>
45982         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
45984         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
45986 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45988         * sysdeps/s390/fpu/libm-test-ulps: Update.
45990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45992         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
45993         (__acr): Likewise.
45994         (__cpy): Likewise.
45995         (norm): Likewise.
45996         (denorm): Likewise.
45997         (__mp_dbl): Likewise.
45998         (__dbl_mp): Likewise.
45999         (add_magnitudes): Likewise.
46000         (sub_magnitudes): Likewise.
46001         (__add): Likewise.
46002         (__sub): Likewise.
46003         (__mul): Likewise.
46004         (__inv): Likewise.
46005         (__dvd): Likewise.
46006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
46007         (__acr): Likewise.
46008         (__cpy): Likewise.
46009         (norm): Likewise.
46010         (denorm): Likewise.
46011         (__mp_dbl): Likewise.
46012         (__dbl_mp): Likewise.
46013         (add_magnitudes): Likewise.
46014         (sub_magnitudes): Likewise.
46015         (__add): Likewise.
46016         (__sub): Likewise.
46017         (__mul): Likewise.
46018         (__inv): Likewise.
46019         (__dvd): Likewise.
46020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46021         (__acr): Likewise.
46022         (__cpy): Likewise.
46023         (norm): Likewise.
46024         (denorm): Likewise.
46025         (__mp_dbl): Likewise.
46026         (__dbl_mp): Likewise.
46027         (add_magnitudes): Likewise.
46028         (sub_magnitudes): Likewise.
46029         (__add): Likewise.
46030         (__sub): Likewise.
46031         (__mul): Likewise.
46032         (__inv): Likewise.
46033         (__dvd): Likewise.
46035 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
46037         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
46038         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
46039         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
46040         2 && __USE_EXTERN_INLINES]: Likewise.
46042 2013-01-08  Andreas Jaeger  <aj@suse.de>
46044         [BZ# 14985]
46045         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
46046         Remove.
46047         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46048         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46050 2013-01-07  Anton Blanchard  <anton@samba.org>
46052         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
46053         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46054         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
46055         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46056         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46057         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46058         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
46059         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46061         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46062         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46063         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46064         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46065         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46066         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46067         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46068         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46069         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46070         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46071         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46072         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46073         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
46074         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46075         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46076         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
46077         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46078         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46079         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46080         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
46081         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46082         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46084         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46085         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46086         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46087         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46088         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46089         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46090         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
46091         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46092         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
46093         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46094         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46096 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
46098         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
46099         (__MALLOC_PMT): Likewise.
46100         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
46101         [__GNUC__], only on [_LIBC].
46102         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46103         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
46104         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46105         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
46106         forward declaration.
46107         (realloc_hook_ini): Likewise.
46108         (memalign_hook_ini): Likewise.
46109         (__libc_memalign): Do not use __MALLOC_PMT in variable
46110         declaration.
46111         (__libc_valloc): Likewise.
46112         (__libc_pvalloc): Likewise.
46113         (__libc_calloc): Likewise.
46114         (__posix_memalign): Likewise.
46116         [BZ #14996]
46117         * math/s_casinh.c: Include <float.h>.
46118         (__casinh): Do not do computation with squaring and square root
46119         for large arguments.
46120         * math/s_casinhf.c: Include <float.h>.
46121         (__casinhf): Do not do computation with squaring and square root
46122         for large arguments.
46123         * math/s_casinhl.c: Include <float.h>.
46124         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
46125         (__casinhl): Do not do computation with squaring and square root
46126         for large arguments.
46127         * math/libm-test.inc (casin_test): Add more tests.
46128         (casinh_test): Likewise.
46129         * sysdeps/i386/fpu/libm-test-ulps: Update.
46130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46132 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
46134         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
46135         (__x86_64_raw_data_cache_size): Likewise.
46136         (__x86_64_data_cache_size_half): Likewise.
46137         (__x86_64_raw_data_cache_size_half): Likewise.
46138         (__x86_64_shared_cache_size): Likewise.
46139         (__x86_64_raw_shared_cache_size): Likewise.
46140         (__x86_64_shared_cache_size_half): Likewise.
46141         (__x86_64_raw_shared_cache_size_half): Likewise.
46142         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
46143         to ...
46144         (__x86_data_cache_size): This.
46145         (__x86_64_raw_data_cache_size): Renamed to ...
46146         (__x86_raw_data_cache_size): This.
46147         (__x86_64_data_cache_size_half): Renamed to ...
46148         (__x86_data_cache_size_half): This.
46149         (__x86_64_raw_data_cache_size_half): Renamed to ...
46150         (__x86_raw_data_cache_size_half): This.
46151         (__x86_64_shared_cache_size): Renamed to ...
46152         (__x86_shared_cache_size): This.
46153         (__x86_64_raw_shared_cache_size): Renamed to ...
46154         (__x86_raw_shared_cache_size): This.
46155         (__x86_64_shared_cache_size_half): Renamed to ...
46156         (__x86_shared_cache_size_half): This.
46157         (__x86_64_raw_shared_cache_size_half): Renamed to ...
46158         (__x86_raw_shared_cache_size_half): This.
46159         * sysdeps/x86_64/memcpy.S: Updated.
46160         * sysdeps/x86_64/memset.S: Likewise.
46161         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46162         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46163         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46165 2013-01-04  David S. Miller  <davem@davemloft.net>
46167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46169 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
46171         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
46172         1 to avoid redefinition warning.
46173         (__USE_GNU): Don't define.
46174         (init_signaling_nan): Protoize.
46176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46178 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46180         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
46181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
46182         (__cpymn): Likewise.
46183         (norm): Remove commented code.
46184         (denorm): Likewise.
46185         (__mp_dbl): Likewise.
46186         (__inv): Likewise.
46187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
46188         (__cpymn): Likewise.
46189         (norm): Remove commented code.
46190         (denorm): Likewise.
46191         (__mp_dbl): Likewise.
46192         (__inv): Likewise.
46194         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
46195         mp_no value for 1.0 and 2.0.
46196         (norm): Use RADIXI instead of radixi.d.
46197         (denorm): Likewise.
46198         (__mul): Use 0.0 instead of zero.d.
46199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
46200         mp_no value for 1.0 and 2.0.
46201         (norm): Use RADIXI instead of radixi.d.
46202         (denorm): Likewise.
46203         (__mul): Use 0.0 instead of zero.d.
46205 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
46207         [BZ #14994]
46208         * math/s_casinh.c (__casinh): Reduce finite argument to first
46209         quadrant then set signs of results at the end.
46210         * math/s_casinhf.c (__casinhf): Likewise.
46211         * math/s_casinhl.c (__casinhl): Likewise.
46212         * math/libm-test.inc (casin_test): Add more tests.
46213         (casinh_test): Likewise.
46214         * sysdeps/i386/fpu/libm-test-ulps: Update.
46215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46217 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46219         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
46221         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
46223         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
46224         declarations.
46225         (denorm): Likewise.
46226         (__mp_dbl): Likewise.
46227         (__inv): Likewise.
46229         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
46230         and adjust the header comment.
46232         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
46233         variable name from declaration.
46235 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
46237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46238         Initialize COMMON_CPUID_INDEX_7 element.
46239         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
46240         (CPUID_RTM): Likewise.
46241         (HAS_RTM): Likewise.
46242         (COMMON_CPUID_INDEX_7): New enum.
46244 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
46246         [BZ #14981]
46247         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
46248         size is zero, record memory as freed.
46250 2013-01-03  Andreas Jaeger  <aj@suse.de>
46252         * po/ia.po: Add new Interlingua translation.
46254 2012-01-03  Allan McRae  <allan@archlinux.org>
46256         * locale/programs/localedef.c: Fix description of '--posix' flag.
46258 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
46260         * NEWS: Update dates in second copyright notice.
46261         * README: Update copyright dates in example.
46262         * manual/libc.texinfo: Update copyright dates.
46263         * scripts/test-installation.pl: Update copyright date in --version
46264         output.
46266         * hurd/ctty-input.c: Fix copyright notice formatting.
46267         * hurd/ctty-output.c: Likewise.
46268         * hurd/dtable.c: Likewise.
46269         * hurd/hurd-raise.c: Likewise.
46270         * hurd/hurdprio.c: Likewise.
46271         * hurd/msgportdemux.c: Likewise.
46272         * misc/sys/file.h: Likewise.
46273         * misc/sys/ioctl.h: Likewise.
46274         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46275         * sysdeps/mach/hurd/chdir.c: Likewise.
46276         * sysdeps/mach/hurd/fchdir.c: Likewise.
46277         * sysdeps/mach/hurd/rename.c: Likewise.
46278         * sysdeps/mach/hurd/rmdir.c: Likewise.
46279         * sysdeps/mach/hurd/seekdir.c: Likewise.
46280         * sysdeps/mach/hurd/setsid.c: Likewise.
46281         * sysdeps/posix/wait3.c: Likewise.
46283         * All files with FSF copyright notices: Update copyright dates
46284         using scripts/update-copyrights.
46285         * intl/plural.c: Regenerated.
46286         * locale/programs/charmap-kw.h: Likewise.
46287         * locale/programs/locfile-kw.h: Likewise.
46289 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46291         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
46292         four values.
46294         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
46295         calculation loop and add branch prediction.
46297         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
46298         check access beyond bounds of m1np.
46300         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46301         MPTWO.
46302         (__inv): Remove local variable MPTWO to use the global
46303         constant.
46304         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
46305         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46306         variable MPTWO.
46307         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
46308         MP3HALFS static const.
46310 2013-01-01  David S. Miller  <davem@davemloft.net>
46312         * po/ca.po: Update from translation team.
46314 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
46316         * scripts/update-copyrights: New file.
46317         * Makeconfig: Reformat copyright notice.
46318         * ctype/ctype.h: Likewise.
46319         * debug/swprintf_chk.c: Likewise.
46320         * elf/dl-cache.c: Likewise.
46321         * elf/dl-debug.c: Likewise.
46322         * elf/dl-object.c: Likewise.
46323         * grp/initgroups.c: Likewise.
46324         * hurd/Makefile: Likewise.
46325         * hurd/hurd/signal.h: Likewise.
46326         * hurd/hurdfault.c: Likewise.
46327         * hurd/hurdioctl.c: Likewise.
46328         * hurd/hurdlookup.c: Likewise.
46329         * hurd/intr-msg.c: Likewise.
46330         * iconv/gconv_open.c: Likewise.
46331         * libio/swprintf.c: Likewise.
46332         * locale/lc-ctype.c: Likewise.
46333         * locale/nl_langinfo.c: Likewise.
46334         * mach/Machrules: Likewise.
46335         * mach/Makefile: Likewise.
46336         * malloc/obstack.h: Likewise.
46337         * manual/Makefile: Likewise.
46338         * manual/tsort.awk: Likewise.
46339         * misc/bits/stab.def: Likewise.
46340         * nis/nis_print_group_entry.c: Likewise.
46341         * nis/nis_table.c: Likewise.
46342         * nis/nss_compat/compat-pwd.c: Likewise.
46343         * nis/nss_compat/compat-spwd.c: Likewise.
46344         * po/Makefile: Likewise.
46345         * posix/fnmatch.c: Likewise.
46346         * posix/regex.h: Likewise.
46347         * resolv/Makefile: Likewise.
46348         * resolv/nss_dns/dns-network.c: Likewise.
46349         * resolv/res_hconf.c: Likewise.
46350         * scripts/gen-sorted.awk: Likewise.
46351         * soft-fp/soft-fp.h: Likewise.
46352         * stdio-common/printf.h: Likewise.
46353         * stdlib/monetary.h: Likewise.
46354         * stdlib/random.c: Likewise.
46355         * stdlib/random_r.c: Likewise.
46356         * sysdeps/generic/Makefile: Likewise.
46357         * sysdeps/gnu/Makefile: Likewise.
46358         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46360         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46361         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46362         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46363         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46364         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46365         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46366         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46367         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46368         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46369         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46370         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46371         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46372         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
46373         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46374         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46375         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46376         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46377         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46378         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46379         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46380         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46381         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46382         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
46383         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46384         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46385         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
46386         * sysdeps/mach/hurd/errnos.awk: Likewise.
46387         * sysdeps/mach/hurd/fork.c: Likewise.
46388         * sysdeps/mach/hurd/getcwd.c: Likewise.
46389         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
46390         * sysdeps/mach/hurd/mmap.c: Likewise.
46391         * sysdeps/mach/hurd/utimes.c: Likewise.
46392         * sysdeps/mach/hurd/xmknod.c: Likewise.
46393         * sysdeps/posix/profil.c: Likewise.
46394         * sysdeps/posix/readdir_r.c: Likewise.
46395         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46396         * sysdeps/powerpc/bits/setjmp.h: Likewise.
46397         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
46398         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46400         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46401         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46402         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46403         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46404         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46405         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46406         * sysdeps/pthread/lio_listio.c: Likewise.
46407         * sysdeps/sparc/dl-procinfo.h: Likewise.
46408         * sysdeps/unix/i386/sysdep.S: Likewise.
46409         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
46410         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
46411         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
46412         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
46413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46414         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
46415         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
46416         * sysdeps/unix/sysv/linux/speed.c: Likewise.
46417         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
46418         * sysdeps/wordsize-32/divdi3.c: Likewise.
46419         * time/sys/time.h: Likewise.
46420         * wcsmbs/Makefile: Likewise.
46422 2013-01-01  David S. Miller  <davem@davemloft.net>
46424         * po/fr.po: Update from translation team.
46426         * catgets/gencat.c: Update copyright year.
46427         * csu/version.c: Likewise.
46428         * debug/catchsegv.sh: Likewise.
46429         * debug/pcprofiledump.c: Likewise.
46430         * debug/xtrace.sh: Likewise.
46431         * elf/ldconfig.c: Likewise.
46432         * elf/ldd.bash.in: Likewise.
46433         * elf/pldd.c: Likewise.
46434         * elf/sotruss.ksh: Likewise.
46435         * elf/sprof.c: Likewise.
46436         * iconv/iconv_prog.c: Likewise.
46437         * iconv/iconvconfig.c: Likewise.
46438         * locale/programs/locale.c: Likewise.
46439         * locale/programs/localedef.c: Likewise.
46440         * login/programs/pt_chown.c: Likewise.
46441         * malloc/memusage.sh: Likewise.
46442         * malloc/memusagestat.c: Likewise.
46443         * malloc/mtrace.pl: Likewise.
46444         * nscd/nscd.c: Likewise.
46445         * nss/getent.c: Likewise.
46446         * nss/makedb.c: Likewise.
46447         * posix/getconf.c: Likewise.
46449 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46451         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
46452         numbers.
46454 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
46456         * math/bits/mathcalls.h (modf): Use __nonnull.
46458 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46460         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
46461         (split): Use macro CN instead of the bare value.
46462         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
46463         could be used.
46464         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
46465         instead of the bare value.
46466         (power1): Likewise.
46468 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46470         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
46471         __ATAN_TWOM.
46472         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46474         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
46475         their values.
46476         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46477         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46478         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
46479         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46481 2012-12-28  Andreas Jaeger  <aj@suse.de>
46483         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
46484         values are from Linux 3.7.
46486         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
46487         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
46489 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46491         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
46492         TRUE case.
46494         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
46495         (norm): Likewise.
46496         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
46497         variables with preprocessor constants.
46498         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46499         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46500         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46502 2012-12-27  Bruno Haible  <bruno@clisp.org>
46504         [BZ #14317]
46505         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
46506         only if needed.
46508 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46510         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
46511         and use variable directly.
46512         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
46514         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46515         MPONE.
46516         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
46517         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46518         variable MPONE.
46519         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46520         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46521         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
46522         include directive.  Remove local variable MPONE.
46523         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
46524         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
46525         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46527 2012-12-25  David S. Miller  <davem@davemloft.net>
46529         * version.h (RELEASE): Set to "development".
46530         (VERSION): Set to "2.17.90".
46531         * NEWS: Add 2.18 section.
46533 2012-12-21  David S. Miller  <davem@davemloft.net>
46535         * po/hr.po: Update from translation team.
46537 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46539         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
46541 2012-12-19  Steve Ellcey  <sellcey@mips.com>
46543         * NEWS:  Mention new memcpy for MIPS.
46545 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46547         * manual/contrib.texi (Contributors): Spelling correction.
46549 2012-12-15  David S. Miller  <davem@davemloft.net>
46551         * po/ru.po: Update from translation team.
46553 2012-12-13  David S. Miller  <davem@davemloft.net>
46555         * NEWS: Mention IFUNC testsuite enhancements.
46557         * po/pl.po: Update from translation team.
46558         * po/bg.po: Likewise.
46560         * manual/contrib.texi (Contributors): Update entries for Hongjiu
46561         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
46563 2012-12-11  David S. Miller  <davem@davemloft.net>
46565         * po/sv.po: Update from translation team.
46567         * po/vi.po: Update from translation team.
46569         * po/cs.po: Update from translation team.
46571         * po/de.po: Update from translation team.
46572         * po/eo.po: Likewise.
46573         * po/nl.po: Likewise.
46575 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46577         [BZ #14246]
46578         * manual/argp.texi (Argp Helper Functions): Move node to follow
46579         Argp Parsing State.
46581         [BZ #14872]
46582         * manual/conf.texi (Limits on File System Capacity): Mention if
46583         terminating null is included in the max size.
46585 2012-12-10  Andreas Jaeger  <aj@suse.de>
46587         * po/cs.po: Update from translation team.
46589 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46591         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
46592         void pointer and cast to uintptr_t.
46593         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
46594         path.
46595         * sysdeps/s390/s390-64/memcpy.S: Likewise.
46596         * sysdeps/s390/s390-64/memset.S: Likewise.
46598 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
46600         [BZ #14833]
46601         * menual/message.texi (Message Translation): Fix typos.
46602         (Helper programs for gettext): Likewise.
46604 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
46606         [BZ #14898]
46607         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
46608         Change to -1.
46610 2012-12-07  David S. Miller  <davem@davemloft.net>
46612         * po/libc.pot: Update.
46614 2012-12-07  Richard Henderson  <rth@redhat.com>
46616         [BZ #10114]
46617         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
46618         normal/normal case to before the switch.
46619         (_FP_DIV): Likewise.
46621 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
46622             Mike Frysinger  <vapier@gentoo.org>
46624         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
46625         check for __NR_fadvise64_64.
46627 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
46629         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
46630         0, not just to plain "0" as a statement.
46631         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
46632         with cw.
46634 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
46636         * NEWS: Use sourceware.org in Bugzilla URL.
46638 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
46641         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
46643         * stdio-common/tst-put-error.c (do_test): Add newline to the
46644         padded test to ensure flush.
46646 2012-12-05  Jeff Law  <law@redhat.com>
46648         * sunrpc/etc.rpc (fedfs_admin): Add entry.
46650 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
46652         * README: Don't refer to ports add-on as distributed separately.
46653         Mention AArch64 in list of systems supported in the ports add-on.
46655         * LICENSES: Add more non-FSF copyright and license notices.
46657         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
46658         ((unused)).
46660         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
46662         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
46663         10000 as width of padded output.
46665 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46667         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
46669         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
46670         variable LX with __attribute__ ((unused)).
46671         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46672         Likewise.
46673         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46674         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46675         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
46676         with __attribute__ ((unused)).
46678 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
46680         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
46682 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46684         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
46685         (CFLAGS-nldbl-acos.c): New variable.
46686         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
46687         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
46688         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
46689         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
46690         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
46691         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
46692         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
46693         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
46694         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
46695         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
46696         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
46697         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
46698         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
46699         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
46700         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
46701         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
46702         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
46703         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
46704         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
46705         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
46706         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
46707         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
46708         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
46709         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
46710         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
46711         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
46712         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
46713         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
46714         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
46715         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
46716         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
46717         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
46718         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
46719         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
46720         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
46721         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
46722         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
46723         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
46724         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
46725         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
46726         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
46727         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
46728         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
46729         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
46730         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
46731         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
46732         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
46733         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
46734         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
46735         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
46736         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
46737         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
46738         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
46739         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
46740         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
46741         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
46742         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
46743         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
46744         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
46745         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
46746         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
46747         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
46748         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
46749         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
46750         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
46751         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
46752         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
46753         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
46754         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
46755         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
46756         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
46757         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
46758         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
46759         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
46760         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
46761         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
46762         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
46763         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
46764         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
46765         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
46766         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
46767         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
46768         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
46769         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
46770         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
46771         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
46772         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
46773         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
46774         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
46775         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
46776         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
46777         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
46778         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
46779         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
46780         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
46781         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
46782         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
46784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46785         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
46787         [BZ #14914]
46788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
46789         whole low double instead of just low 47 bits when splitting values
46790         into two parts.
46792 2012-12-03  Allan McRae  <allan@archlinux.org>
46794         * manual/stdio.texi (Predefined Printf Handlers): Remove
46795         @hsep and @vsep usage.
46797 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
46799         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
46800         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
46802 2012-12-03  Jeff Law  <law@redhat.com>
46804         * time/sys/time.h (settimeofday): Do not mark TV argument
46805         as __nonnull.
46807 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
46809         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
46810         when currently writing and seek to current position when not.
46811         * libio/Makefile (tests): Remove bug-fclose1.
46812         * libio/bug-fclose1.c: Delete.
46814 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
46816         * manual/arith.texi (feenableexcept): Fix typo.
46817         (fedisableexcept): Likewise.
46819 2012-11-30  Roland McGrath  <roland@hack.frob.com>
46821         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
46822         second, differently-typed declaration, rather than a cast.
46824 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46826         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
46827         * include/rpc/svc.h: ... here.
46829 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
46831         [BZ #13013]
46832         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
46833         depending n and resplen2 to catch cases where answer
46834         equals answerp2.
46836 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
46838         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
46839         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
46841 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
46843         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
46845 2012-11-29  Roland McGrath  <roland@hack.frob.com>
46847         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
46849 2012-11-28  Jeff Law  <law@redhat.com>
46851         [BZ #13761]
46852         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
46853         dataset_temporary.  Track alloca usage into alloca_used.
46854         If dataset is large allocate and release it via malloc/free.
46856 2012-06-04  Florian Weimer  <fweimer@redhat.com>
46858         [BZ #14197]
46859         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
46861 2012-11-28  David S. Miller  <davem@davemloft.net>
46863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46865 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46867         [BZ #14803]
46868         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
46869         of pi/2 rounded to nearest to 64 bits.
46870         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
46871         nearest to 64 bits.
46872         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
46873         bits.
46875 2012-11-28  Jeff Law <law@redhat.com>
46876             Martin Osvald <mosvald@redhat.com>
46878         [BZ #14889]
46879         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
46880         * sunrpc/svc.c: Include time.h.
46881         (__svc_accept_failed): New function.
46882         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
46883         any reason other than EINTR, call __svc_accept_failed.
46884         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
46885         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
46887 2012-11-28  Andreas Schwab  <schwab@suse.de>
46889         * scripts/abilist.awk: Also handle indirect functions in .opd
46890         section.
46892 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46894         [BZ #13881]
46895         * sysdeps/x86/fpu/powl_helper.c: New file.
46896         * sysdeps/x86/fpu/Makefile: Likewise.
46897         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
46898         (p3): New object.
46899         (__ieee754_powl): Use __powl_helper for finite arguments except
46900         integer exponents below 8.
46901         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
46902         (p3): New object.
46903         (__ieee754_powl): Use __powl_helper for finite arguments except
46904         integer exponents below 8.
46905         * math/libm-test.inc (pow_test): Add more tests and enable some
46906         previously disabled tests.
46907         * sysdeps/i386/fpu/libm-test-ulps: Update.
46908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46910 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46911             Carlos O'Donell  <carlos_odonell@mentor.com>
46913         * nss/makedb.c (is_prime): Assert that input is odd and greater
46914         than 4.  Note that fact in a comment too.
46915         (next_prime): Add 4 to input.
46917 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46919         [BZ #11741]
46920         * libio/Makefile (tests): Add test case tst-fwrite-error.
46921         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
46922         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
46923         * libio/tst-fwrite-error.c: New test case.
46925 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
46927         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
46928         before casting to void *.
46929         * include/libc-internal.h (__pointer_type): New macro.
46930         (__integer_if_pointer_type_sub): Likewise.
46931         (__integer_if_pointer_type): Likewise.
46932         (cast_to_integer): Likewise.
46933         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
46934         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
46935         before casting to atomic64_t.
46936         (atomic_exchange_acq): Likewise.
46937         (__arch_exchange_and_add_body): Likewise.
46938         (__arch_add_body): Likewise.
46939         (atomic_add_negative): Likewise.
46940         (atomic_add_zero): Likewise.
46942 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
46944         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
46945         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
46946         (add_fdes): Likewise.
46947         (linear_search_fdes): Likewise.
46948         (binary_search_unencoded_fdes): Likewise.
46950 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
46952         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
46954 2012-11-24  Adam Conrad  <adconrad@0c3.net>
46956         * configure.in: Autodetect C++ header directories.
46957         * configure: Regenerated.
46959 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
46961         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
46963 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
46965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46967 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
46969         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
46970         LDBL_MANT_DIG == 106]: Disable some tests.
46971         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46972         Likewise.
46973         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46974         Likewise.
46976         [BZ #14871]
46977         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
46978         input for small inputs.  Return +/- pi/2 for large inputs.
46979         * math/libm-test.inc (atan_test): Add more tests.
46981         * sysdeps/generic/unwind-dw2-fde-glibc.c
46982         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
46983         __attribute__ ((unused)).
46985         [BZ #14645]
46986         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
46987         x * y if x and y are nonzero and z is zero.
46989         [BZ #14811]
46990         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
46991         nonzero exponents with absolute value below 0x1p-117 to +/-
46992         0x1p-117.
46994         [BZ #14869]
46995         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
46996         up arguments below 2**-450, not just those below 2**-500.
46997         * math/libm-test.inc (hypot_test): Add another test.
46999         [BZ #14868]
47000         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
47001         Return a+b for ratio over 2**120, not 2**60.
47002         * math/libm-test.inc (hypot_test): Add another test.
47004         * math/libm-test.inc (clog_test): Use
47005         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
47006         (clog10_test): Likewise.
47008         [BZ #6778]
47009         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
47011 2012-11-22  Andreas Schwab  <schwab@suse.de>
47013         * sysdeps/i386/fpu/libm-test-ulps: Update.
47015 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
47017         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
47018         printf output with newline.
47020 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
47022         [BZ #14865]
47023         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
47024         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
47025         -z nodlopen, -z initfirst and -z execstack support.
47026         * configure: Regenerated.
47028         * elf/elf.h (DF_1_NODIRECT): New macro.
47029         (DF_1_IGNMULDEF): Likewise.
47030         (DF_1_NOKSYMS): Likewise.
47031         (DF_1_NOHDR): Likewise.
47032         (DF_1_EDITED): Likewise.
47033         (DF_1_NORELOC): Likewise.
47034         (DF_1_SYMINTPOSE): Likewise.
47035         (DF_1_GLOBAUDIT): Likewise.
47036         (DF_1_SINGLETON): Likewise.
47037         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
47038         DT_1_SUPPORTED_MASK bits.
47039         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
47041 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
47043         * sysdeps/unix/make-syscalls.sh: Document prefixes.
47045 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
47047         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
47048         macro.
47050         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
47051         (sendmmsg): Move declarations...
47052         * socket/sys/socket.h: ... here.
47053         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
47054         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
47055         include it from...
47056         * socket/recvmmsg.c: ... this new file.
47057         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
47058         (sendmmsg): Rename to __sendmmsg, create weak alias and make
47059         definition of __sendmmsg hidden.
47060         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
47061         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
47062         Move ENOSYS stub into and include it from...
47063         * socket/sendmmsg.c: ... this new file.
47064         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
47065         (sysdep_routines): Move recvmmsg and sendmmsg...
47066         * socket/Makefile (routines): ... here.
47067         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
47068         (GLIBC_PRIVATE): Add __sendmmsg.
47069         * include/sys/socket.h (__sendmmsg): Add declarations.
47070         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
47071         sendmmsg.
47073 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
47075         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
47076         variable I1 with __attribute__ ((unused)).
47077         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47079 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47081         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
47082         DUMMY variables with __attribute__ ((unused)).
47084         * bits/byteswap.h: Include <bits/types.h>.
47085         (__bswap_64): Use __uint64_t instead of unsigned long long int.
47087 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47089         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
47090         string_t.  Do not manually set errno.
47091         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
47092         length with __strnlen.  Make sure to both set errno and return it on
47093         failure.
47095 2012-11-19  David S. Miller  <davem@davemloft.net>
47097         With help from Joseph Myers.
47098         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
47099         very large arguments properly.
47100         * math/libm-test.inc (atan_test): New tests.
47101         (atan2_test): New tests.
47102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47103         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47105 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47107         [BZ #14856]
47108         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
47109         Define to 3.
47111         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
47112         [POSIX] (EADDRNOTAVAIL): Likewise.
47113         [POSIX] (EAFNOSUPPORT): Likewise.
47114         [POSIX] (EALREADY): Likewise.
47115         [POSIX] (ECONNABORTED): Likewise.
47116         [POSIX] (ECONNREFUSED): Likewise.
47117         [POSIX] (ECONNRESET): Likewise.
47118         [POSIX] (EDESTADDRREQ): Likewise.
47119         [POSIX] (EDQUOT): Likewise.
47120         [POSIX] (EHOSTUNREACH): Likewise.
47121         [POSIX] (EIDRM): Likewise.
47122         [POSIX] (EISCONN): Likewise.
47123         [POSIX] (ELOOP): Likewise.
47124         [POSIX] (EMULTIHOP): Likewise.
47125         [POSIX] (ENETDOWN): Likewise.
47126         [POSIX] (ENETUNREACH): Likewise.
47127         [POSIX] (ENOBUFS): Likewise.
47128         [POSIX] (ENODATA): Likewise.
47129         [POSIX] (ENOLINK): Likewise.
47130         [POSIX] (ENOMSG): Likewise.
47131         [POSIX] (ENOPROTOOPT): Likewise.
47132         [POSIX] (ENOSR): Likewise.
47133         [POSIX] (ENOSTR): Likewise.
47134         [POSIX] (ENOTCONN): Likewise.
47135         [POSIX] (ENOTSOCK): Likewise.
47136         [POSIX] (EOPNOTSUPP): Likewise.
47137         [POSIX] (EOVERFLOW): Likewise.
47138         [POSIX] (EPROTO): Likewise.
47139         [POSIX] (EPROTONOSUPPORT): Likewise.
47140         [POSIX] (EPROTOTYPE): Likewise.
47141         [POSIX] (ESTALE): Likewise.
47142         [POSIX] (ETIME): Likewise.
47143         [POSIX] (ETXTBSY): Likewise.
47144         [POSIX] (EWOULDBLOCK): Likewise.
47145         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
47146         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
47147         [POSIX] (SEEK_CUR): Likewise.
47148         [POSIX] (SEEK_END): Likewise.
47149         [POSIX || UNIX98] (mode_t): Do not require.
47150         [POSIX] (off_t): Likewise.
47151         [POSIX] (pid_t): Likewise.
47152         [POSIX] (sys/stat.h): Do not allow header.
47153         [POSIX] (unistd.h): Likewise.
47154         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47155         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
47156         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
47157         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
47158         require.
47159         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
47160         sigevent): Specify elements.
47161         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
47162         entry.
47163         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
47164         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
47166         * conform/data/cpio.h-data [POSIX]: Disable whole file.
47167         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
47168         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
47169         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
47170         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
47171         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
47172         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
47173         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
47174         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
47175         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
47176         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
47177         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
47178         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
47179         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
47180         Likewise.
47181         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
47182         Likewise.
47183         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
47184         Likewise.
47185         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
47186         Likewise.
47187         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
47188         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
47189         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
47190         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
47191         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
47192         Specify lower bound on value.
47193         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
47194         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
47195         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
47196         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
47197         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
47198         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
47199         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
47200         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
47201         value.
47202         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
47203         as optional.
47204         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
47205         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
47206         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
47207         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
47208         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
47209         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
47210         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
47211         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
47212         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
47213         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
47214         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
47215         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
47216         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
47217         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
47218         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
47219         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
47220         entry.
47221         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
47222         optional.
47223         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
47224         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
47225         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
47226         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
47227         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
47228         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
47229         Likewise.
47230         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
47231         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
47232         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
47233         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
47234         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
47235         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
47236         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
47237         as optional.
47238         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
47239         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
47240         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
47241         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
47242         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
47243         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
47244         specify as optional.
47245         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
47246         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
47247         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
47248         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
47249         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
47250         [XPG3] (NL_LANGMAX): Likewise.
47251         [POSIX || XPG3] (NL_MSGMAX): Likewise.
47252         [POSIX || XPG3] (NL_NMAX): Likewise.
47253         [POSIX || XPG3] (NL_SETMAX): Likewise.
47254         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
47255         [XPG3] (NZERO): Likewise.
47256         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
47257         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
47258         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
47259         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
47260         (REG_ERANGE): Expect.
47261         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
47262         optional-constant.
47263         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
47264         Use (void) in prototype.
47265         [POSIX] (*_t): Allow.
47266         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
47267         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
47268         (WRDE_BADVAL): Expect.
47270         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
47271         expect.
47272         [XPG3 || XPG4] (O_RSYNC): Likewise.
47273         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
47274         Likewise.
47275         [XPG3 || XPG4] (pthread_sigmask): Likewise.
47276         [XPG3 || XPG4] (sigqueue): Likewise.
47277         [XPG3 || XPG4] (sigtimedwait): Likewise.
47278         [XPG3 || XPG4] (sigwaitinfo): Likewise.
47279         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
47280         [XPG3 || XPG4] (vsnprintf): Likewise.
47281         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
47282         Likewise.
47283         [XPG3 || XPG4] (blksize_t): Likewise.
47284         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
47285         Likewise.
47286         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
47287         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47288         [XPG3 || XPG4] (struct itimerspec): Likewise.
47289         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
47290         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
47291         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
47292         [XPG3 || XPG4] (clockid_t): Likewise.
47293         [XPG3 || XPG4] (timer_t): Likewise.
47294         [XPG3 || XPG4] (clock_getres): Likewise.
47295         [XPG3 || XPG4] (clock_gettime): Likewise.
47296         [XPG3 || XPG4] (clock_settime): Likewise.
47297         [XPG3 || XPG4] (nanosleep): Likewise.
47298         [XPG3 || XPG4] (timer_create): Likewise.
47299         [XPG3 || XPG4] (timer_delete): Likewise.
47300         [XPG3 || XPG4] (timer_gettime): Likewise.
47301         [XPG3 || XPG4] (timer_getoverrun): Likewise.
47302         [XPG3 || XPG4] (timer_settime): Likewise.
47303         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
47304         [XPG3 || XPG4] (getlogin_r): Likewise.
47305         [XPG3 || XPG4] (pread): Likewise.
47306         [XPG3 || XPG4] (pthread_atfork): Likewise.
47307         [XPG3 || XPG4] (pwrite): Likewise.
47309         [BZ #14835]
47310         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
47311         <bits/siginfo.h>.
47313 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47315         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
47316         finalizing MALLSTREAM.
47318         * sysdeps/mach/hurd/syncfs.c: New file.
47320 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47322         [BZ #14719]
47323         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
47324         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
47325         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
47326         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
47327         (_nss_dns_gethostbyname4_r): Likewise.
47328         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
47329         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
47331 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
47333         [BZ #13763]
47334         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
47336 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
47338         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
47339         * elf/cache.c (print_entry): Print ",AArch64" for
47340         FLAG_AARCH64_LIB64
47342         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
47343         * elf/cache.c (print_entry): Print ",hard-float" for
47344         FLAG_ARM_LIBHF.
47346 2012-11-18  David S. Miller  <davem@davemloft.net>
47348         With help from Joseph Myers.
47349         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
47350         cutoff to 2**-13.
47351         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
47352         cutoff to 2**-25.
47353         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
47354         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
47355         small.
47356         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
47357         * math/libm-test.inc (y0_test): New tests.
47358         (y1_test): New tests.
47359         * sysdeps/i386/fpu/libm-test-ulps: Update.
47360         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47363 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
47365         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
47366         64-bit targets.
47367         * configure: Regenerated.
47369 2012-11-17  David S. Miller  <davem@davemloft.net>
47371         [BZ #14811]
47372         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
47373         nonzero exponents with absolute value below 0x1p-128 to +/-
47374         0x1p-128.
47376 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
47378         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
47380         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
47382         * posix/getconf-speclist.c: New file.
47383         * posix/posix-envs.def: Likewise.
47384         * posix/confstr.c (START_ENV_GROUP): New macro.
47385         (END_ENV_GROUP): Likewise.
47386         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
47387         (KNOWN_PRESENT_ENV_STRING): Likewise.
47388         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
47389         (UNKNOWN_ENVIRONMENT): Likewise.
47390         (confstr): Include posix-envs.def instead of handling
47391         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
47392         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
47393         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
47394         (END_ENV_GROUP): Likewise.
47395         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
47396         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
47397         (UNKNOWN_ENVIRONMENT): Likewise.
47398         (__sysconf): Include posix-envs.def instead of handling associated
47399         cases directly here.
47400         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
47401         preprocessing getconf-speclist.c rather than running getconf or
47402         generating empty file.
47404 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
47406         * scripts/check-local-headers.sh: Ignore 'mach' headers.
47408 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
47410         [BZ #14672]
47411         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
47413 2012-11-16  David S. Miller  <davem@davemloft.net>
47415         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
47416         smaller than LDBL_EPSILON/2.0L, just return xm1.
47418 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
47420         * elf/tst-array1.c (init): Set constructor priority to 1000.
47421         (fini): Set destructor priority to 1000.
47422         * elf/tst-array2dep.c: Likewise.
47424 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47426         [BZ #11741]
47427         * libio/fileops.c (_IO_new_file_write): Correctly return error.
47428         (_IO_new_file_xsputn): Also return EOF if none of the input
47429         data was written when overflow failed.
47430         * libio/iopadn.c (_IO_padn): Likewise.
47431         * libio/iowpadn.c (_IO_wpadn): Likewise.
47432         * stdio-common/tst-put-error.c: Add copyright notice.
47433         (do_test): Add case for printing padded string.
47434         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
47435         _IO_padn returned error.
47436         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
47437         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
47438         return EOF.
47440 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47442         * libio/libioP.h: Add comment note that the references to C++
47443         bits are now obsolete.
47445 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47447         * math/libm-test.inc (check_complex): Use asprintf.
47449 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
47451         * debug/pcprofiledump.c (print_version): Update copyright year.
47452         * malloc/memusagestat.c (print_version): Likewise.
47454 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
47456         [BZ #14831]
47457         * elf/Makefile (tests): Add tst-audit8.
47458         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
47459         ($(objpfx)tst-audit8.out): New target.
47460         (tst-audit8-ENV): New variable.
47461         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
47462         audit if l_reloc_result is NULL.
47463         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
47464         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
47465         * elf/tst-audit8.c: New file.
47467 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47469         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
47470         * misc/Makefile (CFLAGS-select.c): Define.
47471         * posix/Makefile (CFLAGS-pause.c): Define.
47473 2012-11-13  David S. Miller  <davem@davemloft.net>
47475         * crypt/Makefile: Move test targets after toplevel Rules
47476         inclusion.  Grab any necessary sysdep routines when linking.
47477         * crypt/md5.c (md5_process_block): Remove define, we will always
47478         name it __md5_process_block.
47479         (md5_finish_ctx): Update md5_process_block call.
47480         (md5_stream): Likewise.
47481         (md5_process_bytes): Likewise.
47482         (md5_process_block): Rename to __md5_process_block and move to ...
47483         * crypt/md5-block.c: ... here.
47484         * crypt/sha256.c (sha256_process_block): Move to ...
47485         * crypt/sha256-block.c: ... here.
47486         * crypt/sha512.c (sha512_process_block): Move to ...
47487         * crypt/sha512-block.c: ... here.
47488         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
47489         path.
47490         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
47491         * sysdeps/sparc/sparc64/multiarch/Makefile
47492         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
47493         crypt subdir.
47494         (localedef-aux): Add md5 crypto assembler when in locale subdir.
47495         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
47496         multiarch changes.
47497         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
47498         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
47499         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
47500         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
47501         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
47502         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
47503         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
47504         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
47505         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
47506         file.
47507         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
47508         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
47509         file.
47510         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
47512 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
47514         * timezone/tzselect.ksh: Update from tzcode git revision
47515         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
47516         * timezone/zdump.c: Likewise.
47517         * timezone/zic.c: Likewise.
47518         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
47519         in TZVERSION setting, not $(PKGVERSION).
47520         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
47521         REPORT_BUGS_TO settings.
47523         [BZ #14838]
47524         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
47525         macro.
47527 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47529         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
47530         detection to immediately after _FP_ROUND().
47531         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
47532         bits are 0.
47534 2012-11-11  David S. Miller  <davem@davemloft.net>
47536         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
47537         inttypes.h
47538         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
47539         __close rather than their public counterparts.
47541 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
47543         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
47544         file.
47545         [UNIX98] (sem_timedwait): Do not expect.
47546         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
47547         [XPG4 || UNIX98] (sockatmark): Do not expect.
47548         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
47549         (clock_getcpuclockid): Do not expect.
47550         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
47551         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
47552         Do not expect.
47553         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
47554         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
47555         [UNIX98] (vwscanf): Likewise.
47556         [UNIX98] (vswscanf): Likewise.
47558 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
47560         * timezone/version.h: Remove file.
47561         * timezone/README: Do not refer to version.h.
47562         * timezone/Makefile ($(objpfx)zic.o): New dependency on
47563         $(objpfx)version.h.
47564         ($(objpfx)zdump.o): Likewise.
47565         ($(objpfx)version.h): New target.
47567         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
47568         2012i.
47569         * timezone/README: Don't mention modification to tzselect.ksh.
47570         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
47571         work on unmodified tzselect.ksh.  Substitute version numbers in
47572         tzselect.ksh.
47574         * Makefile (format-me): Remove.
47575         (INSTALL): Adjust indentation.  Use commands directly instead of
47576         using $(format-me).
47578         * aclocal.m4 (ACX_PKGVERSION): New macro.
47579         (ACX_BUGURL): Likewise.
47580         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
47581         (PKGVERSION): New AC_DEFINE_UNQUOTED.
47582         (REPORT_BUGS_TO): Likewise.
47583         * configure: Regenerated.
47584         * config.h.in (PKGVERSION): New macro.
47585         (REPORT_BUGS_TO): Likewise.
47586         * config.make.in (PKGVERSION): New variable.
47587         (PKGVERSION_TEXI): Likewise.
47588         (REPORT_BUGS_TO): Likewise.
47589         (REPORT_BUGS_TEXI): Likewise.
47590         * Makefile (format-me): Use -I$(common-objpfx)manual.
47591         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
47592         ($(common-objpfx)manual/%): New target.
47593         (manual/%): Remove target.
47594         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
47595         (print_version): Use PKGVERSION.
47596         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
47597         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
47598         and REPORT_BUGS_TO.
47599         ($(objpfx)xtrace): Likewise.
47600         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
47601         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
47602         (print_version): Use PKGVERSION.
47603         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
47604         (do_version): Use PKGVERSION.
47605         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
47606         REPORT_BUGS_TO.
47607         (common-ldd-rewrite): Likewise.
47608         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
47609         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
47610         (print_version): Use PKGVERSION.
47611         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
47612         * elf/pldd.c (argp_program_bug_address): Remove variable.
47613         (more_help): New function.
47614         (argp): Use more_help.
47615         (print_version): Use PKGVERSION.
47616         * elf/sln.c (main): Use PKGVERSION.
47617         (usage): Use REPORT_BUGS_TO.
47618         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
47619         (top level): Use PKGVERSION.
47620         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
47621         (print_version): Use PKGVERSION.
47622         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
47623         (print_version): Use PKGVERSION.
47624         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
47625         (print_version): Use PKGVERSION.
47626         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
47627         (print_version): Use PKGVERSION.
47628         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
47629         (print_version): Use PKGVERSION.
47630         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
47631         (print_version): Use PKGVERSION.
47632         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
47633         and BUGURL.
47634         ($(objpfx)memusage): Likewise.
47635         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
47636         (do_version): Use PKGVERSION.
47637         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
47638         (print_version): Use PKGVERSION.
47639         * malloc/mtrace.pl ($PACKAGE): Remove variable.
47640         ($PKGVERSION): New variable.
47641         ($REPORT_BUGS_TO): Likewise.
47642         (usage): Use $REPORT_BUGS_TO.
47643         (top level): Use $PKGVERSION.
47644         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
47645         ($(objpfx)pkgvers.texi): New rule.
47646         ($(objpfx)stamp-pkgvers): Likewise.
47647         * manual/install.texi: Include pkgvers.texi.
47648         (--with-pkgversion): Document new configure option.
47649         (--with-bugurl): Likewise.
47650         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
47651         than necessarily for this particular distribution.  Use
47652         REPORT_BUGS_TO for where to report bugs.
47653         * INSTALL: Regenerated.
47654         * manual/libc.texinfo: Include pkgvers.texi.
47655         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
47656         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
47657         (print_version): Use PKGVERSION.
47658         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
47659         (print_version): Use PKGVERSION.
47660         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
47661         (print_version): Use PKGVERSION.
47662         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
47663         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
47664         macro.
47665         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
47666         (print_version): Use PKGVERSION.
47667         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
47668         (print_version): Use PKGVERSION.
47669         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
47670         and PKGVERSION.
47672         * timezone/checktab.awk: Update from tzcode 2012i.
47673         * timezone/ialloc.c: Likewise.
47674         * timezone/private.h: Likewise.
47675         * timezone/scheck.c: Likewise.
47676         * timezone/tzfile.h: Likewise.
47677         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
47678         (TZVERSION): Hardcode tzcode version number.
47679         * timezone/zdump.c: Update from tzcode 2012i.
47680         * timezone/zic.c: Likewise.
47681         * timezone/version.h: New file.
47682         * timezone/README: Describe version.h.  Update upstream location.
47684         [BZ #14824]
47685         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
47686         (mktemp): Enable declaration.
47687         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
47688         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
47689         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
47690         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
47691         Likewise.
47692         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
47693         Likewise.
47694         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
47695         Likewise.
47696         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
47697         Likewise.
47698         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
47699         Likewise.
47700         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
47701         Likewise.
47703         [BZ #14821]
47704         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
47705         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
47706         for copies of such integer values.
47707         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47708         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47710 2012-11-09  Andreas Jaeger  <aj@suse.de>
47712         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
47713         definitions and declarations that are provided by
47714         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
47716 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47718         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
47719         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
47720         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
47721         definition.
47723 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47725         * elf/elf.h: Update comment before AArch64 relocations.
47727 2012-11-07  David S. Miller  <davem@davemloft.net>
47729         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
47730         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47731         (__start_context): Declare.
47732         (__makecontext_ret): Delete.
47733         (__makecontext): Hook up __start_context instead of
47734         __makecontext_ret.
47735         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
47736         (sysdep_routines): Add __start_context when in stdlib.
47738 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47740         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
47741         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
47742         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
47743         hardcoded "nm".
47744         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
47745         (READELF): New variable.  Use it instead of hardcoded "readelf".
47747 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47749         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
47750         * sysdeps/x86/Makefile: Here.
47751         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
47752         * sysdeps/x86/tst-xmmymm.sh: This.
47754 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47756         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
47757         expectations.
47758         [UNIX98] (pthread_barrier_t): Do not expect.
47759         [UNIX98] (pthread_barrierattr_t): Likewise.
47760         [UNIX98] (pthread_spinlock_t): Likewise.
47761         [UNIX98] (pthread_barrier_destroy): Likewise.
47762         [UNIX98] (pthread_barrier_init): Likewise.
47763         [UNIX98] (pthread_barrier_wait): Likewise.
47764         [UNIX98] (pthread_barrierattr_destroy): Likewise.
47765         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
47766         [UNIX98] (pthread_barrierattr_init): Likewise.
47767         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
47768         [UNIX98] (pthread_getcpuclockid): Likewise.
47769         [UNIX98] (pthread_mutex_timedlock): Likewise.
47770         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
47771         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
47772         [UNIX98] (pthread_sigmask): Likewise.
47773         [UNIX98] (pthread_spin_destroy): Likewise.
47774         [UNIX98] (pthread_spin_init): Likewise.
47775         [UNIX98] (pthread_spin_lock): Likewise.
47776         [UNIX98] (pthread_spin_trylock): Likewise.
47777         [UNIX98] (pthread_spin_unlock): Likewise.
47778         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
47779         Do not expect.
47780         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
47781         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
47782         [XPG3 || XPG4] (pthread_cond_t): Likewise.
47783         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
47784         [XPG3 || XPG4] (pthread_key_t): Likewise.
47785         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
47786         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
47787         [XPG3 || XPG4] (pthread_once_t): Likewise.
47788         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
47789         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
47790         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
47791         [XPG3 || XPG4] (pthread_t): Likewise.
47793         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
47794         not expect.
47795         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
47797         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
47798         Change function return type to int.
47800         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
47801         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
47802         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
47803         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
47804         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
47805         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
47806         [!POSIX] (posix_madvise): Likewise.
47807         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
47808         && !UNIX98].
47809         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
47810         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
47811         (mode_t): Likewise.
47812         (posix_mem_offset): Likewise.
47813         (posix_typed_mem_get_info): Likewise.
47814         (posix_typed_mem_open): Likewise.
47816         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
47817         Change condition to [XOPEN2K8].
47819         * conform/conformtest.pl: Preprocess allow-header data with -x c
47820         instead of from stdin.
47821         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
47822         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
47823         [C99-based standards] (cerfc): Likewise.
47824         [C99-based standards] (cexp2): Likewise.
47825         [C99-based standards] (cexpm1): Likewise.
47826         [C99-based standards] (clog10): Likewise.
47827         [C99-based standards] (clog1p): Likewise.
47828         [C99-based standards] (clog2): Likewise.
47829         [C99-based standards] (clgamma): Likewise.
47830         [C99-based standards] (ctgamma): Likewise.
47831         [C99-based standards] (cerff): Likewise.
47832         [C99-based standards] (cerfcf): Likewise.
47833         [C99-based standards] (cexp2f): Likewise.
47834         [C99-based standards] (cexpm1f): Likewise.
47835         [C99-based standards] (clog10f): Likewise.
47836         [C99-based standards] (clog1pf): Likewise.
47837         [C99-based standards] (clog2f): Likewise.
47838         [C99-based standards] (clgammaf): Likewise.
47839         [C99-based standards] (ctgammaf): Likewise.
47840         [C99-based standards] (cerfl): Likewise.
47841         [C99-based standards] (cerfcl): Likewise.
47842         [C99-based standards] (cexp2l): Likewise.
47843         [C99-based standards] (cexpm1l): Likewise.
47844         [C99-based standards] (clog10l): Likewise.
47845         [C99-based standards] (clog1pl): Likewise.
47846         [C99-based standards] (clog2l): Likewise.
47847         [C99-based standards] (clgammal): Likewise.
47848         [C99-based standards] (ctgammal): Likewise.
47849         * conform/data/inttypes.h-data [C99-based standards]: Include
47850         stdint.h-data.  Remove all expectations for stdint.h contents.
47851         [C99-based standards] (PRI*): Do not allow.
47852         [C99-based standards] (SCN*): Likewise.
47853         [C99-based standards] (*_t): Likewise.
47854         [C99-based-standards] (PRId8): Expect macro.
47855         [C99-based-standards] (PRIi8): Likewise.
47856         [C99-based-standards] (PRIo8): Likewise.
47857         [C99-based-standards] (PRIu8): Likewise.
47858         [C99-based-standards] (PRIx8): Likewise.
47859         [C99-based-standards] (PRIX8): Likewise.
47860         [C99-based-standards] (SCNd8): Likewise.
47861         [C99-based-standards] (SCNi8): Likewise.
47862         [C99-based-standards] (SCNo8): Likewise.
47863         [C99-based-standards] (SCNu8): Likewise.
47864         [C99-based-standards] (SCNx8): Likewise.
47865         [C99-based-standards] (PRIdLEAST8): Likewise.
47866         [C99-based-standards] (PRIiLEAST8): Likewise.
47867         [C99-based-standards] (PRIoLEAST8): Likewise.
47868         [C99-based-standards] (PRIuLEAST8): Likewise.
47869         [C99-based-standards] (PRIxLEAST8): Likewise.
47870         [C99-based-standards] (PRIXLEAST8): Likewise.
47871         [C99-based-standards] (SCNdLEAST8): Likewise.
47872         [C99-based-standards] (SCNiLEAST8): Likewise.
47873         [C99-based-standards] (SCNoLEAST8): Likewise.
47874         [C99-based-standards] (SCNuLEAST8): Likewise.
47875         [C99-based-standards] (SCNxLEAST8): Likewise.
47876         [C99-based-standards] (PRIdFAST8): Likewise.
47877         [C99-based-standards] (PRIiFAST8): Likewise.
47878         [C99-based-standards] (PRIoFAST8): Likewise.
47879         [C99-based-standards] (PRIuFAST8): Likewise.
47880         [C99-based-standards] (PRIxFAST8): Likewise.
47881         [C99-based-standards] (PRIXFAST8): Likewise.
47882         [C99-based-standards] (SCNdFAST8): Likewise.
47883         [C99-based-standards] (SCNiFAST8): Likewise.
47884         [C99-based-standards] (SCNoFAST8): Likewise.
47885         [C99-based-standards] (SCNuFAST8): Likewise.
47886         [C99-based-standards] (SCNxFAST8): Likewise.
47887         [C99-based-standards] (PRId16): Likewise.
47888         [C99-based-standards] (PRIi16): Likewise.
47889         [C99-based-standards] (PRIo16): Likewise.
47890         [C99-based-standards] (PRIu16): Likewise.
47891         [C99-based-standards] (PRIx16): Likewise.
47892         [C99-based-standards] (PRIX16): Likewise.
47893         [C99-based-standards] (SCNd16): Likewise.
47894         [C99-based-standards] (SCNi16): Likewise.
47895         [C99-based-standards] (SCNo16): Likewise.
47896         [C99-based-standards] (SCNu16): Likewise.
47897         [C99-based-standards] (SCNx16): Likewise.
47898         [C99-based-standards] (PRIdLEAST16): Likewise.
47899         [C99-based-standards] (PRIiLEAST16): Likewise.
47900         [C99-based-standards] (PRIoLEAST16): Likewise.
47901         [C99-based-standards] (PRIuLEAST16): Likewise.
47902         [C99-based-standards] (PRIxLEAST16): Likewise.
47903         [C99-based-standards] (PRIXLEAST16): Likewise.
47904         [C99-based-standards] (SCNdLEAST16): Likewise.
47905         [C99-based-standards] (SCNiLEAST16): Likewise.
47906         [C99-based-standards] (SCNoLEAST16): Likewise.
47907         [C99-based-standards] (SCNuLEAST16): Likewise.
47908         [C99-based-standards] (SCNxLEAST16): Likewise.
47909         [C99-based-standards] (PRIdFAST16): Likewise.
47910         [C99-based-standards] (PRIiFAST16): Likewise.
47911         [C99-based-standards] (PRIoFAST16): Likewise.
47912         [C99-based-standards] (PRIuFAST16): Likewise.
47913         [C99-based-standards] (PRIxFAST16): Likewise.
47914         [C99-based-standards] (PRIXFAST16): Likewise.
47915         [C99-based-standards] (SCNdFAST16): Likewise.
47916         [C99-based-standards] (SCNiFAST16): Likewise.
47917         [C99-based-standards] (SCNoFAST16): Likewise.
47918         [C99-based-standards] (SCNuFAST16): Likewise.
47919         [C99-based-standards] (SCNxFAST16): Likewise.
47920         [C99-based-standards] (PRId32): Likewise.
47921         [C99-based-standards] (PRIi32): Likewise.
47922         [C99-based-standards] (PRIo32): Likewise.
47923         [C99-based-standards] (PRIu32): Likewise.
47924         [C99-based-standards] (PRIx32): Likewise.
47925         [C99-based-standards] (PRIX32): Likewise.
47926         [C99-based-standards] (SCNd32): Likewise.
47927         [C99-based-standards] (SCNi32): Likewise.
47928         [C99-based-standards] (SCNo32): Likewise.
47929         [C99-based-standards] (SCNu32): Likewise.
47930         [C99-based-standards] (SCNx32): Likewise.
47931         [C99-based-standards] (PRIdLEAST32): Likewise.
47932         [C99-based-standards] (PRIiLEAST32): Likewise.
47933         [C99-based-standards] (PRIoLEAST32): Likewise.
47934         [C99-based-standards] (PRIuLEAST32): Likewise.
47935         [C99-based-standards] (PRIxLEAST32): Likewise.
47936         [C99-based-standards] (PRIXLEAST32): Likewise.
47937         [C99-based-standards] (SCNdLEAST32): Likewise.
47938         [C99-based-standards] (SCNiLEAST32): Likewise.
47939         [C99-based-standards] (SCNoLEAST32): Likewise.
47940         [C99-based-standards] (SCNuLEAST32): Likewise.
47941         [C99-based-standards] (SCNxLEAST32): Likewise.
47942         [C99-based-standards] (PRIdFAST32): Likewise.
47943         [C99-based-standards] (PRIiFAST32): Likewise.
47944         [C99-based-standards] (PRIoFAST32): Likewise.
47945         [C99-based-standards] (PRIuFAST32): Likewise.
47946         [C99-based-standards] (PRIxFAST32): Likewise.
47947         [C99-based-standards] (PRIXFAST32): Likewise.
47948         [C99-based-standards] (SCNdFAST32): Likewise.
47949         [C99-based-standards] (SCNiFAST32): Likewise.
47950         [C99-based-standards] (SCNoFAST32): Likewise.
47951         [C99-based-standards] (SCNuFAST32): Likewise.
47952         [C99-based-standards] (SCNxFAST32): Likewise.
47953         [C99-based-standards] (PRId64): Likewise.
47954         [C99-based-standards] (PRIi64): Likewise.
47955         [C99-based-standards] (PRIo64): Likewise.
47956         [C99-based-standards] (PRIu64): Likewise.
47957         [C99-based-standards] (PRIx64): Likewise.
47958         [C99-based-standards] (PRIX64): Likewise.
47959         [C99-based-standards] (SCNd64): Likewise.
47960         [C99-based-standards] (SCNi64): Likewise.
47961         [C99-based-standards] (SCNo64): Likewise.
47962         [C99-based-standards] (SCNu64): Likewise.
47963         [C99-based-standards] (SCNx64): Likewise.
47964         [C99-based-standards] (PRIdLEAST64): Likewise.
47965         [C99-based-standards] (PRIiLEAST64): Likewise.
47966         [C99-based-standards] (PRIoLEAST64): Likewise.
47967         [C99-based-standards] (PRIuLEAST64): Likewise.
47968         [C99-based-standards] (PRIxLEAST64): Likewise.
47969         [C99-based-standards] (PRIXLEAST64): Likewise.
47970         [C99-based-standards] (SCNdLEAST64): Likewise.
47971         [C99-based-standards] (SCNiLEAST64): Likewise.
47972         [C99-based-standards] (SCNoLEAST64): Likewise.
47973         [C99-based-standards] (SCNuLEAST64): Likewise.
47974         [C99-based-standards] (SCNxLEAST64): Likewise.
47975         [C99-based-standards] (PRIdFAST64): Likewise.
47976         [C99-based-standards] (PRIiFAST64): Likewise.
47977         [C99-based-standards] (PRIoFAST64): Likewise.
47978         [C99-based-standards] (PRIuFAST64): Likewise.
47979         [C99-based-standards] (PRIxFAST64): Likewise.
47980         [C99-based-standards] (PRIXFAST64): Likewise.
47981         [C99-based-standards] (SCNdFAST64): Likewise.
47982         [C99-based-standards] (SCNiFAST64): Likewise.
47983         [C99-based-standards] (SCNoFAST64): Likewise.
47984         [C99-based-standards] (SCNuFAST64): Likewise.
47985         [C99-based-standards] (SCNxFAST64): Likewise.
47986         [C99-based-standards] (PRIdMAX): Likewise.
47987         [C99-based-standards] (PRIiMAX): Likewise.
47988         [C99-based-standards] (PRIoMAX): Likewise.
47989         [C99-based-standards] (PRIuMAX): Likewise.
47990         [C99-based-standards] (PRIxMAX): Likewise.
47991         [C99-based-standards] (PRIXMAX): Likewise.
47992         [C99-based-standards] (SCNdMAX): Likewise.
47993         [C99-based-standards] (SCNiMAX): Likewise.
47994         [C99-based-standards] (SCNoMAX): Likewise.
47995         [C99-based-standards] (SCNuMAX): Likewise.
47996         [C99-based-standards] (SCNxMAX): Likewise.
47997         [C99-based-standards] (PRIdPTR): Likewise.
47998         [C99-based-standards] (PRIiPTR): Likewise.
47999         [C99-based-standards] (PRIoPTR): Likewise.
48000         [C99-based-standards] (PRIuPTR): Likewise.
48001         [C99-based-standards] (PRIxPTR): Likewise.
48002         [C99-based-standards] (PRIXPTR): Likewise.
48003         [C99-based-standards] (SCNdPTR): Likewise.
48004         [C99-based-standards] (SCNiPTR): Likewise.
48005         [C99-based-standards] (SCNoPTR): Likewise.
48006         [C99-based-standards] (SCNuPTR): Likewise.
48007         [C99-based-standards] (SCNxPTR): Likewise.
48008         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
48009         allow.
48010         * conform/data/stdint.h-data: Update comments to clarify
48011         requirements.
48012         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
48013         type.
48014         [C99-based standards] (INT8_MAX): Likewise.
48015         [C99-based standards] (INT16_MIN): Likewise.
48016         [C99-based standards] (INT16_MAX): Likewise.
48017         [C99-based standards] (INT32_MIN): Likewise.
48018         [C99-based standards] (INT32_MAX): Likewise.
48019         [C99-based standards] (INT64_MIN): Likewise.
48020         [C99-based standards] (INT64_MAX): Likewise.
48021         [C99-based standards] (UINT8_MAX): Likewise.
48022         [C99-based standards] (UINT16_MAX): Likewise.
48023         [C99-based standards] (UINT32_MAX): Likewise.
48024         [C99-based standards] (UINT64_MAX): Likewise.
48025         [C99-based standards] (INT_LEAST8_MIN): Likewise.
48026         [C99-based standards] (INT_LEAST8_MAX): Likewise.
48027         [C99-based standards] (INT_LEAST16_MIN): Likewise.
48028         [C99-based standards] (INT_LEAST16_MAX): Likewise.
48029         [C99-based standards] (INT_LEAST32_MIN): Likewise.
48030         [C99-based standards] (INT_LEAST32_MAX): Likewise.
48031         [C99-based standards] (INT_LEAST64_MIN): Likewise.
48032         [C99-based standards] (INT_LEAST64_MAX): Likewise.
48033         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
48034         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
48035         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
48036         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
48037         [C99-based standards] (INT_FAST8_MIN): Likewise.
48038         [C99-based standards] (INT_FAST8_MAX): Likewise.
48039         [C99-based standards] (INT_FAST16_MIN): Likewise.
48040         [C99-based standards] (INT_FAST16_MAX): Likewise.
48041         [C99-based standards] (INT_FAST32_MIN): Likewise.
48042         [C99-based standards] (INT_FAST32_MAX): Likewise.
48043         [C99-based standards] (INT_FAST64_MIN): Likewise.
48044         [C99-based standards] (INT_FAST64_MAX): Likewise.
48045         [C99-based standards] (UINT_FAST8_MAX): Likewise.
48046         [C99-based standards] (UINT_FAST16_MAX): Likewise.
48047         [C99-based standards] (UINT_FAST32_MAX): Likewise.
48048         [C99-based standards] (UINT_FAST64_MAX): Likewise.
48049         [C99-based standards] (INTPTR_MIN): Likewise.
48050         [C99-based standards] (INTPTR_MAX): Likewise.
48051         [C99-based standards] (UINTPTR_MAX): Likewise.
48052         [C99-based standards] (INTMAX_MIN): Likewise.
48053         [C99-based standards] (INTMAX_MAX): Likewise.
48054         [C99-based standards] (UINTMAX_MAX): Likewise.
48055         [C99-based standards] (PTRDIFF_MIN): Likewise.
48056         [C99-based standards] (PTRDIFF_MAX): Likewise.
48057         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
48058         [C99-based standards] (SIZE_MAX): Likewise.
48059         [C99-based standards] (WCHAR_MAX): Likewise.
48060         [C99-based standards] (WINT_MAX): Likewise.
48061         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
48062         constraint on value.
48063         [C99-based standards] (WCHAR_MIN): Likewise.
48064         [C99-based standards] (WINT_MIN): Likewise.
48065         [C99-based standards] (*_t): Allow.
48066         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
48067         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
48068         Include math.h-data and complex.h-data.  Remove all expectations
48069         of math.h and complex.h contents.
48070         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
48071         at end of line.
48072         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
48073         (struct tm): Expect tag.
48074         [C99-based-standards] (wcstof): Expect function.
48075         [C99-based-standards] (wcstold): Likewise.
48076         [C99-based-standards] (wcstoll): Likewise.
48077         [C99-based-standards] (wcstoull): Likewise.
48078         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
48079         macro-int-constant.  Specify type.
48080         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
48081         constraint on value.
48082         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48083         Specify type.
48084         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
48085         Specify value.
48086         [ISO C standards]: Do not allow headers.
48087         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
48088         wcs[abcdefghijklmnopqrstuvwxyz]*.
48089         [ISO C standards] (*_t): Do not allow.
48090         * conform/data/wctype.h-data [C99-based standards] (iswblank):
48091         Expect function.
48092         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
48093         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48094         Specify type.
48095         [ISO C standards]: Do not allow headers.
48096         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
48097         is[abcdefghijklmnopqrstuvwxyz]*.
48098         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
48099         to[abcdefghijklmnopqrstuvwxyz]*.
48100         [ISO C standards] (*_t): Do not allow.
48101         * conform/data/stdalign.h-data: New file.
48102         * conform/data/stdbool.h-data: Likewise.
48103         * conform/data/stdnoreturn.h-data: Likewise.
48105 2012-11-07  Roland McGrath  <roland@hack.frob.com>
48107         [BZ #14815]
48108         * manual/filesys.texi (Directory Entries): Typo fix.
48109         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
48111 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48113         * elf/elf.h (EM_AARCH64): New macro.
48114         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
48115         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
48116         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
48117         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
48118         (R_AARCH64_TLSDESC): Likewise.
48119         (NT_ARM_TLS): Likewise.
48120         (NT_ARM_HW_BREAK): Likewise.
48121         (NT_ARM_HW_WATCH): Likewise.
48123 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48125         [BZ #14811]
48126         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
48127         (__ieee754_powl): Saturate nonzero exponents with absolute value
48128         below 0x1p-79 to +/- 0x1p-79.
48129         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
48130         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
48131         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
48132         nonzero exponents with absolute value below 0x1p-32 to +/-
48133         0x1p-32.
48134         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
48135         (__ieee754_powl): Saturate nonzero exponents with absolute value
48136         below 0x1p-79 to +/- 0x1p-79.
48137         * math/libm-test.inc (pow_test): Add more tests.
48139 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48141         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
48142         _dl_s390_cap_flags with kernel. Increase string length.
48143         (_dl_s390_platforms): Add z196 and zEC12.
48145 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48147         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
48148         Change XOPEN21K to XOPEN2K.
48150 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
48152         * string/memmove.c: Use memcpy when possible.
48154 2012-11-06  Andreas Jaeger  <aj@suse.de>
48156         * po/eo.po: Update from translation team.
48158 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
48160         [BZ #14793]
48161         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
48162         exponent and small x and y exponents, scale x or y up.  Increase
48163         by 2 the exponent used in scaling up.
48164         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48165         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48166         * math/libm-test.inc (fma_test): Add more tests.
48167         (fma_test_towardzero): Likewise.
48168         (fma_test_downward): Likewise.
48169         (fma_test_upward): Likewise.
48171 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
48173         [BZ #14805]
48174         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
48175         fenv_t *.
48177         [BZ #14801]
48178         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
48179         namespace for names of struct fields.
48180         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
48181         fenv_t fields.
48182         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
48183         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
48185 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48187         [BZ #3665]
48188         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
48190 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48192         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
48193         PTR_DEMANGLE.
48195         [BZ #5246]
48196         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
48197         PTR_DEMANGLE.
48199 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
48201         [BZ #14797]
48202         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
48203         definitely overflow as x * y not x * y + z.
48204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48205         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48206         * math/libm-test.inc (fma_test): Add more tests.
48207         (fma_test_towardzero): Likewise.
48208         (fma_test_downward): Likewise.
48209         (fma_test_upward): Likewise.
48211 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48213         [BZ #157]
48215         * include/stub-tag.h: Remove file.
48216         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
48217         '#include' of it.
48218         * manual/maint.texi (Porting): Don't reference it.
48219         * Makerules ($(objpfx)stubs): Likewise.
48220         * dirent/closedir.c: Don't include <stub-tag.h>.
48221         * dirent/dirfd.c: Likewise.
48222         * dirent/fdopendir.c: Likewise.
48223         * dirent/getdents.c: Likewise.
48224         * dirent/getdents64.c: Likewise.
48225         * dirent/opendir.c: Likewise.
48226         * dirent/readdir.c: Likewise.
48227         * dirent/readdir64.c: Likewise.
48228         * dirent/readdir64_r.c: Likewise.
48229         * dirent/readdir_r.c: Likewise.
48230         * dirent/rewinddir.c: Likewise.
48231         * dirent/seekdir.c: Likewise.
48232         * dirent/telldir.c: Likewise.
48233         * gmon/profil.c: Likewise.
48234         * grp/setgroups.c: Likewise.
48235         * inet/if_index.c: Likewise.
48236         * io/access.c: Likewise.
48237         * io/chdir.c: Likewise.
48238         * io/chmod.c: Likewise.
48239         * io/chown.c: Likewise.
48240         * io/close.c: Likewise.
48241         * io/dup.c: Likewise.
48242         * io/dup2.c: Likewise.
48243         * io/dup3.c: Likewise.
48244         * io/euidaccess.c: Likewise.
48245         * io/faccessat.c: Likewise.
48246         * io/fchdir.c: Likewise.
48247         * io/fchmod.c: Likewise.
48248         * io/fchmodat.c: Likewise.
48249         * io/fchown.c: Likewise.
48250         * io/fchownat.c: Likewise.
48251         * io/fcntl.c: Likewise.
48252         * io/flock.c: Likewise.
48253         * io/fstatfs.c: Likewise.
48254         * io/fstatfs64.c: Likewise.
48255         * io/fstatvfs.c: Likewise.
48256         * io/fstatvfs64.c: Likewise.
48257         * io/futimens.c: Likewise.
48258         * io/fxstat.c: Likewise.
48259         * io/fxstat64.c: Likewise.
48260         * io/fxstatat.c: Likewise.
48261         * io/fxstatat64.c: Likewise.
48262         * io/getcwd.c: Likewise.
48263         * io/isatty.c: Likewise.
48264         * io/lchmod.c: Likewise.
48265         * io/lchown.c: Likewise.
48266         * io/link.c: Likewise.
48267         * io/linkat.c: Likewise.
48268         * io/lseek.c: Likewise.
48269         * io/lseek64.c: Likewise.
48270         * io/lxstat64.c: Likewise.
48271         * io/mkdir.c: Likewise.
48272         * io/mkdirat.c: Likewise.
48273         * io/mkfifo.c: Likewise.
48274         * io/mkfifoat.c: Likewise.
48275         * io/open.c: Likewise.
48276         * io/open64.c: Likewise.
48277         * io/openat.c: Likewise.
48278         * io/openat64.c: Likewise.
48279         * io/pipe.c: Likewise.
48280         * io/pipe2.c: Likewise.
48281         * io/poll.c: Likewise.
48282         * io/posix_fadvise.c: Likewise.
48283         * io/posix_fadvise64.c: Likewise.
48284         * io/posix_fallocate.c: Likewise.
48285         * io/posix_fallocate64.c: Likewise.
48286         * io/read.c: Likewise.
48287         * io/readlink.c: Likewise.
48288         * io/readlinkat.c: Likewise.
48289         * io/rmdir.c: Likewise.
48290         * io/sendfile.c: Likewise.
48291         * io/sendfile64.c: Likewise.
48292         * io/statfs.c: Likewise.
48293         * io/statfs64.c: Likewise.
48294         * io/statvfs.c: Likewise.
48295         * io/statvfs64.c: Likewise.
48296         * io/symlink.c: Likewise.
48297         * io/symlinkat.c: Likewise.
48298         * io/ttyname.c: Likewise.
48299         * io/ttyname_r.c: Likewise.
48300         * io/umask.c: Likewise.
48301         * io/unlink.c: Likewise.
48302         * io/unlinkat.c: Likewise.
48303         * io/utime.c: Likewise.
48304         * io/utimensat.c: Likewise.
48305         * io/write.c: Likewise.
48306         * io/xmknod.c: Likewise.
48307         * io/xmknodat.c: Likewise.
48308         * io/xstat.c: Likewise.
48309         * io/xstat64.c: Likewise.
48310         * login/getpt.c: Likewise.
48311         * login/grantpt.c: Likewise.
48312         * login/unlockpt.c: Likewise.
48313         * math/e_acoshl.c: Likewise.
48314         * math/e_acosl.c: Likewise.
48315         * math/e_asinl.c: Likewise.
48316         * math/e_atan2l.c: Likewise.
48317         * math/e_atanhl.c: Likewise.
48318         * math/e_coshl.c: Likewise.
48319         * math/e_expl.c: Likewise.
48320         * math/e_fmodl.c: Likewise.
48321         * math/e_gammal_r.c: Likewise.
48322         * math/e_hypotl.c: Likewise.
48323         * math/e_j0l.c: Likewise.
48324         * math/e_j1l.c: Likewise.
48325         * math/e_jnl.c: Likewise.
48326         * math/e_lgammal_r.c: Likewise.
48327         * math/e_log10l.c: Likewise.
48328         * math/e_log2l.c: Likewise.
48329         * math/e_logl.c: Likewise.
48330         * math/e_powl.c: Likewise.
48331         * math/e_rem_pio2l.c: Likewise.
48332         * math/e_sinhl.c: Likewise.
48333         * math/e_sqrtl.c: Likewise.
48334         * math/fclrexcpt.c: Likewise.
48335         * math/fedisblxcpt.c: Likewise.
48336         * math/feenablxcpt.c: Likewise.
48337         * math/fegetenv.c: Likewise.
48338         * math/fegetexcept.c: Likewise.
48339         * math/fegetround.c: Likewise.
48340         * math/feholdexcpt.c: Likewise.
48341         * math/fesetenv.c: Likewise.
48342         * math/fesetround.c: Likewise.
48343         * math/feupdateenv.c: Likewise.
48344         * math/fgetexcptflg.c: Likewise.
48345         * math/fraiseexcpt.c: Likewise.
48346         * math/fsetexcptflg.c: Likewise.
48347         * math/ftestexcept.c: Likewise.
48348         * math/k_cosl.c: Likewise.
48349         * math/k_rem_pio2l.c: Likewise.
48350         * math/k_sinl.c: Likewise.
48351         * math/k_tanl.c: Likewise.
48352         * math/s_asinhl.c: Likewise.
48353         * math/s_atanl.c: Likewise.
48354         * math/s_cbrtl.c: Likewise.
48355         * math/s_erfl.c: Likewise.
48356         * math/s_expm1l.c: Likewise.
48357         * math/s_log1pl.c: Likewise.
48358         * math/s_tanhl.c: Likewise.
48359         * misc/acct.c: Likewise.
48360         * misc/brk.c: Likewise.
48361         * misc/chflags.c: Likewise.
48362         * misc/chroot.c: Likewise.
48363         * misc/fchflags.c: Likewise.
48364         * misc/fgetxattr.c: Likewise.
48365         * misc/flistxattr.c: Likewise.
48366         * misc/fremovexattr.c: Likewise.
48367         * misc/fsetxattr.c: Likewise.
48368         * misc/fsync.c: Likewise.
48369         * misc/ftruncate.c: Likewise.
48370         * misc/futimes.c: Likewise.
48371         * misc/futimesat.c: Likewise.
48372         * misc/getdomain.c: Likewise.
48373         * misc/getdtsz.c: Likewise.
48374         * misc/gethostid.c: Likewise.
48375         * misc/gethostname.c: Likewise.
48376         * misc/getloadavg.c: Likewise.
48377         * misc/getpagesize.c: Likewise.
48378         * misc/getsysstats.c: Likewise.
48379         * misc/getxattr.c: Likewise.
48380         * misc/gtty.c: Likewise.
48381         * misc/ioctl.c: Likewise.
48382         * misc/lgetxattr.c: Likewise.
48383         * misc/listxattr.c: Likewise.
48384         * misc/llistxattr.c: Likewise.
48385         * misc/lremovexattr.c: Likewise.
48386         * misc/lsetxattr.c: Likewise.
48387         * misc/lutimes.c: Likewise.
48388         * misc/madvise.c: Likewise.
48389         * misc/mincore.c: Likewise.
48390         * misc/mlock.c: Likewise.
48391         * misc/mlockall.c: Likewise.
48392         * misc/mmap.c: Likewise.
48393         * misc/mprotect.c: Likewise.
48394         * misc/msync.c: Likewise.
48395         * misc/munlock.c: Likewise.
48396         * misc/munlockall.c: Likewise.
48397         * misc/munmap.c: Likewise.
48398         * misc/preadv.c: Likewise.
48399         * misc/preadv64.c: Likewise.
48400         * misc/ptrace.c: Likewise.
48401         * misc/pwritev.c: Likewise.
48402         * misc/pwritev64.c: Likewise.
48403         * misc/readv.c: Likewise.
48404         * misc/reboot.c: Likewise.
48405         * misc/remap_file_pages.c: Likewise.
48406         * misc/removexattr.c: Likewise.
48407         * misc/revoke.c: Likewise.
48408         * misc/select.c: Likewise.
48409         * misc/setdomain.c: Likewise.
48410         * misc/setegid.c: Likewise.
48411         * misc/seteuid.c: Likewise.
48412         * misc/sethostid.c: Likewise.
48413         * misc/sethostname.c: Likewise.
48414         * misc/setregid.c: Likewise.
48415         * misc/setreuid.c: Likewise.
48416         * misc/setxattr.c: Likewise.
48417         * misc/sstk.c: Likewise.
48418         * misc/stty.c: Likewise.
48419         * misc/swapoff.c: Likewise.
48420         * misc/swapon.c: Likewise.
48421         * misc/sync.c: Likewise.
48422         * misc/syncfs.c: Likewise.
48423         * misc/syscall.c: Likewise.
48424         * misc/truncate.c: Likewise.
48425         * misc/ualarm.c: Likewise.
48426         * misc/usleep.c: Likewise.
48427         * misc/ustat.c: Likewise.
48428         * misc/utimes.c: Likewise.
48429         * misc/vhangup.c: Likewise.
48430         * misc/writev.c: Likewise.
48431         * posix/_exit.c: Likewise.
48432         * posix/alarm.c: Likewise.
48433         * posix/execve.c: Likewise.
48434         * posix/fexecve.c: Likewise.
48435         * posix/fork.c: Likewise.
48436         * posix/fpathconf.c: Likewise.
48437         * posix/getaddrinfo.c: Likewise.
48438         * posix/getegid.c: Likewise.
48439         * posix/geteuid.c: Likewise.
48440         * posix/getgid.c: Likewise.
48441         * posix/getgroups.c: Likewise.
48442         * posix/getlogin.c: Likewise.
48443         * posix/getlogin_r.c: Likewise.
48444         * posix/getpgid.c: Likewise.
48445         * posix/getpid.c: Likewise.
48446         * posix/getppid.c: Likewise.
48447         * posix/getresgid.c: Likewise.
48448         * posix/getresuid.c: Likewise.
48449         * posix/getsid.c: Likewise.
48450         * posix/getuid.c: Likewise.
48451         * posix/glob64.c: Likewise.
48452         * posix/nanosleep.c: Likewise.
48453         * posix/pathconf.c: Likewise.
48454         * posix/pause.c: Likewise.
48455         * posix/posix_madvise.c: Likewise.
48456         * posix/pread.c: Likewise.
48457         * posix/pread64.c: Likewise.
48458         * posix/pwrite.c: Likewise.
48459         * posix/pwrite64.c: Likewise.
48460         * posix/sched_getaffinity.c: Likewise.
48461         * posix/sched_getp.c: Likewise.
48462         * posix/sched_gets.c: Likewise.
48463         * posix/sched_primax.c: Likewise.
48464         * posix/sched_primin.c: Likewise.
48465         * posix/sched_rr_gi.c: Likewise.
48466         * posix/sched_setaffinity.c: Likewise.
48467         * posix/sched_setp.c: Likewise.
48468         * posix/sched_sets.c: Likewise.
48469         * posix/sched_yield.c: Likewise.
48470         * posix/setgid.c: Likewise.
48471         * posix/setlogin.c: Likewise.
48472         * posix/setpgid.c: Likewise.
48473         * posix/setresgid.c: Likewise.
48474         * posix/setresuid.c: Likewise.
48475         * posix/setsid.c: Likewise.
48476         * posix/setuid.c: Likewise.
48477         * posix/sleep.c: Likewise.
48478         * posix/spawni.c: Likewise.
48479         * posix/sysconf.c: Likewise.
48480         * posix/times.c: Likewise.
48481         * posix/wait.c: Likewise.
48482         * posix/wait3.c: Likewise.
48483         * posix/wait4.c: Likewise.
48484         * posix/waitpid.c: Likewise.
48485         * resolv/gai_sigqueue.c: Likewise.
48486         * resource/getpriority.c: Likewise.
48487         * resource/getrlimit.c: Likewise.
48488         * resource/getrusage.c: Likewise.
48489         * resource/nice.c: Likewise.
48490         * resource/setpriority.c: Likewise.
48491         * resource/setrlimit.c: Likewise.
48492         * resource/ulimit.c: Likewise.
48493         * rt/aio_cancel.c: Likewise.
48494         * rt/aio_fsync.c: Likewise.
48495         * rt/aio_read.c: Likewise.
48496         * rt/aio_sigqueue.c: Likewise.
48497         * rt/aio_suspend.c: Likewise.
48498         * rt/aio_write.c: Likewise.
48499         * rt/clock_getres.c: Likewise.
48500         * rt/clock_gettime.c: Likewise.
48501         * rt/clock_nanosleep.c: Likewise.
48502         * rt/clock_settime.c: Likewise.
48503         * rt/lio_listio.c: Likewise.
48504         * rt/mq_close.c: Likewise.
48505         * rt/mq_getattr.c: Likewise.
48506         * rt/mq_notify.c: Likewise.
48507         * rt/mq_open.c: Likewise.
48508         * rt/mq_receive.c: Likewise.
48509         * rt/mq_send.c: Likewise.
48510         * rt/mq_setattr.c: Likewise.
48511         * rt/mq_timedreceive.c: Likewise.
48512         * rt/mq_timedsend.c: Likewise.
48513         * rt/mq_unlink.c: Likewise.
48514         * rt/shm_open.c: Likewise.
48515         * rt/shm_unlink.c: Likewise.
48516         * rt/timer_create.c: Likewise.
48517         * rt/timer_delete.c: Likewise.
48518         * rt/timer_getoverr.c: Likewise.
48519         * rt/timer_gettime.c: Likewise.
48520         * rt/timer_settime.c: Likewise.
48521         * setjmp/__longjmp.c: Likewise.
48522         * setjmp/setjmp.c: Likewise.
48523         * signal/kill.c: Likewise.
48524         * signal/killpg.c: Likewise.
48525         * signal/raise.c: Likewise.
48526         * signal/sigaction.c: Likewise.
48527         * signal/sigaltstack.c: Likewise.
48528         * signal/sigblock.c: Likewise.
48529         * signal/sigignore.c: Likewise.
48530         * signal/sigintr.c: Likewise.
48531         * signal/signal.c: Likewise.
48532         * signal/sigpause.c: Likewise.
48533         * signal/sigpending.c: Likewise.
48534         * signal/sigqueue.c: Likewise.
48535         * signal/sigreturn.c: Likewise.
48536         * signal/sigset.c: Likewise.
48537         * signal/sigsetmask.c: Likewise.
48538         * signal/sigstack.c: Likewise.
48539         * signal/sigsuspend.c: Likewise.
48540         * signal/sigtimedwait.c: Likewise.
48541         * signal/sigvec.c: Likewise.
48542         * signal/sigwait.c: Likewise.
48543         * signal/sigwaitinfo.c: Likewise.
48544         * signal/sysv_signal.c: Likewise.
48545         * socket/accept.c: Likewise.
48546         * socket/accept4.c: Likewise.
48547         * socket/bind.c: Likewise.
48548         * socket/connect.c: Likewise.
48549         * socket/getpeername.c: Likewise.
48550         * socket/getsockname.c: Likewise.
48551         * socket/getsockopt.c: Likewise.
48552         * socket/isfdtype.c: Likewise.
48553         * socket/listen.c: Likewise.
48554         * socket/recv.c: Likewise.
48555         * socket/recvfrom.c: Likewise.
48556         * socket/recvmsg.c: Likewise.
48557         * socket/send.c: Likewise.
48558         * socket/sendmsg.c: Likewise.
48559         * socket/sendto.c: Likewise.
48560         * socket/setsockopt.c: Likewise.
48561         * socket/shutdown.c: Likewise.
48562         * socket/sockatmark.c: Likewise.
48563         * socket/socket.c: Likewise.
48564         * socket/socketpair.c: Likewise.
48565         * stdio-common/ctermid.c: Likewise.
48566         * stdio-common/cuserid.c: Likewise.
48567         * stdio-common/remove.c: Likewise.
48568         * stdio-common/rename.c: Likewise.
48569         * stdio-common/renameat.c: Likewise.
48570         * stdio-common/tempname.c: Likewise.
48571         * stdlib/getcontext.c: Likewise.
48572         * stdlib/makecontext.c: Likewise.
48573         * stdlib/setcontext.c: Likewise.
48574         * stdlib/swapcontext.c: Likewise.
48575         * stdlib/system.c: Likewise.
48576         * streams/fattach.c: Likewise.
48577         * streams/fdetach.c: Likewise.
48578         * streams/getmsg.c: Likewise.
48579         * streams/getpmsg.c: Likewise.
48580         * streams/putmsg.c: Likewise.
48581         * streams/putpmsg.c: Likewise.
48582         * sysdeps/unix/bsd/getpt.c: Likewise.
48583         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
48584         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
48585         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48587         Likewise.
48588         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
48589         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48590         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48591         * sysvipc/msgctl.c: Likewise.
48592         * sysvipc/msgget.c: Likewise.
48593         * sysvipc/msgrcv.c: Likewise.
48594         * sysvipc/msgsnd.c: Likewise.
48595         * sysvipc/semctl.c: Likewise.
48596         * sysvipc/semget.c: Likewise.
48597         * sysvipc/semop.c: Likewise.
48598         * sysvipc/semtimedop.c: Likewise.
48599         * sysvipc/shmat.c: Likewise.
48600         * sysvipc/shmctl.c: Likewise.
48601         * sysvipc/shmdt.c: Likewise.
48602         * sysvipc/shmget.c: Likewise.
48603         * termios/tcdrain.c: Likewise.
48604         * termios/tcflow.c: Likewise.
48605         * termios/tcflush.c: Likewise.
48606         * termios/tcgetattr.c: Likewise.
48607         * termios/tcgetpgrp.c: Likewise.
48608         * termios/tcsendbrk.c: Likewise.
48609         * termios/tcsetattr.c: Likewise.
48610         * termios/tcsetpgrp.c: Likewise.
48611         * time/adjtime.c: Likewise.
48612         * time/clock.c: Likewise.
48613         * time/getitimer.c: Likewise.
48614         * time/gettimeofday.c: Likewise.
48615         * time/setitimer.c: Likewise.
48616         * time/settimeofday.c: Likewise.
48617         * time/stime.c: Likewise.
48618         * time/time.c: Likewise.
48620 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
48622         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
48623         /usr/old/bin.
48625         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
48626         instead of spaces.
48627         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
48629 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
48631         [BZ #14796]
48632         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
48633         FE_TONEAREST before applying Dekker multiplication and Knuth
48634         addition.  Clear inexact exceptions and check for exact zero
48635         results afterwards.
48636         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48637         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48638         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48639         * math/libm-test.inc (fma_test): Add more tests.
48640         (fma_test_towardzero): Likewise.
48641         (fma_test_downward): Likewise.
48642         (fma_test_upward): Likewise.
48643         * sysdeps/generic/math_private.h (default_libc_fesetround): New
48644         function.
48645         (libc_fesetround): New macro.
48646         (libc_fesetroundf): Likewise.
48647         (libc_fesetroundl): Likewise.
48648         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
48649         function.
48650         (libc_fesetround_387): Likewise.
48651         (libc_fesetroundf): New macro.
48652         (libc_fesetround): Likewise.
48653         (libc_fesetroundl): Likewise.
48654         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
48655         function.
48656         (libc_fesetroundf): New macro.
48657         (libc_fesetround): Likewise.
48658         (libc_fesetroundl): Likewise.
48659         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
48660         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
48661         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
48662         libm_hidden_ver.
48663         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
48664         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
48665         libm_hidden_def.
48666         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
48667         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
48668         libm_hidden_ver.
48669         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
48670         libm_hidden_def.
48672         [BZ #3439]
48673         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
48674         integer constant usable in #if and use that to give value to enum
48675         constant.
48676         (FE_DIVBYZERO): Likewise.
48677         (FE_UNDERFLOW): Likewise.
48678         (FE_OVERFLOW): Likewise.
48679         (FE_INVALID): Likewise.
48680         (FE_INVALID_SNAN): Likewise.
48681         (FE_INVALID_ISI): Likewise.
48682         (FE_INVALID_IDI): Likewise.
48683         (FE_INVALID_ZDZ): Likewise.
48684         (FE_INVALID_IMZ): Likewise.
48685         (FE_INVALID_COMPARE): Likewise.
48686         (FE_INVALID_SOFTWARE): Likewise.
48687         (FE_INVALID_SQRT): Likewise.
48688         (FE_INVALID_INTEGER_CONVERSION): Likewise.
48689         (FE_TONEAREST): Likewise.
48690         (FE_TOWARDZERO): Likewise.
48691         (FE_UPWARD): Likewise.
48692         (FE_DOWNWARD): Likewise.
48693         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
48694         (FE_DIVBYZERO): Likewise.
48695         (FE_OVERFLOW): Likewise.
48696         (FE_UNDERFLOW): Likewise.
48697         (FE_INEXACT): Likewise.
48698         (FE_TONEAREST): Likewise.
48699         (FE_DOWNWARD): Likewise.
48700         (FE_UPWARD): Likewise.
48701         (FE_TOWARDZERO): Likewise.
48702         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
48703         (FE_UNDERFLOW): Likewise.
48704         (FE_OVERFLOW): Likewise.
48705         (FE_DIVBYZERO): Likewise.
48706         (FE_INVALID): Likewise.
48707         (FE_TONEAREST): Likewise.
48708         (FE_TOWARDZERO): Likewise.
48709         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
48710         (FE_OVERFLOW): Likewise.
48711         (FE_UNDERFLOW): Likewise.
48712         (FE_DIVBYZERO): Likewise.
48713         (FE_INEXACT): Likewise.
48714         (FE_TONEAREST): Likewise.
48715         (FE_TOWARDZERO): Likewise.
48716         (FE_UPWARD): Likewise.
48717         (FE_DOWNWARD): Likewise.
48718         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
48719         (FE_DIVBYZERO): Likewise.
48720         (FE_OVERFLOW): Likewise.
48721         (FE_UNDERFLOW): Likewise.
48722         (FE_INEXACT): Likewise.
48723         (FE_TONEAREST): Likewise.
48724         (FE_DOWNWARD): Likewise.
48725         (FE_UPWARD): Likewise.
48726         (FE_TOWARDZERO): Likewise.
48728 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
48730         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
48732 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
48734         * scripts/cross-test-ssh.sh (command): Use newlines to separate
48735         commands.  Quote $PWD.
48736         (blacklist_exports): Don't use remove_newlines.  Replace "declare
48737         -x" by "export".
48738         (remove_newlines): Remove.
48740 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
48742         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
48743         * stdlib/stdlib.h (atof): Moved to ...
48744         * include/bits/stdlib-float.h: Here.  New file.
48745         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
48746         * stdlib/bits/stdlib-float.h: New file.
48747         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
48748         -mno-sse -mno-mmx.
48749         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
48750         <xmmintrin.h>.
48752 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48754         * conform/conformtest.pl (@headers): Add fenv.h.
48755         * conform/data/fenv.h-data: New file.
48756         * include/fenv.h [_ISOMAC]: Disable all contents of file except
48757         include of <math/fenv.h>.
48759         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
48760         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
48761         && !UNIX98].  Enables tests for XOPEN2K8.
48762         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
48763         POSIX2008]: Likewise.
48765         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
48766         (struct rusage): Do not expect type or its members.
48768         [BZ #3439]
48769         * math/math.h (FP_NAN): Define macro to integer constant usable in
48770         #if and use that to give value to enum constant.
48771         (FP_INFINITE): Likewise.
48772         (FP_ZERO): Likewise.
48773         (FP_SUBNORMAL): Likewise.
48774         (FP_NORMAL): Likewise.
48776 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
48778         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
48779         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
48780         arguments.
48782 2012-11-02  Roland McGrath  <roland@hack.frob.com>
48784         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
48785         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
48786         autoconf-time if not.
48787         * configure.in: Remove AC_PREREQ.
48789 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48791         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
48792         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
48793         of the internal implementation.
48795 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48797         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
48798         except include of <misc/sys/syslog.h>.
48800 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
48803         function returns with a NULL context exit with zero.
48805 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48807         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
48809 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
48811         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
48812         (run_program_cmd): This.
48813         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
48814         (tst_langinfo): New variable.  Use it.
48816 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
48818         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
48819         floating point opcodes.
48821 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48823         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
48824         variable.
48826         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
48828         * sysdeps/mach/hurd/powerpc: Remove directory.
48829         * sysdeps/mach/powerpc: Likewise.
48831 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48833         * scripts/check-local-headers.sh: Ignore c++ headers.
48835 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48837         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
48838         __libc_cleanup_region_start argument.
48840 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
48842         [BZ #14784]
48843         [BZ #14785]
48844         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
48845         x * y using scaling, not as x * y + z.
48846         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48847         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48848         * math/libm-test.inc (fma_test): Add more tests.
48849         (fma_test_towardzero): Likewise.
48850         (fma_test_downward): Likewise.
48851         (fma_test_upward): Likewise.
48853 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48855         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
48857 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48859         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
48860         New variable.
48862 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
48864         * rt/tst-shm.c (worker): Correct checking for mmap failure.
48866 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48869         Fix sort order.
48870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48871         Likewise.
48873 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48876         Fix the order of the list for glibc 2.17.
48877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48878         Likewise.
48880 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48884 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48886         [BZ #14610]
48887         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
48888         for low part of x being zero before using __atanl (y).
48889         * math/libm-test.inc (atan2_test): Add another test.
48891         * manual/install.texi (Configuring and compiling): Document
48892         general use of test-wrapper and test-wrapper-env.
48893         * INSTALL: Regenerated.
48895         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
48896         (__fma): Do not extract and scale down low bits on after-rounding
48897         systems when result rounded to normal precision would have normal
48898         exponent.
48899         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
48900         (__fmal): Do not extract and scale down low bits on after-rounding
48901         systems when result rounded to normal precision would have normal
48902         exponent.
48903         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
48904         (__fmal): Do not extract and scale down low bits on after-rounding
48905         systems when result rounded to normal precision would have normal
48906         exponent.
48907         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
48908         macro.
48909         (fma_test): Add more tests.
48910         (fma_test_towardzero): Likewise.
48911         (fma_test_downward): Likewise.
48912         (fma_test_upward): Likewise.
48914 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
48916         * sysdeps/i386/tininess.h: Renamed to ...
48917         * sysdeps/x86/tininess.h: This.
48918         * sysdeps/x86_64/tininess.h: Removed.
48920 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48922         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
48923         input.  Use $(build-program-cmd).
48924         ($(objpfx)tst-array1-static.out): Likewise.
48925         ($(objpfx)tst-array2.out): Likewise.
48926         ($(objpfx)tst-array3.out): Likewise.
48927         ($(objpfx)tst-array4.out): Likewise.
48928         ($(objpfx)tst-array5.out): Likewise.
48929         ($(objpfx)tst-array5-static.out): Likewise.
48931 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
48933         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
48934         if defined.
48936         * nss/nsswitch.h (nss_interface_function): Provide new
48937         macro for use with NSS functions.
48938         * grp/initgroups.c: Use new macro.
48939         * nss/getXXbyYY.c: Likewise.
48940         * nss/getXXbyYY_r.c: Likewise.
48941         * nss/getXXent.c: Likewise.
48942         * nss/getXXent_r.c: Likewise.
48943         * sysdeps/posix/getaddrinfo.c: Likewise.
48945 2012-10-30  Andreas Jaeger  <aj@suse.de>
48947         * po/ru.po: Update Russion translation from translation project.
48949 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48951         [BZ #14152]
48952         [BZ #14783]
48953         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
48954         result and shift together with sticky bit instead of replicating
48955         round-to-nearest rounding.
48956         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48957         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48958         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
48959         missing underflow exceptions.
48960         (fma_test_towardzero): Add more tests.
48961         (fma_test_downward): Likewise.
48962         (fma_test_upward): Likewise.
48964         [BZ #14047]
48965         * sysdeps/generic/tininess.h: New file.
48966         * sysdeps/i386/tininess.h: Likewise.
48967         * sysdeps/sh/tininess.h: Likewise.
48968         * sysdeps/x86_64/tininess.h: Likewise.
48969         * stdlib/tst-strtod-underflow.c: Likewise.
48970         * stdlib/tst-tininess.c: Likewise.
48971         * stdlib/strtod_l.c: Include <tininess.h>.
48972         (round_and_return): Do not set errno for exact underflow cases.
48973         Force an underflow exception when setting errno for underflow.
48974         Determine underflow based on rounding to normal precision if
48975         TININESS_AFTER_ROUNDING.
48976         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
48977         ERANGE for exact underflow cases.
48978         * stdlib/Makefile (tests): Add tst-tininess and
48979         tst-strtod-underflow.
48980         ($(objpfx)tst-tininess): Use $(link-libm).
48981         ($(objpfx)tst-strtod-underflow): Likewise.
48983 2012-10-30  Andreas Jaeger  <aj@suse.de>
48985         [BZ#14767]
48986         * elf/Makefile (tests): Remove conditional for have-initfini-array
48987         since this is now always required and the variable does not exist
48988         anymore.
48989         (tests-static): Likewise.
48990         (modules-names): Likewise.
48992         * po/eo.po: Add Esperanto translation from translation project.
48994         * elf/tst-array1.c (fini_array): Make writeable so that it can be
48995         merged with constructor/destructor.
48996         (init_array): Likewise.
48997         * elf/tst-array2dep.c (fini_array): Likewise.
48998         (init_array): Likewise.
49000 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
49002         * manual/message.texi: Delete @cartouche tags.
49004 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
49006         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
49007         EOPNOTSUPP.
49008         * sysdeps/mach/hurd/fsync.c: Likewise.
49010         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
49011         [_POSIX_REALTIME_SIGNALS]: Change condition to
49012         [_POSIX_REALTIME_SIGNALS > 0].
49014 2012-10-27  Andreas Jaeger  <aj@suse.de>
49016         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
49017         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
49018         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
49019         [__WORDSIZE != 64]: Likewise.
49021 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
49023         *  iconvdata/tst-table.sh: Remove ${SHELL}.
49024         *  iconvdata/tst-tables.sh: Likewise.
49026 2012-10-25  David S. Miller  <davem@davemloft.net>
49028         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49029         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
49030         of strtoull.
49032         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
49033         ifunc-impl-list.c
49034         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49035         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
49036         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
49037         file.
49039 2012-10-25  Roland McGrath  <roland@hack.frob.com>
49041         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49042         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
49043         __getdirentries.
49045 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49046             Jim Blandy  <jimb@codesourcery.com>
49048         * scripts/cross-test-ssh.sh: New file.
49049         * manual/install.texi (Configuring and compiling): Document use of
49050         cross-test-ssh.sh.
49051         * INSTALL: Regenerated.
49053 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
49055         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
49056         EOPNOTSUPP.
49058 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49060         * Makeconfig (run-program-prefix): Fix comment.
49062 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49063             Jim Blandy  <jimb@codesourcery.com>
49065         * Makeconfig (test-wrapper): New variable,
49066         (test-wrapper-env): Likewise.
49067         [$(cross-compiling) = yes && $(test-wrapper) != ""]
49068         (run-built-tests): Define to yes.
49069         (run-program-prefix): Use $(test-wrapper).
49070         (built-program-cmd): Likewise.
49071         * Rules (make-test-out): Use $(test-wrapper-env) and
49072         $(host-built-program-cmd).
49073         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49074         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
49075         tst-pathopt.sh.
49076         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
49077         $(test-wrapper-env) to tst-rtld-load-self.sh.
49078         ($(objpfx)order2.out): Use $(test-wrapper).
49079         ($(objpfx)tst-initorder.out): Likewise.
49080         ($(objpfx)tst-initorder2.out): Likewise.
49081         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
49082         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
49083         (test_wrapper_env): New variable.  Use it to run ld.so.
49084         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
49085         Use it to run ld.so.
49086         (test_wrapper_env): Likewise.
49087         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
49088         $(test-wrapper) to run-iconv-test.sh.
49089         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
49090         (ICONV): Use $test_wrapper.
49091         * posix/Makefile ($(objpfx)globtest.out): Pass
49092         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
49093         globtest.sh, not $(run-program-prefix).
49094         * posix/globtest.sh (run_via_rtld_prefix): New variable.
49095         (test_wrapper): Likewise.
49096         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
49097         set together with run_via_rtld_prefix.
49098         (run_program_prefix): Define in terms of test_wrapper and
49099         run_via_rtld_prefix.
49101 2012-10-24  Roland McGrath  <roland@hack.frob.com>
49103         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
49104         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
49105         Targets removed.
49107         [BZ #14743]
49108         * include/time.h: Remove librt_hidden_proto (clock_gettime).
49109         Declare __clock_getres, __clock_gettime, __clock_settime,
49110         __clock_nanosleep, and __clock_getcpuclockid.
49111         * rt/clock_gettime.c: Define __clock_gettime as an alias.
49112         Remove librt_hidden_def (clock_gettime).
49113         * sysdeps/unix/clock_gettime.c: Likewise.
49114         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
49115         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49116         * rt/clock_getres.c: Define __clock_getres as an alias.
49117         * sysdeps/posix/clock_getres.c: Likewise.
49118         * rt/clock_settime.c: Define __clock_settime as an alias.
49119         * sysdeps/unix/clock_settime.c: Likewise.
49120         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
49121         * sysdeps/unix/clock_nanosleep.c: Likewise.
49122         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49123         * rt/clock-compat.c: New file.
49124         * rt/Makefile (librt-routines): Add clock-compat and move
49125         $(clock-routines) to ...
49126         (routines): ... here, new variable.
49127         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
49128         Don't add get_clockfreq here.
49129         * rt/Versions (libc: GLIBC_2.17): New version set.
49130         Add clock_* symbols here.
49131         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
49132         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
49133         (GLIBC_2.17): Add clock_* symbols.
49134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49136         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49138         Likewise.
49139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49140         Likewise.
49141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49145         * NEWS: Mention the move.
49147         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49148         Use __open, __read, __close rather than their public counterparts.
49149         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49150         (__get_clockfreq_via_cpuinfo): Likewise.
49151         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
49152         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
49154         * config.h.in (HAVE_IFUNC): New #undef.
49155         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
49156         was successful.
49157         * configure: Regenerated.
49159 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49161         * configure.in: Move READELF check to start of file.
49162         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
49163         libc_cv_asm_gnu_indirect_function in the process.
49164         * configure: Regenerated.
49166 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49168         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
49169         send the output to /dev/null.
49170         (libc_cv_cc_with_libunwind): Likewise.
49171         (libc_cv_as_noexecstack): Likewise.
49172         * configure: Regenerate.
49174 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49176         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
49178         * posix/globtest.sh (TMPDIR): Do not set.
49179         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
49180         (testout): Likewise.
49182 2012-10-24  Andreas Jaeger  <aj@suse.de>
49184         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
49185         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
49186         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
49187         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
49188         posix_fadvise64, posix_fallocate64.
49190         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
49191         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
49192         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
49193         Likewise.
49194         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
49195         Likewise.
49196         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
49198         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
49199         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
49200         <bits/fcntl-linux.h>.
49201         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
49203         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
49204         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
49205         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
49206         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
49207         [__WORDSIZE != 64]: Likewise.
49209 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49211         * Makeconfig (run-built-tests): New variable.
49212         * Rules [$(cross-compiling) = yes]: Change condition to
49213         [$(run-built-tests) = no].
49214         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
49215         to [$(run-built-tests) = yes].
49216         * elf/Makefile [$(cross-compiling) = no]: Likewise
49217         * grp/Makefile [$(cross-compiling) = no]: Likewise.
49218         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
49219         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
49220         * intl/Makefile [$(cross-compiling) = no]: Likewise.
49221         * io/Makefile [$(cross-compiling) = no]: Likewise.
49222         * libio/Makefile [$(cross-compiling) = no]: Likewise.
49223         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
49224         * misc/Makefile [$(cross-compiling) = no]: Likewise.
49225         * posix/Makefile [$(cross-compiling) = no]: Likewise.
49226         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
49227         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
49228         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
49229         * string/Makefile [$(cross-compiling) = no]: Likewise.
49231         * posix/Makefile ($(objpfx)globtest.out): Pass
49232         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
49233         $(rtld-installed-name).
49234         * posix/globtest.sh (elf_objpfx): Remove variable.
49235         (rtld_installed_name): Likewise.
49236         (library_path): Likewise.
49237         (run_program_prefix): New variable.  Use for running globtest
49238         binary.
49240 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
49241             Joseph Myers  <joseph@codesourcery.com>
49243         * Makeconfig (host-built-program-cmd): New variable.
49244         * elf/Makefile (tst-stackguard1-ARGS): Use
49245         $(host-built-program-cmd).
49246         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
49247         (tst-spawn-ARGS): Likewise.
49248         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
49250 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49251             Jim Blandy  <jimb@codesourcery.com>
49253         * Makeconfig (run-via-rtld-prefix): New variable.
49254         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
49255         (built-program-cmd): Likewise.
49257 2012-10-22  Andreas Jaeger  <aj@suse.de>
49259         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
49260         __O_RSYNC if it exists, otherwise to O_SYNC.
49262 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
49263             Joseph Myers  <joseph@codesourcery.com>
49265         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
49266         /dev/null.
49267         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
49268         from /dev/null
49269         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
49270         /dev/null.
49272 2012-10-22  Andreas Jaeger  <aj@suse.de>
49274         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
49275         Define always.
49276         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
49278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49279         bits/fcntl-linux.h.
49281         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
49282         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
49284         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
49285         to __O_LARGEFILE.
49286         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
49287         to __O_LARGEFILE.
49289 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
49290             Joseph Myers  <joseph@codesourcery.com>
49292         * config.make.in (NM): New variable.
49294 2012-10-21  Andreas Jaeger  <aj@suse.de>
49296         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
49297         definitions and declarations that are provided by
49298         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49300 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49302         [BZ #14683]
49303         * elf/Makefile (tests-static): Add tst-leaks1-static.
49304         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
49305         ($(objpfx)tst-leaks1-static): New rule.
49306         ($(objpfx)tst-leaks1-static-mem): Likewise.
49307         (tst-leaks1-static-ENV): New macro.
49308         * elf/dl-open.c (dl_open_worker): Check the main application
49309         only if SHARED is defined.
49310         * elf/tst-leaks1-static.c: New file.
49312 2012-10-20  Andreas Jaeger  <aj@suse.de>
49314         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
49315         generic values for Linux.
49316         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
49317         and declarations that are provided by <bits/fcntl-linux.h> and
49318         include <bits/fcntl-linux.h>.
49319         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49320         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49322 2012-10-20  Roland McGrath  <roland@hack.frob.com>
49324         * io/fcntl.h: Move include of <bits/types.h> to the top and
49325         include it unconditionally.
49327 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49329         * wcsmbs/Makefile (tests-ifunc): New variable.
49330         (tests): Add $(tests-ifunc).
49331         * wcsmbs/test-wcschr-ifunc.c: New file.
49332         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
49333         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
49334         * wcsmbs/test-wcslen-ifunc.c: Likewise.
49335         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
49336         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
49338         * string/Makefile (tests-ifunc): New variable.
49339         (tests): Add $(tests-ifunc).
49340         * string/test-memccpy.c (TEST_NAME): New macro.
49341         * string/test-memchr.c (TEST_NAME): Likewise.
49342         * string/test-memcmp.c (TEST_NAME): Likewise.
49343         * string/test-memcpy.c (TEST_NAME): Likewise.
49344         * string/test-memmem.c (TEST_NAME): Likewise.
49345         * string/test-memmove.c (TEST_NAME): Likewise.
49346         * string/test-memset.c (TEST_NAME): Likewise.
49347         * string/test-rawmemchr.c (TEST_NAME): Likewise.
49348         * string/test-stpcpy.c (TEST_NAME): Likewise.
49349         * string/test-stpncpy.c (TEST_NAME): Likewise.
49350         * string/test-strcasecmp.c (TEST_NAME): Likewise.
49351         * string/test-strcasestr.c (TEST_NAME): Likewise.
49352         * string/test-strcat.c (TEST_NAME): Likewise.
49353         * string/test-strchr.c (TEST_NAME): Likewise.
49354         * string/test-strcmp.c(TEST_NAME): Likewise.
49355         * string/test-strcpy.c (TEST_NAME): Likewise.
49356         * string/test-strcspn.c (TEST_NAME): Likewise.
49357         * string/test-strlen.c (TEST_NAME): Likewise.
49358         * string/test-strncasecmp.c (TEST_NAME): Likewise.
49359         * string/test-strncmp.c (TEST_NAME): Likewise.
49360         * string/test-strncpy.c (TEST_NAME): Likewise.
49361         * string/test-strnlen.c (TEST_NAME): Likewise.
49362         * string/test-strpbrk.c (TEST_NAME): Likewise.
49363         * string/test-strrchr.c (TEST_NAME): Likewise.
49364         * string/test-strspn.c (TEST_NAME): Likewise.
49365         * string/test-strstr.c (TEST_NAME): Likewise.
49366         * string/test-bcopy-ifunc.c: New file.
49367         * string/test-bzero-ifunc.c: Likewise.
49368         * string/test-memccpy-ifunc.c: Likewise.
49369         * string/test-memchr-ifunc.c: Likewise.
49370         * string/test-memcmp-ifunc.c: Likewise.
49371         * string/test-memcpy-ifunc.c: Likewise.
49372         * string/test-memmem-ifunc.c: Likewise.
49373         * string/test-memmove-ifunc.c: Likewise.
49374         * string/test-mempcpy-ifunc.c: Likewise.
49375         * string/test-memset-ifunc.c: Likewise.
49376         * string/test-rawmemchr-ifunc.c: Likewise.
49377         * string/test-stpcpy-ifunc.c: Likewise.
49378         * string/test-stpncpy-ifunc.c: Likewise.
49379         * string/test-strcasecmp-ifunc.c: Likewise.
49380         * string/test-strcasestr-ifunc.c: Likewise.
49381         * string/test-strcat-ifunc.c: Likewise.
49382         * string/test-strchr-ifunc.c: Likewise.
49383         * string/test-strchrnul-ifunc.c: Likewise.
49384         * string/test-strcmp-ifunc.c: Likewise.
49385         * string/test-strcpy-ifunc.c: Likewise.
49386         * string/test-strcspn-ifunc.c: Likewise.
49387         * string/test-strlen-ifunc.c: Likewise.
49388         * string/test-strncasecmp-ifunc.c: Likewise.
49389         * string/test-strncat-ifunc.c: Likewise.
49390         * string/test-strncmp-ifunc.c: Likewise.
49391         * string/test-strncpy-ifunc.c: Likewise.
49392         * string/test-strnlen-ifunc.c: Likewise.
49393         * string/test-strpbrk-ifunc.c: Likewise.
49394         * string/test-strrchr-ifunc.c: Likewise.
49395         * string/test-strspn-ifunc.c: Likewise.
49396         * string/test-strstr-ifunc.c: Likewise.
49398         * debug/Makefile (tests-ifunc): New variable.
49399         (tests): Add $(tests-ifunc).
49400         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
49401         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
49402         * debug/test-stpcpy_chk-ifunc.c: New file.
49403         * debug/test-strcpy_chk-ifunc.c: Likewise.
49405 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49407         [BZ #13601]
49408         * elf/dl-load.c (open_verify): Retry read if the entire ELF
49409         header is not read in.
49411 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
49413         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
49414         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
49415         directly.  Pass built executable to script as
49416         $(built-program-cmd).
49417         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
49418         $testprogram without using LD_LIBRARY_PATH and $ldso.
49420         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
49421         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
49422         $(rtld-installed-name).
49423         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
49424         (rtld_installed_name): Likewise.
49425         (library_path): Likewise.
49426         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
49427         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
49428         $(run-program-prefix) to tst-tables.sh.
49429         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
49430         it to run tst-table-from and tst-table-to.
49431         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
49432         Pass it to tst-table.sh.
49433         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
49434         $(run-program-prefix) to tst-gettext.sh.
49435         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
49436         tst-translit.sh.
49437         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
49438         tst-gettext2.sh.
49439         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
49440         to run tst-gettext.
49441         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
49442         to run tst-gettext2.
49443         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
49444         to run tst-translit.
49445         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
49446         $(run-program-prefix) to tst-mtrace.sh.
49447         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
49448         to run tst-mtrace.
49449         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
49450         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
49451         $(rtld-installed-name).
49452         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
49453         (rtld_installed_name): Likewise.
49454         (run_program_prefix): New variable.  Use it to run wordexp-test.
49456         * Makeconfig (ARCH): Remove all definitions.
49457         (machine): Likewise.
49458         [ARCH]: Remove conditional code.
49459         [!objdir]: Give error.
49460         [!objdir] (objpfx): Remove.
49461         [!objdir] (common-objpfx): Likewise.
49462         [!objdir] (common-objdir): Likewise.
49463         * configure.in (config_makefile): Remove.  Hardcode Makefile in
49464         AC_CONFIG_FILES call.
49465         * configure: Regenerated.
49467         [BZ #13888]
49468         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
49469         or TMPDIR.
49470         (testout): Likewise.
49472         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
49473         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
49474         $(rtld-installed-name).
49475         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
49476         (rtld_installed_name): Likwise.
49477         (runit): Remove function.
49478         (run_getconf): New variable,  Use it for running getconf binary.
49480 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
49482         [BZ #14716]
49483         * string/test-memmem.c (check_result): New function.
49484         (do_one_test): Use it.
49485         (check1): New function.
49486         (test_main): Use it.
49488 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
49490         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
49492 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
49494         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
49495         (_G_LSEEK64): Likewise.
49496         (_G_MMAP64): Likewise.
49497         (_G_FSTAT64): Likewise.
49498         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
49499         (_G_LSEEK64): Likewise.
49500         (_G_MMAP64): Likewise.
49501         (_G_FSTAT64): Likewise.
49502         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
49503         unconditional.  Call __mmap64 directly.
49504         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
49505         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
49506         __lseek64 directly.
49507         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
49508         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
49509         __mmap64 directly.
49510         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
49511         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
49512         __lseek64 directly.
49513         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
49514         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
49515         __lseek64 directly.
49516         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
49517         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
49518         __lseek64 directly.
49519         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
49520         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
49521         __fxstat64 directly.
49522         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
49523         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
49524         unconditional.
49525         (freopen64) [!_G_OPEN64]: Remove conditional code.
49526         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
49527         unconditional.
49528         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
49529         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
49530         unconditional.
49531         (ftello64) [!_G_LSEEK64]: Remove conditional code.
49532         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
49533         unconditional.
49534         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
49535         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
49536         unconditional.
49537         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
49538         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
49539         unconditional.
49540         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
49541         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
49542         unconditional.
49543         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
49544         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
49545         unconditional.
49546         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
49548 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49550         [BZ #12140]
49551         * manual/memory.texi (Malloc Tunable Parameters): Add note
49552         about free list pointers overwriting some perturb bytes.
49553         Wording suggested by Roland McGrath.
49555 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
49557         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
49558         (lgamma_test): Likewise.
49559         (tgamma_test): Likewise.
49561 2012-10-16  Florian Weimer  <fweimer@redhat.com>
49563         [BZ #14700]
49564         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
49565         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
49567 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
49569         * NEWS: Mention BZ #14716.
49570         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
49571         when removing AVAILABLE1_USES_J macro.
49573 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
49575         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
49576         (__bswap_64): __uint64_t for unsigned 64-bit int.
49578 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
49580         * include/string.h (memmem): Declare libc hidden alias.
49581         * string/memmem.c (memmem): Define libc hidden alias.
49582         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
49583         __read, __close instead of open, read, close.
49585 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
49587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
49588         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
49589         global and hidden.
49590         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
49591         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
49592         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
49593         Likewise.
49594         (__rawmemchr_sse2): Likewise.
49595         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
49596         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
49597         (__strchr_sse2): Likewise.
49598         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
49599         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
49600         (__strcasecmp_sse2): Likewise.
49601         (__strncasecmp_sse2): Likewise.
49602         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
49603         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
49604         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
49605         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
49606         (__strrchr_sse2): Likewise.
49607         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
49608         ifunc-impl-list.c.
49609         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
49610         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
49611         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
49612         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49613         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
49614         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
49615         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49616         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49617         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
49618         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
49619         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
49620         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
49621         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
49622         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
49623         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
49624         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49625         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
49626         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
49627         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
49628         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
49629         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
49630         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
49631         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
49632         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49633         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
49634         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49635         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
49636         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
49637         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
49638         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
49640         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
49641         global and hidden.
49642         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
49643         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
49644         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
49645         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
49646         Likewise.
49647         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
49648         Likewise.
49649         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
49650         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
49651         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
49652         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
49653         ifunc-impl-list.c.
49654         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49655         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49656         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49657         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49658         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49659         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49660         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49661         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49662         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49663         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49664         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49665         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49666         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49667         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
49668         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
49669         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49670         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
49671         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
49672         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49673         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49674         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49675         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49676         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49677         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49678         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49679         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
49680         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
49681         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
49682         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
49683         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49684         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
49685         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49686         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49687         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
49688         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49689         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49690         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49691         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49692         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49693         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49694         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
49696         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
49697         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
49698         * include/ifunc-impl-list.h: New file.
49699         * misc/ifunc-impl-list.c: Likewise.
49700         * misc/Makefile (routines): Add ifunc-impl-list.
49701         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
49702         * string/test-string.h: Include <ifunc-impl-list.h>.
49703         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
49704         TEST_NAME]: New variables.
49705         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
49706         are defined.
49707         (test_init): Call __libc_ifunc_impl_list to initialize
49708         func_list if TEST_IFUNC and TEST_NAME are defined.
49710         * string/Makefile (strop-tests): Add bcopy and bzero.
49711         * string/test-bcopy.c: New file.
49712         * string/test-bzero.c: Likewise.
49713         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
49714         defined.
49715         * string/test-memset.c: Support bzero test if TEST_BZERO is
49716         defined.
49717         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
49718         __libc_memmove.
49719         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
49720         __libc_memset.
49721         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
49722         of memset.
49724 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
49726         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
49727         * configure: Regenerated.
49729         * Makeconfig (+link-static-before-libc): Don't include
49730         $(link-static-libc).
49732         * libio/libio.h (_IO_pos_t): Remove.
49734 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49736         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
49737         McGrath.
49739 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49741         * crypt/crypt-entry.c: Include fips-private.h.
49742         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
49743         * crypt/md5c-test.c (main): Tolerate disabled MD5.
49744         * sysdeps/unix/sysv/linux/fips-private.h: New file.
49745         * sysdeps/generic/fips-private.h: New file, dummy fallback.
49747 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49749         * crypt/crypt-private.h: Include stdbool.h.
49750         (_ufc_setup_salt_r): Return bool.
49751         * crypt/crypt-entry.c: Include errno.h.
49752         (__crypt_r): Return NULL with EINVAL for bad salt.
49753         * crypt/crypt_util.c (bad_for_salt): New.
49754         (_ufc_setup_salt_r): Check that salt is long enough and within
49755         the specified alphabet.
49756         * crypt/badsalttest.c: New file.
49757         * crypt/Makefile (tests): Add it.
49758         ($(objpfx)badsalttest): New.
49760 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
49762         * NEWS: Add entry for BZ #14602.
49764 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49766         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
49767         type-generic.
49768         * math/libm-test.inc: Update comment listing what functions and
49769         macros are tested.
49770         (isgreater_test): New function.
49771         (isgreaterequal_test): Likewise.
49772         (isless_test): Likewise.
49773         (islessequal_test): Likewise.
49774         (islessgreater_test): Likewise.
49775         (isunordered_test): Likewise.
49776         (main): Call the new functions.
49778 2012-10-09  Roland McGrath  <roland@hack.frob.com>
49780         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
49781         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
49782         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
49783         * sysdeps/i386/configure: Regenerated.
49784         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
49785         * sysdeps/mach/configure: Regenerated.
49786         * sysdeps/mach/hurd/configure: Regenerated.
49787         * sysdeps/powerpc/configure: Regenerated.
49788         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49789         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49790         * sysdeps/s390/s390-32/configure: Regenerated.
49791         * sysdeps/s390/s390-64/configure: Regenerated.
49792         * sysdeps/sh/configure: Regenerated.
49793         * sysdeps/sparc/configure: Regenerated.
49794         * sysdeps/unix/sysv/linux/configure: Regenerated.
49795         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49796         * sysdeps/x86_64/configure: Regenerated.
49798         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
49799         defined.  Don't check if MAP is NULL.
49801 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49803         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
49804         (_G_stat64): Likewise.
49805         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
49806         (_G_stat64): Likewise.
49807         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
49808         instead of struct _G_stat64.
49809         * libio/fileops.c (mmap_remap_check): Likewise.
49810         (decide_maybe_mmap): Likewise.
49811         (_IO_new_file_seekoff): Likewise.
49812         (_IO_file_stat): Likewise.
49813         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
49814         _G_off64_t.
49815         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
49816         instead of struct _G_stat64.
49817         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49819 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
49821         [BZ #14602]
49822         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49823         Replace with ...
49824         (CHECK_EOL): New macro.
49825         (two_way_short_needle): Check beginning of haystack for EOL.  Use
49826         CHECK_EOL.
49827         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49828         Replace with CHECK_EOL.
49829         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49830         Replace with CHECK_EOL.
49832 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
49834         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
49835         type-generic.
49836         * math/libm-test.inc: Update comment listing what functions and
49837         macros are tested.
49838         (finite_test): New function.
49839         (isinf_test): Likewise.
49840         (isnan_test): Likewise.
49841         (fpclassify_test): Test subnormal input.
49842         (isfinite_test): Likewise.
49843         (isnormal_test): Likewise.
49844         (main): Call the new functions.
49846 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
49848         [BZ #14660]
49849         * Makerules (%.dynsym): Force C locale when running
49850         $(OBJDUMP) --dynamic-syms.
49852 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
49854         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
49855         <stdint.h>.
49857 2012-10-06  David S. Miller  <davem@davemloft.net>
49859         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
49860         upper 32-bits of the length value in %o2 since we use branch-on-register
49861         tests which consider the entire 64-bit register.
49863 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
49865         * string/test-strstr.c (check2): Add a test for page boundary.
49867 2012-10-05  David S. Miller  <davem@davemloft.net>
49869         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
49870         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
49871         file.
49872         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49873         sysdep_routines.
49874         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49875         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
49876         and bzero when HWCAP_SPARC_CRYPTO is present.
49878 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
49880         [BZ #14602]
49881         * string/test-strstr.c (check2): New function.
49882         (test_main): Call check2.
49884         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
49885         and bug-strchr1.
49886         * string/bug-strcasestr1.c (do_test): Moved to ...
49887         * string/test-strcasestr.c (check1): Here.  New function.
49888         (do_one_test): Break out result checking code into ...
49889         (check_result): This.  New function.
49890         (do_one_test): Call check_result.
49891         (test_main): Call check1.
49892         * string/bug-strchr1.c (do_test): Moved to ...
49893         * string/test-strchr.c (check1): Here.  New function.
49894         (do_one_test): Break out result checking code into ...
49895         (check_result): This.  New function.
49896         (do_one_test): Call check_result.
49897         (test_main): Call check1.
49898         * string/bug-strstr1.c (main): Moved to ...
49899         * string/test-strstr.c (check1): Here.  New function.
49900         (do_one_test): Break out result checking code into ...
49901         (check_result): This.  New function.
49902         (do_one_test): Call check_result.
49903         (test_main): Call check1.
49904         * string/bug-strcasestr1.c: Removed.
49905         * string/bug-strchr1.c: Likewise.
49906         * string/bug-strstr1.c: Likewise.
49908         * elf/Makefile (dl-routines): Add hwcaps.
49909         * elf/dl-support.c (_dl_important_hwcaps): Removed.
49910         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
49911         (_dl_important_hwcaps): Moved to ...
49912         * elf/dl-hwcaps.c: Here.  New file.
49913         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
49915         [BZ #14557]
49916         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
49917         if IS_IN_rtld isn't defined.
49919         * elf/dl-support.c (_dl_sysinfo_map): New.
49920         Include "get-dynamic-info.h" and "setup-vdso.h".
49921         (_dl_non_dynamic_init): Call setup_vdso.
49922         * elf/dynamic-link.h: Don't include <assert.h>.
49923         (elf_get_dynamic_info): Moved to ...
49924         * elf/get-dynamic-info.h: Here.  New file.
49925         * elf/dynamic-link.h: Include "get-dynamic-info.h".
49926         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
49927         * elf/setup-vdso.h: Here.  New file.
49928         * elf/rtld.c: Include "setup-vdso.h".
49929         (dl_main): Call setup_vdso.
49931 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
49933         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
49934         creal in comment listing functions tested.  List finite, isinf,
49935         isnan, isless, islessequal, isgreater, isgreaterequal,
49936         islessgreater, isunordered, lgamma_r and pow10 as functions and
49937         macros not tested.  Mention which functions not tested are aliases
49938         for other functions.  Fix typo.  Note that signs of NaNs are not
49939         tested.
49941         * scripts/config.guess: Update from config.git.
49942         * scripts/config.sub: Likewise.
49944 2012-10-04  Roland McGrath  <roland@hack.frob.com>
49946         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
49947         * misc/madvise.c (madvise): Renamed to __madvise.
49948         Make madvise a weak alias.
49949         * include/sys/mman.h: Declare __madvise.
49950         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
49951         * sysdeps/unix/syscalls.list
49952         (madvise): Make __madvise the strong name, and madvise a weak alias.
49953         * sysdeps/unix/sysv/linux/syscalls.list
49954         (madvise, mmap): Remove redundant entries.
49955         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
49956         * malloc/malloc.c (mtrim): Likewise.
49957         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
49959 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49961         * sysdeps/mach/hurd/dl-cache.c: File removed.
49962         * config.h.in (USE_LDCONFIG): New #undef.
49963         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
49964         * configure: Regenerated.
49965         * elf/Makefile (dl-routines): Add dl-cache only under
49966         [$(use-ldconfig) = yes].
49967         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
49968         cache on [USE_LDCONFIG].
49969         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
49970         [USE_LDCONFIG].
49971         * elf/rtld.c (dl_main): Likewise.
49973 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
49975         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
49976         _SC_LEVEL4_CACHE_LINESIZE.
49978 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49980         * sysdeps/unix/bsd/confstr.h: File removed.
49982 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
49984         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
49985         sys/sdt-config.h.
49987 2012-10-02  Roland McGrath  <roland@hack.frob.com>
49989         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
49990         Make 'mapoff' field ElfW(Off) rather than off_t.
49992 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
49994         * nscd/Makefile: Remove nscd-cflags and all its users.
49995         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
49996         (CFLAGS-nonlib): Add compiler flags for nscd modules.
49998         [BZ #10631]
49999         * malloc.c (malloc_printerr): Clarify error message.
50001 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
50003         [BZ #14648]
50004         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50005         Set bit_FMA_Usable if FMA is supported.
50006         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50007         macro.
50008         (bit_FMA4_Usable): Updated.
50009         (index_FMA_Usable): New macro.
50010         (CPUID_FMA): Likewise
50011         (HAS_FMA): Defined with bit_FMA_Usable.
50013 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50015         * bits/types.h (__swblk_t): Type removed.
50016         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
50017         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
50018         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50019         (__SWBLK_T_TYPE): Likewise.
50020         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50021         (__SWBLK_T_TYPE): Likewise.
50022         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50023         (__SWBLK_T_TYPE): Likewise.
50024         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50025         (__SWBLK_T_TYPE): Likewise.
50027 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
50028             Honza Horak <hhorak@redhat.com>
50030         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
50031         (xdr_mapname): Use YPMAXMAP as maxsize.
50032         (xdr_peername): Use YPMAXPEER as maxsize.
50033         (xdr_keydat): Use YPAXRECORD as maxsize.
50034         (xdr_valdat): Use YPMAXRECORD as maxsize.
50036 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50038         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
50040         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
50041         * csu/init-first.c: ... here.
50042         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
50043         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
50044         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
50045         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
50046         * sysdeps/i386/init-first.c: File removed.
50047         * sysdeps/sh/init-first.c: File removed.
50049 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
50051         [BZ #14645]
50052         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
50053         if x * y might underflow to zero and z is zero.
50054         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50055         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50056         * math/libm-test.inc (min_subnorm_value): New variable.
50057         (fma_test): Add more tests.
50058         (fma_test_towardzero): Likewise.
50059         (fma_test_downward): Likewise
50060         (fma_test_upward): Likewise.
50061         (initialize): Set min_subnorm_value.
50063 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
50065         [BZ #14638]
50066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
50067         0 + 0.
50068         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
50069         mode for addition resulting in exact zero.
50070         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
50071         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
50072         exact 0 + 0.
50073         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50074         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50075         * math/libm-test.inc (fma_test): Add more tests.
50076         (fma_test_towardzero): New function.
50077         (fma_test_downward): Likewise.
50078         (fma_test_upward): Likewise.
50079         (main): Call the new functions.
50081 2012-09-28  David S. Miller  <davem@davemloft.net>
50083         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
50085 2012-09-28  Roland McGrath  <roland@hack.frob.com>
50087         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
50088         instead of SIGALRM.
50090         * sysdeps/gnu/_G_config.h: Moved to ...
50091         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
50092         * sysdeps/mach/hurd/_G_config.h: Moved to ...
50093         * sysdeps/generic/_G_config.h: ... here.
50095         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
50097         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
50099         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
50100         Conditionalize target on [libnss_test1.so-version].
50102         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
50104         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
50105         (elfobjdir): Move out of conditionals.
50107         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
50108         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
50109         (__nss_lookup_function): Conditionalize label remove_from_tree on
50110         [!DO_STATIC_NSS || SHARED], matching its only use.
50112 2012-09-28  David S. Miller  <davem@davemloft.net>
50114         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
50115         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
50116         file.
50117         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50118         sysdep_routines.
50119         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
50121         when HWCAP_SPARC_CRYPTO is present.
50123 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50125         * io/tst-mknodat.c: Create a FIFO instead of a socket.
50127 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
50129         [BZ #6530]
50130         * stdio-common/vfprintf.c (process_string_arg): Revert
50131         2000-07-22 change.
50133 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
50135         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
50136         for testcase.
50137         * stdio-common/tst-sprintf.c: Include <locale.h>
50138         (main): Test sprintf's handling of incomplete multibyte
50139         characters.
50141 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
50143         * elf/dl-runtime.c (VERSYMIDX): Removed.
50144         * elf/dl-version.c (VERSYMIDX): Likewise.
50145         * elf/do-rel.h (VERSYMIDX): Likewise.
50146         (VALIDX): Likewise.
50147         * elf/dynamic-link.h (VERSYMIDX): Likewise.
50148         * elf/rtld.c (VALIDX): Likewise.
50149         (ADDRIDX): Likewise.
50150         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50151         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
50152         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
50153         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
50154         (VALIDX): Likewise.
50155         (ADDRIDX): Likewise.
50157 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50159         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
50161 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
50163         [BZ #11438]
50164         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
50165         to global scope.
50166         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
50167         addresses are in the same scope as 192.0.2/24.
50168         * posix/gai.conf: Document new scope table defaults.
50170 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50172         [BZ #5298]
50173         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
50174         for ftell.  Compute offsets from write pointers instead.
50175         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50177 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50179         [BZ #14543]
50180         * libio/Makefile (tests): New test case tst-fseek.
50181         * libio/tst-fseek.c: New test case to verify that fseek/ftell
50182         combination works in wide mode.
50183         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
50184         state when the external buffer state changes.
50186 2012-09-27  David S. Miller  <davem@davemloft.net>
50188         [BZ #14376]
50189         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
50190         pass reloc->r_addend in as the 'high' argument to
50191         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
50193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50195 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50197         * rt/tst-aio2.c: Include <pthread.h>.
50198         * rt/tst-aio3.c: Likewise.
50200 2012-09-27  Steve Ellcey  <sellcey@mips.com>
50202         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
50204 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
50206         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
50207         contents on [SHARED].
50209 2012-09-26  Marek Polacek  <polacek@redhat.com>
50211         [BZ #14530]
50212         [BZ #13741]
50213         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
50214         for C++ and GCC <4.3 as well as for non GCC compilers.
50216 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50220 2012-09-25  Roland McGrath  <roland@hack.frob.com>
50222         * Makefile.in (all, install): Declare with .PHONY.
50223         Reported by Michael Hope <michael.hope@linaro.org>.
50225 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50227         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
50228         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
50229         system header.
50230         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
50231         Likewise.
50232         (sydep_routines): Add the new and the internal functions.
50233         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
50234         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
50235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
50236         (GLIBC_2.17): Add the new function.
50237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50238         (GLIBC_2.17): Likewise.
50239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
50240         (GLIBC_2.17): Likewise.
50241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
50242         (GLIBC_2.17): Likewise.
50243         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
50245 2012-09-25  Alan Modra  <amodra@gmail.com>
50247         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
50248         Add release barrier before setting once_control to say
50249         initialisation is done.  Add hints on lwarx.  Use macro in
50250         place of isync.
50251         (clear_once_control): Add release barrier.
50253 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50255         [BZ #13629]
50256         * math/s_clog.c (__clog): Handle more values close to |z| = 1
50257         specially.
50258         * math/s_clog10.c (__clog10): Likewise.
50259         * math/s_clog10f.c (__clog10f): Likewise.
50260         * math/s_clog10l.c (__clog10l): Likewise.
50261         * math/s_clogf.c (__clogf): Likewise.
50262         * math/s_clogl.c (__clogl): Likewise.
50263         * math/Makefile (libm-calls): Add x2y2m1.
50264         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
50265         (__x2y2m1): Likewise.
50266         (__x2y2m1l): Likewise.
50267         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
50268         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
50269         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
50270         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50271         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
50272         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
50273         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
50274         * sysdeps/i386/fpu/libm-test-ulps: Update.
50275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50277         [BZ #14621]
50278         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
50279         int as type of variable DEPTH.
50280         (glob): Use size_t instead of int as type of variables NEWCOUNT
50281         and OLD_PATHC.
50283 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50285         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50286         Add s_sincosf-sse2.
50287         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
50288         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
50289         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
50290         macros for using routine as __sincosf_ia32.
50291         Use macro for function declaration and weak_alias.
50292         * sysdeps/i386/fpu/libm-test-ulps: Update.
50294         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
50295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50297         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
50298         subnormal argument.
50299         * math/s_cexpf.c (__cexpf): Likewise.
50300         * math/s_csinf.c (__csinf): Likewise.
50301         * math/s_csinhf.c (__csinhf): Likewise.
50302         * math/s_ctanf.c (__ctanf): Likewise.
50303         * math/s_ctanhf.c (__ctanhf): Likewise.
50304         * math/s_ccosh.c (__ccoshf): Likewise.
50305         * math/s_cexp.c (__cexpl): Likewise.
50306         * math/s_csin.c (__csin): Likewise.
50307         * math/s_csinh.c (__csinh): Likewise.
50308         * math/s_ctan.c (__ctan): Likewise.
50309         * math/s_ctanh.c (ctanh): Likewise.
50310         * math/s_ccoshl.c (__ccoshl): Likewise.
50311         * math/s_cexpl.c (__cexpl): Likewise.
50312         * math/s_csinl.c (__csinl): Likewise.
50313         * math/s_csinhl.c (__csinhl): Likewise.
50314         * math/s_ctanl.c (__ctanl): Likewise.
50315         * math/s_ctanhl.c (__ctanhl): Likewise.
50317 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50319         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
50320         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
50321         (_IO_off_t): Define to __off_t, not _G_off_t.
50322         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
50323         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
50324         (_IO_wint_t): Define to wint_t, not _G_wint_t.
50325         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
50326         type of __dummy and __dummy2 fields.
50327         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
50328         (_G_ssize_t): Likewise.
50329         (_G_off_t): Likewise.
50330         (_G_pid_t): Likewise.
50331         (_G_uid_t): Likewise.
50332         (_G_wchar_t): Likewise.
50333         (_G_wint_t): Likewise.
50334         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
50335         (_G_ssize_t): Likewise.
50336         (_G_off_t): Likewise.
50337         (_G_pid_t): Likewise.
50338         (_G_uid_t): Likewise.
50339         (_G_wchar_t): Likewise.
50340         (_G_wint_t): Likewise.
50341         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
50342         (_G_ssize_t): Likewise.
50343         (_G_off_t): Likewise.
50344         (_G_pid_t): Likewise.
50345         (_G_uid_t): Likewise.
50346         (_G_wchar_t): Likewise.
50347         (_G_wint_t): Likewise.
50349 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50351         * malloc/arena.c: Include malloc-sysdep.h.
50352         (shrink_heap): Use check_may_shrink_heap to decide if madvise
50353         is sufficient to shrink the heap or an unmap is needed.
50354         * sysdeps/generic/malloc-sysdep.h: New file.  Define
50355         new function check_may_shrink_heap.
50356         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
50357         new function check_may_shrink_heap.
50359 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50361         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
50362         comments.
50364 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
50366         * catgets/test-gencat.sh: Add "set -e".
50367         * elf/tst-pathopt.sh: Likewise.
50368         * grp/tst_fgetgrent.sh: Likewise.
50369         * iconvdata/run-iconv-test.sh: Likewise.
50370         * intl/tst-gettext.sh: Likewise.
50371         * intl/tst-gettext2.sh: Likewise.
50372         * intl/tst-gettext4.sh: Likewise.
50373         * intl/tst-gettext6.sh: Likewise.
50374         * intl/tst-translit.sh: Likewise.
50375         * io/ftwtest-sh: Likewise.
50376         * libio/test-freopen.sh: Likewise.
50377         * malloc/tst-mtrace.sh: Likewise.
50378         * posix/globtest.sh: Likewise.
50379         * posix/tst-getconf.sh: Likewise.
50380         * posix/wordexp-tst.sh: Likewise.
50381         * stdio-common/tst-printf.sh: Likewise.
50382         * stdio-common/tst-unbputc.sh: Likewise.
50383         * stdlib/tst-fmtmsg.sh: Likewise.
50384         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
50385         * catgets/Makefile: Do not specify -e option when running
50386         testsuite shell scripts.
50387         * elf/Makefile: Likewise.
50388         * grp/Makefile: Likewise.
50389         * iconvdata/Makefile: Likewise.
50390         * intl/Makefile: Likewise.
50391         * io/Makefile: Likewise.
50392         * libio/Makefile: Likewise.
50393         * malloc/Makefile: Likewise.
50394         * posix/Makefile: Likewise.
50395         * stdio-common/Makefile: Likewise.
50396         * stdlib/Makefile: Likewise.
50397         * sysdeps/x86_64/Makefile: Likewise.
50399         * io/ftwtest-sh: Add copyright header.
50400         * posix/globtest.sh: Likewise.
50401         * posix/tst-getconf.sh: Likewise.
50402         * posix/wordexp-tst.sh: Likewise.
50403         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
50405 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
50407         [BZ #13679]
50408         * Makeconfig (+link): Defined as $(+link-static) if
50409         $(build-shared) isn't yes.
50410         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
50411         isn't yes.
50412         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
50414         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
50416         [BZ #14562]
50417         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
50418         new chunk size with MALLOC_ALIGN_MASK.
50420 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
50422         [BZ #5044]
50423         * stdio-common/printf_fphex.c: Include <stdbool.h> and
50424         <rounding-mode.h>.
50425         (__printf_fphex): Determine rounding using get_rounding_mode and
50426         round_away.
50427         * stdio-common/tst-printf-round.c (struct hex_test): New
50428         structure.
50429         (hex_tests): New variable.
50430         (test_hex_in_one_mode): New function.
50431         (do_test): Also run tests for hex float output.
50433 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
50435         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
50436         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
50437         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
50438         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
50439         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
50440         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
50441         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
50442         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
50444 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
50446         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
50447         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
50448         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
50449         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
50451 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
50453         [BZ #14579]
50454         * elf/rtld.c (dl_main): Limit the check for self loading to normal
50455         mode only.
50456         * elf/tst-rtld-load-self.sh: New test.
50457         * elf/Makefile: Run it.
50459 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
50461         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
50462         (tst-writev-ENV): Remove.
50463         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
50465 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
50467         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
50469 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
50471         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
50472         unconditional.
50473         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
50474         Likewise.
50475         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
50476         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
50477         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
50478         Likewise.
50480 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
50482         [BZ #14587]
50483         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
50484         * config.make.in (have-cpp-asm-debuginfo): Removed.
50485         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
50486         * configure: Regenerated.
50488 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
50490         [BZ #5044]
50491         * stdio-common/printf_fp.c: Include <stdbool.h> and
50492         <rounding-mode.h>.
50493         (___printf_fp): Determine rounding using get_rounding_mode and
50494         round_away.
50495         * stdio-common/tst-printf-round.c: New file.
50496         * stdio-common/Makefile (tests): Add tst-printf-round.
50497         (link-libm): New variable.
50498         ($(objpfx)tst-printf-round): Depend in $(link-libm).
50500 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
50502         [BZ #14576]
50503         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
50504         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
50505         Likewise.
50506         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
50507         Likewise.
50509 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
50511         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
50512         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50513         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50514         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50516 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
50518         [BZ #14518]
50519         * include/rounding-mode.h: New file.
50520         * sysdeps/generic/get-rounding-mode.h: Likewise.
50521         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
50522         * stdlib/strtod_l.c: Include <rounding-mode.h>.
50523         (MAX_VALUE): New macro.
50524         (MIN_VALUE): Likewise.
50525         (overflow_value): New function.
50526         (underflow_value): Likewise.
50527         (round_and_return): Use overflow_value and underflow_value to
50528         determine return values in overflow and underflow cases.  Use
50529         round_away to determine rounding depending on rounding mode.
50530         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
50531         determine return values in overflow and underflow cases.
50532         * stdlib/tst-strtod-round.c: Include <fenv.h>.
50533         (struct test_results): New structure.
50534         (struct test): Use struct test_results to store expected results
50535         for all rounding modes.
50536         (TEST): Include expected results for all rounding modes.
50537         (test_in_one_mode): New function.
50538         (do_test): Use test_in_one_mode to compute and check results.
50539         Check results for all rounding modes.
50540         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
50541         $(link-libm).
50543 2012-12-09  Allan McRae  <allan@archlinux.org>
50545         * sysdeps/i386/fpu/libm-test-ulps: Update
50547 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
50549         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
50550         (_G_int32_t): Likewise.
50551         (_G_uint16_t): Likewise.
50552         (_G_uint32_t): Likewise.
50553         (_G_HAVE_BOOL): Likewise.
50554         (_G_HAVE_ATEXIT): Likewise.
50555         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50556         (_G_HAVE_IO_FILE_OPEN): Likewise.
50557         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
50558         (_G_int32_t): Likewise.
50559         (_G_uint16_t): Likewise.
50560         (_G_uint32_t): Likewise.
50561         (_G_HAVE_BOOL): Likewise.
50562         (_G_HAVE_ATEXIT): Likewise.
50563         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50564         (_G_HAVE_IO_FILE_OPEN): Likewise.
50565         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
50566         (_G_int32_t): Likewise.
50567         (_G_uint16_t): Likewise.
50568         (_G_uint32_t): Likewise.
50569         (_G_HAVE_BOOL): Likewise.
50570         (_G_HAVE_ATEXIT): Likewise.
50571         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50572         (_G_HAVE_IO_FILE_OPEN): Likewise.
50574 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
50576         * csu/libc-tls.c: Update copyright years.
50578 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
50580         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
50581         [!_G_USING_THUNKS]: Remove conditional code.
50582         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
50583         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
50585         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
50586         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
50587         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
50588         (_G_VTABLE_LABEL_PREFIX): Likewise.
50589         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50590         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
50591         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50592         (_G_VTABLE_LABEL_PREFIX): Likewise.
50593         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
50594         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
50595         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50596         (_G_VTABLE_LABEL_PREFIX): Likewise.
50597         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
50599 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
50601         * libio/Makefile: Include ../Makeconfig before tests.
50602         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
50603         only if $(build-shared) is yes.
50605         * iconv/gconv_db.c: Update copyright years.
50607 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50609         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
50610         unwind info if defined PIC. Fix special cases description.
50611         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
50613         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
50614         DP_HI_MASK entry.
50615         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
50617 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
50619         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
50621         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
50622         is NULL.
50624         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
50625         (LDLIBS-tst-chk4): This.
50626         (LDFLAGS-tst-chk5): Renamed to ...
50627         (LDLIBS-tst-chk5): This.
50628         (LDFLAGS-tst-chk6): Renamed to ...
50629         (LDLIBS-tst-chk6): This.
50630         (LDFLAGS-tst-lfschk4): Renamed to ...
50631         (LDLIBS-tst-lfschk4): This.
50632         (LDFLAGS-tst-lfschk5): Renamed to ...
50633         (LDLIBS-tst-lfschk5): This.
50634         (LDFLAGS-tst-lfschk6): Renamed to ...
50635         (LDLIBS-tst-lfschk6): This.
50637         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
50638         on $(common-objpfx)soversions.mk.
50640 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
50642         [BZ #10014]
50643         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
50644         example host name.
50646 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50648         * malloc/arena.c (arena_get_retry): New function that gets
50649         another arena for the caller to try its request on.
50650         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
50651         current arena cannot fulfill the request.
50652         (__libc_memalign): Likewise.
50653         (__libc_memalign): Likewise.
50654         (__libc_pvalloc): Likewise.
50655         (__libc_calloc): Likewise.
50657 2012-09-05  John Tobey  <john.tobey@gmail.com>
50659         [BZ #13542]
50660         * manual/arith.texi (Operations on Complex): Fix description
50661         of carg branch cut.
50663 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50665         [BZ #10014]
50666         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
50667         host name.
50669         [BZ #10038]
50670         * manual/memory.texi (Memory): Make order of menu items match
50671         order of sections.
50673 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50675         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
50676         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
50677         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
50679 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50681         * csu/libc-tls.c (static_dtv): Renamed to ...
50682         (_dl_static_dtv): This.  Make it global.
50683         (_dl_initial_dtv): Removed.
50684         (__libc_setup_tls): Updated.
50685         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
50686         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
50687         DL_INITIAL_DTV.
50689 2012-09-06  Petr Machata  <pmachata@redhat.com>
50691         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
50692         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
50693         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
50694         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
50696 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50698         [BZ #14545]
50699         * csu/libc-tls.c (_dl_initial_dtv): New variable.
50700         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
50701         freeing dtv[-1].
50703 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50705         [BZ #14544]
50706         * Makeconfig (link-static-before-libc): Replace $(+prector)
50707         with $(+prectorT).
50708         (link-static-after-libc): Replace $(+postctor) with
50709         $(+postctorT).
50710         (link-bounded): Replace $(+prector)/$(+postctor) with
50711         $(+prectorT)/$(+postctorT).
50712         (+prectorT): New macro.
50713         (+postctorT): Likewise.
50715 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50717         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
50718         (round_str): Handle values above the maximum for IBM long double
50719         as inexact.
50720         * stdlib/tst-strtod-round.c (tests): Regenerated.
50722 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50724         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
50725         assembler flag.
50726         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
50727         zarch_nohighgprs around the zarch optimized routines.
50728         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
50729         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
50730         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
50731         for zarch.
50733 2012-09-05  David S. Miller  <davem@davemloft.net>
50735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50737         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
50738         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
50739         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
50740         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50741         entries.
50743 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50745         * malloc/arena.c: Fold copyright years.
50746         * malloc/mcheck.c, malloc/memusage.c: Likewise.
50748 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50750         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
50752 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50754         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
50756 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50758         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
50759         change internal state upon failure.
50761 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50763         * malloc/mcheck.c (mcheck_check_all): Fix typo.
50764         * malloc/memusage.c (mmap): Likewise.
50765         (mmap64, mremap): Likewise.  Adjust name in comment.
50767 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50769         * libio/fileops.c: Fix typos in comments.
50770         * libio/oldfileops.c: Likewise.
50771         * libio/wfileops.c: Likewise.
50773 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50775         [BZ #1349]
50776         * malloc/Makefile (tests): Add tst-malloc-usable test case.
50777         (tst-malloc-usable-ENV): Set environment for test case.
50778         * malloc/hooks.c (malloc_check_get_size): New function to get
50779         requested size.
50780         * malloc/malloc.c (musable): Use malloc_check_get_size.
50781         * malloc/tst-malloc-usable.c: New test case.
50783 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50785         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
50787 2012-09-05  Allan McRae  <allan@archlinux.org>
50789         [BZ #13966]
50790         * configure.in (CXX_SYSINCLUDES): Use compiler output to
50791         determine header location.
50792         * configure: Regenerated.
50794 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50796         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
50797         float format.
50798         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
50799         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
50800         format.
50801         (test): Regenerate.
50803 2012-09-04  David S. Miller  <davem@davemloft.net>
50805         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
50806         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
50807         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
50809 2012-09-04  Florian Weimer  <fweimer@redhat.com>
50811         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
50812         failures.
50814         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
50816 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
50818         [BZ #9914]
50819         * libio/iogetdelim.c: Include <limits.h>.
50820         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
50821         + len + 1 would overflow.
50823 2012-09-03  Andreas Jaeger  <aj@suse.de>
50825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50826         * sysdeps/i386/fpu/libm-test-ulps: Update.
50828 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50830         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50831         Add s_sinf-sse2, s_conf-sse2.
50833         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
50834         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
50835         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
50836         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
50838         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
50839         for using routine as __sinf_ia32.
50840         Use macro for function declaration and weak_alias.
50841         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
50842         for using routine as __cosf_ia32.
50843         Use macro for function declaration and weak_alias.
50845         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
50846         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
50848         * sysdeps/x86_64/fpu/s_sinf.S: New file.
50849         * sysdeps/x86_64/fpu/s_cosf.S: New file.
50850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50852         * math/libm-test.inc (cos_test): Add more test cases.
50853         (sin_test): Likewise.
50854         (sincos_test): Likewise.
50856 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50858         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
50859         (IFUNC_RESOLVE): Make pointers to the specialized implementations
50860         hidden.
50861         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50863 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
50865         [BZ #14538]
50866         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
50867         first element of the GOT.
50868         (elf_machine_load_address): Return the difference between
50869         the runtime address of _DYNAMIC and elf_machine_dynamic ().
50871 2012-09-01  Allan McRae  <allan@archlinux.org>
50873         [BZ #13412]
50874         * configure.in (AWK): Require gawk version 3.0 or later.
50875         * configure: Regenerated.
50877 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
50879         * sysdeps/unix/sysv/linux/kernel-features.h
50880         (__ASSUME_POSIX_CPU_TIMERS): Remove.
50881         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50882         [__NR_clock_getres]: Make code unconditional.
50883         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
50884         (clock_getcpuclockid): Remove code left unreachable by removal of
50885         conditionals.
50886         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
50887         code unconditional.
50888         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50889         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50890         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
50891         Make code unconditional.
50892         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50893         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50894         * sysdeps/unix/sysv/linux/clock_settime.c
50895         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
50896         conditional code.
50897         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
50898         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50900 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
50902         [BZ #14476]
50903         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
50904         scripts/test-installation.pl.
50906         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
50907         and $ld_so_version if it is set.
50909 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50911         [BZ #14516]
50912         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
50913         failure if reading from procfs failed.
50914         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
50916 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50918         * sysdeps/unix/sysv/linux/kernel-features.h
50919         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
50920         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50921         Remove conditional code.
50922         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50923         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
50924         Remove conditional code.
50925         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50926         * sysdeps/unix/sysv/linux/i386/fxstat.c
50927         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50928         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50929         * sysdeps/unix/sysv/linux/i386/fxstatat.c
50930         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50931         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50932         * sysdeps/unix/sysv/linux/i386/lxstat.c
50933         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50934         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50935         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
50936         Remove conditional code.
50937         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50938         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50939         Remove conditional code.
50940         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50941         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
50942         <kernel-features.h>.
50943         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
50944         Remove.
50945         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
50946         Remove conditional code.
50947         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50948         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
50949         Remove conditional.
50951 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
50953         [BZ #5400]
50954         * NEWS: Add fixed bug number.
50956 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50958         [BZ #14519]
50959         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
50960         underflowing exponent in case of negative sign.
50961         * stdlib/tst-strtod-round-data: Add more tests.
50962         * stdlib/tst-strtod-round.c (tests): Regenerated.
50964         [BZ #3479]
50965         * stdlib/strtod_l.c (NDIG): Remove.
50966         (HEXNDIG): Likewise.
50967         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
50968         smallest representable value.
50969         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
50970         lie within an exact representation of 1/2 ulp of the result.
50971         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
50972         unconditionally.
50973         (TENS_P9_IDX): Define unconditionally.
50974         (TENS_P9_SIZE): Likewise.
50975         (TENS_P10_IDX): Likewise.
50976         (TENS_P10_SIZE): Likewise.
50977         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
50978         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
50979         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
50980         entries for 10^2^13 and 10^2^14.
50981         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
50982         (TENS_P13_IDX): Define.
50983         (TENS_P13_SIZE): Likewise.
50984         (TENS_P14_IDX): Likewise.
50985         (TENS_P14_SIZE): Likewise.
50986         (_fpioconst_pow10): Change array size to
50987         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
50988         unconditional.
50989         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
50990         1024]: Add entries for 10^2^13 and 10^2^14.
50991         [LAST_POW10 > _LAST_POW10]: Remove #error.
50992         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
50993         (_fpioconst_pow10): Change array size to
50994         FPIOCONST_POW10_ARRAY_SIZE.
50995         * stdlib/gen-fpioconst.c: New file.
50996         * stdlib/gen-tst-strtod-round.c: Likewise.
50997         * stdlib/tst-strtod-round-data: Likewise.
50998         * stdlib/tst-strtod-round.c: Likewise.
50999         * stdlib/Makefile (tests): Add tst-strtod-round.
51001         [BZ #14459]
51002         * stdlib/strtod_l.c: Include <stdint.h>.
51003         (NDEBUG): Do not define.
51004         (round_and_return): Change EXPONENT parameter to type intmax_t.
51005         Rearrange calculations to avoid internal overflow possibilities.
51006         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
51007         Rearrange calculations to avoid internal overflow possibilities.
51008         Assert that number fits inside MPNSIZE limbs.
51009         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
51010         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
51011         calculations and add assertions to avoid internal overflow
51012         possibilities.  Add casts to avoid signed/unsigned operations.
51013         * stdlib/tst-strtod-overflow.c: New file.
51014         * stdlib/Makefile (tests): Add tst-strtod-overflow.
51016 2012-08-25  Marek Polacek  <polacek@redhat.com>
51018         * time/time.h: Fix some typos in comments.
51020 2012-08-23  Roland McGrath  <roland@hack.frob.com>
51022         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
51023         * posix/tst-rfc3484-2.c: Likewise.
51024         * posix/tst-rfc3484-3.c: Likewise.
51026 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
51028         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
51029         (EF_ARM_ABI_FLOAT_HARD): Likewise.
51031 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
51033         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
51034         #include of fxstatat64.c.
51036 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51038         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
51039         * shadow/getspent_r.c: Likewise.
51040         * shadow/getspnam.c: Likewise.
51041         * shadow/getspnam_r.c: Likewise.
51042         * gshadow/getsgent.c: Likewise.
51043         * gshadow/getsgent_r.c: Likewise.
51044         * gshadow/getsgnam.c: Likewise.
51045         * gshadow/getsgnam_r.c: Likewise.
51046         * inet/getnetbyad.c: Likewise.
51047         * inet/getnetbyad_r.c: Likewise.
51048         * inet/getnetbynm.c: Likewise.
51049         * inet/getnetbynm_r.c: Likewise.
51050         * inet/getnetent.c: Likewise.
51051         * inet/getnetent_r.c: Likewise.
51052         * inet/getproto.c: Likewise.
51053         * inet/getproto_r.c: Likewise.
51054         * inet/getprtent.c: Likewise.
51055         * inet/getprtent_r.c: Likewise.
51056         * inet/getprtname.c: Likewise.
51057         * inet/getprtname_r.c: Likewise.
51058         * inet/getrpcbyname.c: Likewise.
51059         * inet/getrpcbyname_r.c: Likewise.
51060         * inet/getrpcbynumber.c: Likewise.
51061         * inet/getrpcbynumber_r.c: Likewise.
51062         * inet/getrpcent.c: Likewise.
51063         * inet/getrpcent_r.c: Likewise.
51064         * inet/getaliasent.c: Likewise.
51065         * inet/getaliasent_r.c: Likewise.
51066         * inet/getaliasname.c: Likewise.
51067         * inet/getaliasname_r.c: Likewise.
51068         * nscd/getgrgid_r.c: Likewise.
51069         * nscd/getgrnam_r.c: Likewise.
51070         * nscd/gethstbyad_r.c: Likewise.
51071         * nscd/gethstbynm3_r.c: Likewise.
51072         * nscd/getpwnam_r.c: Likewise.
51073         * nscd/getpwuid_r.c: Likewise.
51074         * nscd/getsrvbynm_r.c: Likewise.
51075         * nscd/getsrvbypt_r.c: Likewise.
51076         * nscd/gai.c: Likewise.
51078         * configure.in (build_nscd): New substituted variable, set
51079         by --disable-build-nscd and defaults to $use_nscd.
51080         * configure: Regenerated.
51081         * config.make.in (build-nscd): New substituted variable.
51082         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
51083         Change conditional to require [$(build-nscd) = yes] as well.
51084         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
51086         [BZ# 13696]
51087         * configure.in (use_nscd): New substituted variable, set by
51088         --disable-nscd.  If enabled, define USE_NSCD.
51089         * configure: Regenerated.
51090         * config.h.in: Add USE_NSCD.
51091         * config.make.in (use-nscd): New substituted variable.
51092         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
51093         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
51094         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
51095         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
51096         (CFLAGS-getgrnam_r.c): Likewise.
51097         (CFLAGS-initgroups.c): Likewise.
51098         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
51099         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
51100         Variables removed.
51101         * inet/getnetgrent_r.c
51102         (nscd_setnetgrent): New function, broken out of ...
51103         (setnetgrent): ... here.  Call it.
51104         (innetgr): Conditionalize nscd bits on [USE_NSCD].
51105         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
51106         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
51107         * nscd/Makefile (routines, aux): Move definitions after include of
51108         Makeconfig.  Conditionalize on [$(use-nscd) != no].
51109         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
51110         Conditionalize on [USE_NSCD].
51111         (is_nscd, nscd_init_cb): Likewise.
51112         (nss_load_library): Conditionalize init callback on [USE_NSCD].
51113         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
51114         * nss/nss_db/db-init.c: Likewise.
51115         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
51116         [USE_NSCD].
51117         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
51118         (make_request): Use it.
51119         (cache_valid_p): New function.
51120         (__check_pf): Use it.
51121         * NEWS: Add item for --disable-nscd.
51123 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
51125         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51126         to support sed >= 4.2.1-20-ga9bf076.
51127         * configure: Regenerated.
51129 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51131         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
51132         Conditionalize whole body on [IREL].
51134 2012-08-22  Jeff Law <law@redhat.com>
51136         [BZ #14505]
51137         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
51138         if the family is PF_UNSPEC.
51140 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
51142         * Makerules (lib-version): Rename from V.
51143         (install-lib-nosubdir): Change V to lib-version.
51145 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
51147         [BZ #14252]
51148         * powerpc32/power6/wcschr.c: New file.
51149         * powerpc32/power6/wcscpy.c: New file.
51150         * powerpc32/power6/wcsrchr.c: New file.
51151         * powerpc64/power6/wcschr.c: New file.
51152         * powerpc64/power6/wcscpy.c: New file.
51153         * powerpc64/power6/wcsrchr.c: New file.
51155 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51157         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
51158         (two_way_short_needle): Use it.
51159         * string/strstr.c (AVAILABLE1_USES_J): Define.
51160         * string/strcasestr.c: Likewise.
51162         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
51163         array references.
51164         * string/strcasestr.c (TOLOWER): Make side-effect safe.
51166         [BZ #11607]
51167         * NEWS: Add an entry.
51168         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
51169         define their defaults.
51170         (two_way_short_needle): Detect end-of-string on-the-fly.
51171         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
51172         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
51173         * string/bug-strcasestr1.c: New test.
51174         * string/Makefile: Run it.
51176 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51178         [BZ #11607]
51179         * string/str-two-way.h (two_way_short_needle): Optimize matching of
51180         the first character.
51182 2012-08-21  Roland McGrath  <roland@hack.frob.com>
51184         * csu/elf-init.c (__libc_csu_irel): Function removed.
51185         * csu/libc-start.c (apply_irel): New function.
51186         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
51188 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
51190         * sysdeps/unix/sysv/linux/kernel-features.h
51191         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
51192         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51193         <kernel-features.h>.
51194         [__NR_fadvise64_64]: Make code unconditional.
51195         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
51196         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51197         !__NR_fadvise64_64)]: Likewise.
51198         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51199         !__NR_fadvise64_64))]: Likewise.
51200         [__NR_fadvise64]: Make code unconditional.
51201         [!__NR_fadvise64]: Remove conditional code.
51202         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
51203         <kernel-features.h>.
51204         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51205         unconditional.
51206         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51207         conditional code.
51208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
51209         not include <kernel-features.h>.
51210         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51211         unconditional.
51212         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51213         conditional code.
51214         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
51215         include <kernel-features.h>.
51216         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51217         unconditional.
51218         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51219         conditional code.
51221 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51223         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
51224         slight instruction rearrangements per scrollpipe analysis.
51225         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51227 2012-08-20  Roland McGrath  <roland@hack.frob.com>
51229         * manual/syslog.texi (syslog; vsyslog, closelog):
51230         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
51231         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
51233         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
51234         DSOCAPS to match condition on defining it.
51236 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
51238         * sysdeps/unix/sysv/linux/kernel-features.h
51239         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
51240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
51241         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51242         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
51244         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51245         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
51247         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51248         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51250         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
51251         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
51253         * sysdeps/unix/sysv/linux/kernel-features.h
51254         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
51255         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
51256         unconditional.
51257         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51258         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
51259         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51260         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51261         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
51262         Make code unconditional.
51263         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51264         (__mmap64) [!__NR_mmap2]: Likewise.
51265         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
51266         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51267         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51268         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
51269         [__NR_mmap2]: Make code unconditional.
51270         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51271         (__mmap64) [!__NR_mmap2]: Likewise.
51273 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51275         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
51277 2012-08-18  Andreas Jaeger  <aj@suse.de>
51279         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
51281 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51283         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
51284         * include/unistd.h (__have_sock_cloexec): Likewise.
51285         (__have_pipe2): Likewise.
51286         (__have_dup3): Likewise.
51288 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51290         [BZ #9685]
51291         * include/unistd.h (__have_pipe2): Change define into an extern int.
51292         (__have_dup3): Likewise.
51293         * socket/have_sock_cloexec.c: Include fcntl.h.
51294         (__have_pipe2): New variable.
51295         (__have_dup3): Likewise.
51297 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
51299         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
51301 2012-08-17  Marek Polacek  <polacek@redhat.com>
51303         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
51304         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
51306 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51308         * configure.in: Add AC_SUBST for sysheaders.
51309         * configure: Regenerated.
51310         * config.make.in (sysheaders): New substituted variable.
51312         * sysdeps/unix/mkfifo.c: Moved ...
51313         * sysdeps/posix/mkfifo.c: ... here.
51314         * sysdeps/unix/mkfifoat.c: Moved ...
51315         * sysdeps/posix/mkfifoat.c: ... here.
51317         * sysdeps/unix/utime.c: Moved ...
51318         * sysdeps/posix/utime.c: ... here.
51320         * sysdeps/unix/time.c: Moved ...
51321         * sysdeps/posix/time.c: ... here.
51322         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
51323         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
51325         * sysdeps/unix/nice.c: Moved ...
51326         * sysdeps/posix/nice.c: ... here.
51328         * sysdeps/unix/alarm.c: Moved ...
51329         * sysdeps/posix/alarm.c: ... here.
51331         * intl/Makefile ($(codeset_mo)): Depend on the input file.
51333 2012-08-17  Jeff Law <law@redhat.com>
51335         * intl/Makefile (codeset_mo): New variable.
51336         ($(codeset_mo)): New target.
51337         (tst-codeset.out): Depend on that.  Remove explicit rule.
51338         (tst-gettext3.out, tst-gettext5.out): Likewise.
51339         (LOCPATH-ENV, tst-codeset-ENV): New variables.
51340         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
51341         * intl/tst-codeset.sh: Remove.
51342         * intl/tst-gettext3.sh: Likewise.
51343         * intl/tst-gettext5.sh: Likewise.
51345 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51347         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
51348         * sysdeps/unix/syscalls.list: ... here.
51350         * sysdeps/posix/getaddrinfo.c
51351         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
51352         (gaiconf_init, gaiconf_reload): Use them.
51353         [!_STATBUF_ST_NSEC]
51354         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
51355         Define using time_t rather than struct timespec.
51357         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
51358         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
51359         Macros removed.
51360         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
51361         [!NO_THREADS].
51362         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
51363         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
51364         Likewise.
51366         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
51367         __libc_cleanup_push argument.
51369         * bits/param.h: New file.
51370         * misc/sys/param.h: New file.
51371         * include/sys/param.h: New file.
51372         * misc/Makefile (headers): Add bits/param.h.
51373         * sysdeps/generic/sys/param.h: File removed.
51374         * sysdeps/unix/sysv/linux/bits/param.h: New file.
51375         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
51376         * sysdeps/mach/hurd/bits/param.h: New file.
51377         * sysdeps/mach/hurd/sys/param.h: File removed.
51379         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
51380         last change.
51382         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
51383         [_IO_MTSAFE_IO].
51384         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
51385         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
51386         New macros.
51388         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
51389         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
51390         rather than -D_IO_MTSAFE_IO conditionally.
51391         * stdio-common/Makefile (CPPFLAGS): Likewise.
51392         * wcsmbs/Makefile (CPPFLAGS): Likewise.
51393         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
51394         Use $(libio-mtsafe).
51395         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
51396         of -D_IO_MTSAFE_IO.
51397         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
51398         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
51399         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
51400         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
51401         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
51402         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
51403         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
51404         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
51405         (CFLAGS-fread_u_chk.c): Likewise.
51406         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
51407         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
51408         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
51409         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
51410         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
51411         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
51412         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
51413         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
51414         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
51416         * libio/Makefile: Test [$(libc-reentrant) = yes]
51417         instead of [$(filter %REENTRANT, $(defines)) nonempty].
51419         * Makeconfig
51420         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
51421         * sysdeps/pthread/configure: File removed.
51422         * sysdeps/pthread/Makeconfig: New file.
51423         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
51424         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
51426 2012-08-16  Gary Benson  <gbenson@redhat.com>
51428         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
51429         unmapping the first object in a namespace.
51431 2012-08-16  Roland McGrath  <roland@hack.frob.com>
51433         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
51434         (__internal_setnetgrent): ... this.  Add internal_function to
51435         definition.  Add libc_hidden_def.
51436         (setnetgrent): Update caller.
51437         (internal_endnetgrent): Renamed to ...
51438         (__internal_endnetgrent): ... this.  Add internal_function to
51439         definition.  Add libc_hidden_def.
51440         (endnetgrent): Update caller.
51441         (internal_getnetgrent_r): Renamed to ...
51442         (__internal_getnetgrent_r): ... this.  Add internal_function to
51443         definition.  Add libc_hidden_def.
51444         (__getnetgrent_r): Update caller.
51445         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
51447 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
51449         * stdlib/longlong.h: Update from GCC.
51451 2012-08-16  Roland McGrath  <roland@hack.frob.com>
51453         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
51454         on _QL, which is set by umul_ppmm but never used.
51455         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
51456         variables, which are set by GMP macros but never used.
51457         * stdio-common/_itowa.c (_itowa): Likewise.
51458         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
51459         * stdlib/mod_1.c (mpn_mod_1): Likewise.
51461 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
51463         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
51464         struct La_sh_regs is not constant.
51465         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
51466         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
51467         and struct La_sparc64_regs are not constant.
51469 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
51471         * sysdeps/unix/sysv/linux/kernel-features.h
51472         (__ASSUME_POSIX_TIMERS): Remove.
51473         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51474         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51475         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
51476         Make code unconditional.
51477         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51478         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
51479         Make code unconditional.
51480         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51481         * sysdeps/unix/sysv/linux/clock_nanosleep.c
51482         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
51483         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51484         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
51485         Make code unconditional.
51486         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51487         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
51488         (__libc_missing_posix_timers): Remove.
51490 2012-08-15  Roland McGrath  <roland@hack.frob.com>
51492         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
51493         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
51495         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
51497         * elf/dl-sym.c: Include <stdlib.h>.
51499         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
51500         constants, which avoids warnings in 32-bit builds.
51502         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
51503         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
51505         * misc/lseek.c: File moved to ...
51506         * io/lseek.c: ... here.
51508         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
51510         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
51511         shifting LEN more than 31 bits at once.
51513 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51515         [BZ #14195]
51516         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
51517         segmentation fault for a case of two empty input strings.
51518         * string/test-strncasecmp.c (check1): Renamed to...
51519         (bz12205): ...this.
51520         (bz14195): Add new testcase for two empty input strings and N > 0.
51521         (test_main): Call new testcase, adapt for renamed function.
51523 2012-08-15  Andreas Jaeger  <aj@suse.de>
51525         [BZ #14090]
51526         * crypt/md5test2.c: New test, based on test supplied by Serge
51527         Belyshev <belyshev@depni.sinp.msu.ru>.
51528         * crypt/Makefile (xtests): Add md5test-giant..
51529         * crypt/Makefile ($(objpfx)md5test-giant): Add.
51531 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
51533         [BZ #14090]
51534         * crypt/md5.c (md5_process_block): Don't assume the buffer
51535         length is less than 2**32.
51536         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
51537         length is less than 2**64.
51539 2012-08-15  Roland McGrath  <roland@hack.frob.com>
51541         * string/str-two-way.h: Include <sys/param.h>.
51542         (MAX): Macro removed.
51544         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
51545         Move #define and #undef of memmove to just before and after
51546         including <string.h>.
51548         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
51549         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
51550         and after including <string.h>.  Move declarations of
51551         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
51552         to before #include "string/memmove.c".
51554         * include/dirent.h: Declare __getdirentries.
51556         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
51557         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
51559 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
51561         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
51562         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
51563         * sysdeps/i386/configure: Regenerated.
51564         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
51565         STABS_CURRENT_FILE, and STABS_FUN.
51566         (END): Remove call to STABS_FUN_END.
51567         (STABS_CURRENT_FILE1): Delete.
51568         (STABS_CURRENT_FILE): Likewise.
51569         (STABS_FUN): Likewise.
51570         (STABS_FUN_END): Likewise.
51571         (STABS_FUN2): Likewise.
51572         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
51573         * sysdeps/x86_64/configure: Regenerated.
51575 2012-08-14  Roland McGrath  <roland@hack.frob.com>
51577         * elf/dl-open.c: Include <atomic.h>.
51578         * elf/dl-lookup.c: Likewise.
51580 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
51582         * sysdeps/unix/sysv/linux/kernel-features.h
51583         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
51584         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
51585         unconditionally.
51586         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
51587         unconditionally.
51588         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
51589         condition on __ASSUME_CLONE_THREAD_FLAGS.
51591 2012-08-14  Andreas Jaeger  <aj@suse.de>
51593         * sysdeps/i386/fpu/libm-test-ulps: Update.
51595 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
51597         * include/atomic.h (atomic_exchange_and_add): Split into ...
51598         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
51599         New atomic macros.
51601 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
51603         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51605 2012-08-13  Jeff Law <law@redhat.com>
51607         * manual/stdio.texi (snprintf): Clarify handling of the trailing
51608         null byte in the output string.
51610 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
51612         * sysdeps/unix/sysv/linux/kernel-features.h
51613         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
51614         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
51615         (__ASSUME_ARG_MAX_STACK_BASED): Define.
51616         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
51617         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
51618         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
51619         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
51621 2012-08-09  Jeff Law <law@redhat.com>
51623         [BZ #13939]
51624         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
51625         When avoid_arena is set, don't retry in the that arena.  Pick the
51626         next one, whatever it might be.
51627         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
51628         (arena_lock): Pass in new parameter to arena_get2.
51629         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
51630         arena_get2.
51631         (__libc_malloc): Unify retrying after main arena failure with
51632         __libc_memalign version.
51633         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
51635 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
51637         [BZ #14166]
51638         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
51639         to __redirect_strstr.
51640         (__strstr_sse42): Use typeof __redirect_strstr.
51641         (__strstr_ia32): Likewise.
51642         (__libc_strstr): New prototype.
51643         (strstr): Renamed to ...
51644         (__libc_strstr): This.
51645         (strstr): New strong alias of __libc_strstr.
51646         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51647         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
51648         __redirect_time.
51649         Include <time.h>.
51650         (__libc_time): New prototype.
51651         (time_ifunc): Replace time with __libc_time.
51652         (time): New strong alias and hidden definition of __libc_time.
51653         (__GI_time): Remove strong alias.
51654         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
51655         Include <stddef.h>.
51656         (memmove): Redefined to __redirect_memmove.
51657         (__memmove_sse2): Use typeof __redirect_memmove.
51658         (__memmove_ssse3): Likewise.
51659         (__memmove_ssse3_back): Likewise.
51660         (__libc_memmove): New prototype.
51661         (memmove): Renamed to ...
51662         (__libc_memmove): This.
51663         (memmove): New strong alias of __libc_memmove.
51665 2012-08-08  Mark Salter  <msalter@redhat.com>
51667         * elf/elf.h
51668         (R_MN10300_TLS_GD): Define.
51669         (R_MN10300_TLS_LD): Likewise.
51670         (R_MN10300_TLS_LDO): Likewise.
51671         (R_MN10300_TLS_GOTIE): Likewise.
51672         (R_MN10300_TLS_IE): Likewise.
51673         (R_MN10300_TLS_LE): Likewise.
51674         (R_MN10300_TLS_DTPMOD): Likewise.
51675         (R_MN10300_TLS_DTPOFF): Likewise.
51676         (R_MN10300_TLS_TPOFF): Likewise.
51677         (R_MN10300_SYM_DIFF): Likewise.
51678         (R_MN10300_ALIGN): Likewise.
51679         (R_MN10300_NUM): Update.
51681 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
51683         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
51684         Remove.
51686 2012-08-08  Roland McGrath  <roland@hack.frob.com>
51688         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
51690         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
51691         sysdeps/unix -> sysdeps/posix move.
51692         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51694 2012-08-07      Allan McRae     <allan@archlinux.org>
51696         [BZ #14303]
51697         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
51698         (SUNOS_CPP): Likewise.
51699         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
51700         not found.
51701         (open_input): Call CPP using execvp.
51703 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51705         * sysdeps/unix/sysv/linux/kernel-features.h
51706         (__ASSUME_PROT_GROWSUPDOWN): Remove.
51707         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51708         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51709         (__ASSUME_WAITID_SYSCALL): Likewise.
51710         * sysdeps/unix/sysv/linux/dl-execstack.c
51711         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
51712         code unconditional.
51713         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
51714         conditional code.
51715         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
51716         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
51717         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
51718         code.
51719         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
51720         unconditional.
51721         [__ASSUME_WAITID_SYSCALL]: Likewise.
51722         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
51724 2012-08-07  Roland McGrath  <roland@hack.frob.com>
51726         * sysdeps/unix/closedir.c: Renamed to ...
51727         * sysdeps/posix/closedir.c: ... here.
51728         * sysdeps/unix/dirfd.c: Renamed to ...
51729         * sysdeps/posix/dirfd.c: ... here.
51730         * sysdeps/unix/dirstream.h: Renamed to ...
51731         * sysdeps/posix/dirstream.h: ... here.
51732         * sysdeps/unix/fdopendir.c: Renamed to ...
51733         * sysdeps/posix/fdopendir.c: ... here.
51734         * sysdeps/unix/opendir.c: Renamed to ...
51735         * sysdeps/posix/opendir.c: ... here.
51736         * sysdeps/unix/readdir.c: Renamed to ...
51737         * sysdeps/posix/readdir.c: ... here.
51738         * sysdeps/unix/readdir_r.c: Renamed to ...
51739         * sysdeps/posix/readdir_r.c: ... here.
51740         * sysdeps/unix/rewinddir.c: Renamed to ...
51741         * sysdeps/posix/rewinddir.c: ... here.
51742         * sysdeps/unix/seekdir.c: Renamed to ...
51743         * sysdeps/posix/seekdir.c: ... here.
51744         * sysdeps/unix/telldir.c: Renamed to ...
51745         * sysdeps/posix/telldir.c: ... here.
51746         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
51747         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
51748         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
51749         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
51751         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
51752         * bits/fcntl.h: ... here.
51754         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
51755         not 0.
51756         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
51757         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
51758         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
51759         (struct flock): Move l_start, l_len to the beginning.
51760         Use __pid_t for l_pid.
51761         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
51762         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
51763         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
51764         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
51765         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
51766         [__USE_LARGEFILE64] (struct flock64): New type.
51767         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
51769         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
51770         * bits/dirent.h: ... here.
51772         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
51773         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
51775 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51777         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51778         Change from 2.6.0 to 2.6.16.
51779         * sysdeps/unix/sysv/linux/configure: Regenerated.
51780         * sysdeps/unix/sysv/linux/kernel-features.h
51781         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
51782         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
51783         version.
51784         (__ASSUME_UTIMES): Likewise.
51785         (__ASSUME_CLONE_STOPPED): Remove.
51786         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
51787         architectures, not kernel version.
51788         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
51789         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51790         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51791         (__ASSUME_WAITID_SYSCALL): Likewise.
51792         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
51793         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
51794         * README: State 2.6.16 as minimum Linux kernel version.  Do not
51795         refer to older versions.
51797 2012-08-06  Roland McGrath  <roland@hack.frob.com>
51799         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
51800         Define alphasort64 as an alias.
51801         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
51802         Define versionsort64 as an alias.
51803         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
51804         Define scandir64 as an alias.
51805         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
51806         Define scandirat64 as an alias.
51807         * dirent/alphasort64.c (alphasort64):
51808         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
51809         * dirent/versionsort64.c: Likewise.
51810         * dirent/scandir64.c: Likewise.
51811         * dirent/scandirat64.c: Likewise.
51812         * sysdeps/wordsize-64/alphasort.c: File removed.
51813         * sysdeps/wordsize-64/alphasort64.c: File removed.
51814         * sysdeps/wordsize-64/scandir.c: File removed.
51815         * sysdeps/wordsize-64/scandir64.c: File removed.
51816         * sysdeps/wordsize-64/scandirat.c: File removed.
51817         * sysdeps/wordsize-64/scandirat64.c: File removed.
51818         * sysdeps/wordsize-64/versionsort.c: File removed.
51819         * sysdeps/wordsize-64/versionsort64.c: File removed.
51820         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
51821         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
51822         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
51823         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
51824         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
51825         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
51826         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
51827         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
51829         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
51830         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51831         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
51832         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51833         [defined __arch64__ || defined __sparcv9]
51834         (__INO_T_MATCHES_INO64_T): New macro.
51835         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51836         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
51837         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
51838         * sysdeps/unix/sysv/linux/bits/dirent.h
51839         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
51840         (_DIRENT_MATCHES_DIRENT64): New macro.
51842         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
51843         Define lockf64 as an alias.
51844         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
51845         Define fseeko64 as an alias.
51846         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
51847         Define ftello64 as an alias.
51848         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
51849         Define _IO_fgetpos64 and fgetpos64 as aliases.
51850         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
51851         Define _IO_fsetpos64 and fsetpos64 as aliases.
51852         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
51853         Conditionalize body on this.
51854         * libio/fseeko64.c: Likewise.
51855         * libio/ftello64.c: Likewise.
51856         * libio/iofgetpos64.c: Likewise.
51857         * libio/iofsetpos64.c: Likewise.
51858         * sysdeps/wordsize-64/lockf.c: File removed.
51859         * sysdeps/wordsize-64/lockf64.c: File removed.
51860         * sysdeps/wordsize-64/fseeko.c: File removed.
51861         * sysdeps/wordsize-64/fseeko64.c: File removed.
51862         * sysdeps/wordsize-64/ftello.c: File removed.
51863         * sysdeps/wordsize-64/ftello64.c: File removed.
51864         * sysdeps/wordsize-64/iofgetpos.c: File removed.
51865         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
51866         * sysdeps/wordsize-64/iofsetpos.c: File removed.
51867         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
51868         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
51869         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
51870         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
51871         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
51872         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
51873         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
51874         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
51875         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
51876         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
51877         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
51879         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51880         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51881         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
51882         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51883         [defined __arch64__ || defined __sparcv9]
51884         (__OFF_T_MATCHES_OFF64_T): New macro.
51885         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51886         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51887         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51888         (__OFF_T_MATCHES_OFF64_T): New macro.
51890 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51892         * stdlib/secure-getenv.c (__secure_getenv): Replace
51893         GLIBC_2_16 with GLIBC_2_17.
51895 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51897         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
51898         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51900 2012-08-03  David S. Miller  <davem@davemloft.net>
51902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51904 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51906         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
51907         Remove.
51908         (__ASSUME_CORRECT_SI_PID): Likewise.
51909         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
51910         (__ASSUME_TMPFS_NAME): Likewise.
51911         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
51912         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
51913         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
51914         (HAVE_AUX_SECURE): Make definition unconditional.
51915         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
51916         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
51918 2012-08-03  Roland McGrath  <roland@hack.frob.com>
51920         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
51921         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
51922         * sysdeps/mach/hurd/eloop-threshold.h: New file.
51923         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51924         __eloop_threshold instead of SYMLOOP_MAX.
51926         * sysdeps/generic/eloop-threshold.h: New file.
51927         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
51928         of MAXSYMLINKS.
51929         * elf/chroot_canon.c (chroot_canon): Likewise.
51931 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51933         [BZ #13717]
51934         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51935         Change to 2.6.0 everywhere.
51936         * sysdeps/unix/sysv/linux/configure: Regenerated.
51937         * sysdeps/unix/sysv/linux/kernel-features.h
51938         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
51939         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
51940         kernel versions.
51941         (__ASSUME_POSIX_TIMERS): Define unconditionally.
51942         (__ASSUME_FUTEX_REQUEUE): Remove.
51943         (__ASSUME_STATFS64): Define unconditionally.
51944         (__ASSUME_AT_SECURE): Likewise.
51945         (__ASSUME_CORRECT_SI_PID): Likewise.
51946         (__ASSUME_TGKILL): Define without depending on kernel version for
51947         i386.
51948         (__ASSUME_UTIMES): Likewise.
51949         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
51950         kernel version.
51951         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
51952         (__ASSUME_TMPFS_NAME): Likewise.
51953         * README: Update reference to Linux kernel versions.
51955 2012-08-02  Marek Polacek  <polacek@redhat.com>
51957         [BZ# 14150]
51958         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
51959         libc_cv_asm_type_prefix with %.
51960         * configure: Regenerated.
51961         * include/libc-symbols.h: Remove comment about
51962         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51963         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
51964         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
51965         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
51966         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
51967         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51968         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
51969         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
51970         * elf/tst-unique2mod1.c: Likewise.
51971         * elf/tst-unique1mod2.c: Likewise.
51972         * elf/tst-unique1mod1.c: Likewise.
51973         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
51974         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
51975         Replace ASM_TYPE_DIRECTIVE with .type.
51976         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51977         * sysdeps/i386/sysdep.h: Likewise.
51978         * sysdeps/x86_64/sysdep.h: Likewise.
51979         * sysdeps/sh/sysdep.h: Likewise.
51980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51981         Do not define ASM_TYPE_DIRECTIVE.
51982         * sysdeps/powerpc/sysdep.h: Likewise.
51983         * sysdeps/powerpc/powerpc32/sysdep.h:
51984         Replace ASM_TYPE_DIRECTIVE with .type.
51985         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51986         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51987         * sysdeps/i386/fpu/e_powf.S: Likewise.
51988         * sysdeps/i386/fpu/e_expl.S: Likewise.
51989         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51990         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51991         * sysdeps/i386/fpu/e_pow.S: Likewise.
51992         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51993         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51994         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51995         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51996         * sysdeps/i386/fpu/e_log2.S: Likewise.
51997         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51998         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51999         * sysdeps/i386/fpu/e_powl.S: Likewise.
52000         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52001         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52002         * sysdeps/i386/fpu/e_logl.S: Likewise.
52003         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52004         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52005         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52006         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52007         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52008         * sysdeps/i386/fpu/e_log.S: Likewise.
52009         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52010         * sysdeps/i386/fpu/e_logf.S: Likewise.
52011         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52012         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52013         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52014         * sysdeps/i386/fpu/e_log10.S: Likewise.
52015         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52016         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52017         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52018         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52019         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52020         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
52021         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52022         * sysdeps/i386/i686/strtok.S: Likewise.
52023         * sysdeps/i386/i386-mcount.S: Likewise.
52024         * sysdeps/i386/strtok.S: Likewise.
52025         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
52026         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52027         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52028         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52029         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52030         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52031         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52032         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52033         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52034         * sysdeps/x86_64/_mcount.S: Likewise.
52035         * sysdeps/x86_64/strtok.S: Likewise.
52036         * sysdeps/sh/_mcount.S: Likewise.
52038 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52040         * libio/iofopen.c: Include <fcntl.h>.
52041         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
52042         (_IO_fopen64, fopen64): Define as aliases.
52043         * libio/iofopen64.c: Include <fcntl.h>.
52044         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
52045         Conditionalize body on this.
52046         * sysdeps/wordsize-64/iofopen.c: File removed.
52047         * sysdeps/wordsize-64/iofopen64.c: File removed.
52049 2012-08-01  Marek Polacek  <polacek@redhat.com>
52051         * libc/Makeconfig: Use elf in place of binfmt-subdir.
52052         Use dlfcn directly instead of a variable.
52053         (binfmt-subdir): Do not define.
52054         (dlfcn): Likewise.
52056 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
52058         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
52059         Remove all definitions.
52060         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
52061         <kernel-features.h>.
52062         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52063         (miss_F_GETOWN_EX): Remove all definitions.
52064         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
52065         macro definition.
52066         [!__ASSUME_FCNTL64]: Remove conditional code.
52067         [__ASSUME_FCNTL64]: Make code unconditional.
52068         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
52069         <kernel-features.h>.
52070         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52071         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
52072         (lockf64) [__NR_fcntl64]: Make code unconditional.
52073         (lockf64) [__ASSUME_FCNTL64]: Likewise.
52075         * sysdeps/unix/sysv/linux/kernel-features.h
52076         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
52077         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
52078         Make code unconditional.
52079         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52080         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
52082         [__NR_vfork]: Make code unconditional.
52083         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52084         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
52086         [__NR_vfork]: Make code unconditional.
52087         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52088         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52090 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52092         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
52093         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
52095         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52096         Define mkstemp64 as an alias.
52097         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52098         Define mkstemps64 as an alias.
52099         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52100         Define mkostemp64 as an alias.
52101         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52102         Define mkostemps64 as an alias.
52103         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
52104         Conditionalize body on this.
52105         * misc/mkostemp64.c: Likewise.
52106         * misc/mkostemps64.c: Likewise.
52107         * misc/mkstemps64.c: Likewise.
52108         * sysdeps/wordsize-64/mkstemp64.c: File removed.
52109         * sysdeps/wordsize-64/mkostemp64.c: File removed.
52110         * sysdeps/wordsize-64/mkostemp.c: File removed.
52111         * sysdeps/wordsize-64/mkstemp.c: File removed.
52112         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
52113         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
52114         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
52115         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
52117         [BZ #14138]
52118         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
52119         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
52120         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
52121         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
52123         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
52124         compat_symbol macros from <shlib-compat.h> rather than the underlying
52125         default_symbol_version and symbol_version macros, so that DEFAULT
52126         lines in shlib-versions are respected.
52127         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
52129 2012-08-01  Florian Weimer  <fweimer@redhat.com>
52131         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
52132         Declare with warn_unused_result.
52133         (setgid, setregid, setegid, setresgid): Likewise.
52134         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
52135         Likewise.
52136         * WUR-REPORT: Remove set*id functions.
52138 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
52140         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
52142 2012-07-31  Roland McGrath  <roland@hack.frob.com>
52144         [BZ #10191]
52145         * include/sys/socket.h (__libc_accept, __libc_accept4):
52146         Add attribute_hidden.
52147         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52149         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
52150         use of PTR_MANGLE.
52151         * inet/getnetgrent_r.c (setup): Likewise.
52153         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
52155 2012-07-31  David S. Miller  <davem@davemloft.net>
52157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52159 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
52161         [BZ #13629]
52162         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
52163         value between 1.0 and 2.0 and smaller part has absolute value less
52164         than 1.0.
52165         * math/s_clog10.c (__clog10): Likewise.
52166         * math/s_clog10f.c (__clog10f): Likewise.
52167         * math/s_clog10l.c (__clog10l): Likewise.
52168         * math/s_clogf.c (__clogf): Likewise.
52169         * math/s_clogl.c (__clogl): Likewise.
52170         * math/libm-test.inc (clog_test): Add more tests.
52171         (clog10_test): Likewise.
52172         * sysdeps/i386/fpu/libm-test-ulps: Update.
52173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52175 2012-07-31  Florian Weimer  <fweimer@redhat.com>
52177         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
52178         Exit with zero in case no suitable GID is found, and write a
52179         message to standard error.
52181 2012-07-30  Roland McGrath  <roland@hack.frob.com>
52183         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
52184         rather than to 1.
52185         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
52186         (MAXPATHLEN): Removed.
52187         (NOGROUP, NODEV): New macros.
52188         (setbit, clrbit, isset, isclr): New macros.
52189         (howmany, roundup, powerof2): New macros.
52190         (DEV_BSIZE): New macro.
52192         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
52193         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
52195         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
52196         definition on [!__NO_LONG_DOUBLE_MATH].
52198         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
52199         PTR_MANGLE and PTR_DEMANGLE.
52201         * socket/accept4.c (accept4): Rename to __libc_accept4.
52202         Define accept4 as a weak alias.
52204         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
52205         on [_DIRENT_HAVE_D_TYPE].
52206         * io/ftw.c (ftw_dir): Likewise.
52208         * io/xmknod.c (__xmknod): Don't check PATH for being null.
52210         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
52212         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
52213         Use the BSD numbers rather than the arbitrary ones we had.
52214         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
52215         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
52216         (SIGXCPU, SIGXFSZ): New macros.
52217         (_NSIG): Now 32.
52219         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
52220         initializer on [_LIBC_REENTRANT].
52222         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
52223         definitions inside [_POSIX_MAPPED_FILES].
52225         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
52227         * dirent/opendir.c: Include <fcntl.h>.
52229         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
52230         (__libc_getspecific): Likewise.
52231         (__libc_key_create): Likewise.
52233         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
52234         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
52235         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
52236         (tmpfile64): Define as alias.
52237         * sysdeps/wordsize-64/tmpfile.c: File removed.
52238         * sysdeps/wordsize-64/tmpfile64.c: File removed.
52239         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
52240         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
52242         * stdio-common/vfscanf.c: Include <stdbool.h>.
52243         * nss/makedb.c: Likewise.
52244         * stdio-common/_i18n_number.h: Likewise.
52245         * argp/argp-help.c: Likewise.
52246         * posix/wordexp.c: Likewise.
52247         * sysdeps/posix/spawni.c: Likewise.
52248         * nss/nss_files/files-initgroups.c: Likewise.
52249         * stdio-common/reg-modifier.c: Include <stdlib.h>.
52250         * nss/nss_files/files-initgroups.c: Likewise.
52251         * nss/nss_db/db-netgrp.c: Likewise.
52252         * nss/nss_db/db-initgroups.c: Likewise.
52253         * io/fchmodat.c: Include <sys/stat.h>.
52255         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
52256         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
52258         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
52259         [HAVE_MMAP].
52261         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
52262         Add multiple inclusion protection.
52264 2012-07-27  David S. Miller  <davem@davemloft.net>
52266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52268 2012-07-27  Gary Benson  <gbenson@redhat.com>
52270         [BZ #14298]
52271         * elf/rtld.c: Include <stap-probe.h>.
52272         (dl_main): Added static probes "init_start" and "init_complete".
52273         * elf/dl-load.c: Include <stap-probe.h>.
52274         (lose): Take new parameter "nsid".
52275         Added static probe "map_failed".
52276         (_dl_map_object_from_fd): Pass namespace id to lose.
52277         Added static probe "map_start".
52278         (open_verify): Pass namespace id to lose.
52279         * elf/dl-open.c: Include <stap-probe.h>.
52280         (dl_open_worker) Added static probes "map_complete", "reloc_start"
52281         and "reloc_complete".
52282         * elf/dl-close.c: Include <stap-probe.h>.
52283         (_dl_close_worker): Added static probes "unmap_start" and
52284         "unmap_complete".
52285         * elf/rtld-debugger-interface.txt: New file documenting the above.
52287 2012-07-26  Roland McGrath  <roland@hack.frob.com>
52289         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
52290         rather than a string variable.
52291         * sunrpc/rpc_main.c (h_output): Likewise.
52292         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
52294 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
52296         * inet/check_native.c: New file.
52298 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
52300         [BZ #13629]
52301         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
52302         if larger part has absolute value 1.0.
52303         * math/s_clog10.c (__clog10): Likewise.
52304         * math/s_clog10f.c (__clog10f): Likewise.
52305         * math/s_clog10l.c (__clog10l): Likewise.
52306         * math/s_clogf.c (__clogf): Likewise.
52307         * math/s_clogl.c (__clogl): Likewise.
52308         * math/libm-test.inc (clog_test): Add more tests.
52309         (clog10_test): Likewise.
52310         * sysdeps/i386/fpu/libm-test-ulps: Update.
52311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52313         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
52314         (pltexit): Likewise.
52315         (La_regs): Likewise.
52316         (La_retval): Likewise.
52317         (int_retval): Likewise.
52318         Update #error for removed macros to refer only to definitions in
52319         tst-audit.h.
52320         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
52321         macro.
52322         (pltexit): Likewise.
52323         (La_regs): Likewise.
52324         (La_retval): Likewise.
52325         (int_retval): Likewise.
52326         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
52327         macro.
52328         (pltexit): Likewise.
52329         (La_regs): Likewise.
52330         (La_retval): Likewise.
52331         (int_retval): Likewise.
52332         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
52333         macro.
52334         (pltexit): Likewise.
52335         (La_regs): Likewise.
52336         (La_retval): Likewise.
52337         (int_retval): Likewise.
52338         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
52339         macro.
52340         (pltexit): Likewise.
52341         (La_regs): Likewise.
52342         (La_retval): Likewise.
52343         (int_retval): Likewise.
52344         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
52345         macro.
52346         (pltexit): Likewise.
52347         (La_regs): Likewise.
52348         (La_retval): Likewise.
52349         (int_retval): Likewise.
52350         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
52351         macro.
52352         (pltexit): Likewise.
52353         (La_regs): Likewise.
52354         (La_retval): Likewise.
52355         (int_retval): Likewise.
52356         * sysdeps/generic/tst-audit.h: Update comment to refer only to
52357         macro definitions in tst-audit.h.
52358         * sysdeps/i386/tst-audit.h: New file.
52359         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
52360         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
52361         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
52362         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
52363         * sysdeps/sh/tst-audit.h: Likewise.
52364         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
52365         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
52366         * sysdeps/x86_64/tst-audit.h: Likewise.
52368 2012-07-26  Andreas Jaeger  <aj@suse.de>
52370         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
52371         ptrace.
52373         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
52374         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
52375         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
52376         PTRACE_O_MASK.
52377         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
52378         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
52379         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
52381         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
52382         value.
52384         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
52385         _sigsys.
52386         (si_call_addr, si_syscall, si_arch): Define new macro.
52387         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
52388         _sigsys.
52389         (si_call_addr, si_syscall, si_arch): Define new marcro.
52390         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
52391         _sigsys.
52392         (si_call_addr, si_syscall, si_arch): Define new macro.
52393         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
52394         _sigsys.
52395         (si_call_addr, si_syscall, si_arch): Define new macro.
52397 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
52399         [BZ #13717]
52400         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52401         Change to 2.4.21 where previously 2.4.1.
52402         * sysdeps/unix/sysv/linux/configure: Regenerated.
52403         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
52404         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
52405         Linux kernel version.
52406         (__ASSUME_STD_AUXV): Remove.
52407         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
52408         kernel version.
52409         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
52410         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
52411         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
52412         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
52413         (__ASSUME_NETLINK_SUPPORT): Likewise.
52414         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
52415         (__no_netlink_support): Remove conditional definition.
52416         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
52417         Remove.
52418         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
52419         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
52420         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
52421         (if_nameindex_ioctl): Remove.
52422         (if_nameindex_netlink): Do not handle __no_netlink_support.
52423         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
52424         code.
52425         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
52426         Remove conditional code.
52427         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
52428         code.
52429         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
52430         unconditional.
52431         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
52432         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
52433         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
52434         Remove.
52435         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
52436         [!__ASSUME_STD_AUXV]: Remove conditional code.
52437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
52438         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
52439         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
52440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
52441         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
52442         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
52443         code.
52444         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
52445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52446         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
52447         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
52448         conditional code.
52449         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
52450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52451         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
52452         code.
52453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52454         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
52455         conditional code.
52456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
52457         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52458         code unconditional.
52459         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52460         conditional code.
52461         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52462         unconditional.
52463         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52464         conditional code.
52465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52466         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52467         unconditional.
52468         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52469         conditional code.
52470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
52471         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52472         code unconditional.
52473         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52474         conditional code.
52475         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52476         unconditional.
52477         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52478         conditional code.
52479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
52480         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52481         code unconditional.
52482         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52483         conditional code.
52484         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52485         unconditional.
52486         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52487         conditional code.
52489 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
52491         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
52492         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
52493         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52494         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
52495         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
52496         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
52497         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
52498         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
52499         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
52500         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
52501         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
52502         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
52503         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
52504         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
52505         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
52506         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
52507         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
52508         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
52509         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
52510         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
52511         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
52512         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
52513         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52515 2012-07-25  Florian Weimer  <fweimer@redhat.com>
52517         * Versions.def: Add GLIBC_2.17.
52518         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
52519         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
52520         Introduce __libc_secure_getenv.
52521         * stdlib/Versions (2.17): Add secure_getenv
52522         (GLIBC_PRIVATE): Add __libc_secure_getenv.
52523         * stdlib/secure-getenv.c: Rename __secure_getenv to
52524         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
52525         symbol __secure_getenv for GLIBC_2.0.
52526         * stdlib/tst-secure-getenv.c: New.
52527         * stdlib/Makefile (tests): Add testcase.
52528         * manual/startup.texi (Environment Access): Document
52529         secure_getenv.
52530         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
52531         __libc_secure_getenv.
52532         * inet/ruserpass.c (ruserpass): Likewise.
52533         * malloc/mtrace.c (mtrace): Likewise.
52534         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
52535         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
52536         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
52537         * sysdeps/posix/tempname.c: Likewise.  Evaluate
52538         HAVE_SECURE_GETENV.
52539         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
52540         __secure_getenv to __libc_secure_getenv.
52541         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
52542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52543         Likewise.
52544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52545         Likewise.
52546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52548         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52554 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
52556         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
52557         (struct La_i86_retval): Likewise.
52558         (struct La_x86_64_regs): Likewise.
52559         (struct La_x86_64_retval): Likewise.
52560         (struct La_x32_regs): Likewise.
52561         (struct La_x32_retval): Likewise.
52562         (struct La_ppc32_regs): Likewise.
52563         (struct La_ppc32_retval): Likewise.
52564         (struct La_ppc64_regs): Likewise.
52565         (struct La_ppc64_retval): Likewise.
52566         (struct La_sh_regs): Likewise.
52567         (struct La_sh_retval): Likewise.
52568         (struct La_s390_32_regs): Likewise.
52569         (struct La_s390_32_retval): Likewise.
52570         (struct La_s390_64_regs): Likewise.
52571         (struct La_s390_64_retval): Likewise.
52572         (struct La_sparc32_regs): Likewise.
52573         (struct La_sparc32_retval): Likewise.
52574         (struct La_sparc64_regs): Likewise.
52575         (struct La_sparc64_retval): Likewise.
52576         (struct audit_ifaces): Remove architecture-specific pltenter and
52577         pltexit members.
52578         * sysdeps/i386/ldsodefs.h: New file.
52579         * sysdeps/powerpc/ldsodefs.h: Likewise.
52580         * sysdeps/s390/ldsodefs.h: Likewise.
52581         * sysdeps/sh/ldsodefs.h: Likewise.
52582         * sysdeps/sparc/ldsodefs.h: Likewise.
52583         * sysdeps/x86_64/ldsodefs.h: Likewise.
52585 2012-07-25  Marek Polacek  <polacek@redhat.com>
52587         [BZ #6808]
52588         * math/libm-test.inc (yn_test): Add another test.
52589         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
52590         to ERANGE when the result is +-Inf.
52591         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
52592         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
52593         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
52594         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
52596 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
52598         * conform/data/time.h-data (NULL): Use macro-constant.  Require
52599         equal to 0.
52600         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
52601         clock_t.
52602         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
52604 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
52606         * configure.in <sysdeps resolving>: Correct printing
52607         Implies_before.
52608         * configure: Regenerate.
52610 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
52612         * math/w_ilogb.c: Include <limits.h>.
52613         * math/w_ilogbl.c: Likewise.
52615 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
52617         * manual/lang.texi (__va_copy): Document primarily as ISO C99
52618         va_copy.  Document allowing for unavailable va_copy only as
52619         pre-C99 compatibility.
52620         * manual/string.texi (Copying and Concatenation): Use va_copy
52621         instead of __va_copy in concat example.
52623 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
52625         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
52626         (__sendto): Use create_address_port.  Initialize APORT and deallocate
52627         it if not null.
52629         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
52630         with O_NOLINK passed to __file_name_lookup.
52632         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
52633         with O_NOLINK passed to __file_name_lookup.
52635         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
52636         negative N or less than NGIDS.
52638         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
52639         type to string_t.  Set ERANGE as errno and return it if NAME is not big
52640         enough.  Use memcpy instead of strncpy.
52642 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
52644         * elf/Makefile (check-data): Remove.
52645         (localplt.data): New vpath directive.
52646         ($(objpfx)check-localplt.out): Use localplt.data from vpath
52647         instead of $(check-data).
52648         * scripts/data/localplt-generic.data: Move to ...
52649         * sysdeps/generic/localplt.data: ... here.
52650         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
52651         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
52652         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
52653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
52654         ... here.
52655         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
52656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
52657         ... here.
52658         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
52659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
52660         ... here.
52661         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
52662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
52663         ... here.
52664         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
52665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
52666         ... here.
52667         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
52668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
52669         ... here.
52671 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52673         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
52674         PPC32 and PPC64 files.
52675         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
52676         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
52678 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52680         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
52681         __makecontext_ret to ...
52682         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
52683         ... here and call exit if uc_link is NULL.  New file.
52684         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
52685         __makecontext_ret.S.
52686         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
52687         __makecontext_ret to ...
52688         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
52689         ... here and call exit if uc_link is NULL.  New file.
52690         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
52691         __makecontext_ret.S.
52693 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52695         * elf/elf.h (R_390_IRELATIVE): New definition.
52696         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
52697         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
52698         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
52699         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52700         (elf_machine_lazy_rel): Likewise.
52701         * sysdeps/s390/dl-irel.h: New file.
52702         * sysdeps/s390/s390-64/memcpy.S: New asm code.
52703         * sysdeps/s390/s390-64/memset.S: New asm code.
52704         * sysdeps/s390/s390-64/memcmp.S: New asm code.
52705         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
52706         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
52707         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
52708         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
52709         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
52710         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
52711         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
52712         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
52713         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
52714         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
52715         * sysdeps/s390/s390-32/memcpy.S: New asm code.
52716         * sysdeps/s390/s390-32/memset.S: New asm code.
52717         * sysdeps/s390/s390-32/memcmp.S: New asm code.
52719 2012-07-17  Marek Polacek  <polacek@redhat.com>
52721         [BZ #14349]
52722         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
52723         * sysdeps/s390/s390-64/configure.in: Likewise.
52724         * sysdeps/sparc/configure.in: Likewise.
52725         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
52726         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
52727         * sysdeps/i386/configure.in: Likewise.
52728         * sysdeps/x86_64/configure.in: Likewise.
52729         * sysdeps/sh/configure.in: Likewise.
52730         * sysdeps/s390/s390-32/configure: Regenerated.
52731         * sysdeps/s390/s390-64/configure: Likewise.
52732         * sysdeps/x86_64/configure: Likewise.
52733         * sysdeps/sh/configure: Likewise.
52734         * sysdeps/powerpc/powerpc64/configure: Likewise.
52735         * sysdeps/powerpc/powerpc32/configure: Likewise.
52736         * sysdeps/sparc/configure: Likwise.
52737         * sysdeps/i386/configure: Likewise.
52739         * elf/dl-open.c: Comment fixes.
52741 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
52743         * Makefile [CXX] (check-data): Remove.
52744         [CXX] (c++-types.data): New vpath directive.
52745         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
52746         vpath.  Do not allow for C++ type data being missing.
52747         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
52748         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
52749         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
52750         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
52751         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
52752         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
52753         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
52754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
52755         ... here.
52756         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
52757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
52758         ... here.
52759         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
52760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
52761         ... here.
52762         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
52763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
52764         ... here.
52765         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
52766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
52767         ... here.
52768         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
52769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
52770         ... here.
52771         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
52772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
52773         ... here.
52774         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
52775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
52777         * elf/tls-macros.h (TLS_LE): Move architecture-specific
52778         definitions to architecture-specific files.
52779         (TLS_IE): Likewise.
52780         (TLS_LD): Likewise.
52781         (TLS_GD): Likewise.
52782         * sysdeps/i386/tls-macros.h: New file.
52783         * sysdeps/powerpc/tls-macros.h: Likewise.
52784         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
52785         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
52786         * sysdeps/sh/tls-macros.h: Likewise.
52787         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
52788         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
52789         * sysdeps/x86_64/tls-macros.h: Likewise.
52791 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52793         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
52794         zero value for regular exit case.
52796         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
52797         (__start_context): Preserve zero value for regular exit case.
52799 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52800             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52802         * manual/setjmp.texi (setcontext): Clarify normal process
52803         termination when uc_link is the null pointer.
52804         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
52805         exit call.
52807 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
52809         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
52810         preprocessor.  Test for each exception mask separately.
52812 2012-07-16  Andreas Jaeger  <aj@suse.de>
52814         * po/ru.po: Update from translation team.
52816 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
52818         * conform/data/string.h-data (NULL): Use macro-constant.  Require
52819         equal to 0.
52820         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
52821         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
52822         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
52823         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
52824         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52826 2012-07-13  Andreas Jaeger  <aj@suse.de>
52828         * po/fr.po: Update from translation team.
52830 2012-07-12  Marek Polacek  <polacek@redhat.com>
52832         [BZ #14173]
52833         * math/libm-test.inc (yn_test): Add test for BZ #14173.
52834         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
52835         loop condition.
52837 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
52839         [BZ #13717]
52840         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52841         Change to 2.4.1 where previously 2.4.0.
52842         * sysdeps/unix/sysv/linux/configure: Regenerated.
52843         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
52844         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
52845         version.
52846         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
52847         (__ASSUME_AT_CLKTCK): Remove.
52848         (__ASSUME_AT_PAGESIZE): Likewise.
52849         (__ASSUME_AT_XID): Likewise.
52850         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
52851         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
52852         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
52853         unconditionally.
52854         (HAVE_AUX_PAGESIZE): Likewise.
52855         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
52856         [__ASSUME_AT_CLKTCK]: Make code unconditional.
52857         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
52859 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
52861         [BZ #14307]
52862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
52863         the temporary buffer used to invoke __gethostbyname2_r,
52864         __gethostbyaddr_r and gethostbyname4_r to make room for struct
52865         host_data / struct gaih_addrtuple.
52866         * resolv/nss_dns/dns-host.c (global scope): Move definition of
52867         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
52868         header file nss/nsswitch.h.
52869         * nss/nsswitch.h (global scope): Add definition of implementation
52870         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
52871         resolv/nss_dns/dns-host.c).
52873 2012-07-11  Andreas Jaeger  <aj@suse.de>
52875         * po/fr.po: Update from translation team.
52877         * po/sv.po: Update from translation team
52878         * po/fr.po: Another update from translation team.
52880 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52882         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
52883         for subnormals or multiply small sinh result by itself.
52884         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52887 2012-07-11  David S. Miller  <davem@davemloft.net>
52889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52891 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
52893         [BZ #14347]
52894         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
52895         (INTERNAL_MARK): Shift it here.
52897 2012-07-10  Marek Polacek  <polacek@redhat.com>
52899         [BZ #14151]
52900         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
52901         libc_cv_asm_global_directive with .globl.
52902         * configure: Regenerated.
52903         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
52904         with .globl.
52905         * sysdeps/i386/configure: Regenerated.
52906         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
52907         with .globl.
52908         * sysdeps/x86_64/configure: Regenerated.
52909         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
52910         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
52911         * elf/tst-unique2mod2.c: Likewise.
52912         * elf/tst-unique2mod1.c: Likewise.
52913         * elf/tst-unique1mod2.c: Likewise.
52914         * elf/tst-unique1mod1.c: Likewise.
52915         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52916         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52917         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52918         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52919         * sysdeps/mach/sysdep.h: Likewise.
52920         * sysdeps/i386/sysdep.h: Likewise.
52921         * sysdeps/i386/i386-mcount.S: Likewise.
52922         * sysdeps/x86_64/_mcount.S: Likewise.
52923         * sysdeps/x86_64/sysdep.h: Likewise.
52924         * sysdeps/sh/_mcount.S: Likewise.
52925         * sysdeps/sh/sysdep.h: Likewise.
52926         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
52927         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
52928         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
52929         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52930         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
52931         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
52932         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
52933         * locale/localeinfo.h: Likewise.
52934         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
52935         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
52937 2012-07-09  Roland McGrath  <roland@hack.frob.com>
52939         [BZ #14336]
52940         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
52941         system".
52942         * manual/message.texi (The Uniforum approach): Likewise.
52943         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
52944         (glibc iconv Implementation): Likewise.
52946 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
52948         [BZ #14337]
52949         * math/s_clog.c (__clog): Avoid scaling a value down where that
52950         could result in underflow.
52951         * math/s_clog10.c (__clog10): Likewise.
52952         * math/s_clog10f.c (__clog10f): Likewise.
52953         * math/s_clog10l.c (__clog10l): Likewise.
52954         * math/s_clogf.c (__clogf): Likewise.
52955         * math/s_clogl.c (__clogl): Likewise.
52956         * math/libm-test.inc (clog_test): Add more tests.
52957         (clog10_test): Likewise.
52958         * sysdeps/i386/fpu/libm-test-ulps: Update.
52959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52961 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
52963         [BZ #14283]
52964         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
52965         by 7 not 8 to examine high bit of fractional part.
52967         [BZ #14042]
52968         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
52969         for call to __mcount_internal.
52970         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
52971         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
52972         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
52974 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
52976         [BZ #14154]
52977         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
52978         approximation for values within 0x1p-13f of an odd multiple of
52979         pi/4.
52980         * math/libm-test.inc (tan_test): Do not allow spurious underflow
52981         exception.  Add more tests.
52982         * sysdeps/i386/fpu/libm-test-ulps: Update.
52984         [BZ #6778]
52985         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
52986         inputs and return -1 for them.  Do not check for +Inf in case not
52987         reachable for +Inf.
52988         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52989         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
52990         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52991         and return -1 for them.  Do not check for +Inf in case not
52992         reachable for +Inf.
52993         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
52994         define.
52995         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52996         and return -1 for them.  Do not check for +Inf in case not
52997         reachable for +Inf.
52998         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
52999         spurious underflow.
53000         * sysdeps/i386/fpu/libm-test-ulps: Update.
53001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53003 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
53005         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
53007 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
53009         [BZ #14157]
53010         [BZ #14331]
53011         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
53012         could result in spurious underflow.  Scale down values above
53013         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
53014         * math/s_csqrtf.c (__csqrtf): Likewise.
53015         * math/s_csqrtl.c (__csqrtl): Likewise.
53016         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
53017         spurious underflow.
53018         * sysdeps/i386/fpu/libm-test-ulps: Update.
53019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53021 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
53023         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
53024         xopen-msg.sed.
53025         * catgets/xopen-msg.awk: New file.
53026         * catgets/xopen-msg.sed: Removed.
53028         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
53029         po2text.sed.
53030         * intl/po2test.awk: New file.
53031         * intl/po2test.sed: Removed.
53033 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
53035         [BZ #14328]
53036         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
53037         or multiply small sinh result by itself.
53038         * math/s_ctanf.c (__ctanf): Likewise.
53039         * math/s_ctanh.c (__ctanh): Likewise.
53040         * math/s_ctanhf.c (__ctanhf): Likewise.
53041         * math/s_ctanhl.c (__ctanhl): Likewise.
53042         * math/s_ctanl.c (__ctanl): Likewise.
53043         * math/libm-test.inc (ctan_test_tonearest): New function.
53044         (ctan_test_towardzero): Likewise.
53045         (ctan_test_downward): Likewise.
53046         (ctan_test_upward): Likewise.
53047         (ctanh_test_tonearest): Likewise.
53048         (ctanh_test_towardzero): Likewise.
53049         (ctanh_test_downward): Likewise.
53050         (ctanh_test_upward): Likewise.
53051         (main): Call these new functions.
53052         * sysdeps/i386/fpu/libm-test-ulps: Update.
53053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53055 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
53057         * .gitignore: Delete /ports entry.
53059 2012-07-03  Andreas Jaeger  <aj@suse.de>
53061         * po/bg.po: Update from translation team.
53062         * po/cs.po: Likewise.
53063         * po/de.po: Likewise.
53064         * po/hr.po: Likewise.
53065         * po/nl.pl: Likewise.
53066         * po/pl.po: Likewise.
53067         * po/vi.po: Likewise.
53069 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
53071         * Makeconfig [!+link] (+link-before-libc): New variable.
53072         [!+link] (+link-after-libc): Likewise.
53073         [!+link] (+link-tests): Likewise.
53074         [!+link] (+link): Define in terms of $(+link-before-libc) and
53075         $(+link-after-libc).
53076         [!+link-static] (+link-static-before-libc): New variable.
53077         [!+link-static] (+link-static-after-libc): Likewise.
53078         [!+link-static] (+link-static-tests): Likewise.
53079         [!+link-static] (+link-static): Define in terms of
53080         $(+link-static-before-libc) and $(+link-static-after-libc).
53081         [build-shared] (link-libc-before-gnulib): New variable.
53082         [build-shared] (link-libc-tests): Likewise.
53083         [build-shared] (link-libc): Define in terms of
53084         $(link-libc-before-gnulib).
53085         [!build-shared] (link-libc-tests): New variable.
53086         (link-libc-static-tests): New variable.
53087         [!gnulib] (gnulib-arch): New variable.
53088         [!gnulib] (gnulib-tests): Likewise.
53089         [!gnulib] (static-gnulib-arch): Likewise.
53090         [!gnulib] (static-gnulib-tests): Likewise.
53091         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
53092         Define with "=" instead of ":=".
53093         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
53094         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
53095         * Rules (binaries-all-notests): New variable.
53096         (binaries-all-tests): Likewise.
53097         (binaries-static-notests): Likewise.
53098         (binaries-static-tests): Likewise.
53099         (binaries-all): Define using $(binaries-all-notests) and
53100         $(binaries-all-tests).
53101         (binaries-static): Define using $(binaries-static-notests) and
53102         $(binaries-static-tests).
53103         (binaries-shared-tests): New variable.
53104         (binaries-shared-notests): Likewise.
53105         (binaries-shared): Remove variable.
53106         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53107         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
53108         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
53109         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
53110         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53111         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
53112         * elf/Makefile (sln-modules): New variable.
53113         (extra-objs): Add $(sln-modules:=.o).
53114         (ldconfig-modules): Add static-stubs.
53115         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
53116         * elf/static-stubs.c: New file.
53118         [BZ #14283]
53119         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
53120         by 7 not 8 to examine high bit of fractional part.  Use volatile
53121         variables when splitting into final array of floats if
53122         __FLT_EVAL_METHOD__ != 0.
53123         * math/libm-test.inc (cos_test): Add another test.
53124         (sin_test): Likewise.
53125         * sysdeps/i386/fpu/libm-test-ulps: Update.
53127         [BZ #14273]
53128         * math/libm-test.inc (cosh_test): Add more tests.
53130         * version.h (RELEASE): Set to "development".
53131         (VERSION): Set to "2.16.90".
53133 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
53135         * NEWS: Update copyright. Remove last-updated date.
53136         Mention math library bug fixes and timezone data changes.
53137         * README: Mention GNU/Hurd, x32, and HPPA support status.
53139 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
53141         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
53143 2012-06-27  Andreas Jaeger  <aj@suse.de>
53145         * manual/contrib.texi (Contributors): Add Samuel Thibault.
53147 2012-06-25  Andreas Jaeger  <aj@suse.de>
53149         * sysdeps/s390/fpu/libm-test-ulps: Update.
53151 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
53152             Thomas Schwinge  <thomas@codesourcery.com>
53154         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
53155         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
53156         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
53157         fanotify_mark.
53159 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
53161         * sysdeps/mach/start.c: Remove file.
53162         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
53163         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
53164         * sysdeps/sh/init-first.c: Likewise.
53166         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
53167         registers for frame unwinding purposes, add CFI directives.
53168         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53169         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
53170         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
53171         Likewise.
53173         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
53174         __fortify_fail returning.
53175         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53177         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
53178         sysdeps/sh/____longjmp_chk.S.
53179         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
53180         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
53181         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
53182         (gen-as-const-headers): Append sigaltstack-offsets.sym.
53184         * sysdeps/sh/abort-instr.h: New file.
53185         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
53186         process in case exit returns.
53188         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
53189         initialize the GOT register before use.
53191         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
53192         calculation of ARGC > 4.
53194         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53195         meaningful names to some local labels.
53197 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53198             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53200         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
53201         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
53202         (__arch_compare_and_exchange_val_16_acq): Likewise.
53203         (__arch_compare_and_exchange_val_32_acq): Likewise.
53204         (atomic_exchange_and_add): Fix gUSA sequence.
53205         (atomic_add): Likewise.
53206         (atomic_add_negative): Likewise.
53207         (atomic_add_zero): Likewise.
53208         (atomic_bit_test_set): Likewise.
53210 2012-06-22  Andreas Schwab  <schwab@redhat.com>
53212         [BZ #13579]
53213         * include/link.h (struct link_map): Add l_free_initfini.
53214         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
53215         l_initfini.
53216         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
53217         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
53218         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
53219         set.
53221 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
53223         * configure.in: Use AC_LANG_SOURCE.
53224         * configure: Regenerate.
53226 2012-06-22  Roland McGrath  <roland@hack.frob.com>
53228         * configure.in (libc_cv_localstatedir): New substituted variable.
53229         * configure: Regenerated.
53230         * config.make.in (localstatedir): New variable, substituted from
53231         libc_cv_localstatedir.
53232         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
53233         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
53234         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
53235         * sysdeps/gnu/configure: Regenerated.
53237 2012-06-21  Jeff Law  <law@redhat.com>
53239         [BZ #14277]
53240         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
53241         free.  Simplify list management for _LIBC case.
53243 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
53245         [BZ #14273]
53246         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
53247         Clear sign bit of 64-bit integer value before comparing against
53248         overflow value.
53250         * sysdeps/mach/configure: Regenerated.
53252 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
53254         [BZ #14278]
53255         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
53257 2012-06-21  Jeff Law  <law@redhat.com>
53259         [BZ #13882]
53260         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
53261         uint16_t for elements in the "seen" array to avoid char overflows.
53262         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53263         * elf/dl-open.c (dl_open_worker): Likewise.
53265 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
53267         * scripts/list-sources.sh: Scan PORTS for translations.
53268         * po/libc.pot: Regenerated.
53270 2012-06-21  Andreas Jaeger  <aj@suse.de>
53272         [BZ #12194]
53273         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
53274         warning.
53275         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
53276         * bits/byteswap-16.h (__bswap_16): Likewise.
53277         * bits/byteswap.h (__bswap_constant_16): Likewise.
53279 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
53281         [BZ #14117]
53282         * sysdeps/i386/fpu_control.h: Removed.
53283         * sysdeps/x86_64/fpu_control.h: Moved to ...
53284         * sysdeps/x86/fpu_control.h: Here.
53286         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
53287         (_FPU_SETCW): Likewise.
53289 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
53291         [BZ #14117]
53292         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
53293         * sysdeps/x86/fpu/bits/mathinline.h: This.
53294         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
53296         [BZ #14050]
53297         [BZ #14117]
53298         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
53299         functions if __x86_64__ is defined.
53301 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
53303         * string/endian.h: Add !__ASSEMBLER__ condition for including
53304         conversion interfaces.
53306 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
53308         [BZ #14241]
53309         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
53310         of ABS(x) in calculating zero to negative powers other than odd
53311         integers.
53312         * math/libm-test.inc (pow_test): Add more tests.
53314 2012-06-15  Andreas Jaeger  <aj@suse.de>
53316         * manual/contrib.texi (Contributors): Update entry of Liubov
53317         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
53318         Machado Filho.
53320 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
53322         * string/string.h: Add __wur to GNU version of strerror_r.
53324 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
53326         [BZ #14229]
53327         * string/Makefile (tests): Add tst-strtok_r.
53328         * string/tst-strtok_r.c: New file.
53329         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
53330         RAX_LP/RDX_LP on SAVE_PTR.
53332 2012-06-14  Roland McGrath  <roland@hack.frob.com>
53334         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
53336 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
53338         * libm_test.inc (csqrt_test): Allow more spurious underflow
53339         exceptions.
53340         (j0_test): Likewise.
53341         (j1_test): Likewise.
53342         (y0_test): Likewise.
53343         (y1_test): Likewise.
53345 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
53347         * po/Makefile (libc.pot): Use UTF-8 charset.
53349 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
53351         [BZ #14210]
53352         Suppress sign-conversion warning from FD_SET.
53353         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
53354         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
53355         not unsigned long int.
53356         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
53358 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
53360         [BZ #14050]
53361         [BZ #14117]
53362         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
53363         __extern_always_inline instead of __extern_inline.
53364         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
53365         (__signbit): Likewise.
53366         (__signbitl): Support C++ namespace.
53367         (lrintf): New inline function.
53368         (lrint): Likewise.
53369         (llrintf): Likewise.
53370         (llrint): Likewise.
53371         (fmaxf): Likewise.
53372         (fmax): Likewise.
53373         (fminf): Likewise.
53374         (fmin): Likewise.
53375         (rint): Likewise.
53376         (rintf): Likewise.
53377         (ceil): Likewise.
53378         (ceilf): Likewise.
53379         (floor): Likewise.
53380         (floorf): Likewise.
53381         (nearbyint): Likewise.
53382         (nearbyintf): Likewise.
53384 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
53386         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
53387         non-default versions.
53389 2012-06-11  Roland McGrath  <roland@hack.frob.com>
53391         [BZ #14218]
53392         * manual/argp.texi (Argp): Reword argp_parse description slightly.
53394 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
53396         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
53397         (FE_UPWARD, FE_DOWNWARD): Don't define.
53398         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
53399         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53401         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
53402         reading it.
53403         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53404         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53406 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53408         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53409         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
53410         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
53411         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
53413 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
53415         [BZ #14117]
53416         * sysdeps/i386/fpu/bits/fenv.h: Removed.
53417         * sysdeps/i386/fpu/Implies: New file.
53418         * sysdeps/x86_64/fpu/Implies: Likewise.
53419         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
53420         * sysdeps/x86/fpu/bits/fenv.h: This.
53422         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
53423         __SSE_MATH__.
53425 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53427         [BZ #14134]
53428         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
53429         character 0xffff that matches the last element of the
53430         conversion table.
53432 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53434         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
53435         fmodl commit.
53437 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53439         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
53440         values higher than 25.6283.
53442 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53444         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
53445         subnormal exponent extraction and add some __builtin_expect.
53446         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
53447         Fix for subnormal mantissa calculation.
53449 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
53451         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
53452         cpu2 is -1 and errno is not ENOSYS.
53454 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
53456         [BZ #14117]
53457         * sysdeps/i386/i486/bits/string.h: Renamed to ...
53458         * sysdeps/x86/bits/string.h: This.
53459         * sysdeps/x86_64/bits/string.h: Removed.
53461         * sysdeps/i386/i486/bits/string.h: Define inline functions only
53462         if not compiling for x86-64, but compiling for >= i486.
53464         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
53465         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
53467         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
53468         New macro from Linux kernel 3.4.0.
53469         (FP_XSTATE_MAGIC2): Likewise.
53470         (FP_XSTATE_MAGIC2_SIZE): Likewise.
53471         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
53472         (struct _fpx_sw_bytes): New struct.
53473         (struct _xsave_hdr): Likewise.
53474         (struct _ymmh_state): Likewise.
53475         (struct _xstate): Likewise.
53477         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
53478         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
53479         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
53480         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
53481         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
53482         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
53484         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
53485         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
53486         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
53487         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
53488         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
53489         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
53491 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53493         [BZ #13743]
53494         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
53495         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
53496         (sysdep_headers): Include sys/platform/ppc.h.
53497         * sysdeps/powerpc/test-gettimebase.c: Test for
53498         __ppc_get_timebase() to catch future ISA opcode/insn changes.
53499         * manual/Makefile (appendices): Include platform.texi.
53500         * manual/contrib.texi (Contributors): Update @node pointers.
53501         * manual/maint.texi (Maintenance): Likewise.
53502         (Platform): New node.
53503         * manual/platform.texi: New file.  Document the new features.
53505 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53506             Jakub Jelinek  <jakub@redhat.com>
53508         [BZ #14188]
53509         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
53510         where __builtin_expect is unavailable.
53512 2012-06-03  David S. Miller  <davem@davemloft.net>
53514         * stdlib/longlong.h: Updated from GCC.
53516 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
53518         [BZ #14042]
53519         * sysdeps/powerpc/powerpc32/mcount.c: New file.
53520         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
53521         __mcount_internal.
53522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53523         (GLIBC_2.16): Likewise.
53525 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53527         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
53529 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
53531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
53532         (default-abi): New variable.
53533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
53534         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
53535         variable.
53536         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
53537         Likewise.
53538         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
53539         Likewise.
53540         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
53541         Likewise.
53543         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
53544         definition.  Document in comment.
53546 2012-06-01  David S. Miller  <davem@davemloft.net>
53548         * stdlib/longlong.h: Updated from GCC.
53550 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53552         [BZ #14117]
53553         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
53554         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
53555         sys/debugreg.h sys/io.h here.
53556         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
53557         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
53558         sys/io.h.
53559         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
53560         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
53561         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
53562         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
53563         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
53564         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
53566         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
53567         Define only if __x86_64__ is defined.
53569 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
53571         [BZ #14048]
53572         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
53573         Use int64_t for variable i.
53574         * math/libm-test.inc (fmod_test): Add more tests.
53576         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
53577         z computation is not scheduled after fetestexcept.
53578         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
53579         Use math_force_eval instead of asm to ensure calculation scheduled
53580         before exception test.
53581         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
53582         Ensure a1 + u.d computation is not scheduled after fetestexcept.
53584 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
53586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
53587         computation is not scheduled after fetestexcept.
53589 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53591         [BZ #14117]
53592         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
53593         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
53595 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53597         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
53598         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53600 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
53602         [BZ #14117]
53603         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
53604         <bits/wordsize.h>.
53605         (__WCHAR_MIN): Support __WORDSIZE == 64.
53606         (__WCHAR_MAX): Likewise.
53608         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
53609         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
53611         [BZ #14183]
53612         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
53613         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
53615         [BZ #14117]
53616         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
53617         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
53619         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
53620         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
53622         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
53623         Defined to 1 if __x86_64__ isn't defined.
53624         (_STAT_VER_LINUX_OLD): New.
53625         (st_atime): Remove duplicate.
53626         (st_mtime): Likewise.
53627         (st_ctime): Likewise.
53629 2012-05-31  David S. Miller  <davem@davemloft.net>
53631         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
53632         entries.
53634 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
53636         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
53637         gen-libm-test.pl.
53639         [BZ #14132]
53640         * elf/dl-reloc.c: Include <_itoa.h>.
53641         (_dl_reloc_bad_type): Remove use of INTUSE.
53642         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
53643         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
53644         * stdio-common/psiginfo.c (psiginfo): Likewise.
53645         * stdio-common/psignal.c (psignal): Likewise.
53646         * string/strsignal.c (strsignal): Likewise.
53647         * include/signal.h (_sys_siglist): Declare hidden proto.
53648         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
53649         INTVARDEF with libc_hidden_data_def.
53650         * stdio-common/itoa-udigits.c: Likewise.
53651         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
53652         (_itoa_lower_digits_internal): Remove declaration.
53653         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
53654         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
53655         (_sys_sigabbrev_internal): Remove aliases.
53656         (_sys_siglist): Define hidden alias.
53658 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
53660         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53661         bits/sysctl.h.
53663 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
53665         [BZ #14117]
53666         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
53667         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
53669         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
53670         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
53671         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
53672         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
53673         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
53674         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
53676         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
53677         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
53678         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
53680         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
53681         with __addr.
53682         (insw): Likewise.
53683         (insl): Likewise.
53684         (outsb): Likewise.
53685         (outsw): Likewise.
53686         (outsl): Likewise.
53688         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
53689         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
53690         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
53692         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
53693         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
53694         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
53695         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
53696         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
53697         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
53699         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
53700         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
53702         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
53703         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
53705         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
53706         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
53707         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
53709         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
53710         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
53711         to ...
53712         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
53714         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
53715         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
53716         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
53718         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
53719         for x86-64.
53720         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
53722 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
53724         * math/math.h (M_El): Use two more decimal places.
53725         (M_LOG2El): Likewise.
53726         (M_LOG10El): Likewise.
53727         (M_LN2l): Likewise.
53728         (M_LN10l): Likewise.
53729         (M_PIl): Likewise.
53730         (M_PI_2l): Likewise.
53731         (M_PI_4l): Likewise.
53732         (M_1_PIl): Likewise.
53733         (M_2_PIl): Likewise.
53734         (M_2_SQRTPIl): Likewise.
53735         (M_SQRT2l): Likewise.
53736         (M_SQRT1_2l): Likewise.
53738 2012-05-31  David S. Miller  <davem@davemloft.net>
53740         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
53741         values between float registers.
53742         * sysdeps/sparc/sparc64/memset.S: Likewise.
53743         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53745 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
53747         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
53748         -D_FORTIFY_SOURCE=1.
53749         (CPPFLAGS-tst-longjmp_chk.c): Define.
53750         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
53751         (CPPFLAGS-tst-longjmp_chk2.c): Define.
53752         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
53753         CFLAGS-tst-wchar-h.c.
53755 2012-05-31  Marek Polacek  <polacek@redhat.com>
53757         [BZ #14132]
53758         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
53759         __endmntent_internal): Remove declaration.
53760         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
53761         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
53762         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
53764 2012-05-30  David S. Miller  <davem@davemloft.net>
53766         * sysdeps/sparc/sparc32/soft-fp/q_util.c
53767         (___Q_simulate_exceptions): Use real FP ops rather than writing
53768         into the %fsr.
53769         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
53770         Likewise.
53772 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53774         [BZ #14117]
53775         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
53776         * sysdeps/x86/bits/xtitypes.h: This.
53778         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
53779         * sysdeps/x86/bits/wordsize.h: This.
53781         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
53782         * sysdeps/x86/bits/huge_vall.h: This.
53784         * sysdeps/i386/bits/select.h: Removed.
53785         * sysdeps/x86_64/bits/select.h: Renamed to ...
53786         * sysdeps/x86/bits/select.h: This.
53788         * sysdeps/i386/bits/setjmp.h: Removed.
53789         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
53790         * sysdeps/x86/bits/setjmp.h: This.
53792         * sysdeps/i386/bits/mathdef.h: Removed.
53793         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
53794         * sysdeps/x86/bits/mathdef.h: This.
53796 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
53798         [BZ #14132]
53799         * include/sys/socket.h (__connect_internal)
53800         (__libc_sa_len_internal): Remove declaration.
53801         (__connect, __libc_sa_len): Declare hidden_proto.
53802         (SA_LEN): Remove use of INTUSE.
53803         * socket/connect.c: Add libc_hidden_def.
53804         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
53805         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
53806         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
53807         alias.
53808         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
53809         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
53810         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
53811         of adding _internal alias.
53813 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53815         [BZ #14117]
53816         * sysdeps/i386/bits/link.h: Removed.
53817         * sysdeps/i386/bits/linkmap.h: Likewise.
53818         * sysdeps/x86_64/bits/link.h: Renamed to ...
53819         * sysdeps/x86/bits/link.h: This.
53820         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
53821         * sysdeps/x86/bits/linkmap.h: This.
53823         * sysdeps/i386/bits/endian.h: Removed.
53824         * sysdeps/x86_64/bits/endian.h: Renamed to ...
53825         * sysdeps/x86/bits/endian.h: This.
53827         * sysdeps/i386/bits/byteswap.h: Removed.
53828         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53829         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
53830         * sysdeps/x86/bits/byteswap.h: This.
53831         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
53832         * sysdeps/x86/bits/byteswap-16.h: This.
53833         * sysdeps/i386/Implies: Add x86.
53834         * sysdeps/x86_64/Implies: Likewise.
53836 2012-05-30  David S. Miller  <davem@davemloft.net>
53838         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
53839         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
53840         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53841         (FP_TRAPPING_EXCEPTIONS): Define.
53842         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53843         (FP_TRAPPING_EXCEPTIONS): Define.
53844         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
53845         subnormals only when inexact has been signalled or underflow
53846         exceptions are enabled.
53847         (_FP_PACK_CANONICAL): Likewise.
53849 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53851         [BZ #14183]
53852         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
53853         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
53855 2012-05-30  Richard Henderson  <rth@twiddle.net>
53857         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
53858         with #ifndef NOT_IN_libc.
53860         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
53861         marked to avoid plt entry.
53863 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53865         [BZ #14112]
53866         * Makeconfig (default-abi): New macro.
53867         (abi-includes): Likewise.
53868         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
53869         $(abi-$(default-abi)-lib-soname) for soname if defined.
53870         ($(common-objpfx)gnu/lib-names.stmp): Generate from
53871         abi-variants.
53872         * Makefile (installed-stubs): Likewise.
53873         * include/stubs-biarch.h: Removed.
53874         * scripts/lib-names.awk: Only handle one library at a time.
53875         * scripts/soversions.awk: Remove WORDSIZE support.
53876         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
53877         entries.
53878         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
53879         Removed.
53880         (syscall-list-default-condition): Likewise.
53881         (syscall-list-default-condition): Likewise.
53882         (syscall-list-includes): Likewise.
53883         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
53884         syscall-list-* with abi-*.  Handle undefined abi-variants.
53885         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
53886         * sysdeps/unix/sysv/linux/i386/Implies: New file.
53887         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
53888         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
53889         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
53890         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
53891         Removed.
53892         (syscall-list-32-options): Likewise.
53893         (syscall-list-32-condition): Likewise.
53894         (syscall-list-64-options): Likewise.
53895         (syscall-list-64-condition): Likewise.
53896         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
53897         macro.
53898         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
53899         Renamed to ...
53900         (abi-*): This.
53901         (abi-64-ld-soname): New macro.
53902         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
53903         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
53904         Renamed to ...
53905         (abi-*): This.
53906         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
53907         * sysdeps/x86_64/x32/shlib-versions: Likewise.
53909 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
53911         * sysdeps/unix/sysv/linux/kernel-features.h
53912         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
53913         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
53914         include <kernel-features.h>.
53915         [!__NR_ftruncate64]: Remove conditional code.
53916         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53917         [__NR_ftruncate64]: Make code unconditional.
53918         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53919         * sysdeps/unix/sysv/linux/truncate64.c: Do not
53920         include <kernel-features.h>.
53921         [!__NR_ftruncate64]: Remove conditional code.
53922         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53923         [__NR_ftruncate64]: Make code unconditional.
53924         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
53926         include <kernel-features.h>.
53927         [!__NR_ftruncate64]: Remove conditional code.
53928         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53929         [__NR_ftruncate64]: Make code unconditional.
53930         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53932         include <kernel-features.h>.
53933         [!__NR_ftruncate64]: Remove conditional code.
53934         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53935         [__NR_ftruncate64]: Make code unconditional.
53936         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53938         * configure.in (libc_cv_fpie): Weaken to a compile test using
53939         LIBC_TRY_CC_OPTION.
53940         * configure: Regenerated.
53942 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
53945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
53946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
53947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53948         Refreshed.
53949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
53950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
53951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
53952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
53953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
53954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53955         Refreshed.
53957 2012-05-27  David S. Miller  <davem@davemloft.net>
53959         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
53960         (___Q_zero): New.
53961         (__Q_simulate_exceptions): Return void.  Change to simulate
53962         exceptions by writing into the %fsr.
53963         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
53964         (__Qp_handle_exceptions): Likewise.
53965         (numbers): Delete.
53966         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
53967         __Qp_handle_exceptions.
53968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
53969         __Qp_handle_exceptions.
53970         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53971         as unused and give dummy FP_RND_NEAREST initializer.
53972         (FP_INHIBIT_RESULTS): Define.
53973         (___Q_simulate_exceptions): Update declaration.
53974         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
53975         formatting.
53976         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53977         as unused and give dummy FP_RND_NEAREST initializer.
53978         (__Qp_handle_exceptions): Update declaration.
53979         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
53980         formatting.
53982 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
53984         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
53985         the temporary FPU control word.
53986         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53987         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
53988         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
53989         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53990         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53991         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
53992         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
53993         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53994         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
53995         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
53996         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53998 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54000         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
54001         fields.
54003 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
54005         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
54006         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
54007         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
54008         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
54009         Likewise.
54010         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
54011         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
54012         Likewise.
54014 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
54016         * po/h.po: Update from translation team.
54018 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
54020         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
54022         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
54023         handling of denormals.
54024         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54025         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54026         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54027         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54028         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54029         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
54030         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
54031         Likewise.
54033 2012-05-26  Marek Polacek  <polacek@redhat.com>
54035         [BZ #14152]
54036         * math/libm-test.inc (fma_test): Don't always expect underflow
54037         exception.
54039 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54041         [BZ #12416]
54042         * elf/tst-execstack.c: Include stackinfo.h.
54043         (do_test): Adjust test case to ensure that pthread_getattr_np
54044         behaviour remains the same after marking stack executable.
54046 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54048         * sysdeps/unix/sysv/linux/kernel-features.h
54049         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
54050         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
54051         kernel-features.h.
54052         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54053         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54054         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
54055         kernel-features.h.
54056         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54057         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54059 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
54061         * configure.in: Define the default includes to being none.
54062         * configure: Regenerated.
54064 2012-05-25  Roland McGrath  <roland@hack.frob.com>
54066         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
54067         * sysdeps/x86_64/setjmp.S: Likewise.
54068         * sysdeps/i386/bsd-setjmp.S: Likewise.
54069         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54070         * sysdeps/i386/setjmp.S: Likewise.
54071         * sysdeps/i386/__longjmp.S: Likewise.
54072         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54073         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
54075         * include/stap-probe.h: New file.
54076         * configure.in: Handle --enable-systemtap.
54077         * configure: Regenerated.
54078         * config.h.in (USE_STAP_PROBE): New #undef.
54079         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
54080         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
54081         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
54083 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54085         [BZ #13717]
54086         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54087         to 2.4.0 where earlier.
54088         * sysdeps/unix/sysv/linux/configure: Regenerated.
54089         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54090         <kernel-features.h>.
54091         [__ASSUME_32BITUIDS]: Make code unconditional.
54092         [!__ASSUME_32BITUIDS]: Remove conditional code.
54093         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
54094         <kernel-features.h>.
54095         [__ASSUME_32BITUIDS]: Make code unconditional.
54096         [!__ASSUME_32BITUIDS]: Remove conditional code.
54097         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
54098         [__ASSUME_32BITUIDS]: Make code unconditional.
54099         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
54100         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
54101         <kernel-features.h>.
54102         [__ASSUME_32BITUIDS]: Make code unconditional.
54103         [!__ASSUME_32BITUIDS]: Remove conditional code.
54104         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
54105         <kernel-features.h>.
54106         [__ASSUME_32BITUIDS]: Make code unconditional.
54107         [!__ASSUME_32BITUIDS]: Remove conditional code.
54108         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
54109         <kernel-features.h>.
54110         [__ASSUME_32BITUIDS]: Make code unconditional.
54111         [!__ASSUME_32BITUIDS]: Remove conditional code.
54112         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
54113         <kernel-features.h>.
54114         [__ASSUME_32BITUIDS]: Make code unconditional.
54115         [!__ASSUME_32BITUIDS]: Remove conditional code.
54116         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54117         <kernel-features.h>.
54118         [__ASSUME_32BITUIDS]: Make code unconditional.
54119         [!__ASSUME_32BITUIDS]: Remove conditional code.
54120         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54121         <kernel-features.h>.
54122         [__ASSUME_32BITUIDS]: Make code unconditional.
54123         [!__ASSUME_32BITUIDS]: Remove conditional code.
54124         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
54125         <kernel-features.h>.
54126         [__ASSUME_32BITUIDS]: Make code unconditional.
54127         [!__ASSUME_32BITUIDS]: Remove conditional code.
54128         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54129         <kernel-features.h>.
54130         [__ASSUME_32BITUIDS]: Make code unconditional.
54131         [!__ASSUME_32BITUIDS]: Remove conditional code.
54132         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54133         <kernel-features.h>.
54134         [__ASSUME_32BITUIDS]: Make code unconditional.
54135         [!__ASSUME_32BITUIDS]: Remove conditional code.
54136         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
54137         <kernel-features.h>.
54138         [__ASSUME_32BITUIDS]: Make code unconditional.
54139         [!__ASSUME_32BITUIDS]: Remove conditional code.
54140         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
54141         <kernel-features.h>.
54142         [__NR_setresgid] (__setresgid): Do not declare.
54143         [__ASSUME_32BITUIDS]: Make code unconditional.
54144         [!__ASSUME_32BITUIDS]: Remove conditional code.
54145         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
54146         <kernel-features.h>.
54147         [__NR_setresuid] (__setresuid): Do not declare.
54148         [__ASSUME_32BITUIDS]: Make code unconditional.
54149         [!__ASSUME_32BITUIDS]: Remove conditional code.
54150         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
54151         <kernel-features.h>.
54152         [__ASSUME_32BITUIDS]: Make code unconditional.
54153         [!__ASSUME_32BITUIDS]: Remove conditional code.
54154         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
54155         <kernel-features.h>.
54156         [__ASSUME_32BITUIDS]: Make code unconditional.
54157         [!__ASSUME_32BITUIDS]: Remove conditional code.
54158         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
54159         <kernel-features.h>.
54160         [__ASSUME_32BITUIDS]: Make code unconditional.
54161         [!__ASSUME_32BITUIDS]: Remove conditional code.
54162         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
54163         <kernel-features.h>.
54164         [__ASSUME_32BITUIDS]: Make code unconditional.
54165         [!__ASSUME_32BITUIDS]: Remove conditional code.
54166         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
54167         <kernel-features.h>.
54168         [__ASSUME_32BITUIDS]: Make code unconditional.
54169         [!__ASSUME_32BITUIDS]: Remove conditional code.
54170         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
54171         <kernel-features.h>.
54172         [__ASSUME_32BITUIDS]: Make code unconditional.
54173         [!__ASSUME_32BITUIDS]: Remove conditional code.
54174         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
54175         <kernel-features.h>.
54176         [__ASSUME_32BITUIDS]: Make code unconditional.
54177         [!__ASSUME_32BITUIDS]: Remove conditional code.
54178         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
54179         <kernel-features.h>.
54180         [__ASSUME_32BITUIDS]: Make code unconditional.
54181         [!__ASSUME_32BITUIDS]: Remove conditional code.
54182         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
54183         <kernel-features.h>.
54184         [__ASSUME_32BITUIDS]: Make code unconditional.
54185         [!__ASSUME_32BITUIDS]: Remove conditional code.
54186         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54187         <kernel-features.h>.
54188         [__ASSUME_32BITUIDS]: Make code unconditional.
54189         [!__ASSUME_32BITUIDS]: Remove conditional code.
54190         * sysdeps/unix/sysv/linux/kernel-features.h
54191         (__ASSUME_SETRESUID_SYSCALL): Remove.
54192         (__ASSUME_SETRESGID_SYSCALL): Likewise.
54193         (__ASSUME_32BITUIDS): Likewise.
54194         (__ASSUME_LDT_WORKS): Likewise.
54195         (__ASSUME_O_DIRECTORY): Likewise.
54196         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
54197         architecture but not kernel version.
54198         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
54199         (__ASSUME_MMAP2_SYSCALL): Likewise.
54200         (__ASSUME_STAT64_SYSCALL): Likewise.
54201         (__ASSUME_IPC64): Likewise.
54202         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
54203         <kernel-features.h>.
54204         [__ASSUME_32BITUIDS]: Make code unconditional.
54205         [!__ASSUME_32BITUIDS]: Remove conditional code.
54206         * sysdeps/unix/sysv/linux/opendir.c: Do not include
54207         <kernel-features.h>.
54208         [__ASSUME_O_DIRECTORY]: Make code unconditional.
54209         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
54210         132096]: Remove conditional code.
54211         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
54212         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54213         <kernel-features.h>.
54214         [__ASSUME_32BITUIDS]: Make code unconditional.
54215         [!__ASSUME_32BITUIDS]: Remove conditional code.
54216         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54217         <kernel-features.h>.
54218         [__ASSUME_32BITUIDS]: Make code unconditional.
54219         [!__ASSUME_32BITUIDS]: Remove conditional code.
54220         * sysdeps/unix/sysv/linux/setegid.c: Do not include
54221         <kernel-features.h>.
54222         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
54223         unconditional.
54224         (__setresgid): Do not declare.
54225         [__ASSUME_32BITUIDS]: Make code unconditional.
54226         [!__ASSUME_32BITUIDS]: Remove conditional code.
54227         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
54228         <kernel-features.h>.
54229         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
54230         unconditional.
54231         (__setresuid): Do not declare.
54232         [__ASSUME_32BITUIDS]: Make code unconditional.
54233         [!__ASSUME_32BITUIDS]: Remove conditional code.
54234         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54235         <kernel-features.h>.
54236         [__ASSUME_32BITUIDS]: Make code unconditional.
54237         [!__ASSUME_32BITUIDS]: Remove conditional code.
54238         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
54239         <kernel-features.h>.
54240         [__ASSUME_32BITUIDS]: Make code unconditional.
54241         [!__ASSUME_32BITUIDS]: Remove conditional code.
54243 2012-05-25  Richard Henderson  <rth@twiddle.net>
54245         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
54246         dl_hwcap to ifunc resolver.
54247         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
54248         elf_ifunc_invoke.
54249         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
54250         dl_hwcap to ifunc resolver.
54251         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
54253 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54255         [BZ #14153]
54256         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
54257         for |x| <= 2**-26, not 2**-57.
54258         * math/libm-test.inc (acos_test): Do not allow spurious underflow
54259         exception.
54261 2012-05-24  Jeff Law  <law@redhat.com>
54263         * stdio-common/Makefile (tests): Add bug25.
54264         * stdio-common/bug25.c: New test.
54266 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54268         [BZ #13576]
54269         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
54270         multiple of MALLOC_ALIGNMENT in size.
54271         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
54273 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54275         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
54276         Require >= 256.
54277         (FILENAME_MAX): Use macro-int-constant.
54278         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
54279         (_IOFBF): Use macro-int-constant.
54280         (_IOLBF): Likewise.
54281         (_IONBF): Likewise.
54282         (SEEK_CUR): Likewise.
54283         (SEEK_END): Likewise.
54284         (SEEK_SET): Likewise.
54285         (TMP_MAX): Likewise.
54286         (EOF): Use macro-int-constant.  Require < 0.
54287         (NULL): Use macro-constant.  Require == 0.
54288         (stdin): Require type to be FILE *.
54289         (stdout): Likewise.
54290         (stderr): Likewise.
54291         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
54292         macro-int-constant.
54293         (EXIT_SUCCESS): Likewise.
54294         (NULL): Use macro-constant.  Require == 0.
54295         (RAND_MAX): Use macro-int-constant.
54296         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
54297         [C99-based standards] (strtof): Require function.
54298         [C99-based standards] (strtold): Likewise.
54299         [C99-based standards] (strtoll): Likewise.
54300         [C99-based standards] (strtoull): Likewise.
54301         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54302         [ISO || ISO99 || ISO11] (limits.h): Likewise.
54303         [ISO || ISO99 || ISO11] (math.h): Likewise.
54304         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
54305         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54306         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54308 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
54310         [BZ #14132]
54311         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
54312         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
54313         * intl/dgettext.c (DCGETTEXT): Likewise.
54314         * intl/gettext.c (DCGETTEXT): Likewise.
54315         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
54316         * posix/regex_internal.h (gettext): Likewise.
54317         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
54318         Remove declaration.
54319         * include/argz.h (__argz_count_internal)
54320         (__argz_stringify_internal): Remove declaration.
54321         (__argz_count, __argz_stringify): Declare hidden proto.
54322         * intl/dcgettext.c: Remove use of INTDEF.
54323         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
54324         * string/argz-stringify.c: Likewise.
54325         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54326         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54327         Declare hidden proto.
54328         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54329         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54330         Declare hidden proto.
54331         * include/stdio.h (__asprintf_internal): Don't declare.
54332         (__asprintf): Don't define as macro.  Declare hidden proto.
54333         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
54334         (__fsetlocking): Declare hidden proto.
54335         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
54336         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
54337         hidden proto.
54338         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
54339         (_IO_setlinebuf): Remove use of INTUSE.
54340         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
54341         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
54342         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
54343         Remove declaration.
54344         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
54345         (_IO_do_flush): Remove use of INTUSE.
54346         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
54347         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
54348         (_IO_adjust_column, _IO_least_wmarker)
54349         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
54350         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
54351         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
54352         (_IO_default_doallocate, _IO_wdefault_doallocate)
54353         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
54354         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
54355         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
54356         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
54357         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
54358         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
54359         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
54360         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
54361         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
54362         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
54363         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
54364         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
54365         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
54366         proto.
54367         (_IO_flush_all_internal, _IO_adjust_column_internal)
54368         (_IO_default_uflow_internal, _IO_default_finish_internal)
54369         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
54370         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
54371         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
54372         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
54373         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
54374         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
54375         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
54376         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
54377         (_IO_file_close_internal, _IO_file_close_it_internal)
54378         (_IO_file_underflow_internal, _IO_file_overflow_internal)
54379         (_IO_file_init_internal, _IO_file_attach_internal)
54380         (_IO_file_fopen_internal, _IO_file_read_internal)
54381         (_IO_file_sync_internal, _IO_file_seek_internal)
54382         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
54383         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
54384         (_IO_str_underflow_internal, _IO_str_overflow_internal)
54385         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
54386         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
54387         (_IO_list_all_internal, _IO_link_in_internal)
54388         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
54389         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
54390         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
54391         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
54392         (_IO_do_write_internal, _IO_padn_internal)
54393         (_IO_getline_info_internal, _IO_getline_internal)
54394         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
54395         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
54396         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
54397         (_IO_vfscanf_internal, _IO_vfprintf_internal)
54398         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
54399         (_IO_init_internal, _IO_un_link_internal): Don't declare.
54400         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
54401         with libc_hidden_ver, remove use of INTUSE.
54402         * libio/genops.c: Likewise.
54403         * libio/freopen.c: Likewise.
54404         * libio/freopen64.c: Likewise.
54405         * libio/iofclose.c: Likewise.
54406         * libio/iofdopen.c: Likewise.
54407         * libio/iofflush.c: Likewise.
54408         * libio/iofflush_u.c: Likewise.
54409         * libio/iofgets.c: Likewise.
54410         * libio/iofgets_u.c: Likewise.
54411         * libio/iofopen.c: Likewise.
54412         * libio/iofopncook.c: Likewise.
54413         * libio/iofread.c: Likewise.
54414         * libio/iofread_u.c: Likewise.
54415         * libio/ioftell.c: Likewise.
54416         * libio/iofwrite.c: Likewise.
54417         * libio/iogetline.c: Likewise.
54418         * libio/iogets.c: Likewise.
54419         * libio/iogetwline.c: Likewise.
54420         * libio/iopadn.c: Likewise.
54421         * libio/iopopen.c: Likewise.
54422         * libio/ioseekoff.c: Likewise.
54423         * libio/ioseekpos.c: Likewise.
54424         * libio/iosetbuffer.c: Likewise.
54425         * libio/iosetvbuf.c: Likewise.
54426         * libio/ioungetc.c: Likewise.
54427         * libio/ioungetwc.c: Likewise.
54428         * libio/iovdprintf.c: Likewise.
54429         * libio/iovsprintf.c: Likewise.
54430         * libio/iovsscanf.c: Likewise.
54431         * libio/memstream.c: Likewise.
54432         * libio/obprintf.c: Likewise.
54433         * libio/oldfileops.c: Likewise.
54434         * libio/oldiofclose.c: Likewise.
54435         * libio/oldiofdopen.c: Likewise.
54436         * libio/oldiofopen.c: Likewise.
54437         * libio/oldiopopen.c: Likewise.
54438         * libio/oldstdfiles.c: Likewise.
54439         * libio/putc.c: Likewise.
54440         * libio/setbuf.c: Likewise.
54441         * libio/setlinebuf.c: Likewise.
54442         * libio/stdfiles.c: Likewise.
54443         * libio/strops.c: Likewise.
54444         * libio/vasprintf.c: Likewise.
54445         * libio/vscanf.c: Likewise.
54446         * libio/vsnprintf.c: Likewise.
54447         * libio/vswprintf.c: Likewise.
54448         * libio/wfiledoalloc.c: Likewise.
54449         * libio/wfileops.c: Likewise.
54450         * libio/wgenops.c: Likewise.
54451         * libio/wmemstream.c: Likewise.
54452         * libio/wstrops.c: Likewise.
54453         * libio/__fpurge.c: Likewise.
54454         * libio/__fsetlocking.c: Likewise.
54455         * assert/assert.c: Likewise.
54456         * debug/fgets_chk.c: Likewise.
54457         * debug/fgets_u_chk.c: Likewise.
54458         * debug/fread_chk.c: Likewise.
54459         * debug/fread_u_chk.c: Likewise.
54460         * debug/gets_chk.c: Likewise.
54461         * debug/obprintf_chk.c: Likewise.
54462         * debug/vasprintf_chk.c: Likewise.
54463         * debug/vdprintf_chk.c: Likewise.
54464         * debug/vsnprintf_chk.c: Likewise.
54465         * debug/vsprintf_chk.c: Likewise.
54466         * malloc/mtrace.c: Likewise.
54467         * misc/error.c: Likewise.
54468         * misc/syslog.c: Likewise.
54469         * stdio-common/asprintf.c: Likewise.
54470         * stdio-common/fxprintf.c: Likewise.
54471         * stdio-common/getw.c: Likewise.
54472         * stdio-common/isoc99_fscanf.c: Likewise.
54473         * stdio-common/isoc99_scanf.c: Likewise.
54474         * stdio-common/isoc99_vfscanf.c: Likewise.
54475         * stdio-common/isoc99_vscanf.c: Likewise.
54476         * stdio-common/isoc99_vsscanf.c: Likewise.
54477         * stdio-common/printf-prs.c: Likewise.
54478         * stdio-common/printf_fp.c: Likewise.
54479         * stdio-common/printf_fphex.c: Likewise.
54480         * stdio-common/printf_size.c: Likewise.
54481         * stdio-common/putw.c: Likewise.
54482         * stdio-common/scanf.c: Likewise.
54483         * stdio-common/sprintf.c: Likewise.
54484         * stdio-common/tmpfile.c: Likewise.
54485         * stdio-common/vfprintf.c: Likewise.
54486         * stdio-common/vfscanf.c: Likewise.
54487         * stdlib/strfmon_l.c: Likewise.
54488         * sunrpc/openchild.c: Likewise.
54489         * sunrpc/xdr_stdio.c: Likewise.
54490         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
54491         * sysdeps/mach/hurd/tmpfile.c: Likewise.
54493 2012-05-24  Roland McGrath  <roland@hack.frob.com>
54495         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
54497         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
54498         in the third column, to generate for the shared library an IFUNC
54499         that uses _dl_vdso_vsym.
54500         * Makerules (COMPILE.c, compile-stdin.c): New variables.
54501         * Makeconfig (object-suffixes-noshared): New variable.
54503         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
54504         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
54505         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
54506         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
54508         [BZ #14132]
54509         * include/sys/time.h (__gettimeofday): Remove macro.
54510         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
54511         * time/gettimeofday.c (__gettimeofday): Remove #undef.
54512         Remove INTDEF.
54513         (__gettimeofday): Add libc_hidden_def.
54514         (gettimeofday): Add libc_hidden_weak.
54515         * sysdeps/mach/gettimeofday.c: Likewise.
54516         * sysdeps/posix/gettimeofday.c: Likewise.
54517         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
54518         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
54519         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
54520         (__gettimeofday_internal): Remove strong_alias.
54521         (__gettimeofday): Add libc_hidden_def.
54522         (gettimeofday): Add libc_hidden_weak.
54523         * sysdeps/unix/syscalls.list (gettimeofday):
54524         Remove __gettimeofday_internal alias.
54526 2012-05-24  Daniel Jacobowitz  <drow@false.org>
54527             H.J. Lu  <hongjiu.lu@intel.com>
54529         [BZ #12495]
54530         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
54531         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
54532         (largebin_index_32_big): New.
54533         (largebin_index): Use it for 16-byte alignment.
54534         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
54535         correction with front_misalign.
54537 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
54540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
54541         Likewise.
54542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
54543         Likewise.
54544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54545         Likewise.
54546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
54547         Likewise.
54548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
54549         Likewise.
54550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
54551         Likewise.
54552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
54553         Likewise.
54554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54555         Likewise.
54556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
54557         Likewise.
54558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
54559         Likewise.
54560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
54561         Likewise.
54562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
54563         Likewise.
54565         * scripts/data/c++-types-x32-linux-gnu.data: New file.
54566         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
54568 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54570         [BZ #10846]
54571         [BZ #14036]
54572         * math/libm-test.inc (exp_test): Add test from bug 14036.
54573         (pow_test): Add test from bug 10846.
54575         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
54576         and other flags.
54577         (special_function): Do not include flags in test name.
54578         (parse_args): Likewise.
54579         * sysdeps/i386/fpu/libm-test-ulps: Update.
54580         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54581         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54582         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54585         * math/gen-libm-test.pl (%beautify): Add entries for underflow
54586         exceptions.
54587         * math/libm-test.inc ("Philosophy"): Update comment about
54588         exception testing.
54589         (UNDERFLOW_EXCEPTION): New macro.
54590         (UNDERFLOW_EXCEPTION_OK): Likewise.
54591         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
54592         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
54593         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
54594         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
54595         (INVALID_EXCEPTION_OK): Update value.
54596         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54597         (OVERFLOW_EXCEPTION_OK): Likewise.
54598         (IGNORE_ZERO_INF_SIGN): Likewise.
54599         (test_exceptions): Handle underflow exceptions.
54600         (acos_test): Update for underflow exception expectations.
54601         (cexp_test): Likewise.
54602         (clog_test): Likewise.
54603         (clog10_test): Likewise.
54604         (csqrt_test): Likewise.
54605         (ctan_test): Likewise.
54606         (ctanh_test): Likewise.
54607         (exp_test): Likewise.
54608         (exp10_test): Likewise.
54609         (exp2_test): Likewise.
54610         (expm1_test): Likewise.
54611         (fma_test): Likewise.
54612         (j0_test): Likewise.
54613         (jn_test): Likewise.
54614         (nexttoward_test): Likewise.
54615         (pow_test): Likewise.
54616         (scalbn_test): Likewise.
54617         (scalbln_test): Likewise.
54618         (tan_test): Likewise.
54619         (y1_test): Likewise.
54620         * sysdeps/i386/fpu/libm-test-ulps: Update.
54621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54623 2012-05-23  David S. Miller  <davem@davemloft.net>
54625         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
54626         (__libc_sigaction): Remove unused local variables.
54628 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54630         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
54632 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
54634         mktime: avoid signed integer overflow
54635         * time/mktime.c (__mktime_internal): Do not mishandle the case
54636         where diff == INT_MIN.
54638         mktime: simplify computation of average
54639         * time/mktime.c (ranged_convert): Use new time_t_avg function
54640         instead of rolling our own (probably-slower) code.
54642         mktime: do not assume signed right shift propagates sign bit
54643         * time/mktime.c (isdst_differ): New static function.
54644         (__mktime_internal): No need to normalize tm_isdst now.
54645         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
54646         tm_isdst values.
54648         mktime: merge another wrapv change from gnulib
54649         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
54650         from some compilers.
54652         mktime: remove incorrect attempt at unusual arithmetics
54653         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
54654         The code didn't really work on such machines anyway.
54655         (TYPE_MINIMUM): Assume two's complement.
54656         (twos_complement_arithmetic): Verify that long_int and time_t
54657         are two's complement (or unsigned, in the latter case).
54659         mktime: check signed shifts on long_int and time_t, too
54660         * time/mktime.c (SHR): Check that shifts work as desired
54661         on the types long_int and time_t too, as SHR is used on
54662         such types.
54664         mktime: do not assume 'long' is wide enough
54665         * time/mktime.c (verify): Move decl up.
54666         (long_int): New type.
54667         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
54668         to remove assumption in the code that 'long' is wide enough to
54669         store year values.  This assumption is not true on x32 and on
54670         some non-glibc platforms.
54672         mktime: merge wrapv change from gnulib
54673         * time/mktime.c (WRAPV): New macro.
54674         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
54675         (guess_time_tm, __mktime_internal): Do not assume that signed
54676         integer overflow wraps around; modern compilers generate code
54677         where this assumption is no longer valid.
54679 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54681         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54682         Replace "jmp L(pseudo_end)" with "ret".
54683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
54684         Likewise.
54686 2012-05-23  Andreas Jaeger  <aj@suse.de>
54688         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
54689         * sysdeps/unix/sysv/linux/poll.c: Remove file.
54691 2012-05-23  Andreas Jaeger  <aj@suse.de>
54692             Maximilian Attems  <max@stro.at>
54694         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
54695         New macros.
54697 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54699         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
54700         code so that pseudo_end is just ret and the stack pointer is
54701         correct also for static library in error case.
54703 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
54705         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
54706         move to syscalls.list.
54707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
54708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
54709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
54710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
54712         * manual/install.texi (Running make install): Do not mention Linux
54713         kernel version for which pt_chown is not needed.
54714         (Linux): Do not mention problems with nscd with 2.0 kernels.
54715         * INSTALL: Regenerated.
54717 2012-05-23  Andreas Jaeger  <aj@suse.de>
54719         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
54720         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
54721         macro.
54722         * sysdeps/unix/sysv/linux/s390/bits/mman.h
54723         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54724         * sysdeps/unix/sysv/linux/sh/bits/mman.h
54725         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54726         * sysdeps/unix/sysv/linux/i386/bits/mman.h
54727         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54728         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
54729         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54730         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
54731         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54732         * sysdeps/unix/sysv/linux/bits/in.h
54733         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
54735 2012-05-22  Roland McGrath  <roland@hack.frob.com>
54737         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
54738         (PREPARE_VERSION): Just use assert instead, it will be elided
54739         under [NDEBUG] anyway.
54741 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54743         * sysdeps/unix/sysv/linux/Makefile: Include
54744         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
54745         (sysdep_routines): Remove sysctl.
54746         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
54747         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
54748         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
54749         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
54750         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
54752 2012-05-22  Andreas Jaeger  <aj@suse.de>
54754         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
54755         that pseudo_end is just ret and the stack pointer is correct also
54756         for static library in error case.
54758 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
54760         [BZ #14122]
54761         * nss/nsswitch.c (defconfig_entries): New variable.
54762         (__nss_database_lookup): Don't leak defconfig entries.
54763         (nss_parse_service_list): Don't leak on error paths.
54764         (free_database_entries): New function.
54765         (free_defconfig): New function.
54766         (free_mem): Move common code to free_database_entries.
54768 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54770         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
54771         Add arch_prctl.
54772         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
54774         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54775         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
54776         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
54777         New macro.
54778         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
54779         (INTERNAL_SYSCALL_TYPES): Likewise.
54780         (LOAD_ARGS_TYPES_[1-6]): Likewise.
54781         (LOAD_REGS_TYPES_[1-6]): Likewise.
54782         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
54783         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
54785 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54787         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
54788         copysignl for GLIBC_2_0.
54789         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
54790         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
54791         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
54792         logbl for GLIBC_2_0.
54793         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
54794         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
54796 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54798         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
54799         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54801         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54802         Use "neg %eax".
54804         * time/mktime.c: Update copyright years.
54806 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
54808         mktime: merge comment-quoting-style change from gnulib
54809         * time/mktime.c: Quote 'like this' in comments.
54810         The GNU coding standards suggest that we no longer quote `like this',
54811         as "`" and "'" are typically rendered asymmetrically nowadays.
54812         The typical gnulib style is to quote 'like this' when quoting
54813         code, and "like this" when quoting English.
54815         * time/mktime.c (compile-command): Add "-I.".
54817         mktime: merge mktime-internal.h change from gnulib
54818         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
54820         mktime: merge time_r change from gnulib
54821         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
54823         mktime: merge DEBUG change from gnulib
54824         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
54825         case system <time.h> has a #define.
54827         mktime: merge <sys/types.h> change from gnulib
54828         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
54829         since <time.t> is now guaranteed to define time_t.
54831         mktime: merge HAVE_CONFIG_H change from gnulib
54832         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
54834 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54837         Use "neg %eax".
54839         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
54840         __rlim_t cast.
54841         (struct rusage): Use anonymous union to pad each field to
54842         __syscall_slong_t.
54844 2012-05-21  David S. Miller  <davem@davemloft.net>
54846         * Makefules (o-iterator): Remove .s cases.
54847         (compile-command.s): Delete.
54848         (COMPILE.s): Delete.
54849         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
54851 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
54853         * configure.in (libc_cv_predef_stack_protector): Only consider
54854         "foobar" and "__stack_chk_fail" lines in libc_undefs.
54855         * configure: Regenerated.
54857 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54859         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54860         New macro.  Use R*LP on int and pointer.
54861         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
54862         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
54863         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
54864         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
54866         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
54867         [__WORDSIZE_TIME64_COMPAT32] instead of
54868         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
54869         (struct utmp): Likewise.
54870         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
54871         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
54872         Renamed to ...
54873         (__WORDSIZE_TIME64_COMPAT32): This.
54874         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
54875         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
54876         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
54877         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
54878         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
54879         (__WORDSIZE_TIME64_COMPAT32): New macro.
54881 2012-05-21  Andreas Jaeger  <aj@suse.de>
54883         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
54884         only if [SHARED]. Add prototype for __wcschr_ia32.
54886 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54888         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
54889         of %rbp unmolested in the jmp_buf while mangling the low bits.
54890         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
54891         unmolested high bits of %rbp while demangling the low bits.
54892         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54894 2012-05-21  Andreas Jaeger  <aj@suse.de>
54896         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
54897         * sunrpc/svc_simple.c: Use it for registerrpc.
54898         * sunrpc/xcrypt.c: Use it for passwd2des.
54900         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
54902 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54904         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
54905         Don't define if [__SYSCALL_WORDSIZE != 32].
54906         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
54907         New macro.
54909 2012-05-21  Bruno Haible  <bruno@clisp.org>
54910             Andreas Jaeger  <aj@suse.de>
54912         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
54913         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
54914         inptr and inend for must_buffer_ch.
54915         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
54916         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
54917         * stdio-common/Makefile (tests): Remove bug15.
54918         (bug15-ENV): Remove macro.
54919         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
54920         anymore.
54922 2012-05-19  Andreas Jaeger  <aj@suse.de>
54923             Roland McGrath  <roland@hack.frob.com>
54925         * manual/contrib.texi: Completely rewritten. It contains now an
54926         alphabetical list of contributors and their contributions.
54928 2012-05-21  Richard Henderson  <rth@twiddle.net>
54930         * misc/getauxval.c (__getauxval): Use unsigned long int.
54931         * misc/sys/auxv.h: Include <sys/cdefs.h>.
54932         (getauxval): Use unsigned long int.
54934 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54936         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
54938 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54940         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
54941         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
54942         __alignof__ (long double).
54944 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54948 2012-05-20  Richard Henderson  <rth@twiddle.net>
54950         * misc/getauxval.c: New file.
54951         * misc/sys/auxv.h: New file.
54952         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
54953         (routines): Add getauxval.
54954         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
54955         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
54956         * elf/dl-sysdep.c (_dl_auxv): Remove.
54957         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
54958         * elf/dl-support.c (_dl_auxv): New variable.
54959         (_dl_aux_init): Initialize it.
54960         * manual/startup.texi (Auxiliary Vector): New node.
54961         * sysdeps/generic/bits/hwcap.h: New file.
54962         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
54963         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
54964         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
54965         * sysdeps/sparc/sysdep.h: ... here.  Include it.
54966         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
54967         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
54968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54969         Update.
54970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
54971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
54972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
54973         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
54974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
54977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
54979 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54983 2012-05-19  David S. Miller  <davem@davemloft.net>
54985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54987 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54989         [BZ #14123]
54990         * math/s_ccosh.c: Include <float.h>
54991         (__ccosh): Avoid internal overflow calculating sinh and cosh
54992         values before multiplying by sin and cos values.
54993         * math/s_ccoshf.c: Likewise.
54994         * math/s_ccoshl.c: Likewise.
54995         * math/s_csin.c: Likewise.
54996         * math/s_csinf.c: Likewise.
54997         * math/s_csinl.c: Likewise.
54998         * math/s_csinh.c: Likewise.
54999         * math/s_csinhf.c: Likewise.
55000         * math/s_csinhl.c: Likewise.
55001         * math/libm-test.inc (ccos_test): Add more tests.
55002         (ccosh_test): Likewise.
55003         (csin_test): Likewise.
55004         (csinh_test): Likewise.
55005         * sysdeps/i386/fpu/libm-test-ulps: Update.
55006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55008 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
55010         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
55011         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
55013         * sysdeps/x86_64/x32/_itoa.h: Add comment.
55015 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55017         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
55018         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
55019         * sysdeps/powerpc/soft-fp/Versions: Likewise.
55020         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
55021         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
55022         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
55023         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
55024         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
55025         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
55026         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
55027         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
55028         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
55029         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
55030         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
55031         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
55032         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55033         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
55034         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
55035         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
55036         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
55037         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
55038         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
55039         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
55040         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
55041         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
55042         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
55043         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
55044         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
55045         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
55046         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
55047         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
55049 2012-05-18  Andreas Jaeger  <aj@suse.de>
55051         * csu/.gitignore: Delete.
55053 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55055         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
55056         (timex): Use __syscall_slong_t.
55058 2012-05-18  Andreas Jaeger  <aj@suse.de>
55059             Carlos O'Donell  <carlos_odonell@mentor.com>
55061         * manual/install.texi (Configuring and compiling): Update
55062         description about files modified in the source directory.
55063         * INSTALL: Regenerated.
55065 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55067         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
55068         value.  Use "or" to set return value to -1.
55069         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
55070         negate return value.
55072 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55074         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
55075         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
55076         failure if the compiler has Graphite support disabled.
55077         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
55078         Likewise.
55079         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
55080         (CFLAGS-memmove.c): Likewise.
55081         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
55082         Likewise.
55084 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55086         * sysdeps/x86_64/x32/_itoa.h: New file.
55088         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
55089         getdents system call only if kernel and user dirents have the
55090         same d_ino and d_off.
55092         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55093         LLONG_MAX != LONG_MAX.
55094         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55095         (_fitoa_word): Likewise.
55097         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
55098         years.
55099         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
55100         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
55101         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
55103         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
55104         include <bits/wordsize.h>.  Check __x86_64__ instead of
55105         __WORDSIZE.
55106         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
55107         if __x86_64__ is defined.  Use anonymous union on fpstate.
55109         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55110         anonymous union.
55112 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
55114         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
55115         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
55116         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
55117         Refer to _rtld_local_ro instead of _rtld_global_ro.
55118         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
55119         Likewise.
55120         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
55121         Likewise.
55122         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
55123         Likewise.
55124         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
55125         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55126         of _rtld_global, and rtld_progname instead of _dl_argv[0].
55128         [BZ #10882]
55129         * sysdeps/powerpc/powerpc32/dl-machine.c
55130         (__elf_machine_runtime_setup) [PROF]: Don't reference
55131         _dl_prof_resolve.
55133 2012-05-18  Andreas Jaeger  <aj@suse.de>
55135         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
55136         function only available for GCCs before 3.4 since GCC 3.4
55137         introduced a builtin.
55138         (lrint): Likewise.
55139         (llrintf): Likewise.
55140         (llrint): Likewise.
55141         (fmaxf): Likewise.
55142         (fmax): Likewise.
55143         (fminf): Likewise.
55144         (fmin): Likewise.
55145         (rint): Likewise.
55146         (rintf): Likewise.
55147         (nearbyint): Likewise.
55148         (nearbyintf): Likewise.
55149         (ceil): Likewise.
55150         (ceilf): Likewise.
55151         (floor): Likewise.
55152         (floorf): Likewise.
55154 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55156         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
55157         on both fields and cast pointer to __syscall_ulong_t.
55159         * bits/types.h (__fsword_t): New type.
55160         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
55161         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
55162         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55163         (__FSWORD_T_TYPE): Likewise.
55164         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55165         (__FSWORD_T_TYPE): Likewise.
55166         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55167         (__FSWORD_T_TYPE): Likewise.
55168         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
55169         (__FSWORD_T_TYPE): Likewise.
55170         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
55171         __SWORD_TYPE with __fsword_t.
55172         (statfs64): Likewise.
55174 2012-05-17  David S. Miller  <davem@davemloft.net>
55176         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
55178 2012-05-17  Andreas Jaeger  <aj@suse.de>
55180         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
55181         warning.
55183 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55185         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
55187 2012-05-17  Andreas Jaeger  <aj@suse.de>
55189         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
55190         when it is used.
55192 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55194         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
55196 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55198         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
55199         * sysdeps/x86_64/tst-mallocalign1.c: New file.
55201 2012-05-17  Andreas Jaeger  <aj@suse.de>
55202             Carlos O'Donell  <carlos_odonell@mentor.com>
55204         [BZ #14059]
55205         * sysdeps/x86_64/multiarch/init-arch.h
55206         (bit_YMM_Usable): Rename to...
55207         (bit_AVX_Usable): ... this.
55208         (bit_FMA4_Usable): New macro.
55209         (bit_XMM_state): New macro.
55210         (bit_YMM_state): New macro.
55211         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
55212         [__ASSEMBLER__] (index_AVX_Usable): ... this.
55213         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
55214         (CPUID_OSXSAVE): New macro.
55215         (CPUID_AVX): New macro.
55216         (CPUID_FMA4): New macro.
55217         (index_YMM_Usable): Rename to...
55218         (index_AVX_Usable): ... this.
55219         (HAS_AVX): Use HAS_ARCH_FEATURE.
55220         (HAS_FMA4): Likewise.
55221         (HAS_YMM_USABLE): Remove.
55222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55223         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
55224         are present.
55225         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
55226         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
55227         * sysdeps/x86_64/multiarch/Makefile: Likewise.
55228         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
55229         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
55231 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55233         * math/libm-test.c: Support platforms without multiple rounding modes.
55234         * math/bug-nextafter.c: Support platforms without FP exceptions.
55235         * math/bug-nexttoward.c: Likewise.
55236         * math/test-fenv.c: Likewise.
55237         * math/test-misc.c: Likewise.
55238         * stdlib/bug-getcontext.c: Likewise.
55240 2012-05-17  Andreas Jaeger  <aj@suse.de>
55242         * manual/examples/search.c (critter_cmp): Change signature to
55243         avoid warnings.
55244         * manual/string.texi (Collation Functions): Likewise.
55246 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55248         * bits/types.h: Fold copyright years.
55249         * bits/typesizes.h: Likewise.
55250         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
55251         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55252         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
55253         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
55254         * time/time.h: Likewise.
55256 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
55258         [BZ #208]
55259         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
55260         in instead of returning them.  Return void.
55261         (__libc_mallinfo): Accumulate over all arenas.
55262         (__malloc_stats): Adjust for change in int_mallinfo interface.
55264 2012-05-16  Roland McGrath  <roland@hack.frob.com>
55266         [BZ #10375]
55267         * configure.in (NM): Add AC_CHECK_TOOL for it.
55268         (libc_extra_cflags): New substituted variable.
55269         Check for -fstack-protector being used implicitly.
55270         * configure: Regenerated.
55271         * config.make.in (config-extra-cflags): New variable,
55272         gets @libc_extra_cflags@.
55273         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
55275         [BZ #10375]
55276         * configure.in: Check for _FORTIFY_SOURCE being predefined.
55277         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
55278         * configure: Regenerated.
55279         * config.make.in (CPPUNDEFS): New substituted variable.
55280         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
55281         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
55282         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
55284 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55286         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
55287         (mq_attr): Use __syscall_slong_t.
55289 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55291         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
55292         Check __x86_64__ instead of __WORDSIZE.
55293         (_STAT_VER_LINUX): Likewise.
55294         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
55295         __syscall_ulong_t and __syscall_slong_t.
55296         (stat64): Likewise.
55298 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55300         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
55302 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55304         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
55306 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55308         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
55309         __syscall_ulong_t.
55311         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
55312         include <bits/wordsize.h>.  Check __x86_64__ instead of
55313         __WORDSIZE.
55314         (greg_t): Use "__extension__ long long int" if __x86_64__ is
55315         defined.
55316         (mcontext_t): Replace "unsigned long" with "unsigned long long".
55318         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
55319         include <bits/wordsize.h>.  Check __x86_64__ instead of
55320         __WORDSIZE.
55321         (user_regs_struct): Use "__extension__ unsigned long long"
55322         instead of "unsigned long" if __x86_64__ is defined.
55323         (user): Likewise.  Pad after pointer field if __ILP32__ is
55324         defined.
55326 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
55328         * configure.in (makeinfo): Require version 4.5 or later.  Allow
55329         versions 5 to 9.
55330         * configure: Regenerated.
55331         * manual/install.texi (texinfo): Increase version requirement to
55332         4.5 or later.
55333         * INSTALL: Regenerated.
55335         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
55337 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55339         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
55341         * sysdeps/x86_64/x32/ffs.c: New file.
55343         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
55344         __syscall_ulong_t.
55345         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
55346         defined.  Use __syscall_ulong_t.
55347         (shminfo): Use __syscall_ulong_t.
55348         (shm_info): Likewise.
55350         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
55351         __syscall_ulong_t.
55353         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
55354         <bits/wordsize.h>.
55355         (msgqnum_t): Use __syscall_ulong_t.
55356         (msglen_t): Likewise.
55357         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
55358         __syscall_ulong_t.
55360         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
55361         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55363         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
55365         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
55366         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
55368         * sysvipc/sys/msg.h (msgbuf): Replace long int with
55369         __syscall_slong_t.
55371         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
55372         include <bits/wordsize.h>.  Check __x86_64__ instead of
55373         __WORDSIZE.
55375         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
55376         "unsigned long long int" if __x86_64__ is defined.
55377         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
55379         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
55380         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55381         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
55383         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
55384         <stdint.h>.
55385         (GET_PC): Cast to uintptr_t first.
55386         (GET_FRAME): Likewise.
55387         (GET_STACK): Likewise.
55389         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
55390         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
55391         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
55392         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
55393         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
55394         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
55395         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
55396         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
55397         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
55398         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
55399         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
55400         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
55401         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55402         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
55403         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
55404         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
55405         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
55406         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
55407         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
55408         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
55409         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
55410         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
55411         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
55412         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
55413         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
55414         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
55415         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
55416         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
55417         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
55419 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
55421         * Makerules (+depfiles): Also collect depfiles from .oS in
55422         $(extra-objs).
55423         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
55424         .oS, $(libnldbl-routines)).
55426         * Makerules (native-compile-mkdep-flags): Define.
55427         * sunrpc/Makefile (extra-objs): Add $(addprefix
55428         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
55429         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
55430         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
55431         calling $(make-target-directory).
55433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55435         * bits/types.h (__snseconds_t): Removed.
55436         * time/time.h (struct timespec): Replace __snseconds_t with
55437         __syscall_slong_t.
55438         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
55439         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
55440         Likewise.
55441         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55442         (__SNSECONDS_T_TYPE): Likewise.
55443         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55444         (__SNSECONDS_T_TYPE): Likewise.
55445         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55446         (__SNSECONDS_T_TYPE): Likewise.
55448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55450         * sysdeps/mach/hurd/bits/typesizes.h
55451         (__SYSCALL_SLONG_TYPE): New macro.
55452         (__SYSCALL_ULONG_TYPE): Likewise.
55454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55456         * bits/types.h (__syscall_slong_t): New type.
55457         (__syscall_ulong_t): Likewise.
55459         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
55460         (__SYSCALL_ULONG_TYPE): Likewise.
55461         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55462         (__SYSCALL_SLONG_TYPE): Likewise.
55463         (__SYSCALL_ULONG_TYPE): Likewise.
55464         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55465         (__SYSCALL_SLONG_TYPE): Likewise.
55466         (__SYSCALL_ULONG_TYPE): Likewise.
55467         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55468         (__SYSCALL_SLONG_TYPE): Likewise.
55469         (__SYSCALL_ULONG_TYPE): Likewise.
55471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55473         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
55474         Add sigaltstack-offsets.sym.
55475         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
55476         <sigaltstack-offsets.h>.
55477         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
55478         longjmp_msg pointer.
55479         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
55480         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
55481         signal stack.
55482         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
55484 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
55486         * elf/stackguard-macros.h: Remove file.
55487         * sysdeps/generic/stackguard-macros.h: New file.
55488         * sysdeps/i386/stackguard-macros.h: Likewise.
55489         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55490         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55491         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55492         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55493         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55494         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55495         * sysdeps/x86_64/stackguard-macros.h: Likewise.
55496         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
55497         <elf/stackguard-macros.h>.
55499         [BZ #14109]
55500         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
55501         __aligned__ in attribute.
55502         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
55503         (gregset_t): Likewise.
55505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55507         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
55508         * sysdeps/x86_64/64/Implies-after: Here.  New file.
55509         * sysdeps/x86_64/x32/Implies-after: New file.
55511 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55513         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
55514         and access return value for _dl_profile_fixup.  Use R10_LP to
55515         load frame size.
55517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55519         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
55521 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55523         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
55524         * sysdeps/x86_64/x32/sysdep.h: New file.
55526 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55528         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
55529         * sysdeps/x86_64/setjmp.S: Likewise.
55531 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55533         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
55534         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
55535         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
55536         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
55537         remove unused global constant.
55539 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
55541         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
55542         include of <not-cancel.h>.
55544 2012-05-15  Roland McGrath  <roland@hack.frob.com>
55546         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
55548 2012-05-15  Jeff Law  <law@redhat.com>
55549             Andreas Jaeger  <aj@suse.de>
55551         [BZ #13594]
55552         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
55553         out from...
55554         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
55555         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
55556         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
55557         code changing __hst_map_handle.map.
55559 2012-05-15  Roland McGrath  <roland@hack.frob.com>
55561         * configure.in (sysnames): Look for Implies-before and Implies-after
55562         files.
55563         * configure: Regenerated.
55565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55567         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
55568         8-byte data alignment with LP_SIZE alignment.
55570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55572         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
55573         into R10_LP.
55575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55577         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
55579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55581         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
55582         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
55583         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
55584         Likewise.
55585         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55589         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
55590         (stackinfo_sub_sp): Likewise.
55592 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55594         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
55595         RAX_LP.
55597 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55599         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
55600         into R*_LP.
55602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55604         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
55605         sizes into R*_LP.
55607 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55609         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
55611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55613         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
55614         into R11_LP and load __x86_64_shared_cache_size_half into
55615         R8_LP.
55617 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55619         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
55620         R8_LP.
55622 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55624         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
55625         logb for POWER7.
55626         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
55627         logbf for POWER7.
55628         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
55629         logbl for POWER7.
55630         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
55631         powerpc32/power7/fpu/s_logb.c via #include.
55632         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
55633         powerpc32/power7/fpu/s_logbf.c via #include.
55634         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
55635         powerpc32/power7/fpu/s_logbl.c via #include.
55637 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
55639         * README.libm: Remove file.
55641 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55643         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
55644         count for x32.  Use R*_LP and omit operand-size suffix.
55646 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55648         * shlib-versions: Move x86_64-.*-linux.* entries to ...
55649         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
55650         * sysdeps/x86_64/x32/shlib-versions: New file.
55652 2012-05-14  Roland McGrath  <roland@hack.frob.com>
55654         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
55655         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
55656         Use _dl_fatal_printf instead.
55658 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55660         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
55661         set if not set by the user.  Do not allow for being unset.
55662         * sysdeps/unix/sysv/linux/configure: Regenerated.
55664 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55666         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
55667         the `q' suffix from lea and replace .quad with ASM_ADDR.
55669 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55671         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
55672         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
55673         instead of $17.
55674         (PTR_DEMANGLE): Likewise.
55676 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55678         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
55679         (LP_OP): Likewise.
55680         (ASM_ADDR): Likewise.
55681         (RAX_LP): Likewise.
55682         (RBP_LP): Likewise.
55683         (RBX_LP): Likewise.
55684         (RCX_LP): Likewise.
55685         (RDI_LP): Likewise.
55686         (RSI_LP): Likewise.
55687         (RSP_LP): Likewise.
55688         (R8_LP): Likewise.
55689         (R9_LP): Likewise.
55690         (R10_LP): Likewise.
55691         (R10_LP): Likewise.
55692         (R11_LP): Likewise.
55693         (R12_LP): Likewise.
55694         (R13_LP): Likewise.
55695         (R14_LP): Likewise.
55696         (R15_LP): Likewise.
55698 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55700         * sysdeps/x86_64/x32/dl-machine.h: New file.
55702 2012-05-14  Andreas Jaeger  <aj@suse.de>
55704         * manual/Makefile (subdir): Remove export of subdir.
55705         (all): Remove target.
55706         (.PHONY): Remove all from list.
55707         (mkinstalldirs): Remove.
55708         (.PHONY): Remove installdirs from list.
55709         ($(inst_infodir)/libc.info): Use make-target-directory.
55710         (installdirs): Remove.
55711         (subdir_%): Remove.
55712         (glibc-targets): Remove.
55713         (lib): Remove.
55714         (stubs): Remove.
55715         ($(objpfx)stubs ../po/manual.pot): Remove.
55716         ($(objpfx)stamp%): Remove.
55717         (make-target-directory): Remove.
55718         (subdir_install): Remove.
55719         (routines): Remove.
55720         (aux): Remove.
55721         (sources): Remove.
55722         (objects): Remove.
55723         (headers): Remove.
55725         [BZ #13750]
55726         * manual/.gitignore: Remove, it's not needed anymore.
55727         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
55728         all files in it.
55729         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
55730         directory.
55731         (texis): Renamed to $(objpfx)texis.
55732         (texis-path): New, contains path to generated files.
55733         (chapters.%): Use texis-path for complete path, add extra argument
55734         libc-texinfo.sh.
55735         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
55736         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
55737         (summary,texi, stamp-summary): Use complete path of
55738         files. Generate files in build dir.
55739         (dir-add.texi): Build in build dir.
55740         (libm-err.texi,stamp-libm-err): Likewise.
55741         (version.texi, stamp-version): Likewise.
55742         (.%c.texi): Likewise.
55743         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
55744         (mostlyclean): Remove target.
55745         (realclean): Remove target.
55746         (generated): Add new variable with contents from mostlyclean and
55747         realclean, remove entries duplicated in common-mostlyclean, add
55748         stamp-libm-err and stamp-version.
55749         (generated-dirs): Add libc directory.
55750         ($(inst_infodir)/libc.info): Install files from build dir.
55752         * manual/install.texi (Configuring and compiling): Adjust since
55753         the info files are not part of the tar ball anymore.
55755 2012-05-14  Andreas Jaeger  <aj@suse.de>
55757         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
55758         variable.
55760 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55762         [BZ #13717]
55763         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55764         to 2.2.0 where earlier.
55765         * sysdeps/unix/sysv/linux/configure: Regenerated.
55766         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
55767         Remove conditional code.
55768         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
55769         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
55770         Remove conditional code.
55771         [!__NR_lchown]: Likewise.
55772         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55773         [__NR_lchown]: Likewise.
55774         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
55775         comment referencing __ASSUME_LCHOWN_SYSCALL.
55776         * sysdeps/unix/sysv/linux/i386/sigaction.c
55777         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55778         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55779         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
55780         Remove conditional code.
55781         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
55782         (__protocol_available): Remove #if 0 code.
55783         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
55784         conditional code.
55785         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
55786         * sysdeps/unix/sysv/linux/kernel-features.h
55787         (__ASSUME_GETCWD_SYSCALL): Don't define.
55788         (__ASSUME_REALTIME_SIGNALS): Likewise.
55789         (__ASSUME_PREAD_SYSCALL): Likewise.
55790         (__ASSUME_PWRITE_SYSCALL): Likewise.
55791         (__ASSUME_POLL_SYSCALL): Likewise.
55792         (__ASSUME_LCHOWN_SYSCALL): Likewise.
55793         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
55794         non-SPARC.
55795         (__ASSUME_SIOCGIFNAME): Don't define.
55796         (__ASSUME_MSG_NOSIGNAL): Likewise.
55797         (__ASSUME_SENDFILE): Define unconditionally.
55798         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
55799         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
55800         conditional code.
55801         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
55802         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
55803         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55804         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55805         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
55806         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55807         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
55809         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55810         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
55812         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55813         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
55815         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55816         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
55818         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55819         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
55821         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55822         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
55824         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55825         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
55827         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55828         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
55830         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55831         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55832         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
55833         Remove conditional code.
55834         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55835         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55836         Remove conditional code.
55837         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55838         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
55839         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
55840         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55841         Remove conditional code.
55842         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55843         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
55844         Remove conditional code.
55845         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55846         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
55847         Remove conditional code.
55848         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55849         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55850         Remove conditional code.
55851         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55852         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55853         Remove conditional code.
55854         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55855         * sysdeps/unix/sysv/linux/sh/pwrite64.c
55856         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55857         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55858         * sysdeps/unix/sysv/linux/sigaction.c
55859         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55860         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55861         * sysdeps/unix/sysv/linux/sigpending.c
55862         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55863         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55864         * sysdeps/unix/sysv/linux/sigprocmask.c
55865         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55866         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55867         * sysdeps/unix/sysv/linux/sigsuspend.c
55868         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55869         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55870         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55871         (__libc_missing_rt_sigs): Remove.
55872         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
55873         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
55874         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
55875         Remove conditional code.
55876         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
55877         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
55878         return 1.
55879         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
55880         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
55881         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
55882         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
55884 2012-05-14  Andreas Jaeger  <aj@suse.de>
55886         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
55887         it's not used in glibc.
55888         (__coshm1): Likewise.
55889         (__acosh1p): Likewise.
55890         (__sgn): Likewise.
55892         * manual/string.texi (Copying and Concatenation): Add missing
55893         variable in concat example.
55894         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
55896 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55898         [BZ #14103]
55899         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
55900         __builtin_clzl with __builtin_clzll.
55902 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55904         [BZ #14104]
55905         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
55906         libc_freeres_ptr.
55908 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55910         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
55911         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
55912         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
55913         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
55915 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
55917         * NEWS: Update ia64 info.
55919 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
55921         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
55922         used as bcopy.
55924 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
55926         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
55927         * sysdeps/unix/syscalls.list (dup3): Likewise.
55928         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
55929         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
55931 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55933         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
55934         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
55936 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55938         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
55939         thread pointer.
55940         (TLS_IE): Use mov/add instead of movq/addq to load thread
55941         pointer.
55942         (TLS_GD_PREFIX): New.
55943         (TLS_GD): Use it.
55945 2012-05-11  David S. Miller  <davem@davemloft.net>
55947         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
55948         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
55949         (_FPU_SETCW): Likewise.
55951 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55953         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
55954         is 32-byte aligned.
55956 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
55958         [BZ #11837]
55959         * iconvdata/gb18030.c: Update tables.
55960         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
55961         characters specially.
55962         (BODY for TO_LOOP): Add encoding of missing ranges.
55964 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
55966         [BZ #13673]
55967         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
55968         * sysdeps/mach/hurd/dup3.c: Likewise.
55969         * sysdeps/mach/hurd/readlinkat.c: Likewise.
55970         * sysdeps/powerpc/memmove.c:: Likewise.
55972 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55974         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
55975         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
55977 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55979         * elf/elf.h (R_X86_64_RELATIVE64): New.
55980         (R_X86_64_NUM): Updated.
55981         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55982         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
55983         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
55984         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
55985         tst-quad1pie tst-quad2pie
55986         (modules-names): Add tst-quadmod1 tst-quadmod2.
55987         ($(objpfx)tst-quad1): New dependency.
55988         ($(objpfx)tst-quad2): Likewise.
55989         ($(objpfx)tst-quad1pie): Likewise.
55990         ($(objpfx)tst-quad2pie): Likewise.
55991         * sysdeps/x86_64/tst-quad1.c: New file.
55992         * sysdeps/x86_64/tst-quad1pie.c: New file.
55993         * sysdeps/x86_64/tst-quad2.c: Likewise.
55994         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
55995         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
55996         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
55997         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
55998         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
56000 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56002         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
56003         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
56004         * streams/stropts.h (t_scalar_t): Define type.
56006         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
56007         (_PATH_PRESERVE): Set to "/var/lib".
56008         (_PATH_RWHODIR): Set to "/var/spool/rwho".
56010         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
56011         instead of int.
56013         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
56014         if __dir_mkfile succeeded.
56016         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
56017         checking for _hurd_dtablesize.  Unlock it right after having
56018         finished _hurd_dtable allocation.
56020 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56022         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
56023         * sysdeps/mach/hurd/configure: Regenerated.
56024         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
56025         special-casing to...
56026         * sysdeps/gnu/configure.in: ... this new file.
56027         * sysdeps/unix/sysv/linux/configure: Regenerated.
56028         * sysdeps/gnu/configure: New generated file.
56030         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
56031         for Linux: use nsec instead of usec, as well as:
56032         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
56033         members of type struct timespec.
56034         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
56035         New macros.
56036         (struct stat64): Likewise.
56037         (_STATBUF_ST_NSEC): New macro.
56038         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
56040         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56041         __strtoul_internal rather than strtoul.
56043 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56045         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
56046         and reject them.
56048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56050         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
56051         which preserves existing values.
56052         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
56054 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56056         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
56057         TIMEOUT values.  Return EINVAL for NFDS values either negative or
56058         greater than FD_SETSIZE.
56060 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56062         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56063         allocated, call __vm_protect to finish enabling the existing space, and
56064         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
56065         allocate the remainder.
56067 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56069         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
56070         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
56072 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56074         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56075         sysdeps/mach/hurd/readlink.c.
56077         * posix/tst-sysconf.c (posix_options): Only use
56078         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
56079         _POSIX_SYNCHRONIZED_IO when they are defined
56080         * sysdeps/mach/hurd/bits/posix_opt.h:
56081         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
56082         (_XOPEN_REALTIME): Undefine macro.
56083         (_XOPEN_REALTIME_THREADS): Undefine macro.
56084         (_XOPEN_SHM): Undefine macro.
56085         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
56086         macro to -1.
56087         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
56088         macro to -1.
56089         (_POSIX_ASYNC_IO): Undefine macro.
56090         (_POSIX_PRIORITIZED_IO): Undefine macro.
56091         (_POSIX_SPIN_LOCKS): Define macro to -1.
56093         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
56094         SA_NODEFER, SA_RESETHAND.
56095         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
56096         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
56097         F_DUPFD_CLOEXEC.
56099 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56101         * elf/Makefile (pldd-modules): Define unconditionally.
56103 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56105         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
56107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56109         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
56110         Return ENOENT when name is empty.
56111         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
56113 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56115         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
56117         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
56119 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56121         Fix mlock in all cases except non-readable pages.
56122         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
56123         instead of VM_PROT_ALL as parameter to __vm_wire function.
56125         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
56126         (__mkdir): When path is `/', just fail with EEXIST.
56127         * sysdeps/mach/hurd/mkdirat.c: Likewise.
56129 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56131         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
56132         <sys/uio.h> (for writev).
56133         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
56134         and <sys/param.h> (for MIN).
56136 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56138         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
56139         REQUESTED_TIME.  Properly set the remaining time and return EINTR
56140         if interrupted.
56142 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56144         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
56145         Depend on against $(link-rpcuserlibs).
56147 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56149         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
56150         (__libc_stack_end): Do not use attribute_relro.
56151         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
56152         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
56153         to libthread-provided value.
56154         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
56155         attribute_relro.
56157 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56159         [BZ #3748]
56160         * bits/libc-lock.h (__libc_once_get): New macro.
56161         * sysdeps/mach/bits/libc-lock.h: Likewise.
56162         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
56163         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
56164         instead of using implementation details.
56166         * libio/fileops.c: Unconditionally include <kernel-features.h>.
56167         * libio/freopen.c: Likewise.
56168         * libio/freopen64.c: Likewise.
56169         * misc/syslog.c: Likewise.
56170         * nscd/connections.c: Likewise.
56171         * nscd/netgroupcache.c: Likewise.
56172         * sysdeps/posix/getcwd.c: Likewise.
56174 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56176         * math/w_ilogbf.c: Add #include <limits.h>.
56178 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56180         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
56181         path instead of returning without unlocking.
56183         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
56184         immediate-write ioctls.
56185         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
56187 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56189         * sysdeps/mach/hurd/i386/init-first.c (init): Use
56190         __builtin_frame_address instead of making assumptions about the
56191         location of the return address relative to DATA.  Force early load of
56192         the return address.
56193         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
56194         __builtin_frame_address.
56196         dup3 for GNU Hurd.
56197         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
56198         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
56199         implement dup3 and do some further code clean-ups.
56200         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
56201         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
56203 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56205         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
56207         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
56208         HURD_CRITICAL_END around holding _hurd_dtable_lock.
56209         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
56210         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
56211         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
56212         d->port.lock.
56214         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
56215         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
56216         when handler == SIG_ERR, not when handler != SIG_ERR.
56218 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56220         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
56221         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
56222         definitions.
56224         accept4 for GNU Hurd.
56225         * include/sys/socket.h (__libc_accept4): New prototype.
56226         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
56227         to implement __libc_accept4.
56228         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
56229         __libc_accept4.
56230         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
56232         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
56233         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
56234         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
56235         signal-defines.sym.
56237 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56239         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
56241 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56243         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
56244         assertion on O_CLOEXEC flag.
56245         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
56246         * hurd/intern-fd.c: Likewise.
56247         * hurd/port2fd.c: Likewise.
56249 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56251         [BZ #3906]
56252         * bits/in.h (IPV6_PKTINFO): Define new macro.
56253         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
56255 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56257         [BZ #13954]
56258         [BZ #13955]
56259         [BZ #13956]
56260         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
56261         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56262         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
56263         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56264         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56265         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56266         * math/libm-test.inc (logb_test) : Additional logb tests.
56268 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
56269             Andreas Jaeger  <aj@suse.de>
56271         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
56272         * configure: Regenerated.
56273         * config.h.in (LINK_OBSOLETE_RPC): New macro.
56274         * config.make.in (link-obsolete-rpc): New substituted variable.
56275         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
56276         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
56277         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56278         (shared-only-routines): Don't set it under [link-obsolete-rpc],
56279         so that libc.a contains the symbols.
56280         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56281         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
56282         * sunrpc/auth_none.c: Likewise.
56283         * sunrpc/auth_unix.c: Likewise.
56284         * sunrpc/authdes_prot.c: Likewise.
56285         * sunrpc/authuxprot.c: Likewise.
56286         * sunrpc/clnt_gen.c: Likewise.
56287         * sunrpc/clnt_perr.c: Likewise.
56288         * sunrpc/clnt_raw.c: Likewise.
56289         * sunrpc/clnt_simp.c: Likewise.
56290         * sunrpc/clnt_tcp.c: Likewise.
56291         * sunrpc/clnt_udp.c: Likewise.
56292         * sunrpc/clnt_unix.c: Likewise.
56293         * sunrpc/des_crypt.c: Likewise.
56294         * sunrpc/des_soft.c: Likewise.
56295         * sunrpc/get_myaddr.c: Likewise.
56296         * sunrpc/key_call.c: Likewise.
56297         * sunrpc/key_prot.c: Likewise.
56298         * sunrpc/netname.c: Likewise.
56299         * sunrpc/pm_getmaps.c: Likewise.
56300         * sunrpc/pm_getport.c: Likewise.
56301         * sunrpc/pmap_clnt.c: Likewise.
56302         * sunrpc/pmap_prot.c: Likewise.
56303         * sunrpc/pmap_prot2.c: Likewise.
56304         * sunrpc/pmap_rmt.c: Likewise.
56305         * sunrpc/publickey.c: Likewise.
56306         * sunrpc/rpc_cmsg.c: Likewise.
56307         * sunrpc/rpc_common.c: Likewise.
56308         * sunrpc/rpc_dtable.c: Likewise.
56309         * sunrpc/rpc_prot.c: Likewise.
56310         * sunrpc/rpc_thread.c: Likewise.
56311         * sunrpc/rtime.c: Likewise.
56312         * sunrpc/svc.c: Likewise.
56313         * sunrpc/svc_auth.c: Likewise.
56314         * sunrpc/svc_raw.c: Likewise.
56315         * sunrpc/svc_run.c: Likewise.
56316         * sunrpc/svc_tcp.c: Likewise.
56317         * sunrpc/svc_udp.c: Likewise.
56318         * sunrpc/svc_unix.c: Likewise.
56319         * sunrpc/svcauth_des.c: Likewise.
56320         * sunrpc/xcrypt.c: Likewise.
56321         * sunrpc/xdr.c: Likewise.
56322         * sunrpc/xdr_array.c: Likewise.
56323         * sunrpc/xdr_float.c: Likewise.
56324         * sunrpc/xdr_intXX_t.c: Likewise.
56325         * sunrpc/xdr_mem.c: Likewise.
56326         * sunrpc/xdr_rec.c: Likewise.
56327         * sunrpc/xdr_ref.c: Likewise.
56328         * sunrpc/xdr_sizeof.c: Likewise.
56329         * sunrpc/xdr_stdio.c: Likewise.
56331 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56333         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
56334         change.  Update copyright years.
56336 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56338         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
56340 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
56341             Joseph Myers  <joseph@codesourcery.com>
56342             Paul Pluzhnikov  <ppluzhnikov@google.com>
56344         [BZ #14012]
56345         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
56346         requiring rpcgen.
56347         [cross-compiling] (extra-libs): Likewise.
56348         [cross-compiling] (extra-libs-others): Likewise.
56349         [cross-compiling] (librpcsvc-routines): Likewise.
56350         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
56351         [cross-compiling] (omit-deps): Likewise.
56352         (sunrpc-CPPFLAGS): New variable.
56353         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
56354         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
56355         (cross-rpcgen-objs): New variable.
56356         (extra-objs): Append $(cross-rpcgen-objs).
56357         ($(cross-rpcgen-objs)): New rule.
56358         ($(objpfx)cross-rpcgen): Likewise.
56359         (rpcgen-cmd): Define to use $(built-program-file).  Expand
56360         comment.
56361         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
56362         ($(objpfx)x%.stmp): Likewise.
56363         * sunrpc/proto.h [IS_IN_build] (_): Define.
56364         [IS_IN_build] (_libc_intl_domainname): Likewise.
56366 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56368         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
56369         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
56370         and R_X86_64_TPOFF64.
56372 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56374         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
56375         sysdeps/unix/sysv/syscalls.list.
56376         (stime): Likewise.
56377         (utime): Likewise.
56378         * sysdeps/unix/sysv/syscalls.list: Remove file.
56380 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
56382         [BZ #3440]
56383         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
56384         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
56385         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
56386         (__LC_IDENTIFICATION): Make these macros useful in #if
56387         expressions, as required by C99.
56389 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
56391         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
56392         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
56393         after this.
56395 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
56397         * stdlib/longlong.h: Updated from GCC.
56399 2012-05-09  Andreas Jaeger  <aj@suse.de>
56401         * nscd/nscd.c (run_modes): Make named enum, reorder so that
56402         default is first entry.
56403         (run_mode): Set type.
56404         (main): Remove informal message about syslog.
56405         (options): Fix typo.
56407         [BZ #14053]
56408         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
56409         to asm.
56410         (lrint): Likewise.
56411         (llrintf): Likewise.
56412         (llrint): Likewise.
56413         (rint): Likewise.
56414         (rintf): Likewise.
56415         (nearbyint): Likewise.
56416         (nearbyintf): Likewise.
56418 2012-05-09  Andreas Jaeger  <aj@suse.de>
56419             Pedro Alves  <palves@redhat.com>
56421         * nscd/nscd.c (run_mode): Use enum.
56422         (main): Cleanup coding style issue.
56424 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
56425             Andreas Jaeger  <aj@suse.de>
56427         * nscd/nscd.c (go_background): Replaced with...
56428         (run_mode): ... this.
56429         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
56430         (options): Add -F --foreground.
56431         (main): Implement it.
56432         (parse_opt): Parse it.
56434 2012-05-09  Andreas Jaeger  <aj@suse.de>
56436         [BZ #14083]
56437         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
56438         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
56439         -Wconversion warning.
56440         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
56441         Likewise.
56443 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
56445         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
56446         == 0.
56447         (LC_ALL): Use macro-int-constant.
56448         (LC_COLLATE): Likewise.
56449         (LC_CTYPE): Likewise.
56450         (LC_MESSAGES): Likewise.
56451         (LC_MONETARY): Likewise.
56452         (LC_NUMERIC): Likewise.
56453         (LC_TIME): Likewise.
56454         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
56455         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
56456         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56457         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
56458         Specify type.
56459         [C99-based standards] (float_t): Expect type.
56460         [C99-based standards] (double_t): Expect type.
56461         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
56462         type.
56463         [C99-based standards] (HUGE_VALL): Likewise.
56464         [C99-based standards] (INFINITY): Likewise.
56465         [C99-based standards] (NAN): Likewise.
56466         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
56467         [C99-based standards] (FP_NAN): Likewise.
56468         [C99-based standards] (FP_NORMAL): Likewise.
56469         [C99-based standards] (FP_SUBNORMAL): Likewise.
56470         [C99-based standards] (FP_ZERO): Likewise.
56471         [C99-based standards] (FP_FAST_FMA): Use
56472         optional-macro-int-constant.  Specify type.  Require == 1.
56473         [C99-based standards] (FP_FAST_FMAF): Likewise.
56474         [C99-based standards] (FP_FAST_FMAL): Likewise.
56475         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
56476         [C99-based standards] (FP_ILOGBNAN): Likewise.
56477         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
56478         Specify type.
56479         [C99-based standards] (MATH_ERREXCEPT): Likewise.
56480         [C99-based standards] (math_errhandling): Specify type.
56481         [ISO99 || ISO11] (signgam): Do not allow.
56482         [non-C99-based standards] (copysignf): Do not allow.
56483         [non-C99-based standards] (exp2f): Likewise.
56484         [non-C99-based standards] (log2f): Likewise.
56485         [non-C99-based standards] (modff): Allow.
56486         [non-C99-based standards] (erff): Do not allow.
56487         [non-C99-based standards] (erfcf): Likewise.
56488         [non-C99-based standards] (gammaf): Likewise.
56489         [non-C99-based standards] (hypotf): Likewise.
56490         [non-C99-based standards] (j0f): Likewise.
56491         [non-C99-based standards] (j1f): Likewise.
56492         [non-C99-based standards] (jnf): Likewise.
56493         [non-C99-based standards] (lgammaf): Likewise.
56494         [non-C99-based standards] (tgammaf): Likewise.
56495         [non-C99-based standards] (y0f): Likewise.
56496         [non-C99-based standards] (y1f): Likewise.
56497         [non-C99-based standards] (ynf): Likewise.
56498         [non-C99-based standards] (isnanf): Likewise.
56499         [non-C99-based standards] (acoshf): Likewise.
56500         [non-C99-based standards] (asinhf): Likewise.
56501         [non-C99-based standards] (atanhf): Likewise.
56502         [non-C99-based standards] (cbrtf): Likewise.
56503         [non-C99-based standards] (expm1f): Likewise.
56504         [non-C99-based standards] (ilogbf): Likewise.
56505         [non-C99-based standards] (log1pf): Likewise.
56506         [non-C99-based standards] (logbf): Likewise.
56507         [non-C99-based standards] (nextafterf): Likewise.
56508         [non-C99-based standards] (remainderf): Likewise.
56509         [non-C99-based standards] (rintf): Likewise.
56510         [non-C99-based standards] (scalbf): Likewise.
56511         [non-C99-based standards] (copysignl): Likewise.
56512         [non-C99-based standards] (exp2l): Likewise.
56513         [non-C99-based standards] (log2l): Likewise.
56514         [non-C99-based standards] (modfl): Allow.
56515         [non-C99-based standards] (erfl): Do not allow.
56516         [non-C99-based standards] (erfcl): Likewise.
56517         [non-C99-based standards] (gammal): Likewise.
56518         [non-C99-based standards] (hypotl): Likewise.
56519         [non-C99-based standards] (j0l): Likewise.
56520         [non-C99-based standards] (j1l): Likewise.
56521         [non-C99-based standards] (jnl): Likewise.
56522         [non-C99-based standards] (lgammal): Likewise.
56523         [non-C99-based standards] (tgammal): Likewise.
56524         [non-C99-based standards] (y0l): Likewise.
56525         [non-C99-based standards] (y1l): Likewise.
56526         [non-C99-based standards] (ynl): Likewise.
56527         [non-C99-based standards] (isnanl): Likewise.
56528         [non-C99-based standards] (acoshl): Likewise.
56529         [non-C99-based standards] (asinhl): Likewise.
56530         [non-C99-based standards] (atanhl): Likewise.
56531         [non-C99-based standards] (cbrtl): Likewise.
56532         [non-C99-based standards] (expm1l): Likewise.
56533         [non-C99-based standards] (ilogbl): Likewise.
56534         [non-C99-based standards] (log1pl): Likewise.
56535         [non-C99-based standards] (logbl): Likewise.
56536         [non-C99-based standards] (nextafterl): Likewise.
56537         [non-C99-based standards] (remainderl): Likewise.
56538         [non-C99-based standards] (rintl): Likewise.
56539         [non-C99-based standards] (scalbl): Likewise.
56540         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56541         [non-C99-based standards] (FP_*): Do not allow.
56542         [C99-based standards] (FP_*): Change to
56543         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
56544         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56545         allow.
56546         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
56547         (SIG_ERR): Likewise.
56548         [X/Open-based standards] (SIG_HOLD): Likewise.
56549         (SIG_IGN): Likewise.
56550         (SIGABRT): Use macro-int-constant.  Specify type.  Require
56551         positive value.
56552         (SIGFPE): Likewise.
56553         (SIGILL): Likewise.
56554         (SIGINT): Likewise.
56555         (SIGSEGV): Likewise.
56556         (SIGTER): Likewise.
56557         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
56558         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
56559         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
56560         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
56561         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
56562         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
56563         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
56564         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
56565         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
56566         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
56567         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
56568         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
56569         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
56570         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
56571         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
56572         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
56573         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
56574         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
56575         [X/Open-based standards] (SIGTRAP): Likewise.
56576         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
56577         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
56578         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
56579         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
56580         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56581         allow.
56583 2012-05-08  Ian Wienand  <ianw@vmware.com>
56585         [BZ #14080]
56586         * time/tzset.c (__tzset_parse_tz): Update default rules for
56587         daylight time changes in the Energy Policy Act of 2005.
56589 2012-05-09  Andreas Jaeger  <aj@suse.de>
56591         [BZ #13983]
56592         * elf/ldconfig.c (parse_conf): Change string to make clear that
56593         ldconfig only issued a warning if ld.so.conf does not exist.
56595 2012-05-08  David S. Miller  <davem@davemloft.net>
56597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
56598         movxtod instead of popping the value on the stack.
56600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56602 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
56604         * config.h.in: Add HAVE_ARM_PCS_VFP.
56606 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
56608         [BZ #13979]
56609         * include/features.h: Warn if user requests __FORTIFY_SOURCE
56610         checking but the checks are disabled for any reason.
56612 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
56614         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
56615         and ELF64_R_TYPE with ELFW(R_TYPE).
56617 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
56619         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
56620         (ulimit): Likewise.
56622         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
56623         (settimeofday): Likewise.
56625 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
56627         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
56628         a struct th_u2 inside the union, and move tu_block/tu_code into
56629         a new th_u3 union of tu_block/tu_code inside of that.  Move
56630         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
56631         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
56632         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
56633         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
56634         (th_stuff): Change to th_u1.tu_stuff.
56635         (th_data): Define.
56636         (th_msg): Change to th_u1.th_u2.tu_data.
56638 2012-05-07  David S. Miller  <davem@davemloft.net>
56640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56642         [BZ #14074]
56643         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
56644         (SETUP_PIC_REG): Use it.
56645         (SETUP_PIC_REG_LEAF): Use it.
56647 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
56649         [BZ #13885]
56650         [BZ #13923]
56651         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56652         USE_AS_EXPM1L.
56653         (EXPL_FINITE): Likewise.
56654         (FLDLOG): Likewise.
56655         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
56656         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
56657         e_expl.S.
56658         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56659         USE_AS_EXPM1L.
56660         (EXPL_FINITE): Likewise.
56661         (FLDLOG): Likewise.
56662         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
56663         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
56664         e_expl.S.
56665         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
56666         test of -max_value argument for long double.
56667         * sysdeps/i386/fpu/libm-test-ulps: Update.
56668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56670 2012-05-06  David S. Miller  <davem@davemloft.net>
56672         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
56673         quad soft-float symbols whose references which are compiler
56674         generated.
56675         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56677 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
56679         [BZ #13884]
56680         [BZ #13914]
56681         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56682         USE_AS_EXP10L.
56683         (EXPL_FINITE): Likewise.
56684         (FLDLOG): Likewise.
56685         (c0): Likewise.
56686         (c1): Likewise.
56687         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56688         Adjust comments for base varying.
56689         (__expl_finite): Change alias to EXPL_FINITE.
56690         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
56691         e_expl.S.
56692         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
56693         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
56694         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56695         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
56696         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56697         USE_AS_EXP10L.
56698         (EXPL_FINITE): Likewise.
56699         (FLDLOG): Likewise.
56700         (c0): Likewise.
56701         (c1): Likewise.
56702         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56703         Adjust comments for base varying.
56704         (__expl_finite): Change alias to EXPL_FINITE.
56705         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
56706         tests for bugs.
56707         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56709         [BZ #14064]
56710         * math/libm-test.inc (check_float_internal): Correct ulp
56711         calculation for subnormal expected results.
56713 2012-05-06  Andreas Jaeger  <aj@suse.de>
56715         * Makeconfig (+math-flags): New, set to -frounding-math.
56716         (+cflags): Add +math-flags so that all of glibc gets compiled with
56717         it.
56719         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
56721 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
56723         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
56724         Disable one test.
56726         [BZ #13787]
56727         [BZ #13922]
56728         [BZ #14036]
56729         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
56730         (__ieee754_expl): Allow for and saturate large arguments.
56731         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
56732         (u_threshold): Likewise.
56733         (__exp): Call __ieee754_exp before checking for overflow and
56734         underflow.
56735         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
56736         (u_threshold): Likewise.
56737         (__expf): Call __ieee754_expf before checking for overflow and
56738         underflow.
56739         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
56740         (u_threshold): Likewise.
56741         (__expl): Call __ieee754_expl before checking for overflow and
56742         underflow.
56743         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
56744         (__ieee754_expl): Allow for and saturate large arguments.
56745         * math/libm-test.inc (exp_test): Add another test.  Do not allow
56746         missing overflow exception on overflow.
56747         (expm1_test): Do not allow missing overflow exception on overflow.
56749         * sysdeps/i386/fpu/e_expl.c: Move to ...
56750         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
56751         rather than using inline asm.
56752         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
56753         * sysdeps/x86_64/fpu/e_expl.S: Copy from
56754         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
56756         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
56757         (nice): Likewise.
56758         (poll): Likewise.
56759         (signal): Likewise.
56760         (time): Likewise.
56761         (times): Likewise.
56763 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56765         * sysdeps/unix/syscalls.list (adjtime): Add entry from
56766         sysdeps/unix/common/syscalls.list.
56767         (fchmod): Likewise.
56768         (fchown): Likewise.
56769         (ftruncate): Likewise.
56770         (getrusage): Likewise.
56771         (gettimeofday): Likewise.
56772         (setpgid): Likewise.
56773         (setregid): Likewise.
56774         (setreuid): Likewise.
56775         (sigaction): Likewise.
56776         (truncate): Likewise.
56777         (vhangup): Likewise.
56778         * sysdeps/unix/common/syscalls.list: Remove file.
56779         * sysdeps/unix/bsd/Implies: Don't include unix/common.
56780         * sysdeps/unix/sysv/linux/Implies: Likewise.
56782 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
56784         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
56785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
56786         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
56787         Moved to ...
56788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
56789         Here.
56790         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
56791         to ...
56792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
56793         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
56794         to ...
56795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
56796         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
56797         to ...
56798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
56799         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
56800         to ...
56801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
56802         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
56803         to ...
56804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
56805         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
56806         to ...
56807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
56808         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
56809         to ...
56810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56811         Here.
56812         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
56813         to ...
56814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
56815         Here.
56816         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
56817         to ...
56818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
56819         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
56820         Moved to ...
56821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
56822         Here.
56823         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
56824         to ...
56825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
56827 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56829         * sysdeps/unix/common/bits/dirent.h: Remove file.
56830         * sysdeps/unix/common/bits/fcntl.h: Likewise.
56832         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
56833         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
56834         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
56835         * sysdeps/unix/bsd/isatty.c: Likewise.
56836         * sysdeps/unix/bsd/tcdrain.c: Likewise.
56837         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
56838         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
56840 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56842         [BZ #13563]
56843         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
56844         long double comparison inaccuracies.
56845         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56848 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
56850         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
56851         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
56853 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56855         [BZ #14049]
56856         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
56857         nonzero digits before rounding a hex value.
56858         * stdlib/tst-strtod.c (tests): Add another test.
56860 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56862         * sysdeps/s390/fpu/libm-test-ulps: Update.
56864 2012-05-03  Andreas Jaeger  <aj@suse.de>
56866         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
56867         does not get optimized out.
56868         (malloc_opt_barrier): New.
56870 2012-05-03  Andreas Jaeger  <aj@suse.de>
56871             Roland McGrath  <roland@hack.frob.com>
56873         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
56874         intermediate file deletion.
56875         (generated): Add .symlist files.
56877 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
56879         [BZ #13775]
56880         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
56881         Redirect under this condition.
56882         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56883         [__USE_GNU] (__dprintf_chk): Not under this condition.
56884         [__USE_GNU] (__vdprintf_chk): Likewise.
56885         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
56886         under this condition.
56887         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56888         [__USE_XOPEN2K8] (dprintf): Define under this condition.
56889         [__USE_XOPEN2K8] (vdprintf): Likewise.
56890         [__USE_GNU] (__dprintf_chk): Not under this condition.
56891         [__USE_GNU] (__vdprintf_chk): Likewise.
56892         [__USE_GNU] (dprintf): Likewise.
56893         [__USE_GNU] (vdprintf): Likewise.
56895 2012-05-03  Roland McGrath  <roland@hack.frob.com>
56897         * elf/Makefile (common-generated): Set this instead of generated for
56898         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
56899         $(all-built-dso)-derived lists.
56901 2012-05-03  Andreas Jaeger  <aj@suse.de>
56903         * sysdeps/i386/fpu/libm-test-ulps: Update.
56905         * FAQ: Removed.
56906         * FAQ.in: Likewise.
56907         * scripts/gen-FAQ.pl: Likewise.
56908         * manual/install.texi (Installation): Point to online location of
56909         FAQ.
56910         * Makefile (files-for-dist): Remove FAQ.
56911         (FAQ): Remove.
56913 2012-05-02  Allan McRae  <allan@archlinux.org>
56915         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
56916         (LDFLAGS-reldepmod5.so): Likewise.
56917         (LDFLAGS-reldep6mod1.so): Likewise.
56918         (LDFLAGS-reldep6mod4.so): Likewise.
56919         (LDFLAGS-reldep8mod3.so): Likewise.
56920         (LDFLAGS-unload4mod1.so): Likewise.
56921         (LDFLAGS-unload4mod2.so): Likewise.
56922         (LDFLAGS-tst-initorder): Likewise.
56923         (LDFLAGS-tst-initordera2.so): Likewise.
56924         (LDFLAGS-tst-initordera3.so): Likewise.
56925         (LDFLAGS-tst-initordera4.so): Likewise.
56926         (LDFLAGS-tst-initorderb2.so): Likewise.
56927         (LDFLAGS-noload): Likewise.
56928         (LDFLAGS-next): Likewise.
56929         (LDFLAGS-order2mod1.so): Likewise.
56930         (LDFLAGS-order2mod2.so): Likewise.
56931         (LDFLAGS-tst-initorder2): Likewise.
56932         (LDFLAGS-tst-initorder2a.so): Likewise.
56933         (LDFLAGS-tst-initorder2b.so): Likewise.
56934         (LDFLAGS-tst-initorder2c.so): Likewise.
56935         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
56937 2012-05-02  David S. Miller  <davem@davemloft.net>
56939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56941 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
56943         [BZ #14055]
56944         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
56946 2012-05-02  Andreas Jaeger  <aj@suse.de>
56948         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
56949         since we manipulate rounding mode.
56950         (CPPFLAGS-test-idouble.c): Likewise.
56951         (CPPFLAGS-test-ifloat.c): Likewise.
56952         (CFLAGS-test-ldouble.c): Likewise.
56953         (CFLAGS-test-double.c): Likewise.
56954         (CFLAGS-test-float.c): Likewise.
56955         (CFLAGS-test-misc.c): Likewise.
56956         (CFLAGS-test-test-fenv.c): Likewise.
56958 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56960         [BZ #2550]
56961         [BZ #2570]
56962         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
56963         comparisons to determine direction to adjust input.
56965 2012-05-01  Roland McGrath  <roland@hack.frob.com>
56967         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
56968         output to the target.
56970         * scripts/localplt.awk: New file.
56971         * elf/Makefile ($(objpfx)check-localplt): Target removed.
56972         (check-localplt-CFLAGS): Variable removed.
56973         ($(all-built-dso:=.jmprel)): New static pattern rule.
56974         (generated): Add those targets.
56975         (localplt-built-dso): New variable.
56976         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
56978         * elf/check-localplt.c: File removed.
56980         * scripts/check-execstack.awk: New file.
56981         * elf/Makefile ($(objpfx)check-execstack): Target removed.
56982         (check-execstack-CFLAGS): Variable removed.
56983         ($(objpfx)check-execstack.h): Target removed.
56984         ($(objpfx)execstack-default): New target.
56985         (generated): Add that instead of check-execstack.h.
56986         ($(all-built-dso:=.phdr)): New static pattern rule.
56987         (generated): Add those targets.
56988         * elf/check-execstack.c: File removed.
56990         * scripts/check-textrel.awk: New file.
56991         * elf/Makefile ($(objpfx)check-textrel): Target removed.
56992         (check-textrel-CFLAGS): Variable removed.
56993         (all-built-dso): Use := to define.o
56994         ($(all-built-dso:=.dyn)): New static pattern rule.
56995         (generated): Add those targets.
56996         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
56997         * config.make.in (READELF): New substituted variable.
56998         * elf/check-textrel.c: File removed.
57000 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57002         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57003         allow.
57004         * conform/data/ctype.h-data [C99-based standards] (isblank):
57005         Expect function.
57006         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
57007         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
57008         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57009         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
57010         Specify type.  Require positive value.
57011         (EILSEQ): Likewise.
57012         (ERANGE): Likewise.
57013         [ISO || POSIX] (EILSEQ): Do not expect.
57014         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
57015         Specify type.  Require positive value.
57016         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
57017         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
57018         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
57019         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
57020         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
57021         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
57022         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
57023         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
57024         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
57025         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
57026         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
57027         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
57028         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
57029         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
57030         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
57031         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
57032         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
57033         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
57034         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
57035         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
57036         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
57037         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
57038         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
57039         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
57040         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
57041         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
57042         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
57043         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
57044         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
57045         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
57046         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
57047         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
57048         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
57049         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
57050         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
57051         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
57052         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
57053         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
57054         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
57055         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57056         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
57057         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
57058         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
57059         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
57060         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
57061         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
57062         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
57063         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
57064         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
57065         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
57066         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
57067         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
57068         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
57069         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
57070         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
57071         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
57072         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
57073         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
57074         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
57075         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
57076         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
57077         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
57078         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
57079         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
57080         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
57081         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
57082         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
57083         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
57084         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
57085         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
57086         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
57087         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
57088         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
57089         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
57090         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
57091         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
57092         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
57093         Require >= 2.
57094         (FLT_ROUNDS): Expect as macro, not constant.
57095         (FLT_MANT_DIG): Use macro-int-constant.
57096         (DBL_MANT_DIG): Likewise.
57097         (LDBL_MANT_DIG): Likewise.
57098         (FLT_DIG): Likewise.
57099         (DBL_DIG): Likewise.
57100         (LDBL_DIG): Likewise.
57101         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
57102         (DBL_MIN_EXP): Likewise.
57103         (LDBL_MIN_EXP): Likewise.
57104         (FLT_MAX_EXP): Use macro-int-constant.
57105         (DBL_MAX_EXP): Likewise.
57106         (LDBL_MAX_EXP): Likewise.
57107         (FLT_MAX_10_EXP): Likewise.
57108         (DBL_MAX_10_EXP): Likewise.
57109         (LDBL_MAX_10_EXP): Likewise.
57110         (FLT_MAX): Use macro-constant.
57111         (DBL_MAX): Likewise.
57112         (LDBL_MAX): Likewise.
57113         (FLT_EPSILON): Use macro-constant.  Give upper bound.
57114         (DBL_EPSILON): Likewise.
57115         (LDBL_EPSILON): Likewise.
57116         (FLT_MIN): Likewise.
57117         (DBL_MIN): Likewise.
57118         (LDBL_MIN): Likewise.
57119         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
57120         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
57121         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
57122         [ISO11] (FLT_HAS_SUBNORM): Likewise.
57123         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
57124         [ISO11] (DBL_DECIMAL_DIG): Likewise.
57125         [ISO11] (FLT_DECIMAL_DIG): Likewise.
57126         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
57127         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
57128         [ISO11] (FLT_TRUE_MIN): Likewise.
57129         [ISO11] (LDBL_TRUE_MIN): Likewise.
57130         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57131         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
57132         (SCHAR_MIN): Use macro-int-constant.  Specify type.
57133         (SCHAR_MAX): Likewise.
57134         (UCHAR_MAX): Likewise.
57135         (CHAR_MIN): Likewise.
57136         (CHAR_MAX): Likewise.
57137         (MB_LEN_MAX): Use macro-int-constant.
57138         (SHRT_MIN): Use macro-int-constant.  Specify type.
57139         (SHRT_MAX): Likewise.
57140         (USHRT_MAX): Likewise.
57141         (INT_MAX): Likewise.
57142         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
57143         bound negative.
57144         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57145         bound with "U".
57146         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57147         bound with "L".
57148         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
57149         bound negative.  Suffix upper bound with "L".
57150         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57151         bound with "UL".
57152         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
57153         Specify type.
57154         [C99-based standards] (LLONG_MAX): Likewise.
57155         [C99-based standards] (ULLONG_MAX): Likewise.
57156         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
57157         == 0.
57158         [ISO11] (max_align_t): Require type.
57159         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57161         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
57162         from $CFLAGS, without defining away __attribute__ calls.
57163         (checknamespace): Use $CFLAGS_namespace.
57165         * conform/conformtest.pl (@keywords): Only include C99 keywords
57166         for standards based on C99 or C11.
57168         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
57169         Disable tests.
57170         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
57171         UNIX98]: Likewise.
57173         * conform/conformtest.pl: Handle "macro-int-constant" and test for
57174         usability of symbols in #if.
57176         * conform/conformtest.pl: If macro or constant types start
57177         "promoted:", expect the symbol to be of the following type
57178         promoted by the integer promotions.
57180         * conform/conformtest.pl: Parse all "constant" and "macro" lines
57181         in one place.  Also handle "macro-constant".
57183         * conform/conformtest.pl: Only accept expected macro values with
57184         "==".  Parse all "macro" lines in one place.
57185         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
57187         * conform/conformtest.pl: Handle braced types on "constant" lines
57188         instead of handling "typed-constant".
57189         * conform/data/signal.h-data: Use "constant" instead of
57190         "typed-constant".
57192         * conform/conformtest.pl: Handle "optional-" at start of lines in
57193         one place rather than duplicating several cases.  Handle each
57194         format of "macro" line with initial "optional-".
57196         * conform/conformtest.pl: Only accept expected constant or
57197         optional-constant values with "==".  Parse all "constant" lines in
57198         one place.  Parse all "optional-constant" lines in one place.
57199         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
57200         * conform/data/fmtmsg.h-data: Likewise.
57201         * conform/data/netinet/in.h-data: Likewise.
57202         * conform/data/tar.h-data: Likewise.
57203         * conform/data/limits.h-data: Use "==" form on "constant" and
57204         "optional-constant" lines.
57206         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
57207         Use -std=c99 for XOPEN2K.
57208         (@knownproblems): Remove.
57209         (newtoken): Don't check %isknown.
57211         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
57212         Do not expect macro.
57213         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
57214         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
57215         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
57216         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
57217         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
57218         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
57219         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
57220         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
57221         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
57222         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
57223         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
57224         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
57225         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
57226         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57227         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
57228         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
57229         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
57230         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
57231         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
57232         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
57233         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
57234         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
57235         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
57236         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
57237         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
57238         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
57239         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
57240         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
57241         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
57242         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
57243         [XPG3] (acosh): Likewise.
57244         [XPG3] (asinh): Likewise.
57245         [XPG3] (atanh): Likewise.
57246         [XPG3] (cbrt): Likewise.
57247         [XPG3] (expm1): Likewise.
57248         [XPG3] (ilogb): Likewise.
57249         [XPG3] (log1p): Likewise.
57250         [XPG3] (logb): Likewise.
57251         [XPG3] (nextafter): Likewise.
57252         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
57253         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
57254         [XPG3] (remainder): Likewise.
57255         [XPG3] (rint): Likewise.
57256         [XPG3 || XPG4 || UNIX98] (round): Likewise.
57257         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
57258         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
57259         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
57260         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
57261         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
57262         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
57263         [UNIX98 || XOPEN2K] (scalb): Expect.
57264         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
57265         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
57266         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
57267         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
57268         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
57269         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
57270         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
57271         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
57272         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
57273         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
57274         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
57275         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
57276         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
57277         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
57278         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
57279         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
57280         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
57281         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
57282         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
57283         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
57284         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
57285         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
57286         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
57287         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
57288         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
57289         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
57290         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
57291         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
57292         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
57293         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
57294         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
57295         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
57296         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
57297         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
57298         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
57299         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
57300         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
57301         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
57302         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
57303         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
57304         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
57305         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
57306         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
57307         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
57308         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
57309         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
57310         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
57311         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
57312         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
57313         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
57314         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
57315         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
57316         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
57317         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
57318         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
57319         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
57320         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
57321         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
57322         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
57323         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
57324         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
57325         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
57326         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
57327         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
57328         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
57329         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
57330         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
57331         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
57332         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
57333         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
57334         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
57335         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
57336         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
57337         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
57338         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
57339         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
57340         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
57341         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
57342         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
57343         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
57344         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
57345         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
57346         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
57347         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
57348         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
57349         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
57350         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
57351         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
57352         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
57353         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
57354         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
57355         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
57356         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
57357         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
57358         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
57359         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
57360         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
57361         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
57362         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
57363         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
57364         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
57365         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
57366         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
57367         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
57368         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
57369         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
57370         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
57371         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
57372         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
57373         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
57374         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
57375         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
57376         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
57377         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
57378         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
57379         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
57380         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
57381         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
57382         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
57383         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
57384         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
57385         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
57386         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
57387         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
57388         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
57389         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
57390         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
57391         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
57392         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
57393         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
57394         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
57395         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
57396         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
57397         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
57398         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
57399         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
57400         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
57402         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
57403         _XOPEN_SOURCE_EXTENDED for XPG4.
57405         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
57407         * Makeconfig (localtime): Remove variable.
57408         (inst_localtime-file): Likewise.
57410 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
57412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
57413         Update.
57414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57415         Update.
57416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
57417         Update.
57418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57419         Update.
57420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
57421         Update.
57422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
57423         Update.
57424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57425         Update.
57426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
57427         Update.
57428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57429         Update.
57431 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57433         [BZ #2550]
57434         [BZ #2570]
57435         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
57436         comparisons to determine direction to adjust input.
57437         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
57438         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
57439         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
57440         Likewise.
57441         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
57442         Likewise.
57443         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
57444         Likewise.
57445         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
57446         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
57447         Likewise.
57448         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
57449         Likewise.
57450         * math/libm-test.inc (nexttoward_test): Add more tests.
57452 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
57454         [BZ #14040]
57455         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
57456         in version GLIBC_2.1, not GLIBC_2.0.
57457         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
57458         Likewise.
57460 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
57462         [BZ #13942]
57463         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
57464         (1 - x) * (1 + x).
57465         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
57466         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
57467         * math/libm-test.inc (acos_test): Add more tests.
57468         (asin_test): Likewise.
57469         * sysdeps/i386/fpu/libm-test-ulps: Update.
57470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57472         [BZ #14034]
57473         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
57474         of square root.
57475         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
57476         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
57477         * math/libm-test.inc (acos_test_tonearest): New function.
57478         (acos_test_towardzero): Likewise.
57479         (acos_test_downward): Likewise.
57480         (acos_test_upward): Likewise.
57481         (asin_test_tonearest): Likewise.
57482         (asin_test_towardzero): Likewise.
57483         (asin_test_downward): Likewise.
57484         (asin_test_upward): Likewise.
57485         (main): Call the new functions.
57486         * sysdeps/i386/fpu/libm-test-ulps: Update.
57487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57489         [BZ #13884]
57490         [BZ #13924]
57491         * math/e_exp10.c: Include <float.h>.
57492         (__ieee754_exp10): Handle underflow here rather than multiplying
57493         large negative argument by M_LN10.
57494         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
57495         of __ieee754_expf.
57496         * math/e_exp10l.c: Include <float.h>.
57497         (__ieee754_exp10l): Handle underflow here rather than multiplying
57498         large negative argument by M_LN10l.
57499         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
57500         spurious overflow exception on underflow.
57502 2012-04-29  Marek Polacek  <polacek@redhat.com>
57504         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
57505         (__fortify_function): New macro.
57506         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
57507         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
57508         __extern_always_inline.
57509         * libio/bits/stdio2.h: Likewise.
57510         * libio/bits/stdio.h: Likewise.
57511         * string/string.h: Likewise.
57512         * string/bits/string3.h: Likewise.
57513         * include/stdio.h: Likewise.
57514         * stdlib/bits/stdlib.h: Likewise.
57515         * stdlib/stdlib.h: Likewise.
57516         * rt/bits/mqueue2.h: Likewise.
57517         * rt/mqueue.h: Likewise.
57518         * posix/bits/unistd.h: Likewise.
57519         * posix/unistd.h: Likewise.
57520         * io/bits/poll2.h: Likewise.
57521         * io/bits/fcntl2.h: Likewise.
57522         * io/fcntl.h: Likewise.
57523         * io/sys/poll.h: Likewise.
57524         * misc/bits/syslog.h: Likewise.
57525         * misc/bits/syslog-ldbl.h: Likewise.
57526         * misc/sys/syslog.h: Likewise.
57527         * socket/bits/socket2.h: Likewise.
57528         * socket/sys/socket.h: Likewise.
57529         * debug/tst-chk1.c: Likewise.
57530         * wcsmbs/bits/wchar2.h: Likewise.
57531         * wcsmbs/bits/wchar-ldbl.h: Likewise.
57532         * wcsmbs/wchar.h: Likewise.
57534 2012-04-29  Andreas Jaeger  <aj@suse.de>
57536         * Makerules (tests): Remove enable-check-abi protection.
57537         (check-abi-warn): Remove.
57538         (check-abi-%): Remove check-abi-warn usage.
57540         * configure.in: Remove check-abi configure option.
57541         * configure: Regenerated.
57542         * config.make.in (enable-check-abi): Remove.
57544 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
57546         [BZ #14033]
57547         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
57548         double functions to double *_finite functions.
57550         [BZ #13941]
57551         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
57552         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
57553         LDBL_MIN_EXP.
57554         * stdio-common/Makefile (tests): Add tst-sprintf3.
57555         * stdio-common/tst-sprintf3.c: New file.
57557         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
57558         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
57560 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57562         * conform/conformtest.pl: Remove duplicate typed-constant
57563         handling.
57565 2012-04-28  David S. Miller  <davem@davemloft.net>
57567         * Makerules (%.abilist): Add vpath on sysdep_dirs.
57568         (check-abi-%): Remove AWK script prerequisite and explicit
57569         abilist directory.
57570         (check-abi): Rewrite to just diff the symlist with the abilist.
57571         (config-tls, config-abi-config): Delete, no longer used.
57572         (update-abi-%): Remove AWK script and explicit abilist directory.
57573         (update-abi): Rewrite to simply compare and conditionally copy the
57574         symlist and the sysdep abilist file.  Remove update-abi-config
57575         checks.
57576         * abilist/ld.abilist: Remove.
57577         * abilist/libBrokenLocale.abilist: Remove.
57578         * abilist/libanl.abilist: Remove.
57579         * abilist/libcrypt.abilist: Remove.
57580         * abilist/libdl.abilist: Remove.
57581         * abilist/librt.abilist: Remove.
57582         * abilist/libthread_db.abilist: Remove.
57583         * abilist/libutil.abilist: Remove.
57584         * scripts/extract-abilist.awk: Remove.
57585         * scripts/merge-abilist.awk: Remove.
57586         * sysdeps/generic/libcidn.abilist: New file.
57587         * sysdeps/generic/libnss_compat.abilist: New file.
57588         * sysdeps/generic/libnss_db.abilist: New file.
57589         * sysdeps/generic/libnss_dns.abilist: New file.
57590         * sysdeps/generic/libnss_files.abilist: New file.
57591         * sysdeps/generic/libnss_hesiod.abilist: New file.
57592         * sysdeps/generic/libnss_nis.abilist: New file.
57593         * sysdeps/generic/libnss_nisplus.abilist: New file.
57594         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
57595         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
57596         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
57597         file.
57598         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
57599         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
57600         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
57601         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
57602         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
57603         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
57604         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
57605         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
57606         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
57607         file.
57608         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
57609         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
57610         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
57611         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
57612         file.
57613         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
57614         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
57615         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
57616         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
57617         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
57618         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
57619         file.
57620         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
57621         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
57622         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
57623         file.
57624         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
57625         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
57626         New file.
57627         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
57628         New file.
57629         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
57630         New file.
57631         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
57632         New file.
57633         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
57634         New file.
57635         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
57636         New file.
57637         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
57638         New file.
57639         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
57640         New file.
57641         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
57642         New file.
57643         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
57644         New file.
57645         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
57646         New file.
57647         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
57648         New file.
57649         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
57650         New file.
57651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
57652         file.
57653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
57654         New file.
57655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
57656         New file.
57657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
57658         file.
57659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
57660         New file.
57661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
57662         New file.
57663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
57664         file.
57665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
57666         New file.
57667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57668         New file.
57669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
57670         New file.
57671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
57672         New file.
57673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
57674         New file.
57675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
57676         New file.
57677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
57678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
57679         file.
57680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
57681         New file.
57682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
57683         file.
57684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
57685         file.
57686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
57687         file.
57688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
57689         file.
57690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
57691         file.
57692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57693         New file.
57694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
57695         file.
57696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
57697         file.
57698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
57699         New file.
57700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
57701         file.
57702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
57703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
57704         file.
57705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
57706         New file.
57707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
57708         file.
57709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
57710         file.
57711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
57712         file.
57713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
57714         file.
57715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
57716         file.
57717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57718         New file.
57719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
57720         file.
57721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
57722         file.
57723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
57724         New file.
57725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
57726         file.
57727         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57728         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
57729         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
57730         file.
57731         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
57732         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
57733         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
57734         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
57735         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
57736         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
57737         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
57738         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
57739         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
57740         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
57741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
57742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
57743         file.
57744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
57745         New file.
57746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
57747         file.
57748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
57749         file.
57750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
57751         file.
57752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
57753         file.
57754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
57755         file.
57756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57757         New file.
57758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
57759         New file.
57760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
57761         file.
57762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
57763         New file.
57764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
57765         file.
57766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
57767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
57768         file.
57769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
57770         New file.
57771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
57772         file.
57773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
57774         file.
57775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
57776         file.
57777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
57778         file.
57779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
57780         file.
57781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57782         New file.
57783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
57784         New file.
57785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
57786         file.
57787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
57788         New file.
57789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
57790         file.
57792 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57794         * conform/conformtest.pl: Fix typo in handling typed-constant from
57795         allow-header.
57797 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57799         * README: Cut down references to pre-2.6 Linux kernels and
57800         Linuxthreads.  Update lists of configurations in libc and ports
57801         and sort alphabetically.  Say "or newer" with Linux kernel version
57802         requirements.
57804         * config.h.in [IS_IN_build]: Allow compiling without optimization.
57806 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57808         [BZ #887]
57809         * math/libm-test.inc (logb_test_downward): New test to expose
57810         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
57811         rounding mode.
57813 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57815         [BZ #14027]
57816         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
57817         to be done.
57818         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
57819         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
57821 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
57823         * sysdeps/unix/i386/brk.S: Remove file.
57824         * sysdeps/unix/i386/dl-brk.S: Likewise.
57825         * sysdeps/unix/i386/pipe.S: Likewise.
57826         * sysdeps/unix/i386/sigreturn.S: Likewise.
57827         * sysdeps/unix/i386/syscall.S: Likewise.
57828         * sysdeps/unix/i386/vfork.S: Likewise.
57829         * sysdeps/unix/i386/wait.S: Likewise.
57831         * sysdeps/unix/common/tcsendbrk.c: Move to ...
57832         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
57834         * configure.in (arm*-none*): Do not allow without
57835         --enable-hacker-mode.
57836         (netbsd*): Remove case setting base_os.
57837         (386bsd*): Likewise.
57838         (freebsd*): Likewise.
57839         (bsdi*): Likewise.
57840         (osf*): Likewise.
57841         (sunos*): Likewise.
57842         (ultrix*): Likewise.
57843         (newsos*): Likewise.
57844         (dynix*): Likewise.
57845         (*bsd*): Likewise.
57846         (sysv*): Likewise.
57847         (isc*): Likewise.
57848         (esix*): Likewise.
57849         (sco*): Likewise.
57850         (minix*): Likewise.
57851         (irix4*): Likewise.
57852         (irix6*): Likewise.
57853         (solaris[2-9]*): Likewise.
57854         (none): Likewise.
57855         * configure: Regenerated.
57857 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57859         [BZ #11521]
57860         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
57861         overflow or cancellation in calculating denominator.
57862         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
57863         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
57864         down expression to avoid unexpected rounding in newer GCCs.
57865         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
57867 2012-04-26  David S. Miller  <davem@davemloft.net>
57869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
57870         long-double compat symbols.
57871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
57873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
57874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
57875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
57876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
57877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
57878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
57879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
57880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
57881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
57882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
57883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57885 2012-04-25  David S. Miller  <davem@davemloft.net>
57887         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
57888         HWCAP_* values only after the memory barriers have been defined.
57889         (atomic_full_barrier): Define.
57890         (atomic_read_barrier): Define.
57891         (atomic_write_barrier): Define.
57893 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57895         * shlib-versions: Add libgcc_s version information.
57896         * sysdeps/generic/libgcc_s.h: Remove.
57897         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
57898         libgcc_s.h.
57899         * sysdeps/gnu/unwind-resume.c: Likewise.
57900         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
57902 2012-04-25  David S. Miller  <davem@davemloft.net>
57904         * sysdeps/unix/sparc/brk.S: Delete.
57905         * sysdeps/unix/sparc/dl-brk.S: Delete.
57906         * sysdeps/unix/sparc/pipe.S: Delete.
57907         * sysdeps/unix/sparc/sysdep.S: Delete.
57908         * sysdeps/unix/sparc/sysdep.h: Delete.
57909         * sysdeps/unix/sparc/vfork.S: Delete.
57910         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
57911         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
57912         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
57913         (ret_ERRVAL, r0, r1, MOVE): Define.
57914         (JUMPTARGET): Remove.
57915         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
57916         sysdeps/unix/sparc/sysdep.h
57917         (ENTRY, END): Remove.
57918         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57920 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
57922         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
57923         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
57924         -DIS_IN_build.
57926         * timezone/README: Update upstream location and email address for
57927         tzcode and tzdata.
57928         * timezone/zdump.c: Update from tzcode 2012b.
57929         * timezone/zic.c: Likewise.
57931         * configure.in (libc_cv_as_needed): Remove test.
57932         * configure: Regenerated.
57933         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
57934         conditional definition.
57935         [$(have-as-needed) != yes] (no-as-needed): Likewise.
57936         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
57937         * config.make.in (have-as-needed): Remove variable.
57939 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57940             Paul Pluzhnikov  <ppluzhnikov@google.com>
57942         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
57943         strings correctly.
57945 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
57947         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
57948         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
57949         * sysdeps/sh/strlen.S: Likewise.
57951 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57953         * sysdeps/unix/fork.S: Remove file.
57954         * sysdeps/unix/i386/fork.S: Likewise.
57955         * sysdeps/unix/sparc/fork.S: Likewise.
57957         * sysdeps/unix/system.c: Remove file.
57958         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
57960         * sysdeps/unix/getegid.S: Remove file.
57961         * sysdeps/unix/geteuid.S: Likewise.
57963 2012-04-24  Roland McGrath  <roland@hack.frob.com>
57965         * scripts/check-localplt.awk: New file.
57966         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
57967         of diff.
57968         * scripts/data/localplt-generic.data: Add a comment.
57970         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
57971         NODE when __dir_mkfile failed.
57972         * sysdeps/mach/hurd/symlinkat.c: Likewise.
57973         Reported by Ludovic Courtès <ludo@gnu.org>.
57975 2012-04-24  Andreas Jaeger  <aj@suse.de>
57977         * Makerules (common-clean): Also remove gen-as-const-headers
57978         files.
57980 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57982         * Makerules (native-compile): Do not change working directory for
57983         build.  Use $(OUTPUT_OPTION) in command.
57984         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
57986 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57988         [BZ #13886]
57989         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
57990         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
57991         * math/libm-test.inc (floor_test): Add more tests.
57992         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
57994 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57996         * sysdeps/unix/getdents.c: Remove file.
57997         * sysdeps/unix/sysv/getdents.c: Likewise.
57998         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
58000         * sysdeps/unix/syscalls.list (madvise): Add syscall from
58001         sysdeps/unix/mman/syscalls.list.
58002         (mmap): Likewise.
58003         (mprotect): Likewise.
58004         (msync): Likewise.
58005         (munmap): Likewise.
58006         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
58007         * sysdeps/unix/mman/syscalls.list: Remove.
58008         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
58010         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
58011         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
58012         * configure: Regenerated.
58013         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
58014         $(libgcc_s_suffix).
58015         * config.make.in (libgcc_s_suffix): Remove variable.
58017 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
58019         * sysdeps/unix/sysv/gethostname.c: Move to ...
58020         * sysdeps/posix/gethostname.c: ... here.
58022         * sysdeps/unix/execve.S: Remove file.
58024         * sysdeps/unix/_exit.S: Remove file.
58026 2012-04-23  Andreas Jaeger  <aj@suse.de>
58028         [BZ #13739]
58029         * manual/Makefile: Remove make dist support, there's no
58030         need for a stand-alone documentation tar ball.
58031         (TEXI2DVI): Define always, it's not in Makeconfig.
58032         (dist): Removed.
58033         (tar-it): Removed.
58034         (edition): Removed.
58035         (glibc-doc-$(edition).tar): Removed
58036         (%.Z): Removed.
58037         (%.gz): Removed.
58038         (%.uu): Removed.
58039         (ETAGS): Remove, it's in Makeconfig.
58040         (move-if-change): Remove, it's in Makeconfig.
58042 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58044         [BZ #13970]
58045         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
58046         (strtod, strtof, strtold, strtol, strtoul, strtoq)
58047         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
58048         (strtod_l, strtof_l, strtold_l): Remove __wur.
58049         It is not necessarily an error to ignore strtol's return value.
58050         One can reliably look at the stored endptr to decide whether
58051         the number had valid syntax.
58053 2012-04-21  Andreas Jaeger  <aj@suse.de>
58055         [BZ #13739]
58056         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
58058 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
58060         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
58061         * sysdeps/unix/sysv/Versions: Remove file.
58063 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
58065         [BZ #13927]
58066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58068 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
58070         [BZ #7064]
58071         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
58072         version from __vm86.
58074 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
58076         * sysdeps/unix/common/lxstat.c: Remove file.
58077         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58079         * sysdeps/unix/sysv/Makefile: Remove file.
58081         * sysdeps/unix/sysv/direct.h: Remove file.
58083         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
58084         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
58085         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
58086         * sysdeps/unix/sysv/bits/signum.h: Likewise.
58087         * sysdeps/unix/sysv/bits/stat.h: Likewise.
58088         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
58089         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
58091         * sysdeps/unix/sysv/setrlimit.c: Remove file.
58093         * sysdeps/unix/xmknod.c: Remove file.
58094         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
58096         * sysdeps/unix/sysv/settimeofday.c: Remove file.
58098         * sysdeps/unix/sysv/i386/time.S: Remove file.
58100         * sysdeps/unix/fxstat.c: Remove file.
58101         * sysdeps/unix/xstat.c: Likewise.
58102         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
58104         * sysdeps/unix/sysv/sigaction.c: Remove file.
58106         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
58107         (sysdep_headers): Remove variable.
58108         [termio.h not in sysdep_headers] (generated): Likewise.
58109         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
58110         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
58111         * sysdeps/unix/sysv/tcdrain.c: Likewise.
58112         * sysdeps/unix/sysv/tcflow.c: Likewise.
58113         * sysdeps/unix/sysv/tcflush.c: Likewise.
58114         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
58115         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
58116         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
58117         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
58118         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
58120         * sysdeps/unix/siglist.c: Remove file.
58122         * sysdeps/unix/getppid.S: Remove file.
58124         * sysdeps/unix/mkdir.c: Remove file.
58125         * sysdeps/unix/rmdir.c: Likewise.
58127 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
58129         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
58130         ERR_MAX value.
58131         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
58132         errlist-compat value.
58134 2012-04-18  David S. Miller  <davem@davemloft.net>
58136         * sysdeps/generic/memcopy.h (reg_char): Delete.
58137         * debug/strcat_chk.c: Use char, not reg_char.
58138         * debug/strcpy_chk.c: Likewise.
58139         * debug/strncat_chk.c: Likewise.
58140         * debug/strncpy_chk.c: Likewise.
58141         * string/memchr.c: Likewise.
58142         * string/memrchr.c: Likewise.
58143         * string/rawmemchr.c: Likewise.
58144         * string/strcat.c: Likewise.
58145         * string/strchr.c: Likewise.
58146         * string/strchrnul.c: Likewise.
58147         * string/strcmp.c: Likewise.
58148         * string/strcpy.c: Likewise.
58149         * string/strncat.c: Likewise.
58150         * string/strncmp.c: Likewise.
58151         * string/strncpy.c: Likewise.
58153 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58155         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
58156         __builtin_memcopy is called when src and dest ranges are known to not
58157         overlap.
58159 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58161         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
58162         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
58163         fwd_align_merge macro call.
58164         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
58165         bwd_align_merge macro call.
58166         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58168 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58170         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
58171         bwd_align_merge macros.
58172         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
58173         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
58174         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58176 2012-04-18  David S. Miller  <davem@davemloft.net>
58178         * sysdeps/sparc/sparc64/memcopy.h: Delete.
58180 2012-04-18  Andreas Jaeger  <aj@suse.de>
58182         [BZ# 6794]
58183         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
58184         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
58185         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58187         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
58188         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
58189         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58191         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
58192         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
58193         Adjust for changed ldbl-128 files.
58195         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
58196         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
58197         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58199 2012-04-17  David S. Miller  <davem@davemloft.net>
58201         * sysdeps/sparc/sparc32/memcopy.h: Delete.
58203 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
58205         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
58206         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
58207         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
58208         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
58209         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58210         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
58212 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58214         [BZ #6794]
58215         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
58216         * math/libm-test.inc: Add ilogb errno and exception tests.
58217         * math/w_ilogb.c: New file: ilogb wrapper.
58218         * math/w_ilogbf.c: New file: ilogbf wrapper.
58219         * math/w_ilogbl.c: New file: ilogbl wrapper.
58220         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
58221         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
58222         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
58223         exception being thrown with 0.0 as argument.
58224         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
58225         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
58226         exception being thrown with 0.0 as argument.
58227         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
58228         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58229         exception being thrown with 0.0 as argument.
58230         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
58231         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58232         exception being thrown with 0.0 as argument.
58233         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
58234         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
58235         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
58236         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
58237         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
58238         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
58239         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
58240         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
58241         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
58243 2012-04-17  Petr Baudis  <pasky@ucw.cz>
58245         * include/sys/uio.h: Change __vector to __iovec to avoid clash
58246         with altivec.
58248 2012-04-16  Marek Polacek  <polacek@redhat.com>
58250         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
58252 2012-04-16  Marek Polacek  <polacek@redhat.com>
58254         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
58255         operands of fdivp instruction.
58257 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58259         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
58260         * elf/tst-auditmod3b.c: Likewise.
58261         * elf/tst-auditmod4b.c: Likewise.
58262         * elf/tst-auditmod5b.c: Likewise.
58263         * elf/tst-auditmod6b.c: Likewise.
58264         * elf/tst-auditmod6c.c: Likewise.
58265         * elf/tst-auditmod7b.c: Likewise.
58266         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
58267         * sysdeps/x86_64/preconfigure.in: Likewise.
58268         * sysdeps/x86_64/preconfigure: Regenerated.
58270 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58272         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
58273         __ILP32__.
58275 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
58277         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58278         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
58280 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
58282         [BZ #13973]
58283         * locale/iso-639.def: Fix gl language name. Spotted by
58284         Yaron Shahrabani.
58286 2012-04-12  Roland McGrath  <roland@hack.frob.com>
58288         [BZ #2074]
58289         * libio/libio.h (__io_write_fn): Update comment.
58291 2012-04-12  Petr Baudis  <pasky@ucw.cz>
58293         [BZ #2074]
58294         * stdio.texi (Hook Functions): The user provided writer function
58295         is not allowed to return -1.
58297 2012-04-11  David S. Miller  <davem@davemloft.net>
58299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58301 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
58303         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
58304         Add a leading slash to rtkaio.
58306 2012-04-11  Jim Meyering  <meyering@redhat.com>
58308         [BZ #11959]
58309         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
58310         It is not necessarily an error to ignore fwrite's return
58311         value.  One can reliably use ferror to test for errors after
58312         the fact.
58314 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58316         * bits/types.h (__snseconds_t): New type.
58317         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
58319         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
58320         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58321         (__SNSECONDS_T_TYPE): Likewise.
58322         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58323         (__SNSECONDS_T_TYPE): Likewise.
58324         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58325         (__SNSECONDS_T_TYPE): Likewise.
58327 2012-04-10  Andreas Jaeger  <aj@suse.de>
58329         [BZ #2636]
58330         * manual/time.texi (Processor Time): Return type of times is
58331         elapsed real time since an arbitrary point in the past.
58332         (CPU Time): Move CLK_TCK from here...
58333         (Processor Time): ...to here.  Correct description.
58334         * manual/conf.texi (Constants for Sysconf): Correct description of
58335         _SC_CLK_TCK.
58337 2012-04-10  David S. Miller  <davem@davemloft.net>
58339         [BZ #13967]
58340         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
58341         where the is a gap between DT_REL(A) and DT_JMPREL.
58343 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58345         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
58346         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
58347         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
58349 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58351         * elf/dl-support.c (_dl_inhibit_cache): New variable.
58352         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
58353         (dl_main): Handle --inhibit-cache.
58354         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
58355         _dl_inhibit_cache.
58356         * elf/dl-load.c (_dl_map_object): Use it.
58357         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
58359 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
58361         [BZ #13872]
58362         * sysdeps/i386/fpu/e_powl.S (p78): New object.
58363         (__ieee754_powl): Saturate large exponents rather than testing for
58364         overflow of y*log2(x).
58365         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58366         * math/libm-test.inc (pow_test): Do not permit spurious overflow
58367         exceptions.
58369         [BZ #11521]
58370         * math/s_ctan.c: Include <float.h>.
58371         (__ctan): Avoid internal overflow or cancellation in calculating
58372         denominator.
58373         * math/s_ctanf.c: Likewise.
58374         * math/s_ctanl.c: Likewise.
58375         * math/s_ctanh.c: Likewise.
58376         * math/s_ctanhf.c: Likewise.
58377         * math/s_ctanhl.c: Likewise.
58378         * math/libm-test.inc (ctan_test): Add more tests.
58379         (ctanh_test): Likewise.
58380         * sysdeps/i386/fpu/libm-test-ulps: Update.
58381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58383 2012-04-09  Andreas Jaeger  <aj@suse.de>
58385         [BZ #6894]
58386         * manual/filesys.texi (Directory Entries): Mention that d_namlen
58387         is an optional BSD extension.
58389         [BZ #10254]
58390         * manual/stdio.texi (Opening Streams): Document additional fopen
58391         parameters.
58393 2012-04-09  Roland McGrath  <roland@hack.frob.com>
58395         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
58396         %eax without telling the compiler.
58398 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
58400         [BZ # 13963]
58401         * manual/install.texi: Use sourceware.org.
58403 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
58405         [BZ #13873]
58406         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
58407         (__ieee754_pow): Generate overflow and underflow using huge*huge
58408         and tiny*tiny rather than just returning constant infinity or zero
58409         for large exponents.
58410         * math/libm-test.inc (pow_test): Require overflow exceptions for
58411         applicable cases of large exponents.
58413         [BZ #706]
58414         * sysdeps/i386/fpu/e_pow.S (p10): New object.
58415         (__ieee754_pow): Use iterative multiplication algorithm only for
58416         integer exponents with absolute value below 1024.  Check for odd
58417         integer exponents when using algorithm for real exponents.
58418         * math/libm-test.inc (pow_test): Add more tests.
58419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58421 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
58423         [BZ #13705]
58424         * math/libm-test.inc (exp_test): Do not allow overflow exception
58425         on underflow test.
58427 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
58429         [BZ #13705]
58430         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
58431         instead of __kernel_standard_f.
58433 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
58435         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
58436         * sysdeps/x86_64/memset_chk.S: Likewise.
58438 2012-04-08  Andreas Jaeger  <aj@suse.de>
58440         [BZ #10153]
58441         * manual/startup.texi (Environment Access): Describe return value
58442         for putenv and setenv.
58444         [BZ #6895]
58445         * manual/filesys.texi (Directory Entries): Add description for
58446         DT_LNK.
58448         [BZ #6890]
58449         * manual/filesys.texi (Directory Entries): Clarify that it's file
58450         system not operating system in the description of DT_UNKNOWN.
58452         [BZ #6578]
58453         * manual/syslog.texi (closelog): Fix reference, it's openlog.
58455 2012-04-08  Stephen Compall  <s11@member.fsf.org>
58457         [BZ #6649]
58458         * manual/llio.texi (Opening and Closing Files): Add cross
58459         reference to explain mode argument.
58461 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
58463         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
58464         * sysdeps/x86_64/memset_chk.S: Likewise.
58466 2012-04-07  David S. Miller  <davem@davemloft.net>
58468         * elf/elf.h (R_SPARC_WDISP10): Define.
58469         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
58470         R_SPARC_SIZE32.
58471         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
58472         R_SPARC_SIZE64 and R_SPARC_H34.
58474 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
58476         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
58477         conditions and remove no longer applicable assertion.
58479 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
58481         * bits/byteswap.h: Include <features.h>.
58482         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
58483         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
58485 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
58487         * bits/byteswap.h (__bswap_16): Removed.
58488         Include <bits/byteswap-16.h> to get __bswap_16.
58489         * sysdeps/i386/bits/byteswap.h: Likewise.
58490         * sysdeps/s390/bits/byteswap.h: Likewise.
58491         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58492         * bits/byteswap-16.h: New file.
58493         * sysdeps/i386/bits/byteswap-16.h: Likewise.
58494         * sysdeps/s390/bits/byteswap-16.h: Likewise.
58495         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
58496         * string/Makefile (headers): Add bits/byteswap-16.h.
58498 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58500         [BZ #13895]
58501         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
58502         extra indirection.
58503         * nss/Makefile (tests-static, tests): Add tst-nss-static.
58504         * nss/tst-nss-static.c: New.
58506 2012-04-06  Robert Millan  <rmh@gnu.org>
58508         [BZ #6486]
58509         * manual/llio.texi (File Position Primitive): lseek
58510         refers to WHENCE when it really means OFFSET.
58512 2012-04-06  Andreas Jaeger  <aj@suse.de>
58514         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
58515         strncmp declarations.
58517         * abilist/libc.abilist: Add __poll and __ppoll.
58519 2012-04-05  David S. Miller  <davem@davemloft.net>
58521         * scripts/check-local-headers.sh: Accept a host triplet in the
58522         path matched by the exclude regexp.
58524         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
58525         definition.
58526         * sysdeps/powerpc/powerpc32/dl-machine.h
58527         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
58528         * sysdeps/s390/s390-32/dl-machine.h
58529         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58530         * sysdeps/sparc/sparc32/dl-machine.h
58531         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58532         * sysdeps/sparc/sparc64/dl-machine.h
58533         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58535         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
58536         lazy binding.
58537         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
58538         undefined symbol errors.
58540         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
58541         DT_NEEDED entries.
58543 2012-04-05  Michael Matz  <matz@suse.de>
58545         [BZ #13592]
58546         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
58548 2012-04-05  Andreas Jaeger  <aj@suse.de>
58550         [BZ #13908]
58551         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
58552         comment.
58554 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58556         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
58557         which ROUND is no valid rounding mode.
58559 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58561         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
58562         read again.
58563         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
58565 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58567         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
58568         an exception using FPU order intentionally.
58570 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58572         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
58573         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
58574         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
58575         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
58577 2012-04-05  Simon Josefsson  <simon@josefsson.org>
58579         [BZ #12340]
58580         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
58581         EINVAL when BUFLEN is too smal.
58583 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
58585         [BZ #13553]
58586         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
58587         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
58589 2012-04-03  Andreas Jaeger  <aj@suse.de>
58591         [BZ #13938]
58592         * manual/setjmp.texi (System V contexts): Fix sentence.
58594         [BZ #13926]
58595         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
58596         New macro for this case.
58597         [!__GNUC__] (__bswap_64): New inline function for this case.
58598         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58599         * bits/byteswap.h: Likewise.
58600         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
58601         ull, guard with __GLIBC_HAVE_LONG_LONG.
58603         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
58604         __GLIBC_HAVE_LONG_LONG.
58606         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
58607         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
58609 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58611         [BZ #13691]
58612         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
58613         inptr and inend, rather than using last_ch.
58615 2012-04-02  David S. Miller  <davem@davemloft.net>
58617         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
58618         * stdio-common/printf-parse.h (read_int): Change return type to
58619         'int', return -1 on INT_MAX overflow.
58620         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
58621         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
58622         overflows INT_MAX.  Check for overflow of in-format-string precision
58623         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
58624         SIZE_MAX not INT_MAX for integer overflow test.
58625         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
58626         skip the construct in the format string but do not record anything.
58627         * stdio-common/bug22.c: Adjust to test both width/prevision
58628         INT_MAX overflow as well as total length INT_MAX overflow.  Check
58629         explicitly for proper errno values.
58631 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
58633         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
58634         CHAR_MAX.
58635         * string/test-strcmp.c [! WIDE]: Likewise.
58636         * time/tst-mktime2.c: Likewise for INT_MAX.
58637         * string/test-string.h: #include <sys/param.h> for MIN.
58639         * csu/init-first.c (__libc_init_first): Call __ctype_init.
58640         * sysdeps/i386/init-first.c (init): Likewise.
58641         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
58642         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
58643         * sysdeps/sh/init-first.c (init): Likewise.
58645 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
58647         * po/ru.po: Update from translation team.
58648         * po/vi.po: Likewise.
58650 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58652         * resolv/nss_dns/dns-host.c: Merge copyright years.
58654 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58656         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58657         Optimize memcpy with prefetch if
58658         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
58659         src, dst pointers have unequal 16 byte alignments.
58661 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58663         [BZ #13928]
58664         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
58665         from a CNAME entry and return the minimum ttl for the query.
58666         (gaih_getanswer_slice): Likewise.
58668 2012-03-30  Jeff Law  <law@redhat.com>
58670         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
58671         due to long keys.
58672         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
58673         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
58675         * resolv/nss_dns/dns-host.c: Update copyright year.
58677 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
58679         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
58680         requests to save a system call.  Fix check that all bytes are sent.
58682         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
58683         comments for sendmmsg.
58685 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58687         [BZ #13691]
58688         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
58689         with only 1 character between 0x0041 and 0x01b0.
58690         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
58691         * wcsmbs/tst-mbsnrtowcs.c: New file.
58693 2012-03-29  David S. Miller  <davem@davemloft.net>
58695         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
58696         small copies by hand.
58698 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58700         [BZ #13761]
58701         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
58702         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
58703         group memberships.
58705 2012-03-28  David S. Miller  <davem@davemloft.net>
58707         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
58708         that branches into memcpy.
58709         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58710         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
58711         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58712         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
58713         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
58714         bits.
58715         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
58716         implementation too.
58717         * sysdeps/sparc/mempcpy.S: New file.
58719         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
58720         the IFUNC routine in the libc case.
58721         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58723         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
58724         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
58725         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
58726         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
58727         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
58728         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
58729         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
58730         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
58732         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
58733         loop to 256 bytes instead of 64 bytes and fix test signedness.
58735         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
58736         * sysdeps/sparc/sparc32/Makefile: rather than here...
58737         * sysdeps/sparc/sparc64/Makefile: and here.
58739 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
58741         * malloc/mallocbug.c: Avoid warnings about unused variables.
58743 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58745         [BZ #13760]
58746         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
58747         in the right place. Discard and retry query if response is
58748         larger than input buffer size.
58750 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
58752         [BZ #369]
58753         [BZ #2678]
58754         [BZ #3866]
58755         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
58756         x for large integer exponent.
58757         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58758         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
58759         sign of result as needed afterwards.
58760         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58761         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
58762         result for underflowing pow the same as for overflow.
58763         (__kernel_standard_l): Handle powl overflow and underflow here
58764         rather than calling __kernel_standard.
58765         * math/libm-test.inc (pow_test): Add more tests.
58767         [BZ #3868]
58768         [BZ #13879]
58769         [BZ #13910]
58770         [BZ #13911]
58771         [BZ #13912]
58772         [BZ #13913]
58773         [BZ #13915]
58774         [BZ #13916]
58775         [BZ #13917]
58776         [BZ #13918]
58777         [BZ #13919]
58778         [BZ #13920]
58779         [BZ #13921]
58780         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
58781         * sysdeps/ieee754/k_standard.c: Include <float.h>.
58782         (__kernel_standard_l): New function.
58783         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
58784         __kernel_standard.
58785         * math/w_acosl.c (__acosl): Likewise.
58786         * math/w_asinl.c (__asinl): Likewise.
58787         * math/w_atan2l.c (__atan2l): Likewise.
58788         * math/w_atanhl.c (__atanhl): Likewise.
58789         * math/w_coshl.c (__coshl): Likewise.
58790         * math/w_exp10l.c (__exp10l): Likewise.
58791         * math/w_exp2l.c (__exp2l): Likewise.
58792         * math/w_fmodl.c (__fmodl): Likewise.
58793         * math/w_hypotl.c (__hypotl): Likewise.
58794         * math/w_j0l.c (__j0l, __y0l): Likewise.
58795         * math/w_j1l.c (__j1l, __y1l): Likewise.
58796         * math/w_jnl.c (__jnl, __ynl): Likewise.
58797         * math/w_lgammal.c (__lgammal): Likewise.
58798         * math/w_log10l.c (__log10l): Likewise.
58799         * math/w_log2l.c (__log2l): Likewise.
58800         * math/w_logl.c (__logl): Likewise.
58801         * math/w_powl.c (__powl): Likewise.
58802         * math/w_remainderl.c (__remainderl): Likewise.
58803         * math/w_scalbl.c (sysv_scalbl): Likewise.
58804         * math/w_sinhl.c (__sinhl): Likewise.
58805         * math/w_sqrtl.c (__sqrtl): Likewise.
58806         * math/w_tgammal.c (__tgammal): Likewise.
58807         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
58808         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
58809         * math/libm-test.inc (acos_test): Add more tests.
58810         (acosh_test): Likewise.
58811         (asin_test): Likewise.
58812         (atanh_test): Likewise.
58813         (exp_test): Likewise.
58814         (exp10_test): Likewise.
58815         (exp2_test): Likewise.
58816         (expm1_test): Likewise.
58817         (lgamma_test): Likewise.
58818         (log_test): Likewise.
58819         (log10_test): Likewise.
58820         (log1p_test): Likewise.
58821         (log2_test): Likewise.
58822         (pow_test): Do not allow some spurious overflow exceptions.
58823         (sqrt_test): Add more tests.
58824         (tgamma_test): Likewise.
58825         (y0_test): Likewise.
58826         (y1_test): Likewise.
58827         (yn_test): Likewise.
58829 2012-03-27  Anton Blanchard  <anton@samba.org>
58831         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
58832         MAP_HUGETLB.
58833         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58834         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58835         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58837 2012-03-27  David S. Miller  <davem@davemloft.net>
58839         * conform/Makefile: Run run-conformtest.sh using $(BASH).
58841         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
58842         have-as-vis3 check.
58844 2012-03-27  Andreas Jaeger  <aj@suse.de>
58846         * sysdeps/x86_64/elf/configure.in: Moved to ...
58847         * sysdeps/x86_64/configure.in: ... here.
58848         * sysdeps/x86_64/elf/start.S: Moved to ...
58849         * sysdeps/x86_64/start.S: ... here.
58850         * sysdeps/x86_64/elf/configure: Delete.
58852         * sysdeps/x86_64/configure.in: Merge contents from
58853         sysdeps/i386/configure.in (without i686 check).
58855         * sysdeps/i386/elf/Versions: Merge into ...
58856         * sysdeps/i386/Versions: ... this.
58857         * sysdeps/i386/elf/Versions: Delete file.
58858         * sysdeps/i386/elf/start.S: Moved to ...
58859         * sysdeps/i386/start.S: ...here.
58860         * sysdeps/i386/elf/configure.in: Merge into...
58861         * sysdeps/i386/configure.in: ...here.
58862         * sysdeps/i386/elf/configure.in: Delete file.
58863         * sysdeps/i386/elf/configure: Delete file.
58865         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
58866         * debug/backtracesyms.c: ... here.
58867         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
58868         * debug/backtracesymsfd.c: ... here.
58869         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
58870         * sysdeps/generic/ifunc-sel.h: ... here.
58872         * sysdeps/unix/i386/start.c: Delete file.
58873         * sysdeps/unix/sparc/start.c: Delete file.
58874         * sysdeps/unix/start.c: Delete file.
58876         * sysdeps/sh/elf/configure.in: Moved to ...
58877         * sysdeps/sh/configure.in: ... here.
58878         * sysdeps/sh/elf/start.S: Moved to ...
58879         * sysdeps/sh/start.S: ... here.
58880         * sysdeps/sh/elf/configure: Delete file.
58882         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
58883         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
58884         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
58885         * sysdeps/powerpc/powerpc64/entry.h: ... here.
58886         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
58887         * sysdeps/powerpc/powerpc64/start.S: here.
58888         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
58889         * sysdeps/powerpc/powerpc64/Makefile: ... this.
58890         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
58891         * sysdeps/powerpc/powerpc64/configure.in: ... this.
58892         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
58894         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
58895         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
58896         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
58897         * sysdeps/powerpc/powerpc32/start.S: ... here.
58898         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
58899         * sysdeps/powerpc/powerpc32/configure.in: ... this.
58900         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
58902         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
58903         * sysdeps/powerpc/ifunc-sel.h: ... here.
58904         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
58905         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
58907         * sysdeps/sparc/elf/configure.in: Moved to ...
58908         * sysdeps/sparc/configure.in: ... here.
58909         * sysdeps/sparc/elf/configure: Delete file.
58910         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
58911         * sysdeps/sparc/sparc32/start.S: ... here.
58912         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
58913         * sysdeps/sparc/sparc64/start.S: ... here.
58914         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
58915         * sysdeps/sparc/sparc32/Makefile: ... this.
58916         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
58917         * sysdeps/sparc/sparc64/Makefile: ... this.
58919         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
58920         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
58921         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
58922         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
58923         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
58924         * sysdeps/s390/s390-32/setjmp.S: ... here.
58925         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
58926         * sysdeps/s390/s390-32/configure.in: ... here.
58927         * sysdeps/s390/s390-32/elf/configure: Delete file.
58928         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
58929         * sysdeps/s390/s390-32/start.S: ... here.
58931         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
58932         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
58933         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
58934         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
58935         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
58936         * sysdeps/s390/s390-64/setjmp.S: ... here.
58937         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
58938         * sysdeps/s390/s390-64/configure.in: ... here
58939         * sysdeps/s390/s390-64/elf/configure: Delete file.
58940         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
58941         * sysdeps/s390/s390-64/start.S: ... here.
58942         * sysdeps/s390/s390-64/elf/configure: Delete.
58944         * configure.in: Remove support for elf directories in sysdeps.
58946         * configure: Regenerated.
58947         * sysdeps/i386/configure: Regenerated.
58948         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58949         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58950         * sysdeps/s390/s390-32/configure: Regenerated.
58951         * sysdeps/s390/s390-64/configure: Regenerated.
58952         * sysdeps/sh/configure: Regenerated.
58953         * sysdeps/sparc/configure: Regenerated.
58954         * sysdeps/x86_64/configure: Regenerated.
58956 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
58958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58960         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
58961         denormal result into account.
58963 2012-03-25  Roland McGrath  <roland@hack.frob.com>
58965         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
58966         Reported by Allan McRae <allan@archlinux.org>.
58968 2012-03-23  Jeff Law  <law@redhat.com>
58970         * nss/getnssent.c (__nss_getent): Fix typo.
58972 2012-03-23  David S. Miller  <davem@davemloft.net>
58974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58976 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
58978         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
58979         to pad to uint64_t for each field.
58980         (dl_tls_index): Replace unsigned long with uint64_t.
58982 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
58983         Paul Pluzhnikov  <ppluzhnikov@google.com>
58985         [BZ #6528]
58986         * grp/Makefile (otherlibs): Don't set it.
58987         * inet/Makefile (otherlibs): Likewise.
58988         * login/Makefile (otherlibs): Likewise.
58989         * nscd/Makefile (otherlibs): Likewise.
58990         * posix/Makefile (otherlibs): Likewise.
58991         * pwd/Makefile (otherlibs): Likewise.
58992         * rt/Makefile (otherlibs): Likewise.
58993         * sunrpc/Makefile (otherlibs): Likewise.
58994         * nss/Makefile (otherlibs): Likewise.
58995         Add libnss_files to routines and static-only-routines.
58996         ($(objpfx)getent): Remove rule.
58997         * resolv/Makefile: Add libnss_dns and libresolv to routines and
58998         static-only-routines.
59000 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59002         [BZ #13892]
59003         * math/s_cexp.c: Include <float.h>.
59004         (__cexp): Handle exp result overflowing not necessarily
59005         overflowing both real and imaginary parts of result.
59006         * math/s_cexpf.c: Likewise.
59007         * math/s_cexpl.c: Likewise.
59008         * math/libm-test.inc (cexp_test): Add more tests.
59009         * sysdeps/i386/fpu/libm-test-ulps: Update.
59010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59012 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59014         * include/link.h (ELFW): New macro.
59015         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
59016         Replace ELF64_R_TYPE with ELFW(R_TYPE).
59018 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59020         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
59021         with uint64_t.
59023 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59025         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
59026         declaration.
59027         (struct La_x32_retval): Likewise.
59029 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59031         * sysdeps/x86_64/preconfigure.in: New file.
59032         * sysdeps/x86_64/preconfigure: New generated file.
59034 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59036         [BZ #13824]
59037         * math/e_exp2l.c: Include <float.h>.
59038         (__ieee754_exp2l): Handle overflow and underflow cases
59039         separately.  Only pass fractional part of argument to
59040         __ieee754_expl.
59041         * math/libm-test.inc (exp2_test): Add more tests.
59043         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
59044         negating x to take absolute value.
59045         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
59046         Likewise.
59047         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59048         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
59049         Likewise.
59050         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
59051         computing low part if x was negated.
59052         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59054 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59056         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
59057         la_x32_gnu_pltexit.
59058         (pltexit): Cast int_retval to ptrdiff_t.
59059         * elf/tst-auditmod3b.c: Likewise.
59060         * elf/tst-auditmod4b.c: Likewise.
59061         * elf/tst-auditmod5b.c: Likewise.
59062         * elf/tst-auditmod6b.c: Likewise.
59063         * elf/tst-auditmod6c.c: Likewise.
59064         * elf/tst-auditmod7b.c: Likewise.
59066         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
59067         and x32_gnu_pltexit.
59069         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59070         __ELF_NATIVE_CLASS.
59071         (La_x32_regs): New macro.
59072         (La_x32_retval): Likewise.
59073         (la_x32_gnu_pltenter): New function prototype.
59074         (la_x32_gnu_pltexit): Likewise.
59076 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
59078         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
59079         exponent.
59081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59083         * configure.in (libc_cv_cc_nofma): Check for option to disable
59084         generation of FMA instructions.
59085         * configure: Regenerate.
59086         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59087         * sysdeps/ieee754/dbl-64/Makefile: New file.
59088         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
59089         Remove brandred-fma4.
59090         (CFLAGS-brandred-fma4.c): Remove.
59091         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
59092         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
59093         define.
59094         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
59095         define.
59097 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59099         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59100         LLONG_MAX != LONG_MAX.
59101         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59102         (_fitoa_word): Likewise.
59103         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
59104         LLONG_MAX != LONG_MAX.
59105         * stdio-common/_itowa.h: Include <_itoa.h>.
59106         (_itowa_word): Use _ITOA_WORD_TYPE on value.
59107         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
59108         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
59109         only if not defined.
59110         (_ITOA_WORD_TYPE): Likewise.
59111         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59112         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
59114 2012-03-21  David S. Miller  <davem@davemloft.net>
59116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59118 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59120         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
59121         of x86_64 when setting libc_cv_slibdir, libdir and
59122         libc_cv_localedir.
59123         * sysdeps/unix/sysv/linux/configure: Regenerated.
59125 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59127         * manual/lang.texi (Old Varargs): Remove section.
59128         (How Variadic): Update menu.
59129         (va_start): Do not mention varargs.h.
59131 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59132             Joseph Myers  <joseph@codesourcery.com>
59134         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
59135         link test.
59136         * configure: Regenerated.
59138 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59140         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
59141         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
59142         conformtest.pl
59144 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59146         * NOTES: Remove.
59147         * Makefile (files-for-dist): Remove NOTES.
59148         (NOTES): Remove rule.
59149         * README: Don't refer to NOTES.
59150         * manual/creature.texi: Don't include macros.texi.
59151         * manual/intro.texi (creature.texi): Remove comment referring to
59152         NOTES.
59154         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
59155         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
59156         * configure: Regenerated.
59157         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
59158         LIBC_TRY_CC_OPTION.
59159         (libc_cv_as_i686): Likewise.
59160         (libc_cv_cc_avx): Likewise.
59161         (libc_cv_cc_sse2avx): Likewise.
59162         (libc_cv_cc_fma4): Likewise.
59163         (libc_cv_cc_novzeroupper): Likewise.
59164         * sysdeps/i386/configure: Regenerated.
59166         [BZ #13883]
59167         * sysdeps/i386/fpu/s_cexp.S: Remove.
59168         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59169         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59170         * math/libm-test.inc (cexp_test): Add more tests.
59171         * sysdeps/i386/fpu/libm-test-ulps: Update.
59172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59174 2012-03-21  Allan McRae  <allan@archlinux.org>
59176         * timezone/Makefile: Do not install iso3166.tab and zone.tab
59178 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59180         [BZ #13871]
59181         * math/w_exp2.c: Do not include <float.h>.
59182         (o_threshold, u_threshold): Remove.
59183         (__exp2): Calculate result before checking finiteness and calling
59184         __kernel_standard.
59185         * math/w_exp2f.c: Likewise.
59186         * math/w_exp2l.c: Likewise.
59187         * math/libm-test.inc (exp2_test): Require overflow exception for
59188         1e6 input.
59190         [BZ #3866]
59191         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
59192         range of signed 64-bit integers before using fistpll.  Remove
59193         checks for whether integers fit in mantissa bits.
59194         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
59195         the range of signed 32-bit integers before using fistpl.  Remove
59196         checks for whether integers fit in mantissa bits.
59197         * sysdeps/i386/fpu/e_powl.S (p64): New object.
59198         (__ieee754_powl): Test for y outside the range of signed 64-bit
59199         integers before using fistpll.  Reduce 64-bit values to 63-bit
59200         ones as needed.
59201         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
59202         divide-by-zero is raised for zero to large negative powers.
59203         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
59204         (__ieee754_powl): Test for y outside the range of signed 64-bit
59205         integers before using fistpll.  Reduce 64-bit values to 63-bit
59206         ones as needed.
59207         * math/libm-test.inc (pow_test): Add more tests.
59209 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59211         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
59212         <stdio-common/_itoa.h>.
59213         * debug/segfault.c: Likewise.
59214         * elf/dl-cache.c: Likewise.
59215         * elf/dl-minimal.c: Likewise.
59216         * elf/dl-misc.c: Likewise.
59217         * elf/dl-sysdep.c: Likewise.
59218         * elf/dl-version.c: Likewise.
59219         * elf/rtld.c: Likewise.
59220         * hurd/hurdsock.c: Likewise.
59221         * hurd/lookup-retry.c: Likewise.
59222         * malloc/malloc.c: Likewise.
59223         * malloc/mtrace.c: Likewise.
59224         * nscd/nscd_getgr_r.c: Likewise.
59225         * nscd/nscd_getpw_r.c: Likewise.
59226         * nscd/nscd_getserv_r.c: Likewise.
59227         * posix/getopt_init.c: Likewise.
59228         * posix/wordexp.c: Likewise.
59229         * stdio-common/_itoa.c: Likewise.
59230         * stdio-common/printf_fphex.c: Likewise.
59231         * stdio-common/vfprintf.c: Likewise.
59232         * string/_strerror.c: Likewise.
59233         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
59234         * sysdeps/i386/i686/hp-timing.h: Likewise.
59235         * sysdeps/mach/_strerror.c: Likewise.
59236         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
59237         * sysdeps/mach/hurd/sethostid.c: Likewise.
59238         * sysdeps/mach/hurd/xmknodat.c: Likewise.
59239         * sysdeps/mach/xpg-strerror.c: Likewise.
59240         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59241         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59242         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
59243         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
59244         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59245         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
59246         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
59247         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
59248         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
59249         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
59250         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
59251         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59252         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
59253         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59254         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59255         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
59256         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
59257         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
59258         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
59259         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
59260         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
59262         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
59264         * stdio-common/_itoa.h: Moved to ...
59265         * sysdeps/generic/_itoa.h: Here.
59267         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
59269         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
59270         instead of "_itoa.h" and "_itowa.h".
59271         * stdio-common/vfprintf.: Likewise.
59273 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59275         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
59276         <bits/wordsize.h>.
59277         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
59278         (__signbit): Likwise.
59279         (llrintf): Likwise.
59280         (llrint): Likwise.
59282 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59284         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
59285         __WORDSIZE != 64.
59287 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
59289         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
59290         OVERFLOW_EXCEPTION_OK.
59291         * math/libm-test.inc ("Philosophy"): Update comment about
59292         exception testing.
59293         (OVERFLOW_EXCEPTION): Define.
59294         (OVERFLOW_EXCEPTION_OK): Likewise.
59295         (INVALID_EXCEPTION_OK): Renumber.
59296         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59297         (IGNORE_ZERO_INF_SIGN): Likewise.
59298         (test_exceptions): Handle FE_OVERFLOW.
59299         (exp10_test): Expect overflow exceptions.
59300         (exp2_test): Likewise.
59301         (expm1_test): Likewise.
59302         (nextafter_test): Likewise.
59303         (pow_test): Likewise.
59304         (scalbn_test): Likewise.
59305         (scalbln_test): Likewise.
59307 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59309         * sysdeps/x86_64/bits/atomic.h
59310         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
59311         64bit integer.
59312         (atomic_exchange_acq): Likewise.
59313         (__arch_exchange_and_add_body): Likewise.
59314         (__arch_add_body): Likewise.
59315         (atomic_add_negative): Likewise.
59316         (atomic_add_zero): Likewise.
59318 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59320         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
59321         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
59323 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59325         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
59326         Check __x86_64__ instead of __WORDSIZE.
59328 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59330         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
59332 2012-03-19  David S. Miller  <davem@davemloft.net>
59334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59336         * sysdeps/sparc/fpu/fenv_private.h: New file.
59337         * sysdeps/sparc/fpu/math_private.h: Use it.
59338         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
59339         Remove.
59340         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
59341         (libc_feholdexcept_setroundl): Remove.
59342         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
59343         Remove.
59344         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
59345         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
59347 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59349         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
59350         int64_t instead of long int.
59351         (INSERT_WORDS64): Likwise.
59353 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59355         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
59356         _Unwind_GetCFA return to _Unwind_Ptr first.
59358 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
59360         [BZ #13629]
59361         * math/s_clog.c: Include <float.h>.
59362         (__clog): Scale large or subnormal inputs.
59363         * math/s_clogf.c: Likewise.
59364         * math/s_clogl.c: Likewise.
59365         * math/s_clog10.c: Include <float.h>.
59366         (M_LOG10_2): Define.
59367         (__clog10): Scale large or subnormal inputs.
59368         * math/s_clog10f.c: Likewise.
59369         * math/s_clog10l.c: Likewise.
59370         * math/libm-test.inc (clog_test): Add more tests.
59371         (clog10_test): Likewise.
59372         * sysdeps/i386/fpu/libm-test-ulps: Update.
59373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59375         [BZ #11451]
59376         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
59377         x and y.
59378         * math/libm-test.inc (atan2_test): Add another test.
59380         * Makerules (common-objdir-compile): Remove.
59381         * sysdeps/unix/Makefile (config-generated): Do not add
59382         $(unix-generated) to variable.
59383         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
59384         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
59385         Remove rule.
59386         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
59387         Likewise.
59388         [generic bits/local_lim.h] (before-compile): Do not append to
59389         variable.
59390         [generic bits/local_lim.h] (common-generated): Likewise.
59391         [generic sys/param.h] (before-compile): Do not append to variable.
59392         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
59393         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
59394         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
59395         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
59396         include.
59397         [generic sys/param.h] (sys/param.h-includes): Remove variable.
59398         [generic sys/param.h] (sys/param.h-includes): Remove rule.
59399         [generic sys/param.h] ($(addprefix
59400         $(common-objpfx),$(sys/param.h-includes))): Likewise.
59401         [generic sys/param.h] (common-generated): Do not append to
59402         variable.
59403         [generic sys/param.h] (sysdep_headers): Likewise.
59404         [generic bits/errno.h] (before-compile): Do not append to
59405         variable.
59406         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
59407         rule.
59408         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
59409         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
59410         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
59411         [generic bits/errno.h] (common-generated): Do not append to
59412         variable.
59413         [generic bits/ioctls.h] (before-compile): Do not append to
59414         variable.
59415         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
59416         rule.
59417         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
59418         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
59419         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
59420         rule.
59421         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
59422         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
59423         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
59424         [generic bits/ioctls.h] (common-generated): Do not append to
59425         variable.
59426         [generic sys/syscall.h] (syscall.h): Remove variable.
59427         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
59428         rule.
59429         [generic sys/syscall.h] (before-compile): Do not append to
59430         variable.
59431         [generic sys/syscall.h] (common-generated): Likewise.
59432         * sysdeps/unix/errnos-tmpl.c: Remove file.
59433         * sysdeps/unix/errnos.awk: Likewise.
59434         * sysdeps/unix/ioctls-tmpl.c: Likewise.
59435         * sysdeps/unix/ioctls.awk: Likewise.
59436         * sysdeps/unix/mk-local_lim.c: Likewise.
59437         * sysdeps/unix/snarf-ioctls: Likewise.
59439 2012-03-19  Richard Henderson  <rth@twiddle.net>
59441         * sysdeps/i386/fpu/fenv_private.h: New file.
59442         * sysdeps/i386/fpu/math_private.h: Use it.
59443         (math_opt_barrier, math_force_eval): Remove.
59444         (libc_feholdexcept_setround_53bit): Remove.
59445         (libc_feupdateenv_53bit): Remove.
59446         * sysdeps/x86_64/fpu/math_private.h: Likewise.
59447         (math_opt_barrier, math_force_eval): Remove.
59448         (libc_feholdexcept): Remove.
59449         (libc_feholdexcept_setround): Remove.
59450         (libc_fetestexcept, libc_fesetenv): Remove.
59451         (libc_feupdateenv_test): Remove.
59452         (libc_feupdateenv, libc_feholdsetround): Remove.
59453         (libc_feresetround): Remove.
59455         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
59456         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
59458         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
59459         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
59460         (libc_feupdateenv_testl): New.
59461         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
59462         (libc_feupdateenv_testf): New.
59463         (libc_feupdateenv): Use libc_feupdateenv_test.
59464         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
59465         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
59467         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
59468         (libc_feholdsetroundf, libc_feholdsetroundl): New.
59469         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
59470         (libc_feresetround_noex): New.
59471         (libc_feresetround_noexf): New.
59472         (libc_feresetround_noexl): New.
59473         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
59474         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
59475         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
59476         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
59477         SET_RESTORE_ROUND.
59478         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
59479         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
59480         (__cos): Likewise.
59481         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
59482         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
59483         SET_RESTORE_ROUND_NOEX.
59484         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
59485         SET_RESTORE_ROUND_NOEXF.
59486         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
59487         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
59488         (libc_feholdsetroundf): New.
59489         (libc_feresetround, libc_feresetroundf): New.
59491         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
59492         (libc_feholdexcept_setround_53bit): Convert from macro to function.
59493         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
59495         * sysdeps/generic/math_private.h: Include <fenv.h>.
59496         (default_libc_feholdexcept): New.
59497         (default_libc_feholdexcept_setround): New.
59498         (default_libc_fesetenv, default_libc_feupdateenv): New.
59499         (libc_feholdexcept): Only define if undefined.
59500         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
59501         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
59502         (libc_feholdexcept_setroundl): Likewise.
59503         (libc_feholdexcept_setround_53bit): Likewise.
59504         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
59505         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
59506         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
59507         (libc_feupdateenv_53bit): Likewise.
59508         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
59509         (libc_feholdexcept): Convert from macro to inline function.
59510         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
59511         (libc_fesetenv, libc_feupdateenv): Likewise.
59513         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
59514         not previously defined.
59515         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
59516         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
59517         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
59518         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
59519         * sysdeps/ieee754/flt-32/math_private.h: New file.
59520         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
59521         math_private.h below SET_FLOAT_WORD.
59522         (__isnan, __isinf_ns, __finite): Remove.
59523         (__isnanf, __isinf_nsf, __finitef): Remove.
59525 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
59527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59529 2012-03-17  David S. Miller  <davem@davemloft.net>
59531         [BZ #6471]
59532         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
59533         for 2.16.
59535 2012-03-16  David S. Miller  <davem@davemloft.net>
59537         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
59538         warnings.
59540         [BZ #6471]
59541         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
59542         properly.
59543         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
59544         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
59545         sysdep_routines when subdir is sysvipc.
59546         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
59547         __getshmlba helper.
59549         * sysdeps/sparc/fpu/libm-test/ulps: Update.
59551 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59553         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
59554         [__LP64__].
59556 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59558         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
59559         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
59560         (__lround): Renamed to ...
59561         (__llround): This.  Replace long int with long long int.
59562         Define lround functions as aliases of llround functions.
59563         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
59565 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59567         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
59568         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
59569         adresses to uintptr_t.  Replace "long int" and "unsigned long
59570         int" with "greg_t" on va_arg.
59572 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59574         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
59575         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
59577         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
59578         Move e_machine check before EI_CLASS check.  Handle x32
59579         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
59580         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
59581         SKIP_EM_IA_64 and include
59582         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
59584         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
59585         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
59586         (add_system_dir): New macro.
59588         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
59589         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
59591 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
59593         [BZ #2551]
59594         [BZ #2552]
59595         [BZ #2553]
59596         [BZ #2554]
59597         [BZ #2562]
59598         [BZ #2563]
59599         [BZ #2565]
59600         [BZ #2566]
59601         [BZ #2576]
59602         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
59603         (y0): Likewise.
59604         * math/w_j0f.c (j0f): Likewise.
59605         (y0f): Likewise.
59606         * math/w_j0l.c (__j0l): Likewise.
59607         (__y0l): Likewise.
59608         * math/w_j1.c (j1): Likewise.
59609         (y1): Likewise.
59610         * math/w_j1f.c (j1f): Likewise.
59611         (y1f): Likewise.
59612         * math/w_j1l.c (__j1l): Likewise.
59613         (__y1l): Likewise.
59614         * math/w_jn.c (jn): Likewise.
59615         (yn): Likewise.
59616         * math/w_jnf.c (jnf): Likewise.
59617         (ynf): Likewise.
59618         * math/w_jnl.c (__jnl): Likewise.
59619         (__ynl): Likewise.
59620         * math/libm-test.inc (j0_test): Add more tests.
59621         (j1_test): Likewise.
59622         (jn_test): Likewise.  Add trailing semicolon to existing test.
59623         (y0_test): Likewise.
59624         (y1_test): Likewise.
59625         * sysdeps/i386/fpu/libm-test-ulps: Update.
59626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59628         [BZ #13851]
59629         [BZ #13854]
59630         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
59631         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
59632         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
59633         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
59634         (__tanl): Set errno for infinite argument.
59635         * sysdeps/i386/fpu/mptan.c: Remove.
59636         * sysdeps/i386/fpu/s_tan.S: Likewise.
59637         * sysdeps/i386/fpu/s_tanl.S: Likewise.
59638         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
59639         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
59640         * math/libm-test.inc (tan_test): Add more tests and enable more
59641         tests for double and long double.
59642         * sysdeps/i386/fpu/libm-test-ulps: Update.
59643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59645 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
59647         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
59648         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
59650 2012-03-16  Roland McGrath  <roland@hack.frob.com>
59652         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
59653         * configure.in: Use it for both main tree and add-ons.
59654         * configure: Regenerated.
59656 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59658         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
59660 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
59662         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
59663         in comment.
59665         [BZ #13851]
59666         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
59667         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
59668         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
59669         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
59670         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
59671         infinite argument.
59672         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
59673         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
59674         != 0 for prec == 2.
59675         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
59676         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
59677         * sysdeps/i386/fpu/s_cosl.S: Likewise.
59678         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
59679         * sysdeps/i386/fpu/s_sinl.S: Likewise.
59680         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
59681         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
59682         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
59683         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
59684         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
59685         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
59686         * math/libm-test.inc (cos_test): Add more tests and enable more
59687         tests for long double.
59688         (sin_test): Likewise.
59689         (sincos_test): Likewise.
59690         * sysdeps/i386/fpu/libm-test-ulps: Update.
59691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59693 2012-03-16  David S. Miller  <davem@davemloft.net>
59695         * sysdeps/sparc/fpu/math_private.h: New file.
59697 2012-03-15  David S. Miller  <davem@davemloft.net>
59699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
59700         file.
59701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
59702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
59703         file.
59704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
59705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
59706         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
59707         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
59708         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
59709         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
59710         sysdep routines.
59711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59713         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
59714         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
59716         * sysdeps/sparc/sparc-ifunc.h: New file.
59717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
59718         sparc-ifunc.h
59719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
59721         Likewise.
59722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
59723         Likewise.
59724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
59725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
59726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59728         Likewise.
59729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
59731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
59733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
59734         Likewise.
59735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
59736         Likewise.
59737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
59739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
59740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
59741         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59743         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
59744         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
59745         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
59748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
59749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
59750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
59751         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
59752         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
59753         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
59754         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
59755         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
59756         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
59757         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
59758         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
59759         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
59760         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
59762 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59764         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
59765         scaling.
59766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59768 2012-03-15  Andreas Jaeger  <aj@suse.de>
59770         [BZ #13852]
59771         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
59772         ieee754/flt-32 implementation for sin, cos and sincos.
59773         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
59774         * sysdeps/i386/fpu/s_cosf.S: Likewise.
59775         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
59776         * sysdeps/i386/fpu/s_sinf.S: Likewise.
59777         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
59778         ieee754/flt-32 implementation for tan.
59780         * math/libm-test.inc (cos_test): Enable some large input tests for
59781         float as well
59782         (sin_test): Likewise.
59783         (sincos_test): Likewise.
59784         (tan_test): Add tests for large input.
59786         * sysdeps/i386/fpu/libm-test-ulps: Update.
59788 2012-03-15  Andreas Jaeger  <aj@suse.de>
59790         [BZ #13658]
59791         * math/libm-test.inc (cos_test): Add more test cases.
59792         (sin_test): Likewise.
59793         (sincos_test): Likewise.
59795 2012-03-15  Andreas Jaeger  <aj@suse.de>
59797         [BZ #13837]
59798         * math/libm-test.inc (cos_test): Add a test case for large input
59799         value.
59800         (sin_test): Likewise.
59801         (sincos_test): Likewise.
59803 2012-03-15  Andreas Jaeger  <aj@suse.de>
59804             Joseph Myers  <joseph@codesourcery.com>
59806         [BZ #13658]
59807         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
59808         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
59809         * sysdeps/i386/fpu/branred.c: Likewise.
59810         * sysdeps/i386/fpu/dosincos.c: Likewise.
59811         * sysdeps/i386/fpu/mpa.c: Likewise.
59812         * sysdeps/i386/fpu/s_cos.S: Likewise.
59813         * sysdeps/i386/fpu/s_sin.S: Likewise.
59814         * sysdeps/i386/fpu/s_sincos.S: Likewise.
59815         * sysdeps/i386/fpu/sincos32.c: Likewise.
59817         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
59818         Define.
59819         (libc_feupdateenv_53bit): Define.
59820         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
59821         Define.
59822         (libc_feupdateenv_53bit): Define.
59824         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
59825         53 bit (without extend i386 double precision).
59827         * math/libm-test.inc (sincos_test): Add tests for large input.
59828         (sin): Likewise.
59829         (cos): Likewise.
59831         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
59833 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59837 2012-03-15  David S. Miller  <davem@davemloft.net>
59839         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
59840         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
59841         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
59842         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
59843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
59844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
59845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
59846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
59847         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
59848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
59849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
59850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
59851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
59852         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
59853         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
59854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
59855         file.
59856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
59857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
59858         file.
59859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
59860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
59861         file.
59862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
59863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
59864         file.
59865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
59866         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
59867         fmin/fmax sysdep routines.
59868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59870 2012-03-14  David S. Miller  <davem@davemloft.net>
59872         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
59873         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
59874         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
59875         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
59876         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
59877         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
59878         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
59879         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
59880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
59881         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
59882         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
59883         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
59884         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
59885         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
59886         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
59887         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
59888         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
59889         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
59890         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
59891         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
59892         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
59893         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
59894         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
59895         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
59896         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
59897         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
59898         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
59899         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
59900         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
59901         routines.
59902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
59903         file.
59904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
59905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
59906         file.
59907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
59908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
59909         file.
59910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
59911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
59912         file.
59913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
59914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
59915         file.
59916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
59917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
59918         file.
59919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
59920         file.
59921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
59922         file.
59923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
59924         file.
59925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
59926         New file.
59927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
59928         file.
59929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
59930         file.
59931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
59932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
59933         file.
59934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
59935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
59936         file.
59937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
59938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
59939         file.
59940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
59941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
59942         VIS3 routines.
59944         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59945         New file.
59947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59949         * sysdeps/sparc/configure.in: New file.
59950         * sysdeps/sparc/configure: Generate.
59951         * configure.in (libc_cv_sparc_as_vis3): Substitute.
59952         * configure: Regenerate.
59953         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
59954         * config.make.in (have-as-vis3): New.
59955         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
59956         available use -Av9d instead of -Av9a.
59957         * sysdeps/sparc/sparc64/Makefile: Likewise.
59958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
59959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
59960         New file.
59961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
59962         file.
59963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
59964         New file.
59965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
59966         file.
59967         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
59968         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
59969         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
59970         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
59971         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
59973         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
59974         fzeros/fnegs to load 0x80000000 into a float register instead of
59975         using the stack.
59976         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
59978 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59980         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59981         bits/syscall.h.
59982         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
59983         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
59984         ($(inst_includedir)/bits/syscall.h): Remove rule.
59985         ($(objpfx)bits/syscall.d): Include instead of
59986         $(objpfx)syscall-list.d.
59987         (generated): Change syscall-list.h and syscall-list.d to
59988         bits/syscall.h and bits/syscall.d.
59990 2012-03-14  Roland McGrath  <roland@hack.frob.com>
59992         [BZ #13846]
59993         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
59995 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59997         [BZ #13841]
59998         * math/s_csqrt.c: Include <float.h>.
59999         (__csqrt): Scale large or subnormal inputs.
60000         * math/s_csqrtf.c: Likewise.
60001         * math/s_csqrtl.c: Likewise.
60002         * math/libm-test.inc (csqrt_test): Add more tests.
60003         * sysdeps/i386/fpu/libm-test-ulps: Update.
60004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60006         [BZ #13840]
60007         * math/libm-test.inc (hypot_test): Add more tests.
60009 2012-03-13  David S. Miller  <davem@davemloft.net>
60011         [BZ #13840]
60012         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
60013         double-precision for the calculation instead of scaling.
60015 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
60017         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
60018         manipulate bits before adding and subtracting TWO52[sx].
60019         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
60020         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
60021         Likewise.
60022         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
60024 2012-03-13  David S. Miller  <davem@davemloft.net>
60026         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
60027         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
60028         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
60029         rtld-global-offsets.h
60030         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60032         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
60033         large parameters.
60035         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
60037         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
60038         'err' in the ifdef scope in which it is actually used.
60040         * nss/nss_db/db-init.c: Include string.h
60042 2012-03-12  David S. Miller  <davem@davemloft.net>
60044         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60045         masking out of the most significant byte of random value used.
60046         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60047         Fix coding style in previous change.
60049         * sysdeps/unix/sysv/linux/kernel-features.h
60050         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
60051         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
60052         expression.
60053         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
60054         later.
60056 2012-03-11  David S. Miller  <davem@davemloft.net>
60058         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60059         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
60060         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
60061         for 'resultvar' otherwise things get truncated on 64-bit.
60063         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60064         Fix masking out of the most significant byte of random value used.
60066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60068 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
60070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60072 2012-03-09  David S. Miller  <davem@davemloft.net>
60074         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
60075         variables with appropriate CPP guards.
60076         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
60077         from the frame pointer, not the stack pointer.  Correct layout
60078         comments.  Fix test on resulting framesize and the management of
60079         the outregs buffer for pltexit.  Preserve floating point return
60080         values across _dl_call_pltexit call.
60081         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
60082         framesize and the management of the outregs buffer for pltexit.
60083         Preserve floating point return values across _dl_call_pltexit
60084         call.
60085         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
60086         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
60087         (la_sparc64_gnu_pltexit): New functions.
60088         (print_exit): Fix format string for return register value.
60090 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
60092         * sunrpc/Makefile (others): Add rpcgen.
60093         ($(objpfx)rpcgen): Remove special build rule and dependency on
60094         libc.
60095         * sunrpc/rpcgen.c: New file.
60097 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
60099         [BZ #13673]
60100         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
60101         * stdio-common/bug-vfprintf-nargs.c: Likewise.
60102         * sysdeps/i386/crti.S: Likewise.
60103         * sysdeps/i386/crtn.S: Likewise.
60104         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
60105         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
60106         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
60107         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
60108         * sysdeps/sh/crti.S: Likewise.
60109         * sysdeps/sh/crtn.S: Likewise.
60110         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60112         [BZ #13673]
60113         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
60114         with URL.
60115         * locale/programs/locfile-kw.gperf: Likewise.
60116         * locale/programs/charmap-kw.h: Regenerated.
60117         * locale/programs/locfile-kw.h: Likewise.
60119         [BZ #13673]
60120         * intl/plural.y: Replace FSF snail mail address with URL.
60121         * intl/plural.c: Regenerated.
60123 2012-03-09  Richard Henderson  <rth@twiddle.net>
60125         * include/math_private.h: Remove file.
60126         * math/math_private.h: Move file ...
60127         * sysdeps/generic/math_private.h: ... here.
60129         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
60130         * sysdeps/powerpc/fpu/math_private.h: Likewise.
60131         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60133         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
60134         and <math_private.h>.
60135         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60136         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60137         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60138         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60139         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60140         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
60141         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60142         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60143         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60144         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60145         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60146         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60147         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60148         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60149         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60150         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60151         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60152         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60153         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60154         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60155         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60156         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60157         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60158         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60159         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60160         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60161         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60162         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60163         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60164         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60165         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60166         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60167         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60168         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60169         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60170         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60171         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60172         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60173         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60174         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60175         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
60176         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60177         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60178         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60179         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60180         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60181         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
60182         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60183         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60184         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60185         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60186         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
60187         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60188         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60189         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60190         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60191         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60192         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60193         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60194         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
60195         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60196         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60197         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60198         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60199         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
60200         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60201         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60202         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60203         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
60204         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
60205         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60206         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60207         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60208         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60209         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
60210         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
60211         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
60212         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60213         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
60214         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
60215         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60216         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
60217         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60218         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60219         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60220         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
60221         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
60222         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
60223         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60224         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60225         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60226         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60227         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60228         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60229         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60230         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60231         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60232         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60233         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60234         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60235         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60236         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60237         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60238         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60239         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60240         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60241         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60242         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60243         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60244         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60245         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60246         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60247         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60248         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60249         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
60250         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60251         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60252         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60253         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60254         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60255         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60256         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60257         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60258         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
60259         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60260         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60261         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60262         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
60263         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60264         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
60265         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
60266         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60267         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60268         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
60269         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
60270         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
60271         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60272         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
60273         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
60274         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60275         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60276         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
60277         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
60278         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
60279         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
60280         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
60281         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
60282         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
60283         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
60284         * sysdeps/ieee754/k_standard.c: Likewise.
60285         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60286         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60287         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60288         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60289         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60290         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60291         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60292         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60293         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60294         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60295         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60296         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60297         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60298         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60299         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60300         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60301         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60302         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60303         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60304         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
60305         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
60306         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
60307         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60308         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
60309         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60310         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
60311         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
60312         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
60313         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
60314         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60315         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60316         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
60317         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
60318         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
60319         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60320         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
60321         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
60322         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
60323         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
60324         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
60325         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60326         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60327         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60328         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
60329         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60330         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60331         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
60332         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
60333         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
60334         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60335         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60336         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60337         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
60338         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
60339         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60340         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60341         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
60342         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
60343         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
60344         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
60345         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60346         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
60347         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
60348         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60349         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60350         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60351         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60352         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60353         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60354         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60355         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60356         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60357         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60358         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60359         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60360         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60361         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
60362         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60363         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60364         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60365         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60366         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60367         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
60368         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
60369         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
60370         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
60371         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
60372         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
60373         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60374         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
60375         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
60376         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
60377         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
60378         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
60379         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
60380         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
60381         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
60382         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
60383         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
60384         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
60385         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
60386         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
60387         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60388         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
60389         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
60390         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60391         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60392         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
60393         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
60394         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
60395         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
60396         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
60397         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60398         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60399         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60400         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60401         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60402         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60403         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60404         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60405         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60406         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60407         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60408         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60409         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60410         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
60411         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60412         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
60413         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
60414         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60415         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60416         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60417         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60418         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60419         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
60420         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
60421         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
60422         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60423         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60424         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
60425         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
60426         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60427         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
60428         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
60429         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
60430         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60431         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60432         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
60433         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
60434         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
60435         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60436         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60437         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
60438         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60439         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
60440         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
60441         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
60442         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
60443         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
60444         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60445         * sysdeps/ieee754/s_lib_version.c: Likewise.
60446         * sysdeps/ieee754/s_matherr.c: Likewise.
60447         * sysdeps/ieee754/s_signgam.c: Likewise.
60448         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60449         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60450         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
60451         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
60452         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
60453         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60454         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
60455         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
60456         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
60457         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
60458         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60459         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
60460         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
60461         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
60462         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
60463         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60464         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60465         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60466         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60467         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60468         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60470 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
60472         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
60473         * sunrpc/rpc_main.c: Likewise.
60474         * sunrpc/rpc_svcout.c: Likewise.
60476 2012-03-09  David S. Miller  <davem@davemloft.net>
60478         * include/math_private.h: New file.
60480 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
60482         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
60483         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
60484         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
60485         from <bits/socket_type.h>.
60486         (enum __socket_type): Don't define here.
60487         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
60488         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60489         bits/socket_type.h.
60491         [BZ #13566]
60492         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
60493         checking __USE_GNU.
60495         * Makerules ($(inst_includedir)/%.h): New rule.
60496         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
60497         (install-others): Remove variable setting.
60498         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
60500 2012-03-08  Richard Henderson  <rth@twiddle.net>
60502         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
60503         from macro to inline function; merge with the
60504         !__LIBC_INTERNAL_MATH_INLINES version.
60505         (__ieee754_sqrtf): Likewise.
60507         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
60508         to inline function.
60509         (__rintf, __floor, __floorf): Likewise.
60511         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
60512         macro to inline function.
60513         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
60515         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
60516         not <math/math_private.h>.
60518 2012-03-08  David S. Miller  <davem@davemloft.net>
60520         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
60521         copyright year.
60522         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
60524 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
60526         * resolv/gai_misc.c (handle_requests): Fix struct timespec
60527         normalization.
60528         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
60529         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
60531 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
60533         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
60534         be defined individually, they must be defined as a block.  Define
60535         S for printing a string instead of hidint the different by using a
60536         macro for adding the 'l'.
60537         * stdio-common/tst-fphex-wide.c: Adjust.
60539 2012-03-07  Marek Polacek  <polacek@redhat.com>
60541         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
60543 2012-03-08  Marek Polacek  <polacek@redhat.com>
60545         [BZ #13806]
60546         * stdio-common/Makefile (tests): Add tst-fphex-wide.
60547         * stdio-common/tst-fphex.c: Define a few macros to make the
60548         test reusable.  Use them.
60549         * stdio-common/tst-fphex-wide.c: New file.
60551 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
60553         [BZ #6911]
60554         * manual/macros.texi (gnusystems): New macro.
60555         (nongnusystems): Likewise.
60556         (gnulinuxhurdsystems): Likewise.
60557         (gnuhurdsystems): Likewise..
60558         (gnulinuxsystems): Likewise.
60559         * manual/charset.texi: Use new macros or @theglibc{} to refer to
60560         variants of the GNU system, not "GNU system".
60561         * manual/conf.texi: Likewise.
60562         * manual/errno.texi: Likewise.  Update example of errno macro
60563         expansion.
60564         * manual/filesys.texi: Likewise.
60565         (getumask): Document as specific to GNU/Hurd.
60566         * manual/install.texi: Likewise.  Reword some references to
60567         GNU/Linux.
60568         * manual/intro.texi: Likewise.
60569         * manual/io.texi: Likewise.
60570         (File Name Portability): Detail which constraints are inapplicable
60571         to all GNU systems and which are only inapplicable to GNU/Hurd.
60572         * manual/job.texi: Likewise.
60573         * manual/llio.texi: Likewise.
60574         (O_NOCTTY): Document as present on GNU/Linux.
60575         * manual/maint.texi: Likewise.
60576         * manual/memory.texi: Likewise.
60577         * manual/pattern.texi: Likewise.
60578         * manual/pipe.texi: Likewise.
60579         * manual/process.texi: Likewise.
60580         * manual/resource.texi: Likewise.
60581         (RUSAGE_CHILDREN): Remove statement about specifying a particular
60582         child on GNU/Hurd.
60583         * manual/setjmp.texi: Likewise.
60584         * manual/signal.texi: Likewise.
60585         * manual/startup.texi: Likewise.
60586         * manual/stdio.texi: Likewise.
60587         * manual/terminal.texi: Likewise.
60588         (ONLCR): Document as POSIX.
60589         (OXTABS): Document availability on GNU/Linux as XTABS.
60590         (ONOEOT): Document availability separately from other bits.
60591         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
60592         * manual/time.texi: Likewise.
60593         * manual/users.texi: Likewise.
60594         * INSTALL: Regenerated.
60595         * sysdeps/gnu/errlist.c: Regenerated.
60597         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
60598         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
60599         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
60600         puts.
60601         * configure: Regenerated.
60603 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
60605         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
60606         default includes instead of AC_HEADER_CHECK.
60607         * sysdeps/i386/configure: Regenerated.
60609         [BZ #10716]
60610         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
60611         * math/s_cacoshf.c (__cacoshf): Likewise.
60612         * math/s_cacoshl.c (__cacoshl): Likewise.
60613         * math/s_casinh.c (__casinh): Set signs of result from argument.
60614         * math/s_casinhf.c (__casinhf): Likewise.
60615         * math/s_casinhl.c (__casinhl): Likewise.
60616         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
60617         (casinh_test): Add more tests.
60618         * sysdeps/i386/fpu/libm-test-ulps: Update.
60619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60621 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
60623         * po/zh_TW.po: Update from translation team.
60625         * login/Makefile (distribute): Remove variable.
60626         * catgets/Makefile: Likewise.
60627         * mach/Makefile: Likewise.
60628         * malloc/Makefile: Likewise.
60629         * misc/Makefile: Likewise.
60630         * iconv/Makefile: Likewise.
60631         * nscd/Makefile: Likewise.
60632         * hurd/Makefile: Likewise.
60633         * manual/Makefile: Likewise.
60634         * locale/Makefile: Likewise.
60635         * intl/Makefile: Likewise.
60636         * conform/Makefile: Likewise.
60637         * nss/Makefile: Likewise.
60638         * time/Makefile: Likewise.
60639         * soft-fp/Makefile: Likewise.
60640         * dirent/Makefile: Likewise.
60641         * gmon/Makefile: Likewise.
60642         * po/Makefile: Likewise.
60643         * rt/Makefile: Likewise.
60644         * socket/Makefile: Likewise.
60645         * math/Makefile: Likewise.
60646         * signal/Makefile: Likewise.
60647         * debug/Makefile: Likewise.
60648         * elf/Makefile: Likewise.
60649         * timezone/Makefile: Likewise.
60650         * stdlib/Makefile: Likewise.
60651         * iconvdata/Makefile: Likewise.
60652         * sunrpc/Makefile: Likewise.
60653         * io/Makefile: Likewise.
60654         * argp/Makefile: Likewise.
60655         * inet/Makefile: Likewise.
60656         * hesiod/Makefile: Likewise.
60657         * grp/Makefile: Likewise.
60658         * csu/Makefile: Likewise.
60659         * wctype/Makefile: Likewise.
60660         * crypt/Makefile: Likewise.
60661         * libio/Makefile: Likewise.
60662         * string/Makefile: Likewise.
60663         * nis/Makefile: Likewise.
60664         * resolv/Makefile: Likewise.
60665         * stdio-common/Makefile: Likewise.
60666         * wcsmbs/Makefile: Likewise.
60667         * dlfcn/Makefile: Likewise.
60668         * posix/Makefile: Likewise.
60670         [BZ #6959]
60671         * timezone/Makefile: Don't install timezone files, just the programs
60672         and scripts.
60674 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
60676         * nss/databases.def: Add missing gshadow entry.
60678         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
60680 2012-03-06  Marek Polacek  <polacek@redhat.com>
60682         [BZ #13726]
60683         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
60684         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60685         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
60686         * stdio-common/tst-long-dbl-fphex.c: New file.
60688 2012-03-06  David S. Miller  <davem@davemloft.net>
60690         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60691         (set_obp_int): New function.
60692         (get_obp_int): New function.
60693         (__get_clockfreq_via_dev_openprom): Likewise.
60694         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
60695         Avoid unused variable warnings on 'val' and use builtin_expect.
60696         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
60697         __builtin_expect.
60698         (INLINE_CLONE_SYSCALL): Likewise.
60700 2012-03-05  David S. Miller  <davem@davemloft.net>
60702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60704 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
60706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60708         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
60709         only for |x| >= 40.
60710         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60712 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
60714         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
60715         Replace gettimeofday with __vdso_gettimeofday.
60717         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60718         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
60719         __vdso_clock_gettime and __vdso_getcpu.
60721         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
60722         time with __vdso_time.
60724 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60726         * manual/lang.texi (size_t): Note types to which size_t may be
60727         equivalent with the GNU C Library, but do not describe when
60728         differences between them are significant.
60730 2012-03-05  Andreas Jaeger  <aj@suse.de>
60732         * sysdeps/i386/fpu/libm-test-ulps: Update.
60734 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60736         [BZ #3976]
60737         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
60738         (__ieee754_pow): Save and restore rounding mode and use
60739         round-to-nearest for main computations.
60740         * math/libm-test.inc (pow_test_tonearest): New function.
60741         (pow_test_towardzero): Likewise.
60742         (pow_test_downward): Likewise.
60743         (pow_test_upward): Likewise.
60744         (main): Call the new functions.
60745         * sysdeps/i386/fpu/libm-test-ulps: Update.
60746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60748         [BZ #3976]
60749         * math/libm-test.inc (cosh_test_tonearest): New function.
60750         (cosh_test_towardzero): Likewise.
60751         (cosh_test_downward): Likewise.
60752         (cosh_test_upward): Likewise.
60753         (sinh_test_tonearest): Likewise.
60754         (sinh_test_towardzero): Likewise.
60755         (sinh_test_downward): Likewise.
60756         (sinh_test_upward): Likewise.
60757         (main): Call the new functions.
60758         * sysdeps/i386/fpu/libm-test-ulps: Update.
60759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60761 2012-03-05  Tom de Vries  <tom@codesourcery.com>
60763         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
60764         default stack guard is set in last bytes.
60765         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
60767 2012-03-05  Kees Cook  <keescook@chromium.org>
60769         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
60771         [BZ #13656]
60772         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
60773         possibly allocate from heap instead of stack.
60774         * stdio-common/bug-vfprintf-nargs.c: New file.
60775         * stdio-common/Makefile (tests): Add nargs overflow test.
60777 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
60779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60781 2012-03-03  Marek Polacek  <polacek@redhat.com>
60783         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
60784         * math/math_private.h: Likewise.
60785         * stdlib/tst-strtod.c: Likewise.
60786         * sysdeps/i386/i486/bits/atomic.h: Likewise.
60787         * sysdeps/x86_64/bits/atomic.h: Likewise.
60789 2012-03-02  David S. Miller  <davem@davemloft.net>
60791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
60792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
60793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
60794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
60795         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
60796         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
60797         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
60798         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
60800 2012-03-02  Roland McGrath  <roland@hack.frob.com>
60802         [BZ #13792]
60803         * manual/examples/README: New file, says the example source files
60804         can be used under GPL>=2.
60805         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
60806         line containing just "*/".
60807         * manual/examples/add.c: Add copyright header (GPL>=2).
60808         * manual/examples/argp-ex1.c: Likewise.
60809         * manual/examples/argp-ex2.c: Likewise.
60810         * manual/examples/argp-ex3.c: Likewise.
60811         * manual/examples/argp-ex4.c: Likewise.
60812         * manual/examples/atexit.c: Likewise.
60813         * manual/examples/db.c: Likewise.
60814         * manual/examples/dir.c: Likewise.
60815         * manual/examples/dir2.c: Likewise.
60816         * manual/examples/execinfo.c: Likewise.
60817         * manual/examples/filecli.c: Likewise.
60818         * manual/examples/filesrv.c: Likewise.
60819         * manual/examples/fmtmsgexpl.c: Likewise.
60820         * manual/examples/genpass.c: Likewise.
60821         * manual/examples/inetcli.c: Likewise.
60822         * manual/examples/inetsrv.c: Likewise.
60823         * manual/examples/isockad.c: Likewise.
60824         * manual/examples/longopt.c: Likewise.
60825         * manual/examples/memopen.c: Likewise.
60826         * manual/examples/memstrm.c: Likewise.
60827         * manual/examples/mkfsock.c: Likewise.
60828         * manual/examples/mkisock.c: Likewise.
60829         * manual/examples/mygetpass.c: Likewise.
60830         * manual/examples/pipe.c: Likewise.
60831         * manual/examples/popen.c: Likewise.
60832         * manual/examples/rprintf.c: Likewise.
60833         * manual/examples/search.c: Likewise.
60834         * manual/examples/select.c: Likewise.
60835         * manual/examples/setjmp.c: Likewise.
60836         * manual/examples/sigh1.c: Likewise.
60837         * manual/examples/sigusr.c: Likewise.
60838         * manual/examples/stpcpy.c: Likewise.
60839         * manual/examples/strdupa.c: Likewise.
60840         * manual/examples/strftim.c: Likewise.
60841         * manual/examples/strncat.c: Likewise.
60842         * manual/examples/subopt.c: Likewise.
60843         * manual/examples/swapcontext.c: Likewise.
60844         * manual/examples/termios.c: Likewise.
60845         * manual/examples/testopt.c: Likewise.
60846         * manual/examples/testpass.c: Likewise.
60847         * manual/examples/timeval_subtract.c: Likewise.
60849         [BZ #13792]
60850         * manual/time.texi (Elapsed Time): Move timeval_subtract example
60851         function to ...
60852         * manual/timeval_subtract.c.texi: ... here, new file.
60854 2012-03-02  David S. Miller  <davem@davemloft.net>
60856         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
60858 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
60860         [BZ #3976]
60861         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
60862         (__sin): Save and restore rounding mode and use round-to-nearest
60863         for all computations.
60864         (__cos): Save and restore rounding mode and use round-to-nearest
60865         for all computations.
60866         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
60867         <fenv.h>.
60868         (tan): Save and restore rounding mode and use round-to-nearest for
60869         all computations.
60870         * math/libm-test.inc (cos_test_tonearest): New function.
60871         (cos_test_towardzero): Likewise.
60872         (cos_test_downward): Likewise.
60873         (cos_test_upward): Likewise.
60874         (sin_test_tonearest): Likewise.
60875         (sin_test_towardzero): Likewise.
60876         (sin_test_downward): Likewise.
60877         (sin_test_upward): Likewise.
60878         (tan_test_tonearest): Likewise.
60879         (tan_test_towardzero): Likewise.
60880         (tan_test_downward): Likewise.
60881         (tan_test_upward): Likewise.
60882         (main): Call the new functions.
60883         * sysdeps/i386/fpu/libm-test-ulps: Update.
60884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60886         [BZ #10135]
60887         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
60888         small n, then large n, before computing and testing k+n.
60889         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
60890         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
60891         Likewise.
60892         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
60893         Likewise.
60894         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
60895         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
60896         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
60897         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
60898         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60899         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60900         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
60901         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
60902         * math/libm-test.inc (scalbn_test): Add more tests.
60903         (scalbln_test): Likewise.
60905         * manual/filesys.texi (mode_t): Describe constraints on size and
60906         signedness, not exact equivalence to a particular type.
60907         (ino_t): Likewise.
60908         (ino64_t): Likewise.
60909         (dev_t): Likewise.
60910         (nlink_t): Likewise.
60911         (blkcnt_t): Likewise.
60912         (blkcnt64_t): Likewise.
60913         * manual/llio.texi (off_t): Likewise.
60915         [BZ #3976]
60916         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
60917         (__ieee754_exp): Save and restore rounding mode and use
60918         round-to-nearest for all computations.
60919         * math/libm-test.inc (exp_test_tonearest): New function.
60920         (exp_test_towardzero): Likewise.
60921         (exp_test_downward): Likewise.
60922         (exp_test_upward): Likewise.
60923         (main): Call the new functions.
60924         * sysdeps/i386/fpu/libm-test-ulps: Update.
60925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60927 2012-03-01  Chris Demetriou  <cgd@google.com>
60929         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
60930         have predictable order.
60932 2012-03-01  David S. Miller  <davem@davemloft.net>
60934         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
60936         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
60937         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
60938         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
60939         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
60941         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
60942         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
60943         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
60944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
60945         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
60946         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
60947         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
60948         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
60949         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
60951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60953         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
60954         * sysdeps/sparc/fpu/libm-test-ulps: to here.
60955         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
60957         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
60958         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60959         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60960         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
60961         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
60962         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
60963         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
60964         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60965         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60966         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
60967         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
60968         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60969         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60970         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60971         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60972         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60973         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
60974         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
60975         * sysdeps/sparc/elf/configure: Regenerated.
60977 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
60979         * configure.in (AS, LD): Require binutils 2.20 or later.
60980         * configure: Regenerated.
60981         * manual/install.texi (Tools for Compilation): Give binutils 2.20
60982         as required minimum version.
60983         * INSTALL: Regenerated.
60985         [BZ #2541]
60986         [BZ #4108]
60987         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
60988         before squaring exponent.
60989         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
60990         bottom long double and 27 bits of top long double before squaring
60991         exponent.
60992         * math/libm-test.inc (erfc_test): Add more tests.
60993         * sysdeps/i386/fpu/libm-test-ulps: Update.
60994         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60997 2012-03-01  Kai Tietz  <ktietz@redhat.com>
60999         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
61000         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
61001         containing bit-fields.
61002         * soft-fp/extended.h (_FP_UNION_E): Likewise.
61003         * soft-fp/single.h (_FP_UNION_S): Likewise.
61004         * soft-fp/double.h (_FP_UNION_D): Likewise.
61006 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61008         [BZ #13786]
61009         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
61010         not include ../strcmp.S.
61011         [USE_AS_STRNCASECMP_L]: Likewise.
61012         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
61013         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
61014         * sysdeps/i386/i686/multiarch/strncase_l-c.c
61015         (__strncasecmp_l_ia32): Define as alias to
61016         __strncasecmp_l_nonascii.
61018         [BZ #5794]
61019         * math/libm-test.inc (expm1_test): Add test for bug 5794.
61020         * sysdeps/i386/fpu/libm-test-ulps: Update.
61021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61023         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
61024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61026 2012-02-29  Jeff Law  <law@redhat.com>
61028         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
61029         out of bounds read.
61031 2012-02-29  Marek Polacek  <polacek@redhat.com>
61033         [BZ #13706]
61034         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
61035         * elf/Makefile: Add rules to run tst-unused-dep.out.
61037 2012-02-28  David S. Miller  <davem@davemloft.net>
61039         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
61040         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
61041         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
61042         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
61043         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
61044         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
61046 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61048         * math/libm-test.inc (llround_test): Move one test from
61049         lround_test.  Use TEST_f_L in moved test.
61050         (lround_test): Move misplaced test to llround_test.  Add testcase
61051         from bug 2561.
61053 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
61055         * sysdeps/x86_64/fpu/e_expf.S: New file.
61056         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
61058 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
61060         [BZ #13637]
61061         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
61062         of remain_len that may cause incomplete multi-byte character and
61063         false match.
61064         * posix/bug-regex33.c: New file.
61065         * posix/Makefile (tests): Add bug-regex33.
61067 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
61069         * manual/macros.texi: New file.
61070         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
61071         * manual/libc.texinfo: Include macros.texi.
61072         * manual/creatute.texi: Likewise.
61073         * manual/install.texi: Likewise.
61074         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
61075         @glibcadj{} in references to the GNU C Library.
61076         * manual/charset.texi: Likewise.
61077         * manual/conf.texi: Likewise.
61078         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
61079         when not using those macros.
61080         * manual/creature.texi: Likewise.
61081         * manual/crypt.texi: Likewise.
61082         * manual/errno.texi: Likewise.
61083         * manual/filesys.texi: Likewise.
61084         * manual/header.texi: Likewise.
61085         * manual/install.texi: Likewise.
61086         * manual/intro.texi: Likewise.
61087         * manual/io.texi: Likewise.
61088         * manual/job.texi: Likewise.
61089         * manual/lang.texi: Likewise.
61090         * manual/libc.texiinfo: Likewise.
61091         * manual/llio.texi: Likewise.
61092         * manual/locale.texi: Likewise.
61093         * manual/maint.texi: Likewise.
61094         * manual/math.texi: Likewise.
61095         * manual/memory.texi: Likewise.
61096         * manual/message.texi: Likewise.
61097         * manual/nss.texi: Likewise.
61098         * manual/pattern.texi: Likewise.
61099         * manual/process.texi: Likewise.
61100         * manual/resource.texi: Likewise.
61101         * manual/search.texi: Likewise.
61102         * manual/setjmp.texi: Likewise.
61103         * manual/signal.texi: Likewise.
61104         * manual/socket.texi: Likewise.
61105         * manual/startup.texi: Likewise.
61106         * manual/stdio.texi: Likewise.
61107         * manual/string.texi: Likewise.
61108         * manual/sysinfo.texi: Likewise.
61109         * manual/syslog.texi: Likewise.
61110         * manual/terminal.texi: Likewise.
61111         * manual/time.texi: Likewise.
61112         * manual/users.texi: Likewise.
61113         * INSTALL: Regenerated.
61114         * NOTES: Regenerated.
61115         * sysdeps/gnu/errlist.c: Regenerated.
61117 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
61119         * include/dirent.h: Include <dirstream.h> before
61120         <dirent/dirent.h>.
61122 2012-02-28  David S. Miller  <davem@davemloft.net>
61124         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
61125         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
61126         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
61127         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
61129 2012-02-27  David S. Miller  <davem@davemloft.net>
61131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
61132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
61133         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
61134         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
61136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
61137         frame pointer instead of stack pointer relative arg slot.
61138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61139         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61140         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61142 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
61144         [BZ #3992]
61145         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
61147 2012-02-27  David S. Miller  <davem@davemloft.net>
61149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
61150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
61153         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61154         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61155         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
61156         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
61158 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61160         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
61161         later.  Allow versions 5-9.
61162         * configure: Regenerated.
61163         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
61164         required minimum version and 4.6 as recommended version.  Do not
61165         mention bugs in GCC 2.7 and 2.8.
61166         * INSTALL: Regenerated.
61168 2012-02-27  David S. Miller  <davem@davemloft.net>
61170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
61171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
61172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
61173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
61174         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
61175         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
61176         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
61177         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
61179         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
61180         manipulate bits before adding and subtracting TWO112[sx].
61181         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61183 2012-02-27  Roland McGrath  <roland@hack.frob.com>
61185         [BZ #13775]
61186         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
61187         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
61188         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
61189         being in POSIX, because they are in 1003.1-2008.
61191         * rt/tst-aio.c: Include <fcntl.h>.
61192         * rt/tst-aio7.c: Likewise.
61193         * rt/tst-aio64.c: Likewise.
61195         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
61197 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61199         * manual/install.texi (--with-headers): Describe headers as
61200         interface headers, not private headers.
61201         (Specific advice for GNU/Linux systems): Describe use of headers
61202         from "make headers_install", not private headers from older
61203         kernels.
61204         * INSTALL: Regenerated.
61205         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
61206         Change to 2.6.19.
61207         * sysdeps/unix/sysv/linux/configure: Regenerated.
61209         * manual/llio.texi (fclean): Remove documentation.
61211         * manual/Makefile (libc-texi-generated): New variable.  Include
61212         version.texi.
61213         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
61214         $(libc-texi-generated), not duplicated list of files.
61215         (version.texi, stamp-version): New rules.
61216         (realclean): Remove $(libc-texi-generated), not individual files
61217         from that list.  Do not remove dir-add.texinfo.
61218         * manual/libc.texinfo: Comment out uses of edition numbers and
61219         references to printed manual.  Remove last-updated dates.
61220         (EDITION): Comment out.
61221         (ISBN): Likewise.
61222         (VERSION, UPDATED): Remove.
61223         (version.texi): Include.
61225 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
61227         * sysdeps/posix/spawni.c: Include <signal.h>.
61228         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
61229         * sysdeps/pthread/aio_fsync.c: Likewise.
61231 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
61233         * conform/Makefile (tests): Run only when not cross-compiling and
61234         when fast-check is not defined.
61236         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
61237         * conform/data/limits.h-data: Fixes for POSIX2008.
61238         * conform/run-conformtest.sh: Run all tests.
61239         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
61240         headers.
61241         * include/bits/dlfcn.h: Likewise.
61242         * include/langinfo.h: Likewise.
61243         * include/monetary.h: Likewise.
61244         * include/sys/poll.h: Likewise.
61246         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
61247         for __USE_GNU.
61248         * posix/spawn.h: Define __need_sigset_t.
61249         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
61250         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
61251         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
61252         to get sigevent_t only.
61253         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
61254         only for __USE_GNU.
61255         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61256         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61257         process_vm_writev only for __USE_GNU.
61258         * termios/termios.h: Declare tcgetsid also for POSIX2008.
61260         * conform/Makefile: For now ignore errors from run-conformtest.
61261         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
61262         POSIX to avoid namespace pollution.  Don't prepend headers.
61263         * conform/data/aio.h-data: Fixes for POSIX testing.
61264         * conform/data/fcntl.h-data: Likewise.
61265         * conform/data/glob.h-data: Likewise.
61266         * conform/data/grp.h-data: Likewise.
61267         * conform/data/pthread.h-data: Likewise.
61268         * conform/data/pwd.h-data: Likewise.
61269         * conform/data/signal.h-data: Likewise.
61270         * conform/data/spawn.h-data: Likewise.
61271         * conform/data/stdio.h-data: Likewise.
61272         * conform/data/stdlib.h-data: Likewise.
61273         * conform/data/stropts.h-data: Likewise.
61274         * conform/data/sys/mman.h-data: Likewise.
61275         * conform/data/sys/stat.h-data: Likewise.
61276         * conform/data/sys/types.h-data: Likewise.
61277         * conform/data/sys/wait.h-data: Likewise.
61278         * conform/data/time.h-data: Likewise.
61279         * conform/data/unistd.h-data: Likewise.
61280         * conform/data/utime.h-data: Likewise.
61282         * io/sys/stat.h: fchmod was always in POSIX.
61283         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
61284         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
61285         * rt/aio.h: Define __need_timespec before including <time.h>.
61286         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
61287         struct.  Add forward declaration of pthread_attr_t and use it in
61288         sigevent.
61289         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61290         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61291         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
61292         always remove CLK_TCK definition.
61294 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
61296         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
61298 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
61300         * conform/run-conformtest.sh: New file.
61301         * conform/Makefile: Run run-conformtest for tests.
61302         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
61303         support.
61305         * conform/data/uchar.h-data: New file.
61306         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
61307         * conform/data/arpa/inet.h-data: Likewise.
61308         * conform/data/assert.h-data: Likewise.
61309         * conform/data/complex.h-data: Likewise.
61310         * conform/data/cpio.h-data: Likewise.
61311         * conform/data/ctype.h-data: Likewise.
61312         * conform/data/dirent.h-data: Likewise.
61313         * conform/data/dlfcn.h-data: Likewise.
61314         * conform/data/errno.h-data: Likewise.
61315         * conform/data/fcntl.h-data: Likewise.
61316         * conform/data/float.h-data: Likewise.
61317         * conform/data/fmtmsg.h-data: Likewise.
61318         * conform/data/fnmatch.h-data: Likewise.
61319         * conform/data/ftw.h-data: Likewise.
61320         * conform/data/glob.h-data: Likewise.
61321         * conform/data/grp.h-data: Likewise.
61322         * conform/data/iconv.h-data: Likewise.
61323         * conform/data/inttypes.h-data: Likewise.
61324         * conform/data/langinfo.h-data: Likewise.
61325         * conform/data/libgen.h-data: Likewise.
61326         * conform/data/limits.h-data: Likewise.
61327         * conform/data/locale.h-data: Likewise.
61328         * conform/data/math.h-data: Likewise.
61329         * conform/data/monetary.h-data: Likewise.
61330         * conform/data/mqueue.h-data: Likewise.
61331         * conform/data/ndbm.h-data: Likewise.
61332         * conform/data/net/if.h-data: Likewise.
61333         * conform/data/netdb.h-data: Likewise.
61334         * conform/data/netinet/in.h-data: Likewise.
61335         * conform/data/nl_types.h-data: Likewise.
61336         * conform/data/poll.h-data: Likewise.
61337         * conform/data/pthread.h-data: Likewise.
61338         * conform/data/pwd.h-data: Likewise.
61339         * conform/data/regex.h-data: Likewise.
61340         * conform/data/sched.h-data: Likewise.
61341         * conform/data/search.h-data: Likewise.
61342         * conform/data/semaphore.h-data: Likewise.
61343         * conform/data/setjmp.h-data: Likewise.
61344         * conform/data/signal.h-data: Likewise.
61345         * conform/data/spawn.h-data: Likewise.
61346         * conform/data/stdarg.h-data: Likewise.
61347         * conform/data/stdio.h-data: Likewise.
61348         * conform/data/stdlib.h-data: Likewise.
61349         * conform/data/string.h-data: Likewise.
61350         * conform/data/strings.h-data: Likewise.
61351         * conform/data/stropts.h-data: Likewise.
61352         * conform/data/sys/ipc.h-data: Likewise.
61353         * conform/data/sys/mman.h-data: Likewise.
61354         * conform/data/sys/msg.h-data: Likewise.
61355         * conform/data/sys/resource.h-data: Likewise.
61356         * conform/data/sys/select.h-data: Likewise.
61357         * conform/data/sys/sem.h-data: Likewise.
61358         * conform/data/sys/shm.h-data: Likewise.
61359         * conform/data/sys/socket.h-data: Likewise.
61360         * conform/data/sys/stat.h-data: Likewise.
61361         * conform/data/sys/statvfs.h-data: Likewise.
61362         * conform/data/sys/time.h-data: Likewise.
61363         * conform/data/sys/timeb.h-data: Likewise.
61364         * conform/data/sys/times.h-data: Likewise.
61365         * conform/data/sys/types.h-data: Likewise.
61366         * conform/data/sys/uio.h-data: Likewise.
61367         * conform/data/sys/un.h-data: Likewise.
61368         * conform/data/sys/utsname.h-data: Likewise.
61369         * conform/data/sys/wait.h-data: Likewise.
61370         * conform/data/syslog.h-data: Likewise.
61371         * conform/data/tar.h-data: Likewise.
61372         * conform/data/termios.h-data: Likewise.
61373         * conform/data/utime.h-data: Likewise.
61374         * conform/data/utmpx.h-data: Likewise.
61375         * conform/data/varargs.h-data: Likewise.
61376         * conform/data/wchar.h-data: Likewise.
61377         * conform/data/wctype.h-data: Likewise.
61378         * conform/data/wordexp.h-data: Likewise.
61380         * include/stropts.h: New file.
61381         * include/uchar.h: New file.
61382         * include/aio.h: Changes to allow conformtest.pl to use the headers.
61383         * include/assert.h: Likewise.
61384         * include/ctype.h: Likewise.
61385         * include/dirent.h: Likewise.
61386         * include/dlfcn.h: Likewise.
61387         * include/fcntl.h: Likewise.
61388         * include/fnmatch.h: Likewise.
61389         * include/glob.h: Likewise.
61390         * include/grp.h: Likewise.
61391         * include/libio.h: Likewise.
61392         * include/locale.h: Likewise.
61393         * include/math.h: Likewise.
61394         * include/net/if.h: Likewise.
61395         * include/netdb.h: Likewise.
61396         * include/netinet/in.h: Likewise.
61397         * include/pthread.h: Likewise.
61398         * include/pwd.h: Likewise.
61399         * include/regex.h: Likewise.
61400         * include/sched.h: Likewise.
61401         * include/search.h: Likewise.
61402         * include/setjmp.h: Likewise.
61403         * include/signal.h: Likewise.
61404         * include/stdio.h: Likewise.
61405         * include/stdlib.h: Likewise.
61406         * include/string.h: Likewise.
61407         * include/sys/cdefs.h: Likewise.
61408         * include/sys/mman.h: Likewise.
61409         * include/sys/msg.h: Likewise.
61410         * include/sys/resource.h: Likewise.
61411         * include/sys/select.h: Likewise.
61412         * include/sys/socket.h: Likewise.
61413         * include/sys/stat.h: Likewise.
61414         * include/sys/statvfs.h: Likewise.
61415         * include/sys/time.h: Likewise.
61416         * include/sys/times.h: Likewise.
61417         * include/sys/uio.h: Likewise.
61418         * include/sys/utsname.h: Likewise.
61419         * include/sys/wait.h: Likewise.
61420         * include/termios.h: Likewise.
61421         * include/time.h: Likewise.
61422         * include/ulimit.h: Likewise.
61423         * include/unistd.h: Likewise.
61424         * include/utime.h: Likewise.
61425         * include/wchar.h: Likewise.
61426         * include/wctype.h: Likewise.
61427         * include/wordexp.h: Likewise.
61429         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
61431         * time/time.h: TIME_UTC must be a macro.
61432         Make timespec_get available for ISO C11 only as well.
61434 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
61436         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
61437         Reported by Peng Haitao <penght@cn.fujitsu.com>.
61439 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61441         * configure.in: Use -o not -a in test for unsupported multi-arch.
61443 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61445         * manual/texinfo.tex: Update to version 2012-01-19.16.
61447 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61449         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
61451 2012-02-24  Roland McGrath  <roland@hack.frob.com>
61453         [BZ #13738]
61454         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
61455         * manual/fdl-1.3.texi: New file.
61456         * manual/fdl-1.1.texi: File removed.
61458         [BZ #13738]
61459         * manual/libc.texinfo (FDL_VERSION): New @set.
61460         Use it for mention of FDL in cover text.
61461         (Documentation License): Use it in @include file name.
61463 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61464             Roland McGrath  <roland@hack.frob.com>
61466         [BZ #5461]
61467         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
61468         (not LONG_LONG_MAX and LONG_LONG_MIN.
61469         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
61470         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
61471         name.
61472         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
61474 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61476         [BZ #2547]
61477         [BZ #11365]
61478         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
61479         manipulate bits before adding and subtracting TWO23[sx].
61480         * math/libm-test.inc (nearbyint_test): Add more tests.
61482 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61484         [BZ #2548]
61485         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
61486         bits before adding and subtracting TWO23[sx].
61487         * math/libm-test.inc (rint_test): Add more tests.
61488         (rint_test_tonearest): Likewise.
61489         (rint_test_towardzero): Likewise.
61490         (rint_test_downward): Likewise.
61491         (rint_test_upward: Likewise.
61493 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61495         [BZ #10110]
61496         * include/stdc-predef.h: New file.  Extracted from features.h.
61497         * include/features.h: Include stdc-predef.h.
61498         * Makefile (headers): Add stdc-predef.h.
61499         * CONFORMANCE (Compiler limitations): Update.
61501 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61503         * manual/libc.texinfo (VERSION, UPDATED): Revert.
61505 2012-02-21  David S. Miller  <davem@davemloft.net>
61507         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
61508         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
61510 2012-02-20  David S. Miller  <davem@davemloft.net>
61512         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
61513         using a normal save/restore sequence, rather than allocating a
61514         dummy stack frame just to store a frame pointer and restore.
61515         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61517 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61519         * manual/install.texi: Fix stray word in line-wrapped comment.
61521 2012-02-20  David S. Miller  <davem@davemloft.net>
61523         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
61524         both binutils and gcc support GOTDATA.
61526         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
61527         "rd %pc" in the PIC register setup sequences.
61529         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
61530         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
61531         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61532         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
61533         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61534         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61535         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61536         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61537         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
61538         (SYSCALL_ERROR_HANDLER): Likewise.
61539         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61540         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61541         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
61542         (SYSCALL_ERROR_HANDLER): Likewise.
61544         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
61545         (HAVE_GCC_GOTDATA): New.
61546         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
61547         relocation support in both binutils and gcc.
61548         * sysdeps/sparc/elf/configure: Regenerate.
61550         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
61551         * sysdeps/sparc/sparc32/elf/configure: Delete.
61552         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
61553         * sysdeps/sparc/sparc64/elf/configure: Delete.
61554         * sysdeps/sparc/elf/configure.in: New file.
61555         * sysdeps/sparc/elf/configure: Generate.
61557         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
61558         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
61559         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61560         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
61561         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
61563 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61565         * manual/install.texi: Do not mention specific glibc version
61566         numbers.
61567         * manual/libc.texinfo (VERSION, UPDATED): Update.
61568         (@copying): Use @copyright{} and range of years.
61570 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61572         [BZ #13695]
61573         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
61574         [crti.S not in sysdirs] (generated): Do not append.
61575         [crti.S not in sysdirs] (omit-deps): Likewise.
61576         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
61577         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
61578         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
61579         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
61580         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
61581         Likewise.
61582         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
61583         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
61584         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
61585         * csu/defs.awk: Remove file.
61586         * sysdeps/generic/initfini.c: Likewise.
61587         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
61588         variable.
61589         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
61590         Likewise.
61592 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
61594         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
61595         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
61596         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
61597         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
61598         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
61599         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
61600         <bits/epoll.h>.
61601         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
61602         (__EPOLL_PACKED): Define to empty if not defined by
61603         <bits/epoll.h>.
61604         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
61605         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61606         bits/epoll.h.
61608 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
61610         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
61611         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
61612         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
61613         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
61614         <bits/timerfd.h>.
61615         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
61616         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61617         bits/timerfd.h.
61619 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
61621         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
61622         in C locale.
61623         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61624         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61625         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
61626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61628 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
61630         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61631         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
61633 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
61635         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
61636         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
61637         defined.
61638         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
61639         Likewise.
61640         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
61641         entry for 2.16.
61643 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
61645         * math/w_acos.c: Use non-signaling floating-point comparisons.
61646         * math/w_acosf.c: Likewise.
61647         * math/w_acosh.c: Likewise.
61648         * math/w_acoshf.c: Likewise.
61649         * math/w_acoshl.c: Likewise.
61650         * math/w_acosl.c: Likewise.
61651         * math/w_asin.c: Likewise.
61652         * math/w_asinf.c: Likewise.
61653         * math/w_asinl.c: Likewise.
61654         * math/w_atanh.c: Likewise.
61655         * math/w_atanhf.c: Likewise.
61656         * math/w_atanhl.c: Likewise.
61657         * math/w_exp2.c: Likewise.
61658         * math/w_exp2f.c: Likewise.
61659         * math/w_exp2l.c: Likewise.
61660         * math/w_j0.c: Likewise.
61661         * math/w_j0f.c: Likewise.
61662         * math/w_j0l.c: Likewise.
61663         * math/w_j1.c: Likewise.
61664         * math/w_j1f.c: Likewise.
61665         * math/w_j1l.c: Likewise.
61666         * math/w_jn.c: Likewise.
61667         * math/w_jnf.c: Likewise.
61668         * math/w_log.c: Likewise.
61669         * math/w_log10.c: Likewise.
61670         * math/w_log10f.c: Likewise.
61671         * math/w_log10l.c: Likewise.
61672         * math/w_log2.c: Likewise.
61673         * math/w_log2f.c: Likewise.
61674         * math/w_log2l.c: Likewise.
61675         * math/w_logf.c: Likewise.
61676         * math/w_logl.c: Likewise.
61677         * math/w_sqrt.c: Likewise.
61678         * math/w_sqrtf.c: Likewise.
61679         * math/w_sqrtl.c: Likewise.
61680         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61681         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
61682         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61683         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61684         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61686 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61688         [BZ #9739]
61689         * manual/string.texi (strnlen): Use correct parameter name in
61690         equivalent expression.
61692 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61694         [BZ #11174]
61695         * manual/users.texi (seteuid): Consistently use neweuid for
61696         argument name.
61698 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61700         [BZ #13704]
61701         * manual/nss.texi (Services in the NSS configuration): Correct
61702         list of services in example configuration file.
61704 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
61706         [BZ #11322]
61707         * manual/arith.texi: Remove statements about negative zero
61708         behaving identically to zero.
61710 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61712         [BZ #5993]
61713         * manual/install.texi: Do not document upgrading from libc5.
61715 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61717         [BZ #4596]
61718         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
61720 2012-02-18  David S. Miller  <davem@davemloft.net>
61722         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
61723         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
61724         %o7 across the call.
61725         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
61726         instead.
61727         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
61728         SETUP_PIC_REG_LEAF.
61729         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61730         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
61731         * sysdeps/sparc/crtn.S: Likewise.
61733 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
61735         * aout/Makefile: Remove.
61737 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
61739         [BZ #13058]
61740         * manual/examples/argp-ex1.c (main): Format definition in GNU
61741         style.
61742         * manual/examples/argp-ex2.c (main): Likewise.
61743         * manual/examples/argp-ex3.c (main): Likewise.
61744         * manual/examples/argp-ex4.c (main): Likewise.
61745         * manual/examples/longopt.c (main): Use new-style prototype
61746         definition.
61747         * manual/examples/strncat.c (main): Specify return type and use
61748         (void) for arguments.
61749         * manual/examples/subopt.c (main): Use char **argv argument.
61751 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61753         [BZ #5077]
61754         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
61755         rounding modes.
61757 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
61759         [BZ #6907]
61760         * manual/string.texi (strchr): Change when strchrnul is
61761         recommended.
61763 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
61765         [BZ #174]
61766         * manual/locale.texi (setlocale): Document LOCPATH.
61768 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61770         [BZ #10210]
61771         * manual/process.texi (execle): Move @dots{} before last argument.
61773 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
61775         [BZ #12047]
61776         * manual/charset.texi (Generic Charset Conversion): Fix typo
61777         (LC_TYPE -> LC_CTYPE).
61779 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
61781         [BZ #5805]
61782         * manual/arith.texi (scalbn): Use @var{} on parameter names.
61783         (scalbnf): Likewise.
61784         (scalbnl): Likewise.
61785         (scalbln): Likewise.
61786         (scalblnf): Likewise.
61787         (scalblnl): Likewise.
61788         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
61789         (vwarnx): Likewise.
61790         (verr): Likewise.
61791         (verrx): Likewise.
61792         * manual/filesys.texi (telldir): Use braces around return type.
61793         * manual/llio.texi (mmap): Add space after comma.
61794         (mmap64): Likewise.
61795         * manual/math.texi (jn): Use @var{} on parameter names.
61796         (jnf): Likewise.
61797         (jnl): Likewise.
61798         (yn): Likewise.
61799         (ynf): Likewise.
61800         (ynl): Likewise.
61801         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
61802         line.
61803         * manual/resource.texi (ulimit): Use @dots{} instead of literal
61804         "...".
61805         (sched_get_priority_min): Remove semicolon on @deftypefun line.
61806         (sched_get_priority_max): Likewise.
61807         * manual/signal.texi (sigvec): Add space after comma.
61808         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
61809         names.
61810         (if_indextoname): Likewise.
61811         (if_freenameindex): Likewise.
61812         (sendto): Use ',' instead of '.' in prototype.
61813         * manual/startup.texi (syscall): Use @dots{} instead of literal
61814         "...".
61815         * manual/stdio.texi (__fpending): Separate initial words of
61816         paragraph from @deftypefun line.
61817         * manual/syslog.texi (syslog): Use @dots{} instead of literal
61818         "...".
61819         (vsyslog): Use @var{} on parameter names.
61820         * manual/terminal.texi (stty): Use @var{} on parameter names.
61821         * manual/users.texi (getutmp): Use @var{} on parameter names.
61822         (getutmpx): Likewise.
61824 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61826         [BZ #6884]
61827         * manual/stdio.texi (fopen): Fix typos in description of
61828         ",ccs=STRING".
61830 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
61832         [BZ #4026]
61833         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
61834         get clock_id definition.
61836 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
61838         [BZ #4822]
61839         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
61840         (madvise): Cast every argument to void on its own.
61842 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61844         [BZ #9902]
61845         * manual/startup.texi (Exit Status): Fix typo.
61847 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61849         [BZ #10140]
61850         * manual/examples/argp-ex1.c: Include <stdlib.h>.
61851         * manual/examples/argp-ex2.c: Likewise.
61852         * manual/examples/argp-ex3.c: Likewise.
61854 2012-02-16  Richard Henderson  <rth@redhat.com>
61856         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
61857         * sysdeps/s390/s390-32/initfini.c: Remove.
61858         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
61859         * sysdeps/s390/s390-64/initfini.c: Remove.
61861 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61863         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
61864         compiler output for sysdeps/generic/initfini.c.
61865         * sysdeps/sh/elf/initfini.c: Remove file.
61867 2012-02-16  David S. Miller  <davem@davemloft.net>
61869         [BZ #11494]
61870         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
61872         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
61873         * sysdeps/sparc/crti.S: New file.
61874         * sysdeps/sparc/crtn.S: New file.
61875         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
61876         * sysdeps/sparc/sparc64/Makefile: Likewise.
61878 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
61880         [BZ #3335]
61881         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
61883 2012-02-15  Roland McGrath  <roland@hack.frob.com>
61885         [BZ #4822]
61886         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
61888         * mach/devstream.c (cookie_io_functions_t): Macro removed.
61889         (write, read, close): Likewise.
61890         Patch by Aurelien Jarno <aurelien@aurel32.net>.
61892 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
61894         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
61895         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
61896         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
61897         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
61898         <bits/signalfd.h>.
61899         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
61900         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61901         bits/signalfd.h.
61903 2012-02-14  Marek Polacek  <polacek@redhat.com>
61905         * sysdeps/x86_64/crti.S: New file.
61906         * sysdeps/x86_64/crtn.S: New file.
61907         * sysdeps/x86_64/elf/initfini.c: Remove file.
61909 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61911         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
61912         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
61913         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
61914         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
61915         <bits/inotify.h>.
61916         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
61917         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61918         bits/inotify.h.
61920 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61922         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
61923         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
61924         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
61925         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
61926         <bits/eventfd.h>.
61927         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
61928         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61929         bits/eventfd.h.
61931 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
61933         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
61934         __feraiseexcept instead of feraiseexcept.
61936         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
61937         nanosleep invocations.
61938         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
61939         strings, and add error checking for a nanosleep invocations.
61941 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
61943         Replace FSF snail mail address with URLs, as per GNU coding standards.
61944         Most of the snail mail addresses were wrong anyway, and omitting
61945         them makes the source code easier to maintain.  Almost all of the
61946         changes are to license notices and to locale LC_IDENTIFICATION
61947         addresses, except for this one:
61948         * manual/libc.texinfo: In "Published by", give the FSF's URL,
61949         not its snail mail address.
61951 2012-02-09  Richard Henderson  <rth@twiddle.net>
61953         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
61954         of kernel-features.h.
61956         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
61958 2012-02-08  Marek Polacek  <polacek@redhat.com>
61960         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
61961         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
61962         * sysdeps/gnu/_G_config.h: Likewise.
61963         * sysdeps/generic/_G_config.h: Likewise.
61965 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
61967         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
61968         tests.
61969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61971         * sysdeps/powerpc/powerpc32/crti.S: New file.
61972         * sysdeps/powerpc/powerpc32/crtn.S: New file.
61973         * sysdeps/powerpc/powerpc64/crti.S: New file.
61974         * sysdeps/powerpc/powerpc64/crtn.S: New file.
61976         * Makeconfig (have-initfini): Don't set.
61977         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
61978         * configure.in (nopic_initfini): Don't substitute.
61979         * config.h.in (HAVE_INITFINI): Don't #undef.
61980         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
61981         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
61983 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
61985         Support crti.S and crtn.S provided directly by architectures.
61986         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
61987         [crti.S in sysdirs] (omit-deps): Likewise.
61988         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
61989         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
61990         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
61991         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
61992         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
61993         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
61994         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
61995         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
61996         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
61997         compiler output for sysdeps/generic/initfini.c.
61998         * sysdeps/i386/elf/Makefile: Remove file.
61999         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
62001 2012-02-07  Marek Polacek  <polacek@redhat.com>
62003         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
62004         * sysdeps/gnu/_G_config.h: Likewise.
62005         * sysdeps/mach/hurd/_G_config.h: Likewise.
62007 2012-02-07  Marek Polacek  <polacek@redhat.com>
62009         * math/Makefile (tests): Add tst-CMPLX2.
62010         * math/tst-CMPLX2.c: New file.
62012 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
62014         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62016         * math/libm-test.inc (jn_test): Add missing L suffix.
62018 2012-02-06  Marek Polacek  <polacek@redhat.com>
62020         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
62021         * sysdeps/i386/fpu/e_powf.S: Likewise.
62022         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62023         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62024         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62025         * sysdeps/i386/fpu/e_pow.S: Likewise.
62026         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62027         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62028         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62029         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62030         * sysdeps/i386/fpu/e_log2.S: Likewise.
62031         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62032         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62033         * sysdeps/i386/fpu/e_powl.S: Likewise.
62034         * sysdeps/i386/fpu/s_log1p.S: Likewise.
62035         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62036         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62037         * sysdeps/i386/fpu/e_logl.S: Likewise.
62038         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62039         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
62040         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62041         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62042         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62043         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62044         * sysdeps/i386/fpu/e_log.S: Likewise.
62045         * sysdeps/i386/fpu/s_cexp.S: Likewise.
62046         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62047         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
62048         * sysdeps/i386/fpu/e_logf.S: Likewise.
62049         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62050         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62051         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
62052         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62053         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62054         * sysdeps/i386/fpu/e_log10.S: Likewise.
62055         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62056         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62057         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62058         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62059         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62060         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62061         * sysdeps/i386/asm-syntax.h: Likewise.
62062         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62063         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62064         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62065         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
62066         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
62067         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62068         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62069         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62070         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62071         * sysdeps/powerpc/sysdep.h: Likewise.
62072         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
62073         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62075 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62077         [BZ #411]
62078         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
62080 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62082         * sysdeps/i386/sysdep.h: Include <features.h>.
62083         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
62084         version.
62086 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
62088         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
62089         Define.
62090         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
62091         LOAD_PIC_REG_STR.
62093 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62095         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
62096         (SETUP_PIC_REG): Use GET_PC_THUNK.
62097         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
62098         macro.
62100 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62102         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
62103         for non-PIC compilation.
62104         (SETUP_PIC_REG): Add .p2align directive.
62105         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
62106         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
62107         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62108         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62109         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62110         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62111         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
62112         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62113         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62114         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62115         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62116         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62117         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62118         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62119         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62120         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62121         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62122         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62123         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62124         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62125         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62126         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62127         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62128         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62129         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62130         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62131         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62132         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62133         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62134         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62135         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62136         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62137         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62138         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62139         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62140         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62141         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62142         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62143         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62144         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62145         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62147 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62149         * math/tst-CMPLX.c: Include <stdio.h>.
62151 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
62153         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
62154         float.
62155         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62156         * sysdeps/sparc/bits/mathdef.h: Likewise.
62158 2012-01-31  Marek Polacek  <polacek@redhat.com>
62160         * libio/libio.h: Don't define _PARAMS.
62161         * locale/programs/config.h: Don't define PARAMS.
62162         * stdlib/strtol_l.c: Likewise.
62163         (__strtol_l): Remove PARAMS from the prototype.
62165 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
62167         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
62168         names.  Just use the correct names.  Remove unnecessary wrapper
62169         functions.
62170         * malloc/arena.c: Likewise.
62171         * malloc/hooks.c: Likewise.
62173         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
62174         ARENA_TEST says not to.  Simplify test for creation of a new arena.
62175         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
62177 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
62179         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
62180         into tail calls.
62181         (update_get_addr): New function.
62182         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
62183         GET_ADDR_MODULE parameter.
62185 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62187         * crypt/cert.c: Remove __STDC__ conditionals.
62188         * crypt/crypt-entry.c: Likewise.
62189         * crypt/crypt_util.c: Likewise.
62190         * libio/filedoalloc.c: Likewise.
62191         * libio/fileops.c: Likewise.
62192         * libio/genops.c: Likewise.
62193         * libio/iofclose.c: Likewise.
62194         * libio/iofdopen.c: Likewise.
62195         * libio/iofopen.c: Likewise.
62196         * libio/iofopen64.c: Likewise.
62197         * libio/iogetdelim.c: Likewise.
62198         * libio/iopopen.c: Likewise.
62199         * libio/obprintf.c: Likewise.
62200         * libio/oldfileops.c: Likewise.
62201         * libio/oldiofclose.c: Likewise.
62202         * libio/oldiofdopen.c: Likewise.
62203         * libio/oldiofopen.c: Likewise.
62204         * libio/oldiopopen.c: Likewise.
62205         * libio/wfiledoalloc.c: Likewise.
62206         * libio/wgenops.c: Likewise.
62207         * locale/programs/xmalloc.c: Likewise.
62208         * misc/syslog.c: Likewise.
62209         * stdio-common/xbug.c: Likewise.
62210         * string/memchr.c: Likewise.
62211         * string/memcmp.c: Likewise.
62212         * string/memrchr.c: Likewise.
62213         * string/rawmemchr.c: Likewise.
62214         * sysdeps/posix/getcwd.c: Likewise.
62215         * time/strftime_l.c: Likewise.
62217 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62219         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
62220         * config.make.in (config-cflags-sse2avx): Define.
62221         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
62222         Fix typo.
62224 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
62226         * scripts/config.guess: Update from upstream config git repository.
62227         * scripts/config.sub: Likewise.
62229 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
62231         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
62232         (EM_NUM): Update.
62233         (R_TILEPRO_*, R_TILEGX_*): New macros.
62235         * scripts/firstversions.awk: Fix bug in version range handling.
62237         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
62239         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
62241         * include/sys/epoll.h: New file.
62242         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
62243         libc_hidden_def.
62245 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
62247         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
62248         Avoid unnecessary __WORDSIZE == 64 test.
62249         (fmaxf): Use VEX format if possible.
62250         (fmax): Likewise.
62251         (fminf): Likewise.
62252         (fmin): Likewise.
62254         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
62255         * math/math_private.h: Remove libc_fegetround* and
62256         libc_fesetround*.
62257         * sysdeps/i386/configure.in: Check for -msse2avx.
62258         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
62259         also if SSE2AVX is defined.
62260         Remove libc_fegetround* and libc_fesetround*.
62261         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
62262         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
62263         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
62264         of HAS_YMM_USABLE.
62265         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62266         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62267         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62268         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62269         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62271         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
62273 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62275         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
62276         size is not set.
62277         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62279 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
62281         [BZ #13618]
62282         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
62283         relocation.
62284         * Makeconfig (libm): Define.
62285         * elf/Makefile: Add rules to build and run tst-relsort1.
62286         * elf/tst-relsort1.c: New file.
62287         * elf/tst-relsort1mod1.c: New file.
62288         * elf/tst-relsort1mod2.c: New file.
62290 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
62292         * math/s_ldexp.c: Remove __STDC__ conditionals.
62293         * math/s_ldexpf.c: Likewise.
62294         * math/s_ldexpl.c: Likewise.
62295         * math/s_nextafter.c: Likewise.
62296         * math/s_nexttowardf.c: Likewise.
62297         * math/s_significand.c: Likewise.
62298         * math/s_significandf.c: Likewise.
62299         * math/s_significandl.c: Likewise.
62300         * math/w_jnl.c: Likewise.
62301         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62302         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62303         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62304         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62305         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62306         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62307         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
62308         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62309         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62310         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62311         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62312         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62313         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62314         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62315         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62316         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62317         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62318         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62319         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62320         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62321         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62322         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62323         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62324         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62325         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62326         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62327         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62328         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62329         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62330         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62331         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62332         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62333         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62334         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62335         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62336         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62337         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62338         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62339         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62340         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62341         * sysdeps/ieee754/k_standard.c: Likewise.
62342         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62343         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62344         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62345         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62346         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62347         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62348         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62349         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62350         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62351         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62352         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62353         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62354         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62355         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62356         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62357         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62358         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62359         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62360         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62361         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62362         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62363         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62364         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62365         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62366         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62367         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62368         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62369         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62370         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62371         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62372         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62373         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
62374         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62375         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62376         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62377         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62378         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
62379         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62380         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62381         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
62382         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
62383         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62384         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
62385         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
62386         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62387         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62388         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62389         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62390         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62391         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
62392         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
62393         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62394         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62395         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62396         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62397         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62398         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
62399         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62400         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62401         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62402         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62403         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62404         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62405         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62406         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62407         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62408         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62409         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62410         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62411         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62412         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62413         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62414         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62415         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62416         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62417         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62418         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62419         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62420         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62421         * sysdeps/ieee754/s_matherr.c: Likewise.
62422         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62423         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62424         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62425         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62427 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
62429         * crypt/md5.h: Remove __STDC__ conditionals.
62430         * libio/libioP.h: Likewise.
62431         * locale/programs/config.h: Likewise.
62432         * sysdeps/generic/sysdep.h: Likewise.
62433         * sysdeps/i386/asm-syntax.h: Likewise.
62434         * sysdeps/s390/asm-syntax.h: Likewise.
62435         * sysdeps/unix/sysdep.h: Likewise.
62436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
62437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62439 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
62441         * libio/libio.h: Remove __STDC__ conditionals.
62442         * malloc/obstack.h: Likewise.
62443         * math/complex.h: Likewise.
62444         * math/math.h: Likewise.
62445         * sysdeps/generic/_G_config.h: Likewise.
62446         * sysdeps/gnu/_G_config.h: Likewise.
62447         * sysdeps/mach/hurd/_G_config.h: Likewise.
62448         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62449         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62450         * sysdeps/sparc/bits/mathdef.h: Likewise.
62452 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
62454         [BZ #13583]
62455         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
62456         Clean up HAS_* macros.
62457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
62458         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
62459         possible.
62460         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
62461         HAS_AVX.
62462         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62463         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62464         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62465         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62466         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62468 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
62470         * elf/tst-unique3.cc (gets): Remove declaration.
62471         * elf/tst-unique3lib.cc (gets): Likewise.
62472         * elf/tst-unique3lib2.cc (gets): Likewise.
62473         * elf/tst-unique4.cc (gets): Likewise.
62475 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
62477         * include/stdio.h: Add C++ protection.  Add gets declarations and
62478         definitions.
62479         * debug/tst-chk1.c: Don't declare gets here.
62480         * stdio-common/tst-gets.c: Likewise.
62482 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
62484         * posix/glob: Remove directory.
62486 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
62488         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
62490 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
62492         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
62493         of the non-standard EPFNOSUPPORT.
62495 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62497         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
62498         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
62499         ANYWHERE set to 1 only on KERN_NO_SPACE error.
62501 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
62503         * wcsmbs/uchar.h: Test __STDC_VERSION__.
62505 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
62507         * nscd/aicache.c (addhstaiX): Do not cache negative results of
62508         transient errors.
62509         * nscd/grpcache.c (cache_addgr): Likewise.
62510         * nscd/hstcache.c (cache_addhst): Likewise.
62511         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62512         * nscd/pwdcache.c (cache_addpw): Likewise.
62513         * nscd/servicescache.c (cache_addserv): Likewise.
62515 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
62517         * malloc/malloc.c: Various cleanups.
62518         * malloc/hooks.c: Likewise.
62520         * stdlib/Makefile (tests): Add bug-fmtmsg1.
62521         * stdlib/bug-fmtmsg1.c: New file.
62523         * stdlib/fmtmsg.c (init): Add missing unlock.
62524         Patch by Peng Haitao <penght@cn.fujitsu.com>.
62526 2012-01-12  Marek Polacek  <polacek@redhat.com>
62528         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
62529         and _GNU_SOURCE.
62531 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
62533         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
62534         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
62535         macro to ensure uniqueness of label name.
62536         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62537         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62539 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
62541         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
62543         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
62544         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62545         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62546         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
62548 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
62550         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
62552         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
62553         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62554         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62556         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
62558         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
62559         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62560         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62561         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
62563         * math/bits/math-finite.h: Add ldexp support.
62565 2012-01-10  Marek Polacek  <polacek@redhat.com>
62567         * locale/programs/localedef.h (show_archive_content): Add noreturn
62568         attribute.
62570 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
62572         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
62574 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62576         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
62578         * io/Makefile (headers): Add bits/poll2.h.
62580 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
62582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
62583         typo #include statement.
62585 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62587         * include/sys/cdefs.h: Define __attribute_alloc_size.
62588         * catgets/gencat.c: Add alloc_size attribute and apply consistently
62589         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
62590         * elf/pldd.c: Likewise.
62591         * iconv/iconv_charmap.c: Likewise.
62592         * iconv/iconvconfig.c: Likewise.
62593         * iconv/strtab.c: Likewise.
62594         * locale/programs/locale.c: Likewise.
62595         * locale/programs/localedef.h: Likewise.
62596         * locale/programs/simple-hash.c: Likewise.
62597         * nscd/nscd.h: Likewise.
62598         * nss/makedb.c: Likewise.
62599         * sysdeps/generic/ldconfig.h: Likewise.
62600         * locale/programs/localedef.c: Remove xmalloc prototype.
62601         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
62603 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62605         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
62606         appropriate.
62608 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62610         * math/Makefile (tests): Add tst-CMPLX.
62611         * math/tst-CMPLX.c: New file.
62613         * math/complex.h (CMPLXL): Fix typo.
62615         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
62616         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
62617         GLIBC_2.16.
62618         * debug/tst-chk1.c: Add poll and ppoll tests.
62619         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
62620         * include/sys/poll.h: Add hidden proto for ppoll.
62621         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
62622         * sysdeps/mach/hurd/ppoll.c: Likewise.
62623         * io/ppoll.c: Likewise.
62624         * debug/poll_chk.c: New file.
62625         * debug/ppoll_chk.c: New file.
62626         * include/bits/poll2.h: New file.
62627         * io/bits/poll2.h: New file.
62629         [BZ #1350]
62630         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
62632         * configure.in: static is always set to yes.  Remove.
62633         * config.make.in: Don't set build-static.
62634         * Makeconfig: Remove use of build-static.
62635         * dlfcn/Makefile: Likewise.
62636         * elf/Makefile: Likewise.
62637         * math/Makefile: Likewise.
62638         * misc/Makefile: Likewise.
62639         * nptl/Makefile: Likewise.
62640         * sysdeps/mach/hurd/Makefile: Likewise.
62642         * configure.in: PWD_P is not used anymore.
62643         * config.make.in: Remove PWD_P entry.
62645         * configure.in: Remove last remnants of RANLIB.
62646         No need to check for signed size_t anymore.
62647         Don't set libc_commonpagesize and libc_relro_required here for Alpha
62648         and IA-64.
62649         Remove __builtin_expect test because we require at least gcc 3.4.
62650         * aclocal.m4: Likewise.
62652         * wcsmbs/mbrtoc16.c: Implement using towc function.
62653         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
62654         * wcsmbs/wcsmbsload.c: Likewise.
62655         * iconv/gconv_simple.c: Likewise.
62656         * iconv/gconv_int.h: Likewise.
62657         * iconv/gconv_builtin.h: Likewise.
62658         * iconv/iconv_prog.c: Remove CHAR16 handling.
62660         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
62662         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
62664         * configure.in: Remove --with-elf and --enable-bounded options.
62665         Dont set base_machine for ia64.  More non-ELF conditions removed.
62666         Remove testing and setting of leading underscore information.
62667         * config.make.in (build-bounded): Set to no.
62668         * config.h.in: Remove NO_UNDERSCORES entry.
62669         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
62670         them.
62671         * csu/start.c: Remove !NO_UNDERSCORE code.
62672         * locale/localeinfo.h: Likewise.
62673         * sysdeps/generic/machine-gmon.h: Likewise.
62674         * sysdeps/generic/sysdep.h: Likewise.
62675         * sysdeps/i386/sysdep.h: Likewise.
62676         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62677         * sysdeps/mach/sysdep.h: Likewise.
62678         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62679         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62680         * sysdeps/sh/sysdep.h: Likewise.
62681         * sysdeps/sparc/sparc32/alloca.S: Likewise.
62682         * sysdeps/unix/i386/sysdep.S: Likewise.
62683         * sysdeps/unix/sparc/start.c: Likewise.
62684         * sysdeps/unix/sparc/sysdep.S: Likewise.
62685         * sysdeps/unix/sparc/sysdep.h: Likewise.
62686         * sysdeps/unix/start.c: Likewise.
62687         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62688         * sysdeps/x86_64/sysdep.h: Likewise.
62690 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
62692         [BZ #13553]
62693         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
62694         for non-gcc.
62695         * argp/argp-fmtstream.h: Use const instead __const.
62696         * argp/argp.h: Likewise.
62697         * assert/assert.h: Likewise.
62698         * bits/fenv.h: Likewise.
62699         * bits/sched.h: Likewise.
62700         * bits/sigset.h: Likewise.
62701         * bits/sigthread.h: Likewise.
62702         * catgets/nl_types.h: Likewise.
62703         * conform/data/pthread.h-data: Likewise.
62704         * crypt/crypt-private.h: Likewise.
62705         * crypt/crypt.h: Likewise.
62706         * crypt/crypt_util.c: Likewise.
62707         * ctype/ctype.h: Likewise.
62708         * debug/execinfo.h: Likewise.
62709         * debug/mbsnrtowcs_chk.c: Likewise.
62710         * debug/mbsrtowcs_chk.c: Likewise.
62711         * debug/wcsnrtombs_chk.c: Likewise.
62712         * debug/wcsrtombs_chk.c: Likewise.
62713         * debug/wcstombs_chk.c: Likewise.
62714         * dirent/dirent.h: Likewise.
62715         * dlfcn/dlfcn.h: Likewise.
62716         * elf/neededtest4.c: Likewise.
62717         * grp/grp.h: Likewise.
62718         * gshadow/gshadow.h: Likewise.
62719         * iconv/gconv.h: Likewise.
62720         * iconv/gconv_int.h: Likewise.
62721         * iconv/gconv_simple.c: Likewise.
62722         * iconv/iconv.h: Likewise.
62723         * iconv/loop.c: Likewise.
62724         * iconv/skeleton.c: Likewise.
62725         * include/aio.h: Likewise.
62726         * include/aliases.h: Likewise.
62727         * include/argz.h: Likewise.
62728         * include/arpa/inet.h: Likewise.
62729         * include/assert.h: Likewise.
62730         * include/dirent.h: Likewise.
62731         * include/dlfcn.h: Likewise.
62732         * include/execinfo.h: Likewise.
62733         * include/fcntl.h: Likewise.
62734         * include/fenv.h: Likewise.
62735         * include/glob.h: Likewise.
62736         * include/grp.h: Likewise.
62737         * include/libintl.h: Likewise.
62738         * include/mntent.h: Likewise.
62739         * include/netdb.h: Likewise.
62740         * include/pwd.h: Likewise.
62741         * include/rpc/netdb.h: Likewise.
62742         * include/sched.h: Likewise.
62743         * include/search.h: Likewise.
62744         * include/shadow.h: Likewise.
62745         * include/signal.h: Likewise.
62746         * include/stdio.h: Likewise.
62747         * include/stdlib.h: Likewise.
62748         * include/string.h: Likewise.
62749         * include/sys/socket.h: Likewise.
62750         * include/sys/stat.h: Likewise.
62751         * include/sys/statfs.h: Likewise.
62752         * include/sys/statvfs.h: Likewise.
62753         * include/sys/syslog.h: Likewise.
62754         * include/sys/time.h: Likewise.
62755         * include/sys/uio.h: Likewise.
62756         * include/time.h: Likewise.
62757         * include/unistd.h: Likewise.
62758         * include/utmp.h: Likewise.
62759         * include/wchar.h: Likewise.
62760         * include/wctype.h: Likewise.
62761         * inet/aliases.h: Likewise.
62762         * inet/arpa/inet.h: Likewise.
62763         * inet/netinet/ether.h: Likewise.
62764         * inet/netinet/in.h: Likewise.
62765         * intl/libintl.h: Likewise.
62766         * io/bits/fcntl2.h: Likewise.
62767         * io/fcntl.h: Likewise.
62768         * io/ftw.h: Likewise.
62769         * io/sys/poll.h: Likewise.
62770         * io/sys/stat.h: Likewise.
62771         * io/sys/statfs.h: Likewise.
62772         * io/sys/statvfs.h: Likewise.
62773         * io/utime.h: Likewise.
62774         * libio/bits/stdio.h: Likewise.
62775         * libio/bits/stdio2.h: Likewise.
62776         * libio/libio.h: Likewise.
62777         * libio/libioP.h: Likewise.
62778         * libio/stdio.h: Likewise.
62779         * locale/lc-ctype.c: Likewise.
62780         * locale/locale.h: Likewise.
62781         * login/utmp.h: Likewise.
62782         * malloc/arena.c: Likewise.
62783         * malloc/malloc.c: Likewise.
62784         * malloc/malloc.h: Likewise.
62785         * malloc/mcheck.c: Likewise.
62786         * malloc/mtrace.c: Likewise.
62787         * math/bits/mathcalls.h: Likewise.
62788         * math/fenv.h: Likewise.
62789         * math/math_private.h: Likewise.
62790         * misc/bits/error.h: Likewise.
62791         * misc/bits/syslog.h: Likewise.
62792         * misc/err.h: Likewise.
62793         * misc/error.h: Likewise.
62794         * misc/fstab.h: Likewise.
62795         * misc/mntent.h: Likewise.
62796         * misc/regexp.h: Likewise.
62797         * misc/search.h: Likewise.
62798         * misc/sgtty.h: Likewise.
62799         * misc/sys/mman.h: Likewise.
62800         * misc/sys/syslog.h: Likewise.
62801         * misc/sys/uio.h: Likewise.
62802         * misc/sys/xattr.h: Likewise.
62803         * misc/ttyent.h: Likewise.
62804         * nis/rpcsvc/ypclnt.h: Likewise.
62805         * nss/nss.h: Likewise.
62806         * posix/bits/unistd.h: Likewise.
62807         * posix/fnmatch.h: Likewise.
62808         * posix/glob.h: Likewise.
62809         * posix/sched.h: Likewise.
62810         * posix/spawn.h: Likewise.
62811         * posix/sys/wait.h: Likewise.
62812         * posix/unistd.h: Likewise.
62813         * posix/wordexp.h: Likewise.
62814         * pwd/pwd.h: Likewise.
62815         * resolv/netdb.h: Likewise.
62816         * resource/sys/resource.h: Likewise.
62817         * rt/aio.h: Likewise.
62818         * rt/bits/mqueue2.h: Likewise.
62819         * rt/mqueue.h: Likewise.
62820         * shadow/shadow.h: Likewise.
62821         * signal/signal.h: Likewise.
62822         * socket/send.c: Likewise.
62823         * socket/sendto.c: Likewise.
62824         * socket/sys/socket.h: Likewise.
62825         * stdio-common/printf.h: Likewise.
62826         * stdlib/bits/stdlib.h: Likewise.
62827         * stdlib/fmtmsg.h: Likewise.
62828         * stdlib/monetary.h: Likewise.
62829         * stdlib/stdlib.h: Likewise.
62830         * stdlib/ucontext.h: Likewise.
62831         * streams/stropts.h: Likewise.
62832         * string/argz.h: Likewise.
62833         * string/bits/string2.h: Likewise.
62834         * string/string.h: Likewise.
62835         * string/strings.h: Likewise.
62836         * sunrpc/rpc/auth.h: Likewise.
62837         * sunrpc/rpc/auth_des.h: Likewise.
62838         * sunrpc/rpc/clnt.h: Likewise.
62839         * sunrpc/rpc/netdb.h: Likewise.
62840         * sunrpc/rpc/pmap_clnt.h: Likewise.
62841         * sunrpc/rpc/xdr.h: Likewise.
62842         * sysdeps/generic/inttypes.h: Likewise.
62843         * sysdeps/generic/net/if.h: Likewise.
62844         * sysdeps/generic/sys/swap.h: Likewise.
62845         * sysdeps/gnu/net/if.h: Likewise.
62846         * sysdeps/gnu/utmpx.h: Likewise.
62847         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
62848         * sysdeps/i386/i486/bits/string.h: Likewise.
62849         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
62850         * sysdeps/s390/bits/string.h: Likewise.
62851         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
62852         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
62853         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
62854         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
62855         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
62856         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
62857         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
62858         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
62859         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
62860         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
62861         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
62862         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62863         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
62864         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62865         * sysdeps/unix/sysv/linux/readv.c: Likewise.
62866         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
62867         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
62868         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62869         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
62870         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
62871         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62872         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
62873         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
62874         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
62875         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
62876         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
62877         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
62878         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62879         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
62880         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
62881         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
62882         * sysvipc/sys/ipc.h: Likewise.
62883         * sysvipc/sys/msg.h: Likewise.
62884         * sysvipc/sys/sem.h: Likewise.
62885         * sysvipc/sys/shm.h: Likewise.
62886         * termios/termios.h: Likewise.
62887         * time/sys/time.h: Likewise.
62888         * time/time.h: Likewise.
62889         * wcsmbs/bits/wchar2.h: Likewise.
62890         * wcsmbs/uchar.h: Likewise.
62891         * wcsmbs/wchar.h: Likewise.
62892         * wctype/wctype.h: Likewise.
62894         [BZ #13551]
62895         * Makeconfig: Remove all but ELF support including AIX support.
62896         * Makerules: Likewise.
62897         * config.h.in: Likewise.
62898         * config.make.in: Likewise.
62899         * configure: Likewise.
62900         * configure.in: Likewise.
62901         * csu/Makefile: Likewise.
62902         * csu/version.c: Likewise.
62903         * debug/Makefile: Likewise.
62904         * dlfcn/Makefile: Likewise.
62905         * elf/Makefile: Likewise.
62906         * extra-lib.mk: Likewise.
62907         * iconv/Makefile: Likewise.
62908         * include/libc-symbols.h: Likewise.
62909         * include/shlib-compat.h: Likewise.
62910         * resolv/Makefile: Likewise.
62911         * resolv/res_libc.c: Likewise.
62912         * rt/Makefile: Likewise.
62913         * sysdeps/i386/asm-syntax.h: Likewise.
62914         * sysdeps/i386/sysdep.h: Likewise.
62915         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62916         * sysdeps/mach/sysdep.h: Likewise.
62917         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
62918         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
62919         * sysdeps/s390/asm-syntax.h: Likewise.
62920         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62921         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62922         * sysdeps/sh/sysdep.h: Likewise.
62923         * sysdeps/unix/sparc/sysdep.h: Likewise.
62924         * sysdeps/wordsize-32/divdi3.c: Likewise.
62925         * sysdeps/x86_64/sysdep.h: Likewise.
62927         * argp/Versions: Remove _argp_unlock_xxx.
62929         [BZ #13559]
62930         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
62931         * abilist/libBrokenLocale.abilist: Likewise.
62932         * abilist/libanl.abilist: Likewise.
62933         * abilist/libc.abilist: Likewise.
62934         * abilist/libcrypt.abilist: Likewise.
62935         * abilist/libdl.abilist: Likewise.
62936         * abilist/libm.abilist: Likewise.
62937         * abilist/libnsl.abilist: Likewise.
62938         * abilist/libpthread.abilist: Likewise.
62939         * abilist/libresolv.abilist: Likewise.
62940         * abilist/librt.abilist: Likewise.
62941         * abilist/libthread_db.abilist: Likewise.
62942         * abilist/libutil.abilist: Likewise.
62943         * abilist/libnss_db.abilist: New file.
62945         * scripts/abilist.awk: Add support for indirect functions.
62947         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
62949         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
62951         * shlib-versions: Remove entries for ports architectures.
62953         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
62954         files in ports.
62955         * elf/stackguard-macros.h: Remove support for IA-64.
62956         * elf/tst-auditmod1.c: Likewise.
62957         * sysdeps/generic/ldsodefs.h: Likewise.
62959         * sysdeps/unix/sysv/linux/configure.in: Ports should define
62960         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
62961         configure files.
62963         [BZ #13552]
62964         * configure.in: Remove --enable-omitfp support.
62965         * FAQ.in: Adjust.
62966         * config.make.in: Likewise.
62967         * Makeconfig: Likewise.
62968         * manual/install.texi: Likewise.
62970         In case anyone cares, the IA-64 architecture could move to ports.
62971         * sysdeps/ia64/*: Removed.
62972         * sysdeps/unix/sysv/linux/ia64/*: Removed.
62973         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
62975         [BZ #13555]
62976         * configure.in: Remove entries for unsupported architectures.
62978         [BZ #13533]
62979         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
62980         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
62981         routines.
62982         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
62983         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
62984         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
62985         fall back to using wcrtomb.
62986         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
62987         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
62988         renaming.
62989         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
62990         * wcsmbs/tst-c16c32-1.c: New file.
62992         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
62993         local variable.
62995         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
62997         * elf/tst-unique3.cc: Add explicit declaration of gets.
62998         * elf/tst-unique3lib.cc: Likewise.
62999         * elf/tst-unique3lib2.cc: Likewise.
63000         * elf/tst-unique4.cc: Likewise.
63002         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
63004 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
63006         [BZ #13566]
63007         * assert/assert.h (static_assert): Don't define for C++.
63008         * libio/stdio.h (gets): Do declare for C++ <= C++11.
63009         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
63011 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
63013         * iconv/loop.c (single loop): Fix assertion in storing of
63014         remaining bytes.
63016         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
63018 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
63020         * posix/getconf.c: Update copyright year.
63021         * nss/getent.c: Likewise.
63022         * nss/makedb.c: Likewise.
63023         * iconv/iconvconfig.c: Likewise.
63024         * iconv/iconv_prog.c: Likewise.
63025         * elf/ldconfig.c: Likewise.
63026         * elf/pldd.c: Likewise.
63027         * elf/sotruss.ksh: Likewise.
63028         * catgets/gencat.c: Likewise.
63029         * csu/version.c: Likewise.
63030         * elf/ldd.bash.in: Likewise.
63031         * elf/sprof.c (print_version): Likewise.
63032         * locale/programs/locale.c: Likewise.
63033         * locale/programs/localedef.c: Likewise.
63034         * login/programs/pt_chown.c: Likewise.
63035         * nscd/nscd.c (print_version): Likewise.
63036         * debug/xtrace.sh: Likewise.
63037         * malloc/memusage.sh: Likewise.
63038         * malloc/mtrace.pl: Likewise.
63039         * debug/catchsegv.sh: Likewise.
63041 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
63043         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
63044         pure attribute.
63046 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
63048         [BZ #13533]
63049         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
63050         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
63051         transformations.
63052         * iconv/gconv_int.h: Likewise.
63053         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
63054         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
63055         from libc for GLIBC_2.16.
63056         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
63057         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
63058         * wcsmbs/uchar.h: Really define mbstate_t.
63059         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
63060         * wcsmbs/c16rtomb.c: New file.
63061         * wcsmbs/mbrtoc16.c: New file.
63062         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
63063         for C/POSIX locale.
63064         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
63065         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
63067         * wcsmbs/wchar.h: Add missing __restrict.
63069 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63071         [BZ #13532]
63072         * time/Makefile (routines): Add timespec_get.
63073         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
63074         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
63075         timespec for ISO C11.
63076         * time/timespec_get.c: New file.
63077         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
63078         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
63080         [BZ #13531]
63081         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
63082         * stdlib/stdlib.h: Declare aligned_alloc.
63083         * Versions.def: Add GLIBC_2.16 for libc.
63084         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
63086         [BZ 13527]
63087         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
63088         ISO C11.
63090         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
63091         code.
63093         [BZ #13528]
63094         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
63096         [BZ #13529]
63097         * assert/assert.h (static_assert): Define.
63099         * version.h: Update for 2.16 development version.
63101         [BZ #13526]
63102         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
63103         _ISOC11_SOURCE.
63105         * version.h (RELEASE): Bump for 2.15 release.
63106         * include/features.h (__GLIBC_MINOR__): Bump to 15.
63108         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
63109         Patch by Marek Polacek <mpolacek@redhat.com>.
63111         * bits/byteswap.h: Protect long long constants with __extension__.
63112         * sysdeps/i386/bits/byteswap.h: Likewise.
63113         * sysdeps/ia64/bits/byteswap.h: Likewise.
63114         * sysdeps/s390/bits/byteswap.h: Likewise.
63115         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63117 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63119         [BZ #13540]
63120         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
63121         destination buffer.
63122         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
63124 2011-12-23  Marek Polacek  <polacek@redhat.com>
63126         * elf/dl-addr.c (determine_info): Add inline keyword.
63127         * elf/tst-auditmod4b.c (check_avx): Likewise.
63128         * elf/tst-auditmod6b.c (check_avx): Likewise.
63129         * elf/tst-auditmod6c.c (check_avx): Likewise.
63130         * elf/tst-auditmod7b.c (check_avx): Likewise.
63132 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63134         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
63135         !__SSE_MATH__.
63137 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63139         [BZ #13540]
63140         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
63141         processing for last bytes.
63143 2011-08-06  Bruno Haible  <bruno@clisp.org>
63145         [BZ #13061]
63146         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
63147         U+0385, not to U+1FEE.
63149         [BZ #13062]
63150         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
63151         entry for U+00A5 U+0301.
63153 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63155         [BZ #13166]
63156         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
63157         buffer for the output is too small.
63159         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
63160         optimization.
63162         [BZ #13185]
63163         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
63164         SSE flags if possible.
63166 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63168         [BZ #13540]
63169         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
63170         processing for last bytes.
63172 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
63174         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
63175         (syscall-list-default-options, syscall-list-default-condition)
63176         (syscall-list-includes): Define.
63177         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
63178         list of ABIs and options and #if conditions for each ABI.  Do not
63179         handle common syscalls between ABIs specially.
63180         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
63181         Remove.
63182         (syscall-list-variants, syscall-list-32bit-options)
63183         (syscall-list-32bit-condition, syscall-list-64bit-options)
63184         (syscall-list-64bit-condition): Define.
63185         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
63186         (syscall-list-variants, syscall-list-32bit-options)
63187         (syscall-list-32bit-condition, syscall-list-64bit-options)
63188         (syscall-list-64bit-condition): Define.
63189         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
63190         Remove.
63191         (syscall-list-variants, syscall-list-32bit-options)
63192         (syscall-list-32bit-condition, syscall-list-64bit-options)
63193         (syscall-list-64bit-condition): Define.
63194         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
63195         Remove.
63196         (syscall-list-variants, syscall-list-32bit-options)
63197         (syscall-list-32bit-condition, syscall-list-64bit-options)
63198         (syscall-list-64bit-condition): Define.
63200 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63202         * locale/iso-639.def: Add brx entry.
63204         [BZ #13328]
63205         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
63206         Proposed by Mariusz_Cukr <marcukr@op.pl>.
63208         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
63209         __feraiseexcept_renamed.
63211 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63213         [BZ #13538]
63214         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
63215         EPOLLET with unsigned values.
63216         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63217         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63219         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
63220         to large cancellation.
63221         * math/s_cacoshf.c: Likewise.
63222         * math/s_cacoshl.c: Likewise.
63224 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
63226         [BZ #13305]
63227         [BZ #12786]
63228         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
63229         * math/s_cacoshf.c: Likewise.
63230         * math/s_cacoshl.c: Likewise.
63232 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63234         [BZ #13439]
63235         * iconv/gconv.h: Define __GCONV_SWAP.
63236         * iconvdata/unicode.c: The swap bit must be stored in __flags.
63237         * iconvdata/utf-16.c: Likewise.
63238         * iconvdata/utf-32.c: Likewise.
63240 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
63242         [BZ #13524]
63243         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
63244         numerator after shifting it by one limb.
63246 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
63248         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
63249         under [__USE_EXTERN_INLINES].
63251 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63253         [BZ #13446]
63254         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
63256 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63258         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
63259         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
63260         optimized code.
63261         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
63262         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
63263         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
63264         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
63265         for strncasecmp/strncasecmp_l compilation.
63266         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
63267         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
63269 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
63271         [BZ #13484]
63272         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
63273         of __asm__.
63275 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63277         [BZ #13506]
63278         * time/tzfile.c (__tzfile_read): Check values from file header.
63280 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63282         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
63283         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
63284         * powerpc/powerpc32/dl-start.S: Likewise.
63285         * powerpc/powerpc32/elf/start.S: Likewise.
63286         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
63287         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
63288         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
63289         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
63290         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63291         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
63292         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
63293         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63294         * powerpc/powerpc32/fpu/s_round.S: Likewise.
63295         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63296         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63297         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63298         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
63299         * powerpc/powerpc32/memset.S: Likewise.
63300         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63301         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63302         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63303         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63304         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63305         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63306         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63307         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63308         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
63309         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
63310         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
63311         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63312         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63314 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63316         * math/libm-test.inc: Added more nearbyint tests.
63317         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
63318         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
63319         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
63320         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
63322 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
63324         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
63325         FD_CLOEXEC.
63327 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63329         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
63330         Add wcscpy-ssse3 wcscpy-c.
63331         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
63332         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
63333         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
63334         * sysdeps/x86_64/wcschr.S: New file.
63335         * sysdeps/x86_64/wcsrchr.S: New file.
63336         * string/test-strcmp.c: Remove checking of wcscmp function for
63337         wrong alignments.
63338         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
63339         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
63340         wcsrchr-sse2 wcsrchr-c.
63341         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
63342         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
63343         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
63344         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
63345         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
63346         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
63347         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
63348         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
63349         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
63350         * wcsmbc/wcschr.c (WCSCHR): New macro.
63352 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63354         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
63355         * wcsmbs/test-wcsrchr.c: New file.
63356         * string/test-strrchr.c: Add wcsrchr support.
63357         (WIDE): New macro.
63358         * wcsmbs/test-wcscpy.c: New file.
63359         * string/test-strcpy.c: Add wcscpy support.
63360         (WIDE): New macro.
63362 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
63364         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
63365         the inner loop.
63367 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
63369         [BZ #13472]
63370         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
63372 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
63374         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
63375         Minor optimizations.
63377         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
63378         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
63379         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
63381 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
63383         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
63384         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
63385         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
63386         for gcc to avoid warnings.
63387         * inet/Makefile (tests): Add tst-checks.
63388         * inet/tst-checks.c: New file.
63390         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
63391         warning.
63393         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
63394         __wmemcmp_sse2.
63396         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
63397         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
63399         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
63401 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
63403         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
63404         problem.
63406         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
63408 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
63410         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
63411         conditional on GCC version.
63412         (__arch_compare_and_exchange_val_8_acq)
63413         (__arch_compare_and_exchange_val_16_acq)
63414         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
63415         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
63416         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
63418 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
63420         * sysdeps/sh/backtrace.c: New file.
63422 2011-12-02  Andreas Schwab  <schwab@redhat.com>
63424         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
63425         parenthesis.
63427 2011-12-01  Andreas Schwab  <schwab@redhat.com>
63429         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
63430         falling back to utime.
63432 2011-11-30  Andreas Schwab  <schwab@redhat.com>
63434         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
63435         expectations for float.
63437 2011-11-29  Andreas Schwab  <schwab@redhat.com>
63439         * locale/weight.h (findidx): Add parameter len.
63440         * locale/weightwc.h (findidx): Likewise.
63441         * posix/fnmatch_loop.c (FCT): Adjust caller.
63442         * posix/regcomp.c (build_equiv_class): Likewise.
63443         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
63444         * posix/regexec.c (check_node_accept_bytes): Likewise.
63445         * string/strcoll_l.c (STRCOLL): Likewise.
63446         * string/strxfrm_l.c (STRXFRM): Likewise.
63448 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
63450         * Makefile.in: Remove CVSOPT handling.
63451         * configure.in: Remove use of AC_REVISION.
63452         * iconvdata/Makefile (distribute): No need to filter out CVS.
63453         * scripts/list-sources.sh: Remove CVS, subversion and monotone
63454         handling.
63456 2011-11-16  Andreas Schwab  <schwab@redhat.com>
63458         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
63459         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
63460         [USE_AS_STRNCASECMP_L]: Likewise.
63461         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
63462         NO_TLS_DIRECT_SEG_REFS.
63463         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
63464         Fix argument offsets for non-PIC.
63465         [USE_AS_STRNCASECMP_L]: Likewise.
63466         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
63467         NO_TLS_DIRECT_SEG_REFS.
63469 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
63471         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
63472         O_CLOEXEC.
63473         * locale/loadlocale.c (_nl_load_locale): Likewise.
63475 2011-11-15  Andreas Schwab  <schwab@redhat.com>
63477         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
63478         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
63479         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
63480         (SYSCALL_GETTIME): Set errno on error.
63482         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
63483         count references to noai6ai_cached.
63485 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
63487         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
63489         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
63490         FD_CLOEXEC for /proc/self/maps.
63492         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
63493         FD_CLOEXEC for /proc/meminfo.
63495         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
63496         gai.conf.
63498         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
63499         FD_CLOEXEC for given file.
63501         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
63503         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
63504         FD_CLOEXEC for /etc/hosts.
63505         (_gethtent): Likewise.
63507         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
63509         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
63510         cancellation and set FD_CLOEXEC for /etc/netgroup.
63512         * nss/nss_files/files-key.c (search): Don't allow cancellation when
63513         reading /etc/publickey.
63515         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
63516         allow cancellation when reading /etc/group.
63518         * nss/nss_files/files-alias.c (internal_setent): Don't allow
63519         cancellation.
63520         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
63522         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
63523         when using data file.
63525         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
63527         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
63528         (write_nis_obj): Use "c" and "e" in fopen.
63530         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
63532         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
63534         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
63536         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
63538         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
63539         locale.alias.
63541         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
63543         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
63545         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
63547         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
63548         file parsing and set FD_CLOEXEC.
63550 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
63552         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
63554 2011-11-14  Andreas Schwab  <schwab@redhat.com>
63556         * malloc/arena.c (arena_get2): Don't call reused_arena when
63557         _int_new_arena failed.
63559 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
63561         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
63562         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
63563         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
63564         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63565         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63566         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
63567         to compile strcasecmp and strncasecmp.
63568         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
63569         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
63571         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
63573 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
63575         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
63576         locale-defines.sym to gen-as-const-headers.
63577         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
63578         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
63579         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
63580         to compile strcasecmp and strncasecmp.
63581         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
63582         strcasecmp_l and strncasecmp_l.
63583         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
63584         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
63585         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
63586         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
63587         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
63588         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
63589         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
63590         * sysdeps/i386/i686/multiarch/strncase.S: New file.
63591         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
63592         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
63593         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
63595 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
63597         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
63598         result of SYSDEP_GETTIME_CPU to retval.
63599         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
63600         parameter list to macro.  Remove trailing semicolon.  Adjust users.
63602         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
63603         variable.
63605         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
63606         mantissa words.
63607         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
63609         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
63610         from unused variable.
63612         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
63613         DWARF definitions.
63614         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
63615         for assembling.
63617         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
63618         over namespaces.
63620         * sunrpc/rpc_prot.c (rejected): Fix case value.
63622         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
63623         unsigned long long int to avoid warnings in shift.
63625         * posix/regex_internal.c (re_string_reconstruct): Actually use result
63626         of use of trans.
63627         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
63628         variable tmp.
63630         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
63631         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
63632         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
63634         * nis/nis_table.c (nis_list): Use variable of correct type for
63635         result of __follow_path call.
63637 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63639         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
63640         of math functions ceil, trunc, floor, round, and sqrt, when
63641         avaliable on the platform.
63642         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
63643         name clash.
63644         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63645         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
63646         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
63648 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
63650         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
63651         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63653 2011-11-11  Roland McGrath  <roland@hack.frob.com>
63655         * include/unistd.h: Fix __readlink return type.
63656         Reported by Chris Metcalf <cmetcalf@tilera.com>.
63658 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
63660         * stdlib/ucontext.h: Undo last change for makecontext.
63662 2011-11-11  Andreas Schwab  <schwab@redhat.com>
63664         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
63666         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
63667         * setjmp/setjmp.h: Mark functions as non-leaf.
63668         * setjmp/bits/setjmp2.h: Likewise.
63669         * stdlib/ucontext.h: Likewise.
63671 2011-11-10  Andreas Schwab  <schwab@redhat.com>
63673         * malloc/arena.c (_int_new_arena): Don't increment narenas.
63674         (reused_arena): Don't check arena limit.
63675         (arena_get2): Atomically check arena limit.
63677 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
63679         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
63680         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
63682         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
63683         instructions.
63685 2011-11-07  Andreas Schwab  <schwab@redhat.com>
63687         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
63688         handler when locking.
63690         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
63691         Fix size of allocated buffer.
63693 2011-11-04  Andreas Schwab  <schwab@redhat.com>
63695         [BZ #10103]
63696         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
63697         declarations for long double functions.
63698         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
63700         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
63702 2011-11-03  Andreas Schwab  <schwab@redhat.com>
63704         * nscd/nscd.c (main): Don't start AVC thread until credentials are
63705         installed.
63707         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
63708         is disabled.
63710 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63712         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
63714 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63716         * include/alloca.h (stackinfo_alloca_round): Define.
63717         (extend_alloca): Use it.
63718         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
63719         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
63720         here.
63722         * scripts/check-local-headers.sh: Ignore libaudit.h.
63724         * nscd/Makefile (extra-objs): Make recursively expanded.
63726 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
63728         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
63729         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63731         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
63732         * posix/tst-rfc3484-2.c: Likewise.
63733         * posix/tst-rfc3484-3.c: Likewise.
63735         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63736         process_vm_writev.
63737         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
63738         process_vm_writev.
63739         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
63740         process_vm_writev from libc using GLIBC_2.15 version.
63742         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
63744 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
63746         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
63747         stack usage.
63749 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
63751         [BZ #13367]
63752         * nss/getent.c (initgroups_keys): Show error message in case no group
63753         names are given.
63755         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
63756         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
63757         __bump_nl_timestamp.
63758         * nscd/connections (nscd_init): When host database is served open
63759         netlink socket and request notification about configuration changes.
63760         (main_loop_poll): Track netlink file descriptor and bump timestamp
63761         in case data becomes available.
63762         (main_loop_epoll): Likewise.
63763         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
63764         (database_pers_head): Add extra_data fileds.
63765         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
63766         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
63767         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
63768         Adjust caller.
63769         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
63770         in6ai data, call __free_in6ai.
63771         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
63772         Add -DHAVE_NETLINK.
63773         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
63774         interface information.  Reuse previous data if netlink timestamp
63775         is not changed.
63776         (__bump_nl_timestamp): New function.
63777         (__free_in6ai): New function.
63779 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
63781         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
63782         close_not_cancel_no_status here.
63783         (__check_pf): Reorganize code a bit to not call close twice if OOM.
63785 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63787         [BZ #13276]
63788         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
63789         return value.
63791         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
63792         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
63793         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
63795 2011-07-03  Andreas Jaeger  <aj@suse.de>
63797         [BZ #10709]
63798         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
63799         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
63800         * math/libm-test.inc (sin_test): Add test case.
63802 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63804         [BZ #13337]
63805         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
63806         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63808         * elf/chroot_canon.c (chroot_canon): Cleanups.
63810         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
63812         [BZ #13335]
63813         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
63814         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63816         * string/test-strchr.c: Make usable for strchrnul testing.
63817         * string/test-strchrnul.c: New file.
63818         * string/Makefile (strop-tests): Add strchrnul.
63820         * po/it.po: Update from translation team.
63821         * po/es.po: Likewise.
63823 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
63825         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
63826         the three constants needed as parameters.  Drop the others.
63827         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
63828         __m128i_strloadu_tolower.
63829         Create and initialize variable zero and use it in all the places
63830         where _mm_setzero_si128 was used.
63832         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
63833         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
63834         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
63835         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
63836         anymore.
63837         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
63838         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
63839         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
63840         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
63841         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
63842         __mpranred, __mptan.
63843         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
63844         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
63845         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
63846         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
63847         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
63848         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
63849         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
63850         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
63851         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
63853 2011-10-28  Andreas Schwab  <schwab@redhat.com>
63855         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
63856         redefine if SHARED.
63857         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
63859         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
63860         wide char related routines to wcsmbs subdir.
63862 2011-10-27  Andreas Schwab  <schwab@redhat.com>
63864         [BZ #13344]
63865         * misc/sys/cdefs.h (__THROWNL): Define.
63866         * posix/unistd.h: Use __THREADNL instead of __THREAD
63867         for memory synchronization functions.
63869 2011-10-26  Roland McGrath  <roland@hack.frob.com>
63871         [BZ #13349]
63872         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
63873         doesn't exist.
63874         * manual/stdio.texi (Obstack Streams): Node removed.
63876 2011-10-26  Andreas Schwab  <schwab@redhat.com>
63878         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
63879         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63880         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63882         * math/math_private.h (math_force_eval): Allow non-addressable
63883         arguments.
63884         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
63886 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63888         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
63889         file is not needed.
63891         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
63892         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
63893         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63894         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63895         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63896         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63897         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63898         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
63899         Add AVX variants.
63900         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
63901         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
63902         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
63903         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
63904         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
63905         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
63906         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
63907         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
63908         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
63909         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
63910         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
63911         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
63912         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
63913         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
63914         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
63915         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
63916         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
63917         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
63918         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
63920         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
63921         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
63923         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
63924         place.  Use VEX encoding when compiling for AVX.
63926 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63928         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
63929         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63931         * string/test-strchr.c (do_test): Don't generate NUL bytes.
63933 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63935         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
63936         useless if() expression.
63937         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63938         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63939         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63940         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63941         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63942         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63943         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63944         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63945         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63946         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63947         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63948         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63949         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63950         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63951         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63952         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63953         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63954         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63955         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63957         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
63959 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63961         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
63962         condition.
63963         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63965 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63967         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
63968         .text section.  Avoid duplicate constants.
63969         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63970         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63971         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63972         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63973         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63974         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63975         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63976         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63977         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
63978         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
63979         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
63980         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63981         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
63982         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63983         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
63984         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
63985         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
63986         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
63987         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63988         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63989         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63990         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63991         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63992         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
63993         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
63994         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
63995         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
63996         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
63997         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
63998         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
63999         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
64000         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
64001         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64002         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
64003         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
64004         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
64005         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
64006         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
64007         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
64008         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
64009         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
64010         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
64011         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
64012         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
64013         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
64015 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
64017         * sysdeps/x86_64/dla.h: Move to ...
64018         * sysdeps/x86_64/fpu/dla.h: ...here.
64019         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
64020         situations.  Use __builtin_fma only for gcc 4.6 and up.
64022         * config.make.in: Add have-mfma4 entry.
64023         * configure.in: Substitute libc_cv_cc_fma4.
64024         * math/Makefile (dbl-only-routines): Add sincostab.
64025         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
64026         Use __sincostab not sincos.
64027         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
64028         name is a macro.
64029         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64030         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64031         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64032         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
64033         using __copysign.
64034         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
64035         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
64036         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
64037         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
64038         and __inv.
64039         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
64040         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
64041         __copysign.
64042         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
64043         define aliases when function name is a macro.
64044         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
64045         sysdeps/ieee754/dbl-64/sincos.tbl.
64046         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
64047         fma4-enabled routines.
64048         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
64049         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
64050         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
64051         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
64052         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
64053         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
64054         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
64055         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
64056         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
64057         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
64058         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
64059         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
64060         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
64061         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
64062         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
64063         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
64064         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
64065         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
64066         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
64067         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
64068         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
64069         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
64070         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
64071         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
64072         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
64073         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
64074         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
64075         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
64076         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
64077         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
64079         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
64080         rename.
64081         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64082         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64083         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64084         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64085         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64086         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64087         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64088         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64090 2011-10-24  Andreas Schwab  <schwab@redhat.com>
64092         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
64094 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64096         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
64098         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
64099         prediction.
64100         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
64102         * string/strnlen.c: Don't define STRNLEN, reverse logic.
64103         Remove unused variable magic_bits.
64104         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
64106         * string/strnlen.c: Define and use STRNLEN macro.
64107         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
64108         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
64109         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
64110         * wcsmbs/wcslen.c: Define and use WCSLEN.
64111         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
64112         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
64113         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
64114         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
64115         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
64116         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
64117         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64119 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64122         strnlen-sse2-no-bsf.
64123         Rename strlen-no-bsf to strlen-sse2-no-bsf.
64124         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
64125         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
64126         Add strnlen support.
64127         (USE_AS_STRNLEN): New macro.
64128         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
64129         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
64130         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
64131         * sysdeps/x86_64/wcslen.S: New file.
64133 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
64135         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64136         XMM-moves are used for copying on small sizes.
64138 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64140         * wcsmbs/Makefile (strop-tests): Add wcschr.
64141         * wcsmbs/test-wcschr.c: New file.
64142         * string/test-strchr.c: Update.
64143         Add wcschr support.
64144         (WIDE): New macro.
64146 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64148         * wcsmbs/Makefile (strop-tests): Add wcslen.
64149         * wcsmbs/test-wcslen.c: New file.
64150         * string/test-strlen.c: Update.
64151         Add wcslen support.
64152         (WIDE): New macro.
64154 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64156         * po/it.po: Update from translation team.
64158 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64160         * sysdeps/x86_64/wcscmp.S: Update.
64161         Fix wrong comparison semantics.
64162         wcscmp shall use signed comparison not unsigned.
64163         Don't use substraction to avoid overflow bug.
64164         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
64165         * wcsmbc/wcscmp.c: Likewise.
64166         * string/test-strcmp.c: Likewise.
64167         Add new tests to check cases with negative values.
64169 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64171         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
64172         * sysdeps/x86_64/dla.h: ...here.  New file.
64173         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
64174         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64175         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64176         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64177         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64178         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64179         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64180         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64181         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64183 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
64185         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
64186         __ynl_finite aliases.
64188 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64192         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
64193         define DLA_FMA.
64194         [DLA_FMA] (EMULV): Use DLA_FMA.
64195         [DLA_FMA] (MUL12): Use EMULV.
64196         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
64197         that are not needed.
64198         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64199         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64200         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64201         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64202         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64203         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64204         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64206 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
64208         * math/s_nan.c: Undef __nan.
64209         * math/s_nanf.c: Undef __nanf.
64210         * math/s_nanl.c: Undef __nanl.
64211         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
64212         "math_private.h".
64214 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64216         * math/s_catan.c: Add branch predictions.
64217         * math/s_catanf.c: Likewise.
64218         * math/s_catanh.c: Likewise.
64219         * math/s_catanhf.c: Likewise.
64220         * math/s_catanhl.c: Likewise.
64221         * math/s_catanl.c: Likewise.
64222         * math/s_cexp.c: Likewise.
64223         * math/s_cexpf.c: Likewise.
64224         * math/s_cexpl.c: Likewise.
64225         * math/s_clog.c: Likewise.
64226         * math/s_clog10.c: Likewise.
64227         * math/s_clog10f.c: Likewise.
64228         * math/s_clog10l.c: Likewise.
64229         * math/s_clogf.c: Likewise.
64230         * math/s_clogl.c: Likewise.
64231         * math/s_csqrt.c: Likewise.
64232         * math/s_csqrtf.c: Likewise.
64233         * math/s_csqrtl.c: Likewise.
64234         * math/s_ctanf.c: Likewise.
64235         * math/s_ctanh.c: Likewise.
64236         * math/s_ctanhf.c: Likewise.
64237         * math/s_ctanhl.c: Likewise.
64238         * math/s_ctanl.c: Likewise.
64240         * math/math_private.h: Define __nan, __nanf, __nanl.
64241         * math/s_cacosh.c: Include <math_private.h>.
64242         * math/s_cacoshl.c: Likewise.
64243         * math/s_casinh.c: Likewise.
64244         * math/s_casinhf.c: Likewise.
64245         * math/s_casinhl.c: Likewise.
64246         * math/s_ccos.c: Rely entire on ccosh.
64247         * math/s_ccosf.c: Rely entire on ccoshf.
64248         * math/s_ccosl.c: Rely entirely on ccoshl.
64249         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
64250         Remove tests for FE_INVALID.
64251         * math/s_ccoshf.c: Likewise.
64252         * math/s_ccoshl.c: Likewise.
64253         * math/s_csin.c: Likewise.
64254         * math/s_csinf.c: Likewise.
64255         * math/s_csinh.c Likewise.
64256         * math/s_csinhf.c: Likewise.
64257         * math/s_csinhl.c: Likewise.
64258         * math/s_csinl.c: Likewise.
64259         * math/s_ctan.c: Likewise.
64260         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
64261         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
64262         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
64264 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
64266         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
64267         compilation problems.
64269         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
64270         __builtin_expect.
64272 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
64274         * sysdeps/i386/configure.in: Test for -mfma4 option.
64275         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
64276         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
64277         COMMON_CPUID_INDEX_80000001.
64278         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
64279         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
64280         use it if FMA3 is not supported.
64281         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
64283         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
64284         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64286 2011-10-20  Andreas Schwab  <schwab@redhat.com>
64288         [BZ #12892]
64289         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
64290         it would create a cycle with a link time dependency.
64292 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
64294         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
64295         instruction.
64296         * string/Makefile (strop-tests): Add rawmemchr.
64297         * string/test-rawmemchr.c: New file.
64299         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
64300         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
64301         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
64302         when compiling str{,n}casecmp and when AVX is available.  Hook up
64303         new optimized code in initializers.
64305 2011-10-19  Andreas Schwab  <schwab@redhat.com>
64307         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
64308         __feraiseexcept instead of feraiseexcept.
64310 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
64312         * math/math_private.h: Define defaults for libc_fetestexcept and
64313         libc_feupdateenv.
64314         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
64315         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
64316         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64317         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64318         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64319         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64320         libc_fetestexcept and libc_feupdateenv.
64322         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
64323         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
64324         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
64325         * sysdeps/x86_64/fpu/math_private.h: Define special version of
64326         libc_feholdexcept_setround.
64328         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
64329         Add s_nearbyint-c and s_nearbyintf-c.
64330         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
64331         nearbyintf inlines.
64332         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
64333         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
64334         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
64335         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
64337         * math/math_private.h: Define defaults for libc_fegetround,
64338         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
64339         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
64340         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
64341         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
64342         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
64343         standard functions.
64344         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64345         Remove comments and hacks for old compiler versions.
64346         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64347         libc_fegetround, libc_fesetround, libc_feholdexcept, and
64348         libc_feholdexceptl.
64350 2011-10-18  Andreas Schwab  <schwab@redhat.com>
64352         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
64353         (__feraiseexcept_renamed): Add __NTH.
64354         (feraiseexcept): Add __NTH.  Rename local variables to fix
64355         namespace violations.
64357 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
64359         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
64361         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
64363         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
64364         recently added interfaces.
64365         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
64367         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
64368         about macro parameter expansion.
64370         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
64371         __NO_MATH_INLINES is defined.  Cleanups.
64373         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
64374         and __floorf is target has SSE4.1.
64375         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
64376         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
64377         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
64378         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
64380         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
64381         name.
64382         (floorf): Likewise.
64384         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
64386 2011-10-17  Andreas Schwab  <schwab@redhat.com>
64388         * misc/sys/cdefs.h: Fix last change.
64390         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
64391         database lookup.
64393 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
64395         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
64397         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
64398         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64399         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
64400         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64401         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64402         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
64403         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64404         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64405         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64406         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
64407         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
64408         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
64409         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
64410         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
64411         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
64412         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
64413         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
64414         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
64415         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
64416         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
64417         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
64418         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
64420         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
64421         ceil, ceilf, floor, floorf.
64423         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
64424         Perform IRELATIVE relocations last.
64426         * elf/do-rel.h: Add another parameter nrelative, replacing the
64427         local variable with the same name.  Change name of the function
64428         to end in Rel or Rela (uppercase).
64429         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
64430         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
64431         elf_dynamic_do_##reloc function.
64433 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
64435         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
64436         is sufficient, at least on modern CPUs.
64438         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
64440         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
64441         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
64443         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
64444         __expl_finite.
64445         * math/bits/math-finite.h: Add entries for exp.
64446         * math/e_expl.c: Add __*_finite alias.
64447         * sysdeps/i386/fpu/e_exp.S: Likewise.
64448         * sysdeps/i386/fpu/e_expf.S: Likewise.
64449         * sysdeps/i386/fpu/e_expl.c: Likewise.
64450         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64451         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64452         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64453         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64454         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
64455         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64456         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64458         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
64459         is sufficient, at least on modern CPUs.
64461         * ctype/ctype-info.c (__ctype_init): Define.
64462         * include/ctype.h (__ctype_init): Declare.
64463         (__ctype_b_loc): The variable is always initialized.
64464         (__ctype_toupper_loc): Likewise.
64465         (__ctype_tolower_loc): Likewise.
64466         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
64467         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
64469 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
64471         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
64473         * configure.in: Also look in $cxxmachine/include for C++ system
64474         headers.
64476 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64478         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
64479         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
64480         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
64481         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
64482         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
64483         (USE_AS_WMEMCMP): New macro.
64484         Fixing indents.
64485         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
64486         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
64487         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
64488         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
64489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64490         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
64491         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
64492         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
64493         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
64494         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
64495         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
64496         (USE_AS_WMEMCMP): New macro.
64497         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
64498         * sysdeps/string/test-memcmp.c: Update.
64499         Fix simple_wmemcmp.
64500         Add new tests.
64501         * wcsmbs/wmemcmp.c: Update.
64502         (WMEMCMP): New macro.
64503         Fix overflow bug.
64505 2011-10-12  Andreas Jaeger  <aj@suse.de>
64507         [BZ #13268]
64508         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
64510 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
64512         * libio/iofwide.c (do_length): Avoid warning.
64514         * ctype/ctype.h (__isctype_f): Add missing __THROW.
64516 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
64518         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
64520         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
64521         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
64522         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
64523         * sysdeps/i386/i686/fpu/e_log.S: New file.
64524         * sysdeps/i386/i686/fpu/e_logf.S: New file.
64525         * sysdeps/i386/i686/fpu/e_logl.S: New file.
64527         * ctype/ctype.h: Add support for inlined isXXX functions when
64528         compiling C++ code.
64530 2011-10-14  Andreas Schwab  <schwab@redhat.com>
64532         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64534         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
64536 2011-10-13  Roland McGrath  <roland@hack.frob.com>
64538         [BZ #13291]
64539         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
64541 2011-10-13  Andreas Schwab  <schwab@redhat.com>
64543         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
64544         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
64545         feraiseexcept.
64547         * sysdeps/x86_64/memrchr.S: Check for zero size.
64549         * string/stratcliff.c: Add memrchr tests.
64551 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64553         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64554         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
64555         rawmemchr-sse2 rawmemchr-sse2-bsf.
64556         * sysdeps/i386/i686/multiarch/memchr.S: New file.
64557         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
64558         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
64559         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
64560         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
64561         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
64562         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
64563         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
64564         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
64565         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
64566         * string/memrchr.c (MEMRCHR): New macro.
64568 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
64570         Add integration with gcc's -ffinite-math-only and optimize wrapper
64571         functions in libm.
64572         * Versions.def: Define GLIBC_2.15 version for libm.
64573         * math/Makefile (headers): Add bits/math-finite.h.
64574         * math/bits/math-finite.h: New file.
64575         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
64576         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
64577         * math/e_acoshl.c: Add __*_finite alias.
64578         * math/e_acosl.c: Likewise.
64579         * math/e_asinl.c: Likewise.
64580         * math/e_atan2l.c: Likewise.
64581         * math/e_atanhl.c: Likewise.
64582         * math/e_coshl.c: Likewise.
64583         * math/e_exp10.c: Likewise.
64584         * math/e_exp10f.c: Likewise.
64585         * math/e_exp10l.c: Likewise.
64586         * math/e_exp2l.c: Likewise.
64587         * math/e_fmodl.c: Likewise.
64588         * math/e_gammal_r.c: Likewise.
64589         * math/e_hypotl.c: Likewise.
64590         * math/e_j0l.c: Likewise.
64591         * math/e_j1l.c: Likewise.
64592         * math/e_jnl.c: Likewise.
64593         * math/e_lgammal_r.c: Likewise.
64594         * math/e_log10l.c: Likewise.
64595         * math/e_log2l.c: Likewise.
64596         * math/e_logl.c: Likewise.
64597         * math/e_powl.c: Likewise.
64598         * math/e_sinhl.c: Likewise.
64599         * math/e_sqrtl.c: Likewise.
64600         * math/e_scalb.c: Completely rewritten and optimized.
64601         * math/e_scalbf.c: Likewise.
64602         * math/e_scalbl.c: Likewise.
64603         * math/w_acos.c: Likewise.
64604         * math/w_acosf.c: Likewise.
64605         * math/w_acosl.c: Likewise.
64606         * math/w_acosh.c: Likewise.
64607         * math/w_acoshf.c: Likewise.
64608         * math/w_acoshl.c: Likewise.
64609         * math/w_asin.c: Likewise.
64610         * math/w_asinf.c: Likewise.
64611         * math/w_asinl.c: Likewise.
64612         * math/w_atan2.c: Likewise.
64613         * math/w_atan2f.c: Likewise.
64614         * math/w_atan2l.c: Likewise.
64615         * math/w_atanh.c: Likewise.
64616         * math/w_atanhf.c: Likewise.
64617         * math/w_atanhl.c: Likewise.
64618         * math/w_exp10.c: Likewise.
64619         * math/w_exp10f.c: Likewise.
64620         * math/w_exp10l.c: Likewise.
64621         * math/w_fmod.c: Likewise.
64622         * math/w_fmodf.c: Likewise.
64623         * math/w_fmodl.c: Likewise.
64624         * math/w_j0.c: Likewise.
64625         * math/w_j0f.c: Likewise.
64626         * math/w_j0l.c: Likewise.
64627         * math/w_j1.c: Likewise.
64628         * math/w_j1f.c: Likewise.
64629         * math/w_j1l.c: Likewise.
64630         * math/w_jn.c: Likewise.
64631         * math/w_jnf.c: Likewise.
64632         * math/w_log.c: Likewise.
64633         * math/w_logf.c: Likewise.
64634         * math/w_logl.c: Likewise.
64635         * math/w_log10.c: Likewise.
64636         * math/w_log10f.c: Likewise.
64637         * math/w_log10l.c: Likewise.
64638         * math/w_log2.c: Likewise.
64639         * math/w_log2f.c: Likewise.
64640         * math/w_log2l.c: Likewise.
64641         * math/w_pow.c: Likewise.
64642         * math/w_powf.c: Likewise.
64643         * math/w_powl.c: Likewise.
64644         * math/w_remainder.c: Likewise.
64645         * math/w_remainderf.c: Likewise.
64646         * math/w_remainderl.c: Likewise.
64647         * math/w_scalb.c: Likewise.
64648         * math/w_scalbf.c: Likewise.
64649         * math/w_scalbl.c: Likewise.
64650         * math/w_sqrt.c: Likewise.
64651         * math/w_sqrtf.c: Likewise.
64652         * math/w_sqrtl.c: Likewise.
64653         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
64654         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
64655         used.
64656         * math/math_private.h: Declare __kernel_standard_f.
64657         * math/w_cosh.c: Remove cruft and optimize a bit.
64658         * math/w_coshf.c: Likewise.
64659         * math/w_coshl.c: Likewise.
64660         * math/w_exp2.c: Likewise.
64661         * math/w_exp2f.c: Likewise.
64662         * math/w_exp2l.c: Likewise.
64663         * math/w_hypot.c: Likewise.
64664         * math/w_hypotf.c: Likewise.
64665         * math/w_hypotl.c: Likewise.
64666         * math/w_lgamma.c: Likewise.
64667         * math/w_lgamma_r.c: Likewise.
64668         * math/w_lgammaf.c: Likewise.
64669         * math/w_lgammaf_r.c: Likewise.
64670         * math/w_lgammal.c: Likewise.
64671         * math/w_lgammal_r.c: Likewise.
64672         * math/w_sinh.c: Likewise.
64673         * math/w_sinhf.c: Likewise.
64674         * math/w_sinhl.c: Likewise.
64675         * math/w_tgamma.c: Likewise.
64676         * math/w_tgammaf.c: Likewise.
64677         * math/w_tgammal.c: Likewise.
64678         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64679         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64680         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
64681         Minor optimizations.  Pretty printing.  Remove cruft.
64682         * sysdeps/i386/fpu/e_acosf.S: Likewise.
64683         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64684         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64685         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64686         * sysdeps/i386/fpu/e_acosl.c: Likewise.
64687         * sysdeps/i386/fpu/e_asin.S: Likewise.
64688         * sysdeps/i386/fpu/e_asinf.S: Likewise.
64689         * sysdeps/i386/fpu/e_atan2.S: Likewise.
64690         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
64691         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
64692         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64693         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64694         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64695         * sysdeps/i386/fpu/e_exp10.S: Likewise.
64696         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
64697         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
64698         * sysdeps/i386/fpu/e_exp2.S: Likewise.
64699         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
64700         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
64701         * sysdeps/i386/fpu/e_fmod.S: Likewise.
64702         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
64703         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
64704         * sysdeps/i386/fpu/e_hypot.S: Likewise.
64705         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
64706         * sysdeps/i386/fpu/e_log.S: Likewise.
64707         * sysdeps/i386/fpu/e_log10.S: Likewise.
64708         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64709         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64710         * sysdeps/i386/fpu/e_log2.S: Likewise.
64711         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64712         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64713         * sysdeps/i386/fpu/e_logf.S: Likewise.
64714         * sysdeps/i386/fpu/e_logl.S: Likewise.
64715         * sysdeps/i386/fpu/e_pow.S: Likewise.
64716         * sysdeps/i386/fpu/e_powf.S: Likewise.
64717         * sysdeps/i386/fpu/e_powl.S: Likewise.
64718         * sysdeps/i386/fpu/e_remainder.S: Likewise.
64719         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
64720         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
64721         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64722         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64723         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64724         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
64725         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
64726         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
64727         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64728         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64729         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64730         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64731         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64732         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64733         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
64734         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64735         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64736         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64737         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64738         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64739         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64740         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64741         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64742         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64743         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64744         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64745         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64746         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64747         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64748         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64749         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64750         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64751         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64752         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64753         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64754         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64755         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
64756         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64757         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64758         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64759         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64760         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64761         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64762         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64763         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64764         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64765         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64766         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64767         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64768         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64769         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64770         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64771         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64772         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64773         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64774         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64775         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64776         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
64777         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64778         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64779         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64780         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64781         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64782         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64783         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64784         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64785         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64786         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64787         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64788         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64789         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64790         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64791         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64792         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64793         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64794         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64795         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
64796         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64797         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64798         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64799         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64800         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64801         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64802         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64803         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64804         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64805         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64806         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64807         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64808         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64809         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
64810         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64811         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64812         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64813         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64814         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64815         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64816         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64817         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64818         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64819         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64820         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64821         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64822         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64823         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64824         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
64825         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
64826         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
64827         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
64828         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
64829         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
64830         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
64831         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64832         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64833         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64834         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64835         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
64836         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64837         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
64838         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
64839         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
64840         (__isnanf): Likewise.
64841         (__isinf_ns): Likewise.
64842         (__isinf_nsf): Likewise.
64843         (__finite): Likewise.
64844         (__finitef): Likewise.
64845         (__ieee754_sqrt): Define as macro.
64846         (__ieee754_sqrtf): Define as macro.
64847         (__ieee754_sqrtl): Define as macro.
64848         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
64849         inlined copy.
64850         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
64851         __FINITE_MATH_ONLY__ consistent.
64852         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
64854 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
64856         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
64857         of rawmemchr.
64859         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
64861 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
64863         * po/ja.po: Update from translation team.
64865 2011-10-08  Roland McGrath  <roland@hack.frob.com>
64867         * locale/programs/locarchive.c (prepare_address_space): New function.
64868         (create_archive, enlarge_archive, open_archive): Use it.
64870         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
64871         inside [SHARED], where it is used.
64873         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
64875         * nss/getent.c (netgroup_keys): Remove unused variable.
64876         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64878 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
64880         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
64881         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
64882         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
64883         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
64884         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
64885         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
64886         * math/Makefile (libm-calls): Add s_isinf_ns.
64887         * math/divtc3.c: Use __isinf_nsl instead of isinf.
64888         * math/multc3.c: Likewise.
64889         * math/s_casin.c: Likewise.
64890         * math/s_casinf.c: Likewise.
64891         * math/s_casinl.c: Likewise.
64892         * math/s_ccos.c: Likewise.
64893         * math/s_ccosf.c: Likewise.
64894         * math/s_ccosl.c: Likewise.
64895         * math/s_ctan.c: Likewise.
64896         * math/s_ctanf.c: Likewise.
64897         * math/s_ctanh.c: Likewise.
64898         * math/s_ctanhf.c: Likewise.
64899         * math/s_ctanhl.c: Likewise.
64900         * math/s_ctanl.c: Likewise.
64901         * math/w_fmod.c: Likewise.
64902         * math/w_fmodf.c: Likewise.
64903         * math/w_fmodl.c: Likewise.
64904         * math/w_remainder.c: Likewise.
64905         * math/w_remainderf.c: Likewise.
64906         * math/w_remainderl.c: Likewise.
64907         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
64908         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
64909         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
64910         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
64911         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
64912         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
64913         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
64914         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
64916         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
64917         of the number.
64918         * stdio-common/printf_fphex.c: Likewise.
64919         * stdio-common/printf_size.c: Likewise.
64921         * math/e_exp10.c: Include math_private.h using <...> not "...".
64922         * math/e_exp10f.c: Likewise.
64923         * math/e_exp10l.c: Likewise.
64924         * math/e_exp2l.c: Likewise.
64925         * math/e_j0l.c: Likewise.
64926         * math/e_j1l.c: Likewise.
64927         * math/e_jnl.c: Likewise.
64928         * math/e_lgammal_r.c: Likewise.
64929         * math/e_rem_pio2l.c: Likewise.
64930         * math/e_scalb.c: Likewise.
64931         * math/e_scalbf.c: Likewise.
64932         * math/e_scalbl.c: Likewise.
64933         * math/k_cosl.c: Likewise.
64934         * math/k_sinl.c: Likewise.
64935         * math/k_tanl.c: Likewise.
64936         * math/s_cacoshf.c: Likewise.
64937         * math/s_catan.c: Likewise.
64938         * math/s_catanf.c: Likewise.
64939         * math/s_catanh.c: Likewise.
64940         * math/s_catanhf.c: Likewise.
64941         * math/s_catanhl.c: Likewise.
64942         * math/s_catanl.c: Likewise.
64943         * math/s_ccosh.c: Likewise.
64944         * math/s_ccoshf.c: Likewise.
64945         * math/s_ccoshl.c: Likewise.
64946         * math/s_cexp.c: Likewise.
64947         * math/s_cexpf.c: Likewise.
64948         * math/s_cexpl.c: Likewise.
64949         * math/s_clog.c: Likewise.
64950         * math/s_clog10.c: Likewise.
64951         * math/s_clog10f.c: Likewise.
64952         * math/s_clog10l.c: Likewise.
64953         * math/s_clogf.c: Likewise.
64954         * math/s_clogl.c: Likewise.
64955         * math/s_csin.c: Likewise.
64956         * math/s_csinf.c: Likewise.
64957         * math/s_csinh.c: Likewise.
64958         * math/s_csinhf.c: Likewise.
64959         * math/s_csinhl.c: Likewise.
64960         * math/s_csinl.c: Likewise.
64961         * math/s_csqrt.c: Likewise.
64962         * math/s_csqrtf.c: Likewise.
64963         * math/s_csqrtl.c: Likewise.
64964         * math/s_ctan.c: Likewise.
64965         * math/s_ctanf.c: Likewise.
64966         * math/s_ctanh.c: Likewise.
64967         * math/s_ctanhf.c: Likewise.
64968         * math/s_ctanhl.c: Likewise.
64969         * math/s_ctanl.c: Likewise.
64970         * math/s_ldexp.c: Likewise.
64971         * math/s_ldexpf.c: Likewise.
64972         * math/s_ldexpl.c: Likewise.
64973         * math/s_significand.c: Likewise.
64974         * math/s_significandf.c: Likewise.
64975         * math/s_significandl.c: Likewise.
64976         * math/w_acos.c: Likewise.
64977         * math/w_acosf.c: Likewise.
64978         * math/w_acosh.c: Likewise.
64979         * math/w_acoshf.c: Likewise.
64980         * math/w_acoshl.c: Likewise.
64981         * math/w_acosl.c: Likewise.
64982         * math/w_asin.c: Likewise.
64983         * math/w_asinf.c: Likewise.
64984         * math/w_asinl.c: Likewise.
64985         * math/w_atan2.c: Likewise.
64986         * math/w_atan2f.c: Likewise.
64987         * math/w_atan2l.c: Likewise.
64988         * math/w_atanh.c: Likewise.
64989         * math/w_atanhf.c: Likewise.
64990         * math/w_atanhl.c: Likewise.
64991         * math/w_cosh.c: Likewise.
64992         * math/w_coshf.c: Likewise.
64993         * math/w_coshl.c: Likewise.
64994         * math/w_dremf.c: Likewise.
64995         * math/w_exp10.c: Likewise.
64996         * math/w_exp10f.c: Likewise.
64997         * math/w_exp10l.c: Likewise.
64998         * math/w_exp2.c: Likewise.
64999         * math/w_exp2f.c: Likewise.
65000         * math/w_fmod.c: Likewise.
65001         * math/w_fmodf.c: Likewise.
65002         * math/w_fmodl.c: Likewise.
65003         * math/w_hypot.c: Likewise.
65004         * math/w_hypotf.c: Likewise.
65005         * math/w_hypotl.c: Likewise.
65006         * math/w_j0.c: Likewise.
65007         * math/w_j0f.c: Likewise.
65008         * math/w_j0l.c: Likewise.
65009         * math/w_j1.c: Likewise.
65010         * math/w_j1f.c: Likewise.
65011         * math/w_j1l.c: Likewise.
65012         * math/w_jn.c: Likewise.
65013         * math/w_jnf.c: Likewise.
65014         * math/w_jnl.c: Likewise.
65015         * math/w_lgamma.c: Likewise.
65016         * math/w_lgamma_r.c: Likewise.
65017         * math/w_lgammaf.c: Likewise.
65018         * math/w_lgammaf_r.c: Likewise.
65019         * math/w_lgammal.c: Likewise.
65020         * math/w_lgammal_r.c: Likewise.
65021         * math/w_log.c: Likewise.
65022         * math/w_log10.c: Likewise.
65023         * math/w_log10f.c: Likewise.
65024         * math/w_log10l.c: Likewise.
65025         * math/w_log2.c: Likewise.
65026         * math/w_log2f.c: Likewise.
65027         * math/w_log2l.c: Likewise.
65028         * math/w_logf.c: Likewise.
65029         * math/w_logl.c: Likewise.
65030         * math/w_pow.c: Likewise.
65031         * math/w_powf.c: Likewise.
65032         * math/w_powl.c: Likewise.
65033         * math/w_remainder.c: Likewise.
65034         * math/w_remainderf.c: Likewise.
65035         * math/w_remainderl.c: Likewise.
65036         * math/w_scalb.c: Likewise.
65037         * math/w_scalbf.c: Likewise.
65038         * math/w_scalbl.c: Likewise.
65039         * math/w_sinh.c: Likewise.
65040         * math/w_sinhf.c: Likewise.
65041         * math/w_sinhl.c: Likewise.
65042         * math/w_sqrt.c: Likewise.
65043         * math/w_sqrtf.c: Likewise.
65044         * math/w_sqrtl.c: Likewise.
65045         * math/w_tgamma.c: Likewise.
65046         * math/w_tgammaf.c: Likewise.
65047         * math/w_tgammal.c: Likewise.
65049         * po/ja.po: Update from translation team.
65051 2011-09-29  Andreas Jaeger  <aj@suse.de>
65053         [BZ #13179]
65054         * sunrpc/netname.c (netname2host): Fix logic.
65056         [BZ #6779]
65057         [BZ #6783]
65058         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
65059         correctly.
65060         * math/w_remainder.c (__remainder): Likewise.
65061         * math/w_remainderf.c (__remainderf): Likewise.
65062         * math/libm-test.inc (remainder_test): Add test cases.
65064 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65066         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
65067         sdiv_qrnnd.
65069 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65071         * string/test-memcmp.c: Avoid unncessary #defines.
65072         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65074 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65076         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
65077         Use new sse2 version for core i3 - i7 as it's faster
65078         than sse42 version.
65079         (bit_Prefer_PMINUB_for_stringop): New.
65080         * sysdeps/x86_64/rawmemchr.S: Update.
65081         Replace with faster SSE2 version.
65082         * sysdeps/x86_64/memrchr.S: New file.
65083         * sysdeps/x86_64/memchr.S: Update.
65084         Replace with faster SSE2 version.
65086 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
65088         * elf/dl-load.c (lose): Add cast to avoid warning.
65090 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65092         * po/ca.po: Update from translation team.
65094         * inet/getnetgrent_r.c: Hook up nscd.
65095         * nscd/Makefile (routines): Add nscd_netgroup.
65096         (nscd-modules): Add netgroupcache.
65097         (CFLAGS-netgroupcache.c): Define.
65098         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
65099         (cache_search): Add const to second parameter.
65100         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
65101         INNETGR.
65102         (dbs): Add netgrdb entry.
65103         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
65104         (verify_persistent_db): Handle netgrdb.
65105         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
65106         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
65107         GETFDNETGR.
65108         (netgroup_response_header): Define.
65109         (innetgroup_response_header): Define.
65110         (datahead): Add netgroup_response_header and innetgroup_response_header
65111         elements.
65112         * nscd/nscd.conf: Add entries for netgroup cache.
65113         * nscd/nscd.h (dbtype): Add netgrdb.
65114         (_PATH_NSCD_NETGROUP_DB): Define.
65115         (netgroup_iov_disabled): Declare.
65116         (xmalloc, xcalloc, xrealloc): Move declarations here.
65117         (cache_search): Adjust prototype.
65118         Add netgroup-related prototypes.
65119         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
65120         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
65121         (__nscd_innetgr): Declare.
65122         * nscd/selinux.c (perms): Use access_vector_t as element type and
65123         add netgroup-related initializers.
65124         * nscd/netgroupcache.c: New file.
65125         * nscd/nscd_netgroup.c: New file.
65126         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
65127         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
65128         For four parameters use innetgr.
65129         * nss/nss_files/files-init.c: Add definition and callback for netgr.
65130         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
65131         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
65132         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
65134         * nscd/connections.c (register_traced_file): Don't register file
65135         for disabled databases.
65137 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
65139         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
65141         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
65142         from tree and freeing node.
65144 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
65146         * nss/nsswitch.c (__nss_database_lookup): Handle
65147         nss_parse_service_list out of memory case.
65149 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
65151         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
65152         out of memory case.
65154 2011-10-04  Andreas Schwab  <schwab@redhat.com>
65156         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
65157         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
65158         pass it down.
65159         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
65160         elf_machine_rela, elf_machine_lazy_rel.
65161         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
65162         (ELF_DYNAMIC_DO_REL): Likewise.
65163         (ELF_DYNAMIC_DO_RELA): Likewise.
65164         (ELF_DYNAMIC_RELOCATE): Likewise.
65165         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
65166         to ELF_DYNAMIC_DO_REL.
65167         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
65168         (dl_main): In trace mode always set __RTLD_NOIFUNC.
65169         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
65170         elf_machine_rela.
65171         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
65172         skip_ifunc, don't call ifunc function if non-zero.
65173         (elf_machine_rela): Likewise.
65174         (elf_machine_lazy_rel): Likewise.
65175         (elf_machine_lazy_rela): Likewise.
65176         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
65177         (elf_machine_lazy_rel): Likewise.
65178         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
65179         Likewise.
65180         (elf_machine_lazy_rel): Likewise.
65181         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65182         Likewise.
65183         (elf_machine_lazy_rel): Likewise.
65184         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
65185         (elf_machine_lazy_rel): Likewise.
65186         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
65187         (elf_machine_lazy_rel): Likewise.
65188         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65189         (elf_machine_lazy_rel): Likewise.
65190         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
65191         (elf_machine_lazy_rel): Likewise.
65192         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
65193         (elf_machine_lazy_rel): Likewise.
65194         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65195         (elf_machine_lazy_rel): Likewise.
65197 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
65199         * nss/nss_files/files-init.c (_nss_files_init): Use static
65200         initialization for all the *_traced_file variables.
65202 2011-09-28  Andreas Schwab  <schwab@redhat.com>
65204         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65206 2011-09-27  Roland McGrath  <roland@hack.frob.com>
65208         [BZ #13226]
65209         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
65211 2011-09-27  Andreas Schwab  <schwab@redhat.com>
65213         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65214         Reread the line before reparsing it.
65216 2011-09-26  Andreas Schwab  <schwab@redhat.com>
65218         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
65220 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
65221             Maxim Kuvyrkov  <maxim@codesourcery.com>
65222             Joseph Myers  <joseph@codesourcery.com>
65224         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
65225         if needed for __stack_chk_guard.
65227 2011-09-19  Roland McGrath  <roland@hack.frob.com>
65229         * sysdeps/posix/spawni.c (script_execute): Always define it.
65230         It will be optimized away if unused.
65231         (maybe_script_execute): New function.
65232         (__spawni): Call it.
65234         * Makerules: Don't include tls.make.
65235         (config-tls): Always set to thread.
65236         * tls.make.c: File removed.
65238 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
65240         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
65241         * config.make.in (CPPFLAGS-config): New substituted variable.
65243 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65245         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
65247         [BZ #13192]
65248         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
65249         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
65251 2011-09-15  Roland McGrath  <roland@hack.frob.com>
65253         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
65254         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
65255         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65256         (CALL_FAIL): Likewise.
65257         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
65258         (CALL_FAIL): Macro removed.
65259         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
65261 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65263         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
65264         for __FINITE_MATH_ONLY__ == 1.
65266 2011-09-15  Andreas Schwab  <schwab@redhat.com>
65268         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
65269         __ieee754_sqrt instead of sqrt.
65270         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
65271         __ieee754_sqrtf instead of sqrtf.
65272         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
65273         __floorf instead of floorf.
65274         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
65275         __floorf, __truncf instead of floorf, truncf.
65277 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
65279         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
65281         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
65282         __extern_always_inline.
65283         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
65284         32-bit.
65286 2011-09-14  Andreas Schwab  <schwab@redhat.com>
65288         * elf/rtld.c (dl_main): Also relocate in dependency order when
65289         doing symbol dependency testing.
65291 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
65293         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65294         Always define `refsym'.
65296 2011-09-13  Andreas Schwab  <schwab@redhat.com>
65298         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
65299         (__FD_ELT): Renamed from __FDELT.
65300         * misc/bits/select2.h (__FD_ELT): Likewise.
65301         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
65302         __FD_MASK instead of __FDELT, __FDMASK.
65303         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65304         Likewise.
65305         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65306         Likewise.
65308         * elf/Makefile (gen-ldd): Fix pattern.
65310         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
65311         (init_tls): Likewise.
65313 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
65315         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
65317 2011-09-12  Andreas Schwab  <schwab@redhat.com>
65319         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
65320         `struct cmsghdr *' instead of `void *'.
65321         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
65322         Likewise.
65324 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
65326         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
65327         if non-absolute.
65328         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
65329         ldd_rewrite_script.
65331 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
65333         * configure.in: Remove --with-tls option.
65334         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
65335         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
65336         out in case it is missing.
65337         * sysdeps/ia64/elf/configure.in: Likewise.
65338         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
65339         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
65340         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
65341         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
65342         * sysdeps/sh/elf/configure.in: Likewise.
65343         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
65344         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65345         * sysdeps/x86_64/elf/configure.in: Likewise.
65346         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
65347         * sysdeps/mach/hurd/tls.h: Likewise.
65349         [BZ #13067]
65350         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
65352         [BZ #13090]
65353         * configure.in: Fix use of AC_INIT.
65355         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
65357 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
65359         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
65360         __set_errno.
65361         * malloc/hooks.c: Likewise.
65363         [BZ #11929]
65364         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
65365         variables statically.
65366         (narenas): Initialize.
65367         (list_lock): Initialize.
65368         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
65369         initializtion of main_arena and list_lock.  Small cleanups.
65370         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
65371         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
65372         Add initializers to main_arena and mp_.
65373         (malloc_state): Remove pagesize member.  Change all users to use
65374         GLRO(dl_pagesize).
65376         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
65377         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
65378         is always initialized.
65380         * malloc/malloc.c: Removed unused configurations and dead code.
65381         * malloc/arena.c: Likewise.
65382         * malloc/hooks.c: Likewise.
65383         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
65385         * include/tls.h: Removed.  USE___THREAD must always be defined.
65386         * bits/libc-tsd.h: Don't handle !USE___THREAD.
65387         * elf/dl-libc.c: Likewise.
65388         * elf/dl-tsd.c: Likewise.
65389         * include/errno.h: Likewise.
65390         * include/netdb.h: Likewise.
65391         * include/resolv.h: Likewise.
65392         * inet/herrno-loc.c: Likewise.
65393         * inet/herrno.c: Likewise.
65394         * malloc/arena.c: Likewise.
65395         * malloc/hooks.c: Likewise.
65396         * malloc/malloc.c: Likewise.
65397         * resolv/res-state.c: Likewise.
65398         * resolv/res_libc.c: Likewise.
65399         * sysdeps/i386/dl-machine.h: Likewise.
65400         * sysdeps/ia64/dl-machine.h: Likewise.
65401         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
65402         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65403         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
65404         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
65405         * sysdeps/sh/dl-machine.h: Likewise.
65406         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
65407         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
65408         * sysdeps/unix/i386/sysdep.S: Likewise.
65409         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
65410         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
65411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
65412         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
65413         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
65414         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
65415         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
65416         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
65417         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65418         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
65419         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65420         * sysdeps/x86_64/dl-machine.h: Likewise.
65421         * tls.make.c: Likewise.
65423         * configure.in: Remove --with-__thread option.  Make tests for
65424         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
65425         tls_model attribute fail if no support is available.  Remove
65426         USE_IN_LIBIO.
65427         * Makeconfig: Adjust for dropped configure option.  All features are
65428         now mandatory.
65429         * Makerules: Likewise.
65430         * Versions.def: Likewise.
65431         * argp/argp-fmtstream.c: Likewise.
65432         * argp/argp-fmtstream.h: Likewise.
65433         * argp/argp-help.c: Likewise.
65434         * assert/assert.c: Likewise.
65435         * config.h.in: Likewise.
65436         * config.make.in: Likewise.
65437         * configure: Likewise.
65438         * configure.in: Likewise.
65439         * csu/Versions: Likewise.
65440         * csu/init.c: Likewise.
65441         * elf/tst-audit2.c: Likewise.
65442         * elf/tst-tls10.c: Likewise.
65443         * elf/tst-tls10.h: Likewise.
65444         * elf/tst-tls11.c: Likewise.
65445         * elf/tst-tls12.c: Likewise.
65446         * elf/tst-tls14.c: Likewise.
65447         * elf/tst-tlsmod11.c: Likewise.
65448         * elf/tst-tlsmod12.c: Likewise.
65449         * elf/tst-tlsmod13.c: Likewise.
65450         * elf/tst-tlsmod13a.c: Likewise.
65451         * elf/tst-tlsmod14a.c: Likewise.
65452         * elf/tst-tlsmod15b.c: Likewise.
65453         * elf/tst-tlsmod16a.c: Likewise.
65454         * elf/tst-tlsmod16b.c: Likewise.
65455         * elf/tst-tlsmod7.c: Likewise.
65456         * elf/tst-tlsmod8.c: Likewise.
65457         * elf/tst-tlsmod9.c: Likewise.
65458         * gmon/gmon.c: Likewise.
65459         * grp/fgetgrent_r.c: Likewise.
65460         * grp/putgrent.c: Likewise.
65461         * hurd/fopenport.c: Likewise.
65462         * include/libc-symbols.h: Likewise.
65463         * include/tls.h: Likewise.
65464         * intl/gettextP.h: Likewise.
65465         * intl/loadinfo.h: Likewise.
65466         * locale/global-locale.c: Likewise.
65467         * locale/localeinfo.h: Likewise.
65468         * mach/devstream.c: Likewise.
65469         * malloc/arena.c: Likewise.
65470         * malloc/set-freeres.c: Likewise.
65471         * misc/err.c: Likewise.
65472         * misc/getttyent.c: Likewise.
65473         * misc/mntent_r.c: Likewise.
65474         * posix/getopt.c: Likewise.
65475         * posix/wordexp.c: Likewise.
65476         * pwd/fgetpwent_r.c: Likewise.
65477         * resolv/Versions: Likewise.
65478         * resolv/res_hconf.c: Likewise.
65479         * shadow/fgetspent_r.c: Likewise.
65480         * shadow/putspent.c: Likewise.
65481         * stdio-common/printf_fphex.c: Likewise.
65482         * stdio-common/tmpfile.c: Likewise.
65483         * stdlib/abort.c: Likewise.
65484         * stdlib/fmtmsg.c: Likewise.
65485         * sunrpc/auth_unix.c: Likewise.
65486         * sunrpc/clnt_perr.c: Likewise.
65487         * sunrpc/clnt_tcp.c: Likewise.
65488         * sunrpc/clnt_udp.c: Likewise.
65489         * sunrpc/clnt_unix.c: Likewise.
65490         * sunrpc/openchild.c: Likewise.
65491         * sunrpc/svc_simple.c: Likewise.
65492         * sunrpc/svc_tcp.c: Likewise.
65493         * sunrpc/svc_udp.c: Likewise.
65494         * sunrpc/svc_unix.c: Likewise.
65495         * sunrpc/xdr.c: Likewise.
65496         * sunrpc/xdr_array.c: Likewise.
65497         * sunrpc/xdr_rec.c: Likewise.
65498         * sunrpc/xdr_ref.c: Likewise.
65499         * sunrpc/xdr_stdio.c: Likewise.
65501 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65503         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65505 2011-07-03  Andreas Jaeger  <aj@suse.de>
65507         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
65508         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
65509         regenerate with gen-libm-tests.pl.
65511 2010-05-12  Petr Baudis  <pasky@suse.cz>
65513         [BZ #11589]
65514         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
65515         around j0() zero points by switching to j1().
65516         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65517         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65518         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65519         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65521 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65523         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
65524         instead of 0.
65525         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
65526         instead of 0.
65527         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65528         Patch in part by Pavel Roskin <proski@gnu.org>.
65530         [BZ #13138]
65531         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
65532         realloc.
65533         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
65534         Free memory block if necessary.
65536         [BZ #12847]
65537         * libio/genops.c (INTDEF): For string streams the _lock pointer can
65538         be NULL.  Don't lock in this case.
65540 2011-09-09  Roland McGrath  <roland@hack.frob.com>
65542         * elf/elf.h (ELFOSABI_GNU): New macro.
65543         (ELFOSABI_LINUX): Define to that.
65545 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
65547         * string/strncat.c (strncat): Undef the symbol in case it has been
65548         defined in bits/string.h.
65550 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65552         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
65554         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
65555         link map.
65557 2011-08-17  Andreas Jaeger  <aj@suse.de>
65559         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
65561 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
65562             Ian Lance Taylor  <iant@google.com>
65564         * math/libm-test.inc (lround_test): New testcase.
65565         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
65567 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
65569         * Makefile: Remove support for automatic cvs check-ins.
65570         * Makerules: Likewise.
65571         * config.make.in: Likewise.
65572         * configure.in: Likewise.
65573         * intl/Makefile: Likewise.
65574         * locale/Makefile: Likewise.
65575         * po/Makefile: Likewise.
65576         * posix/Makefile: Likewise.
65577         * sysdeps/gnu/Makefile: Likewise.
65578         * sysdeps/mach/hurd/Makefile: Likewise.
65579         * sysdeps/sparc/sparc32/Makefile: Likewise.
65581         [BZ #13118]
65582         * posix/Makefile (bug-regex32-ENV): Define.
65583         Patch by John Stanley <jpsinthemix@verizon.net>.
65585         * misc/Makefile (headers): Add bits/select2.h.
65586         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
65587         * misc/bits/select2.h: New file.
65588         * include/bits/select2.h: New file.
65589         * debug/Makefile (routines): Add fdelt_chk.
65590         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
65591         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
65592         FD_ISSET.
65593         * debug/fdelt_chk.c: New file.
65595         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
65596         * wcsmbs/test-wmemcmp.c: Likewise.
65597         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
65598         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
65600 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65602         * string/Makefile (strop-tests): Add memcmp.
65603         * string/test-wmemcmp.c: New file.
65604         * string/test-memcmp.c: Add wmemcmp support.
65606 2011-09-08  Roland McGrath  <roland@hack.frob.com>
65608         [BZ #13153]
65609         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
65610         2011-07-19 change.
65612         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
65613         garbage value in a __mach_port_mod_refs call in the cases of the
65614         task-self and thread-self ports.
65616 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65618         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
65620 2011-09-08  Andreas Schwab  <schwab@redhat.com>
65622         * elf/dl-load.c (lose): Check for non-null L.
65624 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
65626         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
65628         * elf/dl-libc.c (dlerror_run): Pass back error code from
65629         dl_catch_error.
65631         [BZ #13123]
65632         * elf/dl-load.c (lose): Free l_origin if it is valid.
65634         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
65635         names.
65636         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
65637         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
65638         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65639         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
65640         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
65641         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
65643 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65645         * sysdeps/powerpc/fpu/e_hypot.c: New file.
65646         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
65647         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
65648         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
65649         * sysdeps/powerpc/fpu/k_cosf.c: New file.
65650         * sysdeps/powerpc/fpu/k_sinf.c: New file.
65651         * sysdeps/powerpc/fpu/s_cosf.c: New file.
65652         * sysdeps/powerpc/fpu/s_sinf.c: New file.
65653         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
65654         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
65656 2011-08-15  Alan Modra  <amodra@gmail.com>
65658         [BZ #13092]
65659         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
65660         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
65661         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
65662         ppc_mcount to static-only-routines.
65663         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
65664         __mcount_internal.
65665         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
65666         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
65668 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
65670         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
65671         for finite and infinity parameters.
65673 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65675         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
65676         and add nop instructions for throughput optimization.
65677         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65679 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
65681         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
65682         aligned copy for power7 with vector-scalar instructions.
65683         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
65685 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
65687         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
65688         AVX check.
65690 2011-09-07  Andreas Schwab  <schwab@redhat.com>
65692         [BZ #13144]
65693         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
65694         last change.
65696 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
65698         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65699         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
65700         syscall wrapper around clock_gettime in __vdso_clock_gettime.
65701         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
65702         clock_gettime.
65704 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65706         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
65707         Forgot to demangle the pointer.
65709         * sysdeps/i386/sysdep.h: Define atom_text_section.
65710         * sysdeps/x86_64/sysdep.h: Likewise.
65711         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
65712         section with atom_text_section.
65713         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
65714         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
65715         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
65716         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65717         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
65719         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
65720         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
65721         already be defined.  Change to take two parameters and don't assign
65722         result to variable.  Adjust all users.
65723         Define INTERNAL_GETTIME if not already defined.
65724         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
65725         call.
65726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
65727         HAVE_CLOCK_GETTIME_VSYSCALL.
65728         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
65730         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
65731         gettimeofday vsyscall, just use time.
65733 2011-09-06  Andreas Schwab  <schwab@redhat.com>
65735         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
65736         <errno.h>.
65738 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65740         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
65741         syscall on x86-64.
65742         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
65743         syscall.
65744         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
65745         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
65746         syscall if possible.
65748 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65750         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
65751         e_ident.  Don't pass to find_mapsXX.
65752         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
65754 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65757         strchr-sse2-no-bsf strrchr-sse2-no-bsf
65758         * sysdeps/x86_64/multiarch/strchr.S: Update.
65759         Check bit_slow_BSF bit.
65760         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65761         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
65762         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
65764 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65766         [BZ #13134]
65767         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
65768         before glibc 2.15.
65769         (tryshell): Define.
65770         (__spawni): Change last parameter to be flag.  Test
65771         SPAWN_XFLAGS_USE_PATH flag to use path or not.
65772         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
65773         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
65774         * posix/spawni.c: Likewise.
65775         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
65776         * posix/spawnp.c: Likewise.  Change normal version to use
65777         SPAWN_XFLAGS_USE_PATH.
65778         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
65779         SPAWN_XFLAGS_TRY_SHELL.
65781         [BZ #13150]
65782         * posix/glob.h: Remove gcc 1.x support.
65784         [BZ #13068]
65785         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
65787 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65789         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65790         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
65791         strrchr-sse2-bsf
65792         * sysdeps/i386/i686/multiarch/strchr.S: New file.
65793         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
65794         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
65795         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
65796         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
65797         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
65799 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65801         * sysdeps/x86_64/wcscmp.S: New file.
65803         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
65804         wcscmp-c wcscmp-sse2
65805         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
65806         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
65807         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
65808         * wcsmbs/wcscmp.c: Allow renaming.
65810 2011-09-05  David S. Miller  <davem@davemloft.net>
65812         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
65813         stack slot, rather than the struct return pointer slot.
65814         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
65815         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
65816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
65817         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
65819 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65821         * po/ja.po: Update from translation team.
65823         [BZ #13144]
65824         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
65825         kernel in 64-bit binaries.
65827 2011-09-01  David S. Miller  <davem@davemloft.net>
65829         * elf/elf.h (HWCAP_SPARC_*): Move to..
65830         * sysdeps/sparc/sysdep.h: this new file and add new values.
65831         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
65832         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
65833         _DL_HWCAP_COUNT to 24.
65834         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
65835         entries.
65836         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
65837         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
65838         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
65839         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
65840         instead of magic constants.
65841         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65843 2011-08-31  David S. Miller  <davem@davemloft.net>
65845         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
65846         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
65847         Reimplement to do errno handling inline.
65848         (SYSCALL_ERROR_HANDLER): New macro.
65849         (__SYSCALL_STRING): Do not do errno handling in asm.
65850         (__CLONE_SYSCALL_STRING): Delete.
65851         (__INTERNAL_SYSCALL_STRING): Delete.
65852         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
65853         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
65854         (PSEUDO): Reimplement to do errno handling inline.
65855         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
65856         (SYSCALL_ERROR_HANDLER): New macro.
65857         (__SYSCALL_STRING): Do not do errno handling in asm.
65858         (__CLONE_SYSCALL_STRING): Delete.
65859         (__INTERNAL_SYSCALL_STRING): Delete.
65860         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
65861         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
65862         i386.
65863         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
65864         (inline_syscall*): Add 'err' argument.
65865         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
65866         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
65867         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
65868         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
65870         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
65871         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65873 2011-08-30  Andreas Schwab  <schwab@redhat.com>
65875         * elf/rtld.c (dl_main): Relocate objects in dependency order.
65877 2011-08-29  Jiri Olsa <jolsa@redhat.com>
65879         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
65880         directive.
65882 2011-08-24  David S. Miller  <davem@davemloft.net>
65884         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
65886 2011-08-24  Andreas Schwab  <schwab@redhat.com>
65888         * elf/Makefile: Add rules to build and run unload8 test.
65889         * elf/unload8.c: New file.
65890         * elf/unload8mod1.c: New file.
65891         * elf/unload8mod1x.c: New file.
65892         * elf/unload8mod2.c: New file.
65893         * elf/unload8mod3.c: New file.
65895         * elf/dl-close.c (_dl_close_worker): Reset private search list if
65896         it wasn't used.
65898 2011-08-23  David S. Miller  <davem@davemloft.net>
65900         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
65901         subtract stack bias.
65902         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
65903         %sp not %fp in calculations.
65904         (_JMPBUF_UNWINDS_ADJ): Likewise.
65906         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
65907         (aio_suspend): Call it to force an exception region around the
65908         AIO_MISC_WAIT() invocation.
65910 2011-08-23  Andreas Schwab  <schwab@redhat.com>
65912         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
65913         backslash.
65915 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
65917         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
65918         protection macro.
65919         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
65920         and <dl-machine.h>.
65921         (Elf64_FuncDesc): Remove.
65923 2011-08-22  David S. Miller  <davem@davemloft.net>
65925         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
65926         sigaltstack check, add missing cfi directives.
65927         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
65928         missing cfi directives, and sigaltstack handling.
65930 2011-08-16  Andreas Schwab  <schwab@redhat.com>
65932         [BZ #11724]
65933         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
65934         object is seen twice.
65935         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65937         * elf/Makefile (distribute): Add tst-initorder2.c.
65938         (tests): Add tst-initorder2.
65939         (modules-names): Add tst-initorder2a tst-initorder2b
65940         tst-initorder2c tst-initorder2d.  Add rules to build them.
65941         ($(objpfx)tst-initorder2.out): New rule.
65942         * elf/tst-initorder2.c: New file.
65943         * elf/tst-initorder2.exp: New file.
65945 2011-08-22  Andreas Schwab  <schwab@redhat.com>
65947         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
65949         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
65950         dependencies back to end of function.
65952         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65953         $(elfobjdir)/ld.so.
65955 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
65957         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
65958         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
65959         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
65960         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
65961         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
65962         of __vdso_gettimeofday.
65963         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
65964         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
65965         attribute_hidden.
65966         (_libc_vdso_platform_setup): Remove initialization of
65967         __vdso_gettimeofday and __vdso_time.
65969 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65971         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
65972         and fgetc_unlocked.
65973         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
65974         getc_unlocked.
65976         * elf/dl-open.c (add_to_global): Report additions to the global scope
65977         for LD_DEBUG=scopes.
65978         (dl_open_worker): Also print scope of newly loaded dependencies.
65979         (_dl_show_scope): Indicate if there is no scope.
65981         [BZ #13114]
65982         * stdio-common/Makefile (tests): Add bug24.
65983         * stdio-common/bug24.c: New file.
65985 2011-08-19  Andreas Jaeger  <aj@suse.de>
65987         [BZ #13114]
65988         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
65989         non-existant file when using close-on-exec mode.
65991 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65993         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
65994         the very first instruction.
65996         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
65997         the CFI state in the end.
65998         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
65999         inclusion of dl-trampoline.h.
66000         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
66002 2011-08-19  Andreas Schwab  <schwab@redhat.com>
66004         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
66005         expectations for long double.
66007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
66008         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
66010 2011-08-14  David S. Miller  <davem@davemloft.net>
66012         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
66013         artificual limit depends upon the system page size.
66015 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66017         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
66018         * resolv/Makefile: Define CFLAGS-libresolv.
66020 2011-08-17  Andreas Schwab  <schwab@redhat.com>
66022         * nss/makedb.c (compute_tables): Make variables used in nested
66023         function static.
66025 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66027         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
66028         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
66029         if buffer was too small.
66031         * elf/pldd.c (main): Attach to all threads in the process.
66032         Rewrite /proc handling to use *at functions.
66034 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
66036         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
66037         specifies first scope to show.
66038         (dl_open_worker): Update callers.  Move printing scope of new
66039         object to before the relocation.
66040         * elf/rtld.c (dl_main): Update _dl_show_scope call.
66041         * sysdeps/generic/ldsodefs.h: Update declaration.
66043         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
66044         string for the scope number.
66046 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
66048         * nscd/servicescache.c (cache_addserv): Make sure written is always
66049         initialized.
66051 2011-08-14  Roland McGrath  <roland@hack.frob.com>
66053         * sysdeps/i386/i486/bits/atomic.h
66054         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
66055         statement expression, so as to suppress "set but not used" warning.
66056         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
66058         * string/strncat.c (STRNCAT): Use prototype definition.
66060         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
66061         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
66062         -Iprograms here.
66063         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
66064         (localedef-modules): Add localedef.
66065         (locale-modules): Add locale.
66067         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
66068         * elf/rtld.c (dl_main): Invert order of assignment in last change,
66069         to avoid a warning.
66071 2011-08-14  David S. Miller  <davem@davemloft.net>
66073         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
66074         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
66076 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
66078         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
66079         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
66080         * elf/rtld.c (dl_main): Set l_name of vDSO.
66081         Call _dl_show_scope when DL_DEBUG_SCOPES.
66082         (process_dl_debug): Recognize scopes flag and also set it for all.
66083         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
66084         Declare _dl_show_scope.
66086         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
66087         (do_dlopen): Pass caller_dlopen to dl_open.
66088         (__libc_dlopen_mode): Initialize caller_dlopen.
66090         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
66091         of libc.  Make tolower call locale-independent.  Optimize a bit by
66092         using isdigit instead of isalnum.
66093         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
66095 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
66097         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
66098         was a dependency or dynamically loaded.
66100 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
66102         * intl/l10nflist.c: Allow architecture-specific pop function.
66103         * sysdeps/x86_64/l10nflist.c: New file.
66105         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
66106         classification.
66108 2011-08-10  Andreas Schwab  <schwab@redhat.com>
66110         * include/dirent.h: Add libc_hidden_proto for scandirat and
66111         scandirat64.  Don't declare __scandirat64.
66112         * dirent/scandirat.c: Add libc_hidden_def.
66113         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
66114         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
66116 2011-08-10  David S. Miller  <davem@davemloft.net>
66118         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
66119         enum.
66120         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66121         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66122         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66124 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
66126         * Versions.def [libc]: Add GLIBC_2.15.
66127         * dirent/Makefile (routines): Add scandirat and scandirat64.
66128         * dirent/Versions [libc]: Export scandirat and scandirat64 for
66129         GLIBC_2.15.
66130         * dirent/dirent.h: Declare scandirat and scandirat64.
66131         * dirent/scandirat.c: New file.
66132         * dirent/scandirat64.c: New file.
66133         * sysdeps/wordsize-64/scandirat.c: New file.
66134         * sysdeps/wordsize-64/scandirat64.c: New file.
66135         * dirent/opendir.c: Define opendirat.
66136         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
66137         using scandirat.
66138         * dirent/scandir64.c: Adjust for scandir.c change.
66139         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
66140         __scandirat64, and __scandir_cancel_handler.
66141         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
66142         additional parameter and use openat instead of open (outside of ld.so).
66143         Add new __opendir as wrapper around __opendirat.
66144         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
66145         here without requiring old scandirat implementation.
66147 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
66149         * dirent/scandir.c (cancel_handler): Renamed to
66150         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
66151         defined.  Adjust users.
66152         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
66153         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
66155 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
66157         * string/test-string.h (IMPL): Use __STRING to expand name and then
66158         stringify it.
66160         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
66161         of cleanups.
66163 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66165         * string/Makefile: Update.
66166         (strop-tests): Append strncat.
66167         * string/test-wcscmp.c: New file.
66168         New comprehensive test for wcscmp.
66169         * string/test-strcmp.c: Update.
66170         (WIDE): New define.
66172 2011-07-22  Andreas Schwab  <schwab@redhat.com>
66174         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
66175         line.
66177 2011-07-26  Andreas Schwab  <schwab@redhat.com>
66179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66180         encoding to ACE if AI_IDN.
66182 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
66184         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
66185         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
66187 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66189         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
66190         Fix overflow bug in strncat.
66191         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
66193         * string/test-strncat.c: Update.
66194         Add new tests for checking overflow bugs.
66196 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66198         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66199         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
66200         * sysdeps/i386/i686/multiarch/strcat.S: New file.
66201         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
66202         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
66203         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
66204         * sysdeps/i386/i686/multiarch/strncat.S: New file.
66205         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
66206         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
66208         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
66209         (USE_AS_STRCAT): Define.
66210         Add strcat and strncat support.
66211         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66213 2011-07-25  Andreas Schwab  <schwab@redhat.com>
66215         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
66216         __n bigger than INT_MAX+1.
66217         (__strncmp_g): Likewise.
66219 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
66221         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
66222         * libio/stido.h: Likewise.
66224         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
66225         (AF_NFC): Define.
66226         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
66227         (AF_NFC): Define.
66229         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
66230         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66231         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66232         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
66233         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66235         [BZ #13021]
66236         * scripts/test-installation.pl: Don't expect libnss_test1 to be
66237         installed.
66239         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
66240         typo.
66241         (_dl_x86_64_save_sse): Likewise.
66243 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
66245         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
66246         OSXSAVE.
66247         (_dl_x86_64_save_sse): Likewise.
66249         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
66251         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
66253 2011-07-21  Andreas Schwab  <schwab@redhat.com>
66255         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
66256         change.
66257         (_dl_x86_64_save_sse): Use correct AVX check.
66259 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66261         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
66262         bug in strncpy/strncat.
66263         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
66265 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
66267         * string/tester.c (test_strcat): Add tests for different alignments
66268         of source and destination.
66269         (test_strncat): Likewise.
66271 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66273         [BZ #12852]
66274         * posix/glob.c (glob): Check passed in values before using them in
66275         expressions to avoid some overflows.
66276         (glob_in_dir): Likewise.
66278         [BZ #13007]
66279         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
66280         check for AVX enablement so that we don't crash with old kernels and
66281         new hardware.
66282         * elf/tst-audit4.c: Add same checks here.
66283         * elf/tst-audit6.c: Likewise.
66285         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
66287 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
66289         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
66291 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66293         * po/cs.po: Update from translation team.
66294         * po/bg.po: Likewise.
66296 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
66298         * misc/sys/cdefs.h: Add support for const attribute.
66299         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
66300         to gnu_dev_{major,minor,makedev} functions.
66302 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
66304         * intl/dcigettext.c (get_output_charset): Add missing bracket.
66306 2011-07-20  Andreas Schwab  <schwab@redhat.com>
66308         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
66309         strlen results.
66311 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
66314         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
66315         register in order to avoid conflicts with the soft frame pointer
66316         being held in r11 when necessary.
66317         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
66318         (INTERNAL_VSYSCALL_NCS): Likewise.
66320 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
66322         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
66323         * elf/dl-fini.c (_dl_fini): Adjust caller.
66324         * elf/dl-close.c (_dl_close_worker): Likewise.
66325         * sysdeps/generic/ldsodefs.h: Adjust declaration.
66327 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66329         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
66330         "aux_cache->nlibs < 0".
66332         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
66333         in the reload-count case.
66335 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66337         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66338         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
66339         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
66340         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
66341         * sysdeps/x86_64/multiarch/strcat.S: New file.
66342         * sysdeps/x86_64/multiarch/strncat.S: New file.
66343         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
66344         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
66345         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
66346         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
66347         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
66348         (USE_AS_STRCAT): Define.
66349         Add strcat and strncat support.
66350         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66351         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
66352         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
66353         * string/strncat.c: Update.
66354         (USE_AS_STRNCAT): Define.
66355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66356         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
66357         and i7.
66358         * sysdeps/x86_64/multiarch/init-arch.h
66359         (bit_Prefer_PMINUB_for_stringop): New.
66360         (index_Prefer_PMINUB_for_stringop): Likewise.
66361         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
66362         bit_Prefer_PMINUB_for_stringop.
66364 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
66366         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
66367         buffer64.
66368         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
66369         of casting of buffer.
66370         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
66371         buffer32 and buffer64.
66372         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
66373         writes instead of casting of buffer.
66374         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
66375         buffer32.
66376         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
66377         casting of buffer.
66379 2011-07-19  Andreas Schwab  <schwab@redhat.com>
66381         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
66383 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
66385         * nscd/nscd.c (termination_handler): Don't do anything for a database
66386         if it has not yet been initialized.
66388 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
66390         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
66392 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66394         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
66396 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
66398         * po/nl.po: Update from translation team.
66399         * po/sv.po: Likewise.
66401 2011-07-16  Roland McGrath  <roland@hack.frob.com>
66403         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
66404         now disallowed by GCC.
66406         * configure.in (use-default-link): Default to yes if a test -shared
66407         link meets our qualifications.
66408         * configure: Regenerated.
66410         * config.make.in (output-format): New variable.
66411         * configure.in: Check for ld --print-output-format support.
66412         * configure: Regenerated.
66413         * Makerules ($(common-objpfx)format.lds)
66414         [$(output-format) != unknown]: Just use $(output-format),
66415         instead of the linker-script munging.
66417 2011-07-14  Roland McGrath  <roland@hack.frob.com>
66419         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
66420         of $(common-objpfx)shlib.lds.
66421         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
66423         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
66424         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
66426         * configure.in (-z relro check): Adjust test code to add a large
66427         writable data section after it.
66428         * configure: Regenerated.
66430 2011-07-11  Roland McGrath  <roland@hack.frob.com>
66432         * configure.in (-z relro check): Fix test code to make the variable
66433         truly const.
66434         * configure: Regenerated.
66436 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
66438         * nscd/nscd.h (struct traced_file): Define.
66439         (struct database_dyn): Remove inotify_descr, reset_res, and filename
66440         elements.  Add traced_files.
66441         (inotify_fd): Declare.
66442         (register_traced_file): Declare.
66443         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
66444         (inotify_fd): Export.
66445         (resolv_conf_descr): Remove.
66446         (nscd_init): Move inotify descriptor creation to main.
66447         Don't register files for notification here.
66448         (register_traced_file): New function.
66449         (invalidate_cache): Don't use reset_res to determine whether to call
66450         res_init, go through the list of registered files.
66451         (main_loop_poll): The inotify descriptors are now stored in the
66452         structures for the traced files.
66453         (main_loop_epoll): Likewise
66454         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
66455         to __nss_disable_nscd.
66456         * nscd/cache.c (prune_cache): There is no single inotify descriptor
66457         for a database anymore.  Check the records for all the registered
66458         files instead.
66459         * nss/Makefile (libnss_files-routines): Add files-init.
66460         (libnss_db-routines): Add db-init.
66461         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
66462         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
66463         * nss/nss_db/db-init.c: New file.
66464         * nss/nss_files/files-init.c: New file.
66465         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
66466         __nss_lookup_function.
66467         (__nss_lookup_function): Call nss_load_library.
66468         (nss_load_all_libraries): New function.
66469         (__nss_disable_nscd): Take parameter with callback function for files
66470         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
66471         used for the cached services.
66472         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
66473         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
66474         options for features to all the files in nscd.
66476         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
66478 2011-07-10  Roland McGrath  <roland@hack.frob.com>
66480         * csu/elf-init.c (__libc_csu_init): Comment typo.
66482 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
66484         * po/pl.po: Update from translation team.
66485         * po/ja.po: Likewise.
66486         * po/ru.po: Likewise.
66487         * po/ko.po: Likewise.
66488         * po/fr.po: Likewise.
66490 2011-07-09  Roland McGrath  <roland@hack.frob.com>
66492         * configure.in (.ctors/.dtors header and trailer check):
66493         Use an empirical test on a built program.
66494         * configure: Regenerated.
66496         * configure.in (-z relro check): Use an empirical test on a built DSO.
66497         Detect, but do not require, on ia64.
66498         * configure: Regenerated.
66500         * configure.in (READELF): Find it with AC_CHECK_TOOL.
66501         Update tests that use readelf to use $READELF instead.
66502         * configure: Regenerated.
66504 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
66506         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
66507         if the result is not used.
66509 2011-07-05  Andreas Jaeger  <aj@suse.de>
66511         [BZ#9696]
66512         * stdlib/tst-strtod.c: Add testcase.
66514 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
66516         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
66517         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
66518         The latter has a higher limit.  Take additional parameter to pass to
66519         the new function.
66520         (__pathconf): Pass file to __statfs_link_max.
66521         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
66522         __statfs_link_max.
66523         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
66524         __statfs_link_max.
66526         [BZ #12868]
66527         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
66528         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66529         Handle Lustre.
66530         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
66531         (__statfs_filesize_max): Likewise.
66532         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
66534 2011-07-05  Andreas Jaeger  <aj@suse.de>
66536         * resolv/res_comp.c (dn_skipname): Remove unused variable.
66538 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
66540         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
66541         `status' variable.
66542         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
66543         Likewise.
66545 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
66547         * Makefile (strop-tests): Add strncat.
66548         * string/test-strncat.c: New file.
66550 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
66552         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
66554 2011-06-21  Andreas Jaeger  <aj@suse.de>
66556         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
66557         Copy rule from iconvdata/Makefile.
66559 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
66561         [BZ #12922]
66562         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
66563         but no long options are defined, just return 'W'.
66565 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
66567         [BZ #9696]
66568         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
66570 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
66572         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
66573         netgroups to read.
66574         (innetgr): Likewise.
66576 2011-07-05  Roland McGrath  <roland@hack.frob.com>
66578         * config.make.in (install_root): Default to $(DESTDIR).
66580 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
66582         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
66584 2011-07-02  Roland McGrath  <roland@hack.frob.com>
66586         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
66588         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
66589         containing directory rather than embedding absolute directory names.
66591         * scripts/check-local-headers.sh: Rewritten using awk.
66592         Match by word, not by line.  Print error messages for matches.
66593         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
66595         * Makerules [shlib-lds-flags empty]:
66596         ($(common-objpfx)libc_pic.opts): New target.
66597         ($(common-objpfx)libc_pic.os.clean): New target.
66598         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
66600         * config.make.in (OBJCOPY): New variable.
66601         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
66602         * configure: Regenerated.
66604         * config.make.in (use-default-link): New variable.
66605         * configure.in (use_default_link): Grok --with-default-link to set it.
66606         * configure: Regenerated.
66607         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
66608         (shlib-lds, shlib-lds-flags): Define to empty.
66610         * Makerules (shlib-lds): New variable.
66611         (shlib-lds-flags): New variable.
66612         (build-shlib, build-moduile, build-module-asneeded): Use it.
66613         ($(common-objpfx)libc.so): Use $(shlib-lds).
66614         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
66615         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
66617         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
66618         DT_FLAGS/DT_FLAGS_1 with zero flags.
66620         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
66621         linker script munging.
66623 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
66625         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
66626         as 128-bit value.
66627         * crypt/sha512.c (sha512_process_block): Perform total addition using
66628         128-bit if possible.
66629         (__sha512_finish_ctx): Likewise.
66630         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
66631         as 64-bit value.
66632         * crypt/sha256.c (SWAP64): Define.
66633         (sha256_process_block): Perform total addition using 64-bit if
66634         possible.
66635         (__sha256_finish_ctx): Likewise.
66637 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
66639         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
66640         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66641         * nscd/hstcache.c (cache_addhst): Likewise.
66642         * nscd/grpcache.c (cache_addgr): Likewise.
66643         * nscd/aicache.c (addhstaiX): Likewise
66644         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
66646 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
66648         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
66649         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66650         * nscd/hstcache.c (cache_addhst): Likewise.
66651         * nscd/grpcache.c (cache_addgr): Likewise.
66652         * nscd/aicache.c (addhstaiX): Likewise
66654 2011-07-01  Andreas Schwab  <schwab@redhat.com>
66656         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
66657         domain only when needed.
66659 2011-06-30  Andreas Schwab  <schwab@redhat.com>
66661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
66662         is always restored.
66664 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
66666         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
66667         are re-adding the entry.
66668         * nscd/servicescache.c (cache_addserv): Likewise.
66670 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
66672         * sysdeps/generic/dl-irel.h: fix protection against multiple
66673         inclusions.
66674         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
66676 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
66678         [BZ #12935]
66679         * malloc/memusage.sh: Fix quoting in message.
66680         * debug/xtrace.sh: Likewise.
66682         * configure.in: Remove support for --experimental-malloc option, make
66683         it the default.
66684         * config.make.in: Likewise.
66685         * malloc/Makefile: Likewise.
66687 2011-06-27  Andreas Schwab  <schwab@redhat.com>
66689         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
66690         two-byte characters.
66692 2011-06-27  Roland McGrath  <roland@hack.frob.com>
66694         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
66695         AC_CACHE_CHECK invocation.
66696         * configure: Regenerated.
66698         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
66700 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
66702         [BZ #12350]
66703         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
66704         bit from old_res_options.
66706         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
66708         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
66709         value type for setfct.
66711 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
66713         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66714         __gettimeofday instead of gettimeofday.
66716 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
66718         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
66720 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
66722         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
66724         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
66725         info.
66727 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66730         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66731         strcpy-sse2-unaligned strncpy-sse2-unaligned
66732         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
66733         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
66734         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
66735         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
66736         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
66737         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
66738         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
66739         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
66740         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
66741         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
66742         (STRCPY): Support SSE2 and SSSE3 versions.
66744 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
66746         [BZ #12874]
66747         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
66748         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
66749         kernels which artificially limit size of requests.
66751 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66753         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66754         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66755         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
66756         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
66757         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
66758         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
66759         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
66760         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
66761         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
66762         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
66763         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
66764         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
66765         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
66766         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
66767         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
66768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66769         Enable unaligned load optimization for Intel Core i3, i5 and i7
66770         processors.
66771         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
66772         Define.
66773         (index_Fast_Unaligned_Load): Define.
66774         (HAS_FAST_UNALIGNED_LOAD): Define.
66776 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
66778         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
66780 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66782         [BZ #12907]
66783         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
66784         until it is clear that the information is realy needed.
66785         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
66787 2011-06-22  Andreas Schwab  <schwab@redhat.com>
66789         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
66791 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66793         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66794         /sys/devices/system/cpu/online if it is usable.
66796         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
66797         reading the information from the /proc filesystem to once a second.
66799 2011-06-21  Andreas Jaeger  <aj@suse.de>
66801         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
66802         NULL after inclusion of kernel headers.
66804 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
66806         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
66807         calls to internal_setent.
66809         [BZ #12885]
66810         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
66811         addresses using gethostbyname4_r ignore IPv4 addresses.
66813         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
66814         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
66816         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
66818 2011-06-20  David S. Miller  <davem@davemloft.net>
66820         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
66821         inclusions.
66822         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
66824         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
66825         (elf_irel): Use it.
66826         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
66827         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
66828         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
66829         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
66830         * sysdeps/x86_64/dl-irel.h: Likewise.
66832         * elf/dl-runtime.c: Use elf_ifunc_invoke.
66833         * elf/dl-sym.c: Likewise.
66835 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66837         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
66838         need to dereference resplen2.
66840 2011-06-14  Andreas Schwab  <schwab@redhat.com>
66842         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
66844 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66846         * Makeconfig: Define vardbdir and inst_vardbdir.
66847         * nss/Makefile: Add rules to install db-Makefile.
66849         * nss/nss_db/db-XXX.c: Cleanup.
66851         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
66852         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
66853         GLIBC_PRIVATE.
66854         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
66855         * nss/makedb.c: Implement -g option to specify that value strings
66856         are generated and should not be added to table iterated over for
66857         get*ent calls.
66858         * nss/nss_db/db-initgroups.c: New file.
66860         * nss/getent.c: Add support for initgroups lookups through getgrouplist
66861         interface.
66863         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
66864         (internal_getgrouplist): Adjust to name change.
66865         Update use_initgroups_entry if this is not the first call.
66866         * nss/databases.def: Add initgroups entry.
66868         * nss/makedb.c (compute_tables): Check result of multiple hash table
66869         sizes to minimize maximum chain length.
66871 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
66873         * Versions.def: Add entry for libnss_db.
66874         * shlib-versions: Likewise.
66875         * nss/Makefile: Add rules to build libnss_db.
66876         * nss/Versions: Add libnss_db information.  Organize libnss_files
66877         entries better.
66878         * nss/db-Makefile: Add gshadow support.  Change rules for the new
66879         makedb progra.  Some minor improvements to generate smaller files.
66880         * nss/nss_db/nss_db.h: Move NSS database header data structures to
66881         here from...
66882         * nss/makedb.c: ...here.
66883         Improve database format to be smaller and require less memory at
66884         runtime.
66885         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
66886         db anymore.
66887         * nss/nss_db/db-netgrp.c: Likewise.
66888         * nss/nss_db/db-open.c: Likewise.
66889         * nss/nss_files/flies-XXX.x: Adjust comments.
66890         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
66891         * nss/nss_files/files-grp.c: Likewise.
66892         * nss/nss_files/files-hosts.c: Likewise.
66893         * nss/nss_files/files-network.c: Likewise.
66894         * nss/nss_files/files-proto.c: Likewise.
66895         * nss/nss_files/files-pwd.c: Likewise.
66896         * nss/nss_files/files-rpc.c: Likewise.
66897         * nss/nss_files/files-service.c: Likewise.
66898         * nss/nss_files/files-sgrp.c: Likewise.
66899         * nss/nss_files/files-spwd.c: Likewise.
66900         * nss/nss_db/db-alias.c: Removed.
66901         * nss/nss_db/dummy-db.h: Removed.
66903 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
66905         * nss/makedb.c: Rewritten to not use database library.
66906         * nss/Makefile: Update to build new makedb program.
66908 2011-06-14  Andreas Jaeger  <aj@suse.de>
66910         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
66911         memset declaration.
66913 2011-06-10  Andreas Schwab  <schwab@redhat.com>
66915         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
66916         tmpbuf.
66918 2011-06-10  Roland McGrath  <roland@hack.frob.com>
66920         * Makerules (shlib.lds): Fail if the linker script comes out empty.
66921         * elf/Makefile ($(objpfx)ld.so): Likewise.
66923         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
66924         Don't list ld.so twice in dependencies.
66926         * posix/bug-regex31.c: Include <stdlib.h>.
66928         * nscd/hstcache.c (cache_addhst): Remove unused variable.
66930         * nis/nss_compat/compat-spwd.c
66931         (getspent_next_nss_netgr): Remove unused variable.
66932         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
66934         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
66935         nonmembers" output to use the right array.
66937         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
66939         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
66941         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
66942         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
66943         * catgets/gencat.c (read_input_file): Likewise.
66944         * locale/programs/locarchive.c (enlarge_archive): Likewise.
66946         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
66947         variable definition inside #if's controlling its use.
66949         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
66951         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
66953         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
66955         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
66956         unreachable code.
66958         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
66960         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
66961         * configure: Regenerated.
66963         * Makerules: Revert last change.
66964         * elf/Makefile: Likewise.
66966 2011-06-09  Roland McGrath  <roland@hack.frob.com>
66968         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
66969         * elf/Makefile ($(objpfx)librtld.os): Likewise.
66970         (reloc-link): Likewise.
66972 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
66974         * elf/Makefile: Add rules to build pldd.
66975         * elf/pldd.c: New file.
66976         * elf/pldd-xx.c: New file.
66978 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
66980         * version.h: Update for 2.15 development version.
66982 2011-06-07  David S. Miller  <davem@davemloft.net>
66984         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
66985         ifuncs.
66986         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
66987         elf_machine_lazy_rel): Likewise.
66988         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
66989         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
66990         elf_machine_lazy_rel): Likewise.
66991         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
66992         dl_hwcap via passed in argument.
66993         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
66994         Likewise.
66996 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66998         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
67000 2011-06-06  Roland McGrath  <roland@hack.frob.com>
67002         [BZ #12849]
67003         * manual/fdl-1.1.texi: New file, verbatim from:
67004         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
67005         * manual/lgpl-2.1.texi: New file, verbatim from:
67006         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
67007         * manual/Makefile (licenses): New variable, list those new file names.
67008         (texis): Use it.
67009         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
67011         * manual/fdl.texi: File removed.
67012         * manual/lesser.texi: File removed.
67013         * manual/libc.texinfo (Copying, Documentation License):
67014         Use new @include file names, put @appendix directive before @include.
67016 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
67018         [BZ #12841]
67019         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
67020         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
67021         (mq_open): Add __NTH.
67023 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
67025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67026         Assume Intel Core i3/i5/i7 processor if AVX is available.
67028 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67030         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67031         typo.
67033 2011-05-31  Andreas Schwab  <schwab@redhat.com>
67035         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
67036         memory.  Use alloca_account.  Fix memory leak when retrying.
67038 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67040         * version.h (RELEASE): Bump for 2.14 release.
67041         * include/features.h (__GLIBC_MINOR__): Bump to 14.
67043         * config.make.in (RANLIB): Remove entry.
67045 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
67047         * po/Makefile (po-sed-cmd): Add ksh to extensions.
67048         (libc.pot): Work around missing support for .ksh extension in xgettext.
67050         [BZ #12684]
67051         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
67052         if both request failed.
67053         (send_dg): In case of server errors clear resplen or *resplen2.
67055         [BZ #12454]
67056         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
67057         when there are multiple maps.
67058         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
67059         (_dl_fini): Remove test here.
67061         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
67063 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
67065         [BZ #12350]
67066         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
67067         bit from old_res_options.
67068         (gaih_inet): Likewise.
67070         [BZ #11099]
67071         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
67072         as signed.
67074         * resolv/res_init.c (res_setoptions): Make the code more compact.
67076         [BZ #11558]
67077         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
67078         set RES_USEVC.
67080         [BZ #11634]
67081         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
67083         * malloc/malloc.h: Mark malloc hook variables as deprecated.
67085         [BZ #11781]
67086         * malloc/malloc.h: Declare malloc hook variables as volatile.
67088         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
67089         in last patch.
67091         [BZ #11799]
67092         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
67093         raise in the comment.
67094         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67095         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67096         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
67098 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
67100         [BZ #12811]
67101         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
67102         grow the buffers more if it already has to be sufficient.
67103         (build_wcs_upper_buffer): Likewise.
67104         * posix/regexec.c (check_matching): Likewise.
67105         (clean_state_log_if_needed): Likewise.
67106         (extend_buffers): Don't enlarge buffers beyond size of the input
67107         buffer.
67108         Patches mostly by Emil Wojak <emil@wojak.eu>.
67109         * posix/bug-regex32.c: New file.
67110         * posix/Makefile (tests): Add bug-regex32.
67112         * locale/findlocale.c (_nl_find_locale): Return right away if
67113         _nl_explode_name failed.
67114         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
67116         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
67118         * debug/xtrace.sh: Unify messages.
67119         * malloc/memusage.sh: Likewise.
67121         [BZ #12813]
67122         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
67123         time symbol from vDSO.  Substitute with vsyscall if not available.
67124         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
67125         __vdso_time.
67127         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
67128         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
67129         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
67130         Add sendmmsg and internal_sendmmsg.
67131         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
67132         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
67133         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
67135         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
67136         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
67137         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
67139 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
67141         [BZ #12813]
67142         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
67143         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
67144         available.
67145         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
67146         __vdso_getcpu.
67148         [BZ #12814]
67149         * iconvdata/Makefile (tests): Add bug-iconv9.
67150         * iconvdata/bug-iconv9.c: New file.
67152 2011-05-27  Andreas Schwab  <schwab@redhat.com>
67154         [BZ #12814]
67155         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
67157 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
67159         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67160         (struct user_regs_struct): Change intcs field back to cs.
67162 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
67164         * po/ja.po: Update from translation team.
67166 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
67168         [BZ #12795]
67169         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
67170         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
67172 2011-05-20  Andreas Schwab  <schwab@redhat.com>
67174         * stdlib/longlong.h: Update from GCC.
67176 2011-05-23  Andreas Schwab  <schwab@redhat.com>
67178         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
67179         parameter name.
67180         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
67181         Add parameter name.
67182         (__sysconf): Pass it down.
67184 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
67186         [BZ #12671]
67187         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
67188         some situations.
67189         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
67190         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
67191         add in in __libc_use_alloca calls.  Adjust callers.
67192         (glob): Use malloc in some situations.
67194         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
67195         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
67196         pltexit.
67198 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
67200         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
67201         and CLOCK_BOOTTIME_ALARM.
67203         [BZ #12782]
67204         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
67205         is returned.
67207         * string/_strerror.c (__strerror_r): Print negative errors as signed
67208         numbers.
67210         [BZ #12777]
67211         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
67212         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
67213         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
67215         * configure.in: Fix typo in redirection and correct removal of test
67216         files in two cases.
67218         [BZ #12788]
67219         * locale/setlocale.c (new_composite_name): Fix test to check for
67220         identical name of all categories.
67222         [BZ #12792]
67223         * libio/filedoalloc.c (local_isatty): New function.
67224         (_IO_file_doallocate): Use local_isatty.
67225         * stdio-common/perror.c (perror): In case a new stream is used
67226         forward the stream error.
67227         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
67228         error flag.
67230 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
67232         [BZ #11869]
67233         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
67234         alloca.
67235         * include/alloca.h (extend_alloca_account): Define.
67237         [BZ #11857]
67238         * posix/regex.h: Fix comments with documentation of user-accessible
67239         fields after compilation and describe correct free'ing of pattern
67240         after re_compile_pattern.
67241         Patch by Reuben Thomas <rrt@sc3d.org>.
67243 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
67245         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
67246         and -mno-altivec to prevent the compiler from using Altivec and/or
67247         VSX instructions when the corresponding registers are not available.
67249 2011-05-19  Andreas Schwab  <schwab@redhat.com>
67251         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
67253 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
67255         * libio/freopen.c (freopen): Use __dup2, not dup2.
67256         * libio/freopen64.c (freopen64): Likewise.
67258 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67260         [BZ #12775]
67261         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
67262         * math/Makefile (tests): Add test-powl.
67263         (CFLAGS-test-powl.c): Define.
67264         * math/test-powl.c: New file.
67266 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67268         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
67270 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
67272         [BZ #11837]
67273         * iconvdata/gb18030.c: Update to GB18020-2005.
67275 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
67277         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
67278         RE_SYNTAX_POSIX_AWK): Update to match recent development.
67279         Patch by Aharon Robbins <arnold@skeeve.com>.
67281         [BZ #11892]
67282         * stdlib/putenv.c (putenv): Don't always create copy of the variable
67283         on the stack.
67285         [BZ #11895]
67286         * misc/pselect.c (__pselect): Handle timeout value errors hidden
67287         through underflows.
67289         [BZ #12766]
67290         * misc/error.c (error_at_line): Ensure file_name and old_file_name
67291         point to strings before performing equality test for error_one_per_line
67292         mode.
67294         [BZ #11697]
67295         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
67297         [BZ #11820]
67298         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67299         (struct user_fpregs_struct): Avoid __uint*_t types.
67301         [BZ #6420]
67302         * malloc/mtrace.c (tr_where): Add additional parameter to point to
67303         symbol info.  Use it instead of calling _dl_addr locally.
67304         (lock_and_info): New function.
67305         (tr_freehook): Call lock_and_info and pass symbol info as additional
67306         parameter to tr_where.
67307         (tr_mallochook): Likewise.
67308         (tr_reallochook): Likewise.
67309         (tr_memalignhook): Likewise.
67311         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
67312         used and couldn't be at all thread-safe.
67314 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
67316         * libio/freopen.c (freopen): Don't close old file descriptor
67317         before the new one is opened.  Instead dup the new file descriptor
67318         to the old one after the new stream is created.
67319         * libio/freopen64.c (freopen64): Likewise.
67320         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
67321         * libio/fileops.c (_IO_new_file_close_it): Handle new
67322         _IO_FLAGS2_NOCLOSE flag.
67323         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
67324         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
67325         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
67326         _IO_FLAGS2_NOCLOSE flag.
67327         * include/unistd.h: Add hidden_proto for dup3.
67328         Define __have_dup3.
67329         * io/dup3.c: Define hidden symbol.
67330         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
67332         [BZ #7101]
67333         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
67334         when an incomplete long option is used.
67335         * posix/tst-getopt_long1.c: New file.
67336         * posix/Makefile (tests): Add tst-getopt_long1.
67338         [BZ #10138]
67339         * scripts/config.guess: Update from autoconf-2.68.
67340         * scripts/config.sub: Likewise.
67342         [BZ #10157]
67343         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
67344         tests into ...
67345         (has_cpuclock): ...this.  New function.
67346         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
67347         macro here based on has_cpuclock code.
67349         [BZ #10149]
67350         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67351         First byte (not low byte) is now always NUL.
67352         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
67354         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67355         Use non-cancelable interfaces.
67357         [BZ #9809]
67358         * locale/iso-639.def: Add entry for Sorani.
67360         [BZ #11901]
67361         * include/stdlib.h: Move include protection to the right place.
67362         Define abort_msg_s.  Declare __abort_msg with it.
67363         * stdlib/abort.c (__abort_msg): Adjust type.
67364         * assert/assert.c (__assert_fail_base): New function.  Majority
67365         of code from __assert_fail.  Allocate memory for __abort_msg with
67366         mmap.
67367         (__assert_fail): Now call __assert_fail_base.
67368         * assert/assert-perr.c: Remove bulk of implementation.  Use
67369         __assert_fail_base.
67370         * include/assert.hL Declare __assert_fail_base.
67371         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
67372         mmap.
67373         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
67375 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
67377         [BZ #11952]
67378         [BZ #12453]
67379         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
67380         until all modules are registered in the DTV.
67381         * elf/Makefile: Add rules to build and run tst-tls19.
67382         * elf/tst-tls19.c: New file.
67383         * elf/tst-tls19mod1.c: New file.
67384         * elf/tst-tls19mod2.c: New file.
67385         * elf/tst-tls19mod3.c: New file.
67386         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
67388         [BZ #12083]
67389         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
67390         correctly.
67392         [BZ #12601]
67393         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
67394         two-byte sequence errors.
67395         * iconvdata/Makefile (tests): Add bug-iconv8.
67396         * iconvdata/bug-iconv8.c: New file.
67398         [BZ #12626]
67399         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
67400         buf2 definition.
67402         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
67404         [BZ #12432]
67405         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
67406         (dummy_getcfa): New function.
67407         (init): Get _Unwind_GetCFA address, use dummy if not found.
67408         (backtrace_helper): In recursion check, also check whether CFA changes.
67409         (__backtrace): Completely initialize arg.
67411         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
67412         storing incomplete byte sequence in state object.  Avoid testing for
67413         guaranteed too small input if we know there is enough data available.
67415 2011-05-11  Andreas Schwab  <schwab@redhat.com>
67417         * Makeconfig (+link-pie): Indent.
67418         * Rules (binaries-pie): Define if $(have-fpie) and
67419         $(build-shared).
67420         (binaries-shared): Also filter out $(binaries-pie).
67421         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
67422         * nscd/Makefile (others-pie): Add nscd.
67423         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
67424         ($(objpfx)nscd): Remove command override.
67425         * login/Makefile (others-pie): Add pt_chown.
67426         ($(objpfx)pt_chown): Remove command override.
67427         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
67428         remove command overrides.
67430 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
67432         * libio/tst_putwc.c: Fix error messages.
67434         [BZ #12724]
67435         * libio/fileops.c (_IO_new_file_close_it): Always flush when
67436         currently writing and seek to current position when not.
67437         * libio/Makefile (tests): Add bug-fclose1.
67438         * libio/bug-fclose1.c: New file.
67440 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
67442         [BZ #12511]
67443         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
67444         don't set DF_1_NODELETE here.
67445         (do_lookup_x): When entering new entry test for copy relocation
67446         and if necessary set DF_1_NODELETE flag.
67447         * elf/tst-unique4.cc: New file.
67448         * elf/tst-unique4.h: New file.
67449         * elf/tst-unique4lib.cc: New file.
67450         * elf/Makefile: Add rules to build and run tst-unique4.
67451         Patch by Piotr Bury <pbury@goahead.com>.
67453 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
67455         [BZ #12052]
67456         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
67458         [BZ #12625]
67459         * misc/mntent_r.c (addmntent): Flush the stream after the output
67461         [BZ #12393]
67462         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
67463         (is_trusted_path_normalize): Skip initial colon.  Append slash
67464         to empty buffer.  Duplicate is_trusted_path code but allow
67465         constructed patch to be prefix.
67466         (is_dst): Allow $ORIGIN followed by /.
67467         (_dl_dst_substitute): Correct clearing of check_for_trusted.
67468         Correct testing of result of is_trusted_path_normalize
67469         (decompose_rpath): Fix warning.
67471 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
67473         [BZ #11257]
67474         * grp/initgroups.c (internal_getgrouplist): When we found the service
67475         list through the initgroups entry in nsswitch.conf do not always
67476         continue on a successful lookup.  Don't always use the
67477         __nss_group_database value if it is set.
67478         * nss/nsswitch.conf (initgroups): Change action for successful db
67479         lookup to continue for compatibility.
67481 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
67483         [BZ #11532]
67484         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
67485         and CP774 modules.
67486         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
67487         and CP774 modules.
67488         * iconvdata/tst-tables.sh: Likewise.
67489         * iconvdata/cp770.c: New file.
67490         * iconvdata/cp771.c: New file.
67491         * iconvdata/cp772.c: New file.
67492         * iconvdata/cp773.c: New file.
67493         * iconvdata/cp774.c: New file.
67494         * iconvdata/testdata/CP770: New file.
67495         * iconvdata/testdata/CP770..UTF8: New file.
67496         * iconvdata/testdata/CP771: New file.
67497         * iconvdata/testdata/CP771..UTF8: New file.
67498         * iconvdata/testdata/CP772: New file.
67499         * iconvdata/testdata/CP772..UTF8: New file.
67500         * iconvdata/testdata/CP773: New file.
67501         * iconvdata/testdata/CP773..UTF8: New file.
67502         * iconvdata/testdata/CP774: New file.
67503         * iconvdata/testdata/CP774..UTF8: New file.
67505         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
67506         END CHARMAP line.
67507         * iconvdata/gen-8bit-gap.sh: Likewise.
67508         * iconvdata/gen-8bit.sh: Likewise.
67510         * locale/iso-639.def: Add ary entry.
67512         [BZ #11258]
67513         * locale/C-translit.h.in: Add U20A1 transliteration.
67515         [BZ #12178]
67516         * locale/iso-639.def: Add wae entry.
67517         Patch by Kevin Bortis <bortis@translate-wae.ch>.
67519         [BZ #12545]
67520         * locale/programs/localedef.c (construct_output_path): Use ssize_t
67521         for n.
67523         [BZ #12711]
67524         * locale/C-translit.h.in: Add entry for U20B9.
67525         Patch by pravin.d.s@gmail.com.
67527 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
67529         [BZ #12713]
67530         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
67531         ENAMETOOLONG use generic getcwd.
67532         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
67533         in rtld.  Use *stat64.
67534         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
67535         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
67536         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
67537         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
67538         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
67539         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
67540         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
67541         __fstatat64 macros.
67542         * include/dirent.h: Add libc_hidden_proto for rewinddir.
67543         * dirent/rewinddir.c: Add libc_hidden_def.
67544         * sysdeps/mach/hurd/rewinddir.c: Likewise.
67545         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
67547         * include/dirent.h (__alloc_dir): Add flags parameter.
67548         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
67549         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
67550         __alloc_dir.
67551         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
67552         from fdopendir if O_CLOEXEC is already set.
67554 2011-03-15  Alan Modra  <amodra@gmail.com>
67556         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
67557         l_tls_firstbyte_offset non-zero.  Save padding offset in
67558         l_tls_firstbyte_offset for later use.
67559         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
67560         freeing static tls block.
67562 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
67564         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
67565         where #ifdef was intended.  The intent is to prevent ARG_MAX from
67566         being defined by the kernel headers.
67568 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
67570         [BZ #12734]
67571         * resolv/resolv.h: Define RES_NOTLDQUERY.
67572         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
67573         no-tld-query and set RES_NOTLDQUERY.
67574         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
67575         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
67576         modern BIND to search name as TLD unless forbidden.
67578 2011-05-07  Petr Baudis  <pasky@suse.cz>
67579             Ulrich Drepper  <drepper@gmail.com>
67581         [BZ #12393]
67582         * elf/dl-load.c (fillin_rpath): Move trusted path check...
67583         (is_trusted_path): ...to here.
67584         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
67585         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
67586         using is_trusted_path_normalize() in setuid scripts.
67588 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67590         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
67591         __BEGIN/__END_DECLS.
67593 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
67595         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
67596         NSS_STATUS_NOTFOUND if no record was found.
67598 2011-05-05  Andreas Schwab  <schwab@redhat.com>
67600         * sunrpc/Makefile (headers): Add rpc/netdb.h.
67601         (headers-not-in-tirpc): Remove rpc/netdb.h
67602         * resolv/netdb.h: Revert last change.
67604 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67606         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
67607         circular dependency between libgcc.a and libc.a.
67609 2011-05-05  Andreas Schwab  <schwab@redhat.com>
67611         * resolv/netdb.h: Don't include <rpc/netdb.h>.
67612         * nis/Makefile: Don't install rpcsvc/*.
67613         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
67614         instead of <rpc/types.h>.
67615         (MAXHOSTNAMELEN): Define.
67617 2011-05-03  Andreas Schwab  <schwab@redhat.com>
67619         * elf/ldconfig.c (add_dir): Don't crash on empty path.
67621 2011-04-28  Maciej Babinski  <mbabinski@google.com>
67623         [BZ #12714]
67624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
67625         gethostbyname4_r when IPv6 results are possible.
67627 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
67629         [BZ #12723]
67630         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
67631         _PC_PIPE_BUF handling.
67633 2011-04-30  Bruno Haible  <bruno@clisp.org>
67635         [BZ #12717]
67636         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
67637         * resolv/netdb.h (getnameinfo): Change type of flags parameter
67638         to 'int'.
67639         * inet/getnameinfo.c (getnameinfo): Likewise.
67641 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
67643         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
67644         to groups setting in database lookup.
67645         * nss/nsswitch.conf: Add initgroups entry.
67647 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
67649         [BZ #12685]
67650         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
67651         mode string.
67652         Patch by Eric Blake <eblake@redhat.com>.
67654 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
67656         * sunrpc/Makefile (need-export-routines): Add svc_run.
67657         (routines): Remove svc_run.
67658         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
67659         * sunrpc/clnt_perr.c (clnt_perrno): Export.
67660         * sunrpc/svc_run.c (svc_run): Likewise.
67661         * sunrpc/svc_udp.c (svcudp_create): Likewise.
67663 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
67665         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
67666         problem in reallocation in last patch.
67668 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
67670         * sunrpc/Makefile: Move inclusion of Rules.
67672 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67674         * nss/nss_files/files-initgroups.c: New file.
67675         * nss/Makefile (libnss_files-routines): Add files-initgroups.
67676         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
67677         _nss_files_initgroups_dyn.
67679 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
67681         * elf/elf.h (R_ARM_IRELATIVE): Define.
67683 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67685         * po/ru.po: Update from translation team.
67687 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67689         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
67690         dependencies.
67692 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
67694         [BZ #12653]
67695         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
67696         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
67697         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67698         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67699         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67701 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
67703         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
67704         differing bytes.
67705         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67706         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67707         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67709 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67711         [BZ #12420]
67712         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
67713         storing it.
67714         * stdlib/bug-getcontext.c: New file.
67715         * stdlib/Makefile: Add rules to build and run bug-getcontext.
67717 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67719         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
67720         instructions into .machine "z9-109".
67721         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
67722         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
67724 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67726         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
67727         between environment variables and auxiliary vector.
67729 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
67731         * Makefile: Add rules to build linkobj/libc.so.
67732         * include/libc-symbols.h: Define libc_hidden_nolink.
67733         * include/rpc/auth.h: Mark functions which are to be hidden.
67734         * include/rpc/auth_des.h: Likewise.
67735         * include/rpc/auth_unix.h: Likewise.
67736         * include/rpc/clnt.h: Likewise.
67737         * include/rpc/des_crypt.h: Likewise.
67738         * include/rpc/key_prot.h: Likewise.
67739         * include/rpc/pmap_clnt.h: Likewise.
67740         * include/rpc/pmap_prot.h: Likewise.
67741         * include/rpc/pmap_rmt.h: Likewise.
67742         * include/rpc/rpc_msg.h: Likewise.
67743         * include/rpc/svc.h: Likewise.
67744         * include/rpc/svc_auth.h: Likewise.
67745         * include/rpc/xdr.h: Likewise.
67746         * nis/Makefile: Link all DSOs against linkobj/libc.so.
67747         * nss/Makefile: Likewise.
67748         * sunrpc/Makefile: Don't install headers.  Build library with normal
67749         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
67750         * sunrpc/auth_des.c: Hide exported symbols by default, export some
67751         for the compat linking library.  Remove use of INTDEF/INTUSE.
67752         * sunrpc/auth_none.c: Likewise.
67753         * sunrpc/auth_unix.c: Likewise.
67754         * sunrpc/authdes_prot.c: Likewise.
67755         * sunrpc/authuxprot.c: Likewise.
67756         * sunrpc/clnt_gen.c: Likewise.
67757         * sunrpc/clnt_perr.c: Likewise.
67758         * sunrpc/clnt_raw.c: Likewise.
67759         * sunrpc/clnt_simp.c: Likewise.
67760         * sunrpc/clnt_tcp.c: Likewise.
67761         * sunrpc/clnt_udp.c: Likewise.
67762         * sunrpc/clnt_unix.c: Likewise.
67763         * sunrpc/des_crypt.c: Likewise.
67764         * sunrpc/des_soft.c: Likewise.
67765         * sunrpc/get_myaddr.c: Likewise.
67766         * sunrpc/key_call.c: Likewise.
67767         * sunrpc/key_prot.c: Likewise.
67768         * sunrpc/netname.c: Likewise.
67769         * sunrpc/pm_getmaps.c: Likewise.
67770         * sunrpc/pm_getport.c: Likewise.
67771         * sunrpc/pmap_clnt.c: Likewise.
67772         * sunrpc/pmap_prot.c: Likewise.
67773         * sunrpc/pmap_prot2.c: Likewise.
67774         * sunrpc/pmap_rmt.c: Likewise.
67775         * sunrpc/publickey.c: Likewise.
67776         * sunrpc/rpc_cmsg.c: Likewise.
67777         * sunrpc/rpc_common.c: Likewise.
67778         * sunrpc/rpc_dtable.c: Likewise.
67779         * sunrpc/rpc_prot.c: Likewise.
67780         * sunrpc/rpc_thread.c: Likewise.
67781         * sunrpc/rtime.c: Likewise.
67782         * sunrpc/svc.c: Likewise.
67783         * sunrpc/svc_auth.c: Likewise.
67784         * sunrpc/svc_authux.c: Likewise.
67785         * sunrpc/svc_raw.c: Likewise.
67786         * sunrpc/svc_run.c: Likewise.
67787         * sunrpc/svc_simple.c: Likewise.
67788         * sunrpc/svc_tcp.c: Likewise.
67789         * sunrpc/svc_udp.c: Likewise.
67790         * sunrpc/svc_unix.c: Likewise.
67791         * sunrpc/svcauth_des.c: Likewise.
67792         * sunrpc/xcrypt.c: Likewise.
67793         * sunrpc/xdr.c: Likewise.
67794         * sunrpc/xdr_array.c: Likewise.
67795         * sunrpc/xdr_float.c: Likewise.
67796         * sunrpc/xdr_intXX_t.c: Likewise.
67797         * sunrpc/xdr_mem.c: Likewise.
67798         * sunrpc/xdr_rec.c: Likewise.
67799         * sunrpc/xdr_ref.c: Likewise.
67800         * sunrpc/xdr_sizeof.c: Likewise.
67801         * sunrpc/xdr_stdio.c: Likewise.
67803 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
67805         [BZ #12650]
67806         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
67807         * sysdeps/ia64/dl-tls.h: Likewise.
67808         * sysdeps/powerpc/dl-tls.h: Likewise.
67809         * sysdeps/s390/dl-tls.h: Likewise.
67810         * sysdeps/sh/dl-tls.h: Likewise.
67811         * sysdeps/sparc/dl-tls.h: Likewise.
67812         * sysdeps/x86_64/dl-tls.h: Likewise.
67813         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
67815 2011-03-14  Andreas Schwab  <schwab@redhat.com>
67817         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
67818         rpath element also skip the following colon.
67819         (expand_dynamic_string_token): Add is_path parameter and pass
67820         down to DL_DST_REQUIRED and _dl_dst_substitute.
67821         (decompose_rpath): Call expand_dynamic_string_token with
67822         non-zero is_path.  Ignore empty rpaths.
67823         (_dl_map_object_from_fd): Call expand_dynamic_string_token
67824         with zero is_path.
67826 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
67828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67829         Make cancelable.
67831 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
67833         [BZ #12655]
67834         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
67835         Patch by Filipe David Manana <fdmanana@apache.org>.
67837 2011-04-07  Andreas Schwab  <schwab@redhat.com>
67839         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
67840         Maintain aligned stack.
67841         (CHECK_RSP): Remove unused macro.
67843 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
67845         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
67846         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
67848 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
67850         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
67852         * include/features.h: Mention __USE_XOPEN2K8 in comment.
67854 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
67856         [BZ #12518]
67857         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
67858         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
67859         * sysdeps/x86_64/memmove.c: New file.
67860         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
67861         (memcpy): Renamed to ...
67862         (__new_memcpy): This.
67863         (memcpy): Provide GLIBC_2_14 memcpy.
67864         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
67865         (memcpy): Provide GLIBC_2_2_5 memcpy.
67867 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67869         [BZ #12631]
67870         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
67872 2011-03-30  Andreas Schwab  <schwab@redhat.com>
67874         * misc/syncfs.c: New file.
67875         * misc/Makefile (routines): Add syncfs.
67876         * posix/unistd.h: Declare syncfs.
67877         * sysdeps/unix/syscalls.list: Add syncfs.
67879 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67881         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
67882         open_by_handle_at.
67883         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
67884         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67885         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67886         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67887         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67888         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
67889         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67891 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67893         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
67894         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67895         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
67896         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67897         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67898         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67899         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67901         * io/Makefile: Compile fallocate.c, fallocate64.c, and
67902         sync_file_range.c with -fexceptions.
67903         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
67904         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
67905         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
67906         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
67907         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
67908         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67909         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
67910         sync_file_range as cancellation point
67911         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
67912         now a wrapper around __call_sync_file_range with cancellation handling.
67913         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
67914         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
67915         function name to __call_sync_file_range.
67916         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
67917         Add call_sync_file_range.
67919 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67921         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67922         bits/timex.h.
67924 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67926         * iconv/iconv.h: Fix typo in comment.
67927         * io/fcntl.h: Likewise.
67928         * libio/stdio.h: Likewise.
67929         * posix/spawn.h: Likewise.
67930         * posix/unistd.h: Likewise.
67931         * stdlib/stdlib.h: Likewise.
67932         * time/time.h: Likewise.
67933         * wcsmbs/wchar.h: Likewise.
67935         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
67936         open_by_handle): Add.
67937         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
67938         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
67939         Augment a few comments.
67940         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67941         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67942         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67943         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67944         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67945         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
67946         open_by_handle.
67948         * io/fcntl.h (AT_EMPTY_PATH): Define.
67950 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
67952         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
67953         * sysdeps/unix/sysv/linux/bits/time.h: New file.
67954         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
67955         to...
67956         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
67957         * Versions.def: Add GLIBC_2.14.
67958         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
67959         Export.
67961 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
67963         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
67964         round counter.
67965         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67967 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67969         [BZ #12597]
67970         * string/test-strncmp.c (do_page_test): New function.
67971         (check2): Likewise.
67972         (test_main): Call check2.
67973         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
67975 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
67977         [BZ #12587]
67978         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
67979         Handle cache information in CPU leaf 4.
67980         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67982 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
67984         [BZ #12583]
67985         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
67986         character representation.
67987         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
67989 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
67991         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
67992         END(__isnan) to END(__isnanf) to match function entry point/label
67993         EALIGN(__isnanf,...).
67995 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
67997         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
67999 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
68001         [BZ #12510]
68002         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
68003         copy from the symbol referenced in the relocation to initialize the
68004         used variable.
68005         Patch by Piotr Bury <pbury@goahead.com>.
68006         * elf/Makefile: Add rules to build and tst-unique3.
68007         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
68008         * elf/tst-unique3.cc: New file.
68009         * elf/tst-unique3.h: New file.
68010         * elf/tst-unique3lib.cc: New file.
68011         * elf/tst-unique3lib2.cc: New file.
68013         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
68015 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
68017         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
68018         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
68019         to _start.
68021 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
68023         * elf/dl-load.c (_dl_map_object): If we are looking for the first
68024         to-be-loaded object along a path to loader is ld.so.
68026 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68027             Ulrich Drepper  <drepper@gmail.com>
68029         * sysdeps/x86_64/memset.S: After aligning destination, code
68030         branches to different locations depending on the value of
68031         misalignment, when multiarch is enabled. Fix this.
68033 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68035         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
68036         Set _x86_64_preferred_memory_instruction for AMD processsors.
68037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68038         Set bit_Prefer_SSE_for_memop for AMD processors.
68040 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
68042         * libio/fmemopen.c (fmemopen): Optimize a bit.
68044 2011-03-03  Andreas Schwab  <schwab@redhat.com>
68046         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
68048 2011-03-03  Roland McGrath  <roland@redhat.com>
68050         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
68052 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
68054         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
68055         __bzero_ultra1 instead of __memset_ultra1.
68057 2011-02-23  Andreas Schwab  <schwab@redhat.com>
68058             Ulrich Drepper  <drepper@gmail.com>
68060         [BZ #12509]
68061         * include/link.h (struct link_map): Add l_orig_initfini.
68062         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
68063         returning unsuccessfully.
68064         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
68065         close of a file loaded at startup, restore the original l_initfini
68066         list.
68067         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
68068         list, store the pointer.
68069         * elf/Makefile ($(objpfx)noload-mem): New rule.
68070         (noload-ENV): Define.
68071         (tests): Add $(objpfx)noload-mem.
68072         * elf/noload.c: Include <memcheck.h>.
68073         (main): Call mtrace.  Close all opened handles.
68075 2011-02-17  Andreas Schwab  <schwab@redhat.com>
68077         [BZ #12454]
68078         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
68079         dependencies are missing.
68081 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68083         Fix __if_freereq crash: Unlike the generic version which uses free,
68084         Hurd needs munmap.
68085         * sysdeps/mach/hurd/ifreq.h: New file.
68087 2011-01-27  Petr Baudis  <pasky@suse.cz>
68088             Ulrich Drepper  <drepper@gmail.com>
68090         [BZ 12445]#
68091         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
68092         to extend_alloca().
68093         * stdio-common/bug23.c: New file.
68094         * stdio-common/Makefile (tests): Add bug23.
68096 2010-09-28  Andreas Schwab  <schwab@redhat.com>
68097             Ulrich Drepper  <drepper@gmail.com>
68099         [BZ #12489]
68100         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
68101         before performing relro protection.  At old place add assertion
68102         to make sure nothing changed.
68104 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
68105             Glauber de Oliveira Costa  <glommer@gmail.com>
68107         * elf/elf.h: Add new ARM TLS relocs.
68109 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
68111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68112         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
68113         cast from r3.
68114         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
68115         'tests' variable.
68116         * sysdeps/wordsize-64/tst-writev.c: New file.
68118 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
68120         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
68121         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
68122         insns in _dl_start to prevent a TOC reference before relocs are
68123         resolved.
68125 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
68127         [BZ #12469]
68128         * Makeconfig: Remove RANLIB definition.
68129         * Makerules: Don't use RANLIB.
68130         * aclocal.m4: Remove ranlib test.
68131         * configure.in: No need to check for ranlib.
68132         * elf/rtld-Rules: Don't use RANLIB.
68134 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68136         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
68137         protection macro.
68138         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
68139         inclusion protection macro.
68141         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
68142         SIGRTMIN and SIGRTMAX and print information in that case only when
68143         SIGRTMIN is defined.
68145 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
68147         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
68148         arginfo fn returning -1.
68150         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
68151         and thousands string is zero terminated.
68153 2011-02-03  Andreas Schwab  <schwab@redhat.com>
68155         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
68156         sysdeps/unix/sysv/linux/bits/socket.h.
68158 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68160         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
68161         (__CPU_COUNT): Remove old macros.
68162         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
68163         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
68164         (__CPU_ALLOC, __CPU_FREE): Add macros.
68165         (__sched_cpualloc, __sched_cpufree): Add declarations.
68167 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
68169         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
68170         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
68171         * nscd/aicache.c (addhstaiX): Return timeout of added value.
68172         (readdhstai): Return value of addhstaiX call.
68173         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
68174         (addgrbyX): Return value returned by cache_addgr.
68175         (readdgrbyname): Return value returned by addgrbyX.
68176         (readdgrbygid): Likewise.
68177         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
68178         (addpwbyX): Return value returned by cache_addpw.
68179         (readdpwbyname): Return value returned by addhstbyX.
68180         (readdpwbyuid): Likewise.
68181         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
68182         (addservbyX): Return value returned by cache_addserv.
68183         (readdservbyname): Return value returned by addservbyX:
68184         (readdservbyport): Likewise.
68185         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
68186         (addhstbyX): Return value returned by cache_addhst.
68187         (readdhstbyname): Return value returned by addhstbyX.
68188         (readdhstbyaddr): Likewise.
68189         (readdhstbynamev6): Likewise.
68190         (readdhstbyaddrv6): Likewise.
68191         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
68192         (readdinitgroups): Return value returned by addinitgroupsX.
68193         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
68194         (prune_cache): Keep track of timeout value of re-added entries.
68195         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
68196         * nscd/nscd.h: Adjust prototypes of readd* functions.
68198 2011-02-04  Roland McGrath  <roland@redhat.com>
68200         * nis/nis_server.c (nis_servstate): Use the right name for 0.
68201         (nis_stats): Likewise.
68202         * nis/nis_modify.c (nis_modify): Likewise.
68203         * nis/nis_remove.c (nis_remove): Likewise.
68204         * nis/nis_add.c (nis_add): Likewise.
68206         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
68208         * posix/fnmatch_loop.c: Add some consts.
68210         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
68212 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
68214         [BZ #12460]
68215         * config.make.in (config-cflags-novzeroupper): Define.
68216         * configure.in: Substitute libc_cv_cc_novzeroupper.
68217         * elf/Makefile (AVX-CFLAGS): Define.
68218         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
68219         (CFLAGS-tst-auditmod4a.c): Likewise.
68220         (CFLAGS-tst-auditmod4b.c): Likewise.
68221         (CFLAGS-tst-auditmod6b.c): Likewise.
68222         (CFLAGS-tst-auditmod6c.c): Likewise.
68223         (CFLAGS-tst-auditmod7b.c): Likewise.
68224         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
68226 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
68228         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
68229         function to the callback.
68230         Patch partly by Jiri Olsa <jolsa@redhat.com>.
68232 2011-02-02  Andreas Schwab  <schwab@redhat.com>
68234         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
68235         of errno.
68237 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
68239         [BZ #11724]
68240         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
68241         of constructors.
68242         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
68243         of destructors.
68244         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
68246         [BZ #11724]
68247         * elf/Makefile: Add rules to build and run new test.
68248         * elf/tst-initorder.c: New file.
68249         * elf/tst-initorder.exp: New file.
68250         * elf/tst-initordera1.c: New file.
68251         * elf/tst-initordera2.c: New file.
68252         * elf/tst-initordera3.c: New file.
68253         * elf/tst-initordera4.c: New file.
68254         * elf/tst-initorderb1.c: New file.
68255         * elf/tst-initorderb2.c: New file.
68256         * elf/tst-order-a1.c: New file.
68257         * elf/tst-order-a2.c: New file.
68258         * elf/tst-order-a3.c: New file.
68259         * elf/tst-order-a4.c: New file.
68260         * elf/tst-order-b1.c: New file.
68261         * elf/tst-order-b2.c: New file.
68262         * elf/tst-order-main.c: New file.
68263         New test case by George Gensure <werkt0@gmail.com>.
68265 2010-10-01  Andreas Schwab  <schwab@redhat.com>
68267         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68268         decoding ACE if AI_CANONIDN.
68270 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
68272         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
68274 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
68276         * version.h (RELEASE): Bump for 2.13 release.
68277         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
68279         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
68281         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
68282         MADV_NOHUGEPAGE.
68283         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
68284         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68285         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68286         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68287         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68288         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68290         * posix/getconf.c: Update copyright year.
68291         * catgets/gencat.c: Likewise.
68292         * csu/version.c: Likewise.
68293         * debug/catchsegv.sh: Likewise.
68294         * debug/xtrace.sh: Likewise.
68295         * elf/ldconfig.c: Likewise.
68296         * elf/ldd.bash.in: Likewise.
68297         * elf/sprof.c (print_version): Likewise.
68298         * iconv/iconv_prog.c: Likewise.
68299         * iconv/iconvconfig.c: Likewise.
68300         * locale/programs/locale.c: Likewise.
68301         * locale/programs/localedef.c: Likewise.
68302         * malloc/memusage.sh: Likewise.
68303         * malloc/mtrace.pl: Likewise.
68304         * nscd/nscd.c (print_version): Likewise.
68305         * nss/getent.c: Likewise.
68307         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
68308         PF_CAIF, and PF_ALG.
68309         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68311 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
68313         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
68314         (modules-names): Use them.
68315         (ifunc-test-modules, ifunc-pie-tests): Define.
68316         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
68317         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
68318         (test-extras): Likewise.
68319         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
68320         $(compile-command.c).
68321         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
68322         (all-built-dso): Define.
68323         (check-textrel.out, check-execstack.out): Depend on it.
68325         * configure.in: Don't override --enable-multi-arch.
68327 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
68329         [BZ #6812]
68330         * nscd/hstcache.c (tryagain): Define.
68331         (cache_addhst): Return tryagain not notfound for temporary errors.
68332         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
68333         failed.
68335 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
68337         [BZ #10563]
68338         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
68339         to make the syscall.
68340         * sysdeps/unix/sysv/linux/setgroups.c: New file.
68342         [BZ #12378]
68343         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
68344         and fall back to matching as normal character if the string ends before
68345         the matching ']' is found.  This is what POSIX requires.
68346         * posix/testfnm.c: Adjust test result.
68347         * posix/globtest.sh: Adjust test result.  Add new test.
68348         * posix/tst-fnmatch.input: Likewise.
68349         * posix/tst-fnmatch2.c: Add new test.
68351 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
68353         * elf/Makefile (check-execstack): Revert last change.  Depend on
68354         check-execstack.h.
68355         (check-execstack.h): New target.
68356         (generated): Add check-execstack.h.
68357         * elf/check-execstack.c: Include "check-execstack.h".
68358         (main): Revert last change.
68359         (handle_file): Return zero if GNU_STACK is absent and
68360         DEFAULT_STACK_PERMS doesn't include PF_X.
68362 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
68364         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
68365         in child fails because the descriptor is already closed.
68366         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
68367         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
68368         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
68370         [BZ #12397]
68371         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
68372         syscall.
68374         [BZ #10484]
68375         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
68376         temporary buffer used to handle multi lookups locally.
68377         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
68379 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
68381         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
68382         loader is ld.so.
68384 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
68386         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
68387         alignment for SSE2.
68389 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
68391         [BZ #12394]
68392         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
68393         characters.  When rounding increased number of integer digits recompute
68394         number of groups.
68395         * stdio-common/tst-grouping.c: New file.
68396         * stdio-common/Makefile: Add rules to build and run tst-grouping.
68398 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
68400         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
68401         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
68403         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
68404         void.
68405         * bits/select.h: Likewise.
68407 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
68409         * po/ja.po: Update from translation team.
68411 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
68413         [BZ #11155]
68414         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
68415         implementation just like for lxstat, fxstatat, et al.
68417 2010-12-27  Jim Meyering  <meyering@redhat.com>
68419         [BZ #12348]
68420         * posix/regexec.c (build_trtable): Return failure indication upon
68421         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
68423 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
68425         [BZ #12201]
68426         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
68427         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
68428         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
68429         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
68431         [BZ #12207]
68432         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
68434         [BZ #12204]
68435         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
68436         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
68438 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
68440         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
68441         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
68442         script has SORT_BY_INIT_PRIORITY.
68443         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
68444         NO_CTORS_DTORS_SECTIONS is defined.
68445         * elf/soinit.c: Likewise.
68446         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
68447         NO_CTORS_DTORS_SECTIONS is defined.
68448         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
68449         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
68450         * sysdeps/sh/init-first.c: Likewise.
68451         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
68453 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
68455         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
68456         always use the slow path.
68458 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
68460         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
68461         similar rule which adds the sysdep directories to the header search in
68462         order to pick up the correct platform stackinfo.h.
68463         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
68464         perform test if it is, otherwise return successfully without testing.
68465         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
68466         DEFAULT_STACK_PERMS define in stackinfo.h.
68467         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
68468         defined in stackinfo.h.
68469         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
68470         DEFAULT_STACK_PERMS defined in stackinfo.h.
68471         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
68472         * sysdeps/ia64/stackinfo.h: Likewise.
68473         * sysdeps/s390/stackinfo.h: Likewise.
68474         * sysdeps/sh/stackinfo.h: Likewise.
68475         * sysdeps/sparc/stackinfo.h: Likewise.
68476         * sysdeps/x86_64/stackinfo.h: Likewise.
68477         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
68478         PF_X for powerpc64.  Retain PF_X for powerpc32.
68480 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
68482         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
68483         accurately.
68484         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
68485         GETDENTS_64BIT_ALIGNED.
68487 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
68489         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
68491 2010-12-10  Andreas Schwab  <schwab@redhat.com>
68493         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
68494         _GNU_SOURCE.
68496         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
68497         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
68498         Remove __restrict.
68499         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
68500         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
68502 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
68504         [BZ #11655]
68505         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
68506         are initialized.
68508 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
68510         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
68512 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
68514         * po/it.po: Update from translation team.
68516 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
68518         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
68519         unused codes.
68521 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
68523         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
68525 2010-11-24  Andreas Schwab  <schwab@redhat.com>
68527         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
68528         specially.
68529         (gaih_getanswer_slice): Likewise.
68531 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
68533         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
68535 2010-05-31  Petr Baudis  <pasky@suse.cz>
68537         [BZ #11149]
68538         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
68539         silently even in the chroot mode.
68541 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
68543         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
68544         last patch a bit.  Pretty printing
68546 2010-05-31  Petr Baudis <pasky@suse.cz>
68548         [BZ #10085]
68549         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
68550         initialization of skip_initgroups_dyn.
68552 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
68554         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
68555         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68557 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
68559         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
68561 2010-11-11  Andreas Schwab  <schwab@redhat.com>
68563         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
68564         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
68565         (tst-fnmatch-ENV): Set MALLOC_TRACE.
68566         ($(objpfx)tst-fnmatch-mem): New rule.
68567         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
68568         * posix/tst-fnmatch.c (main): Call mtrace.
68570 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
68572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68573         Support Intel processor model 6 and model 0x2c.
68575 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
68577         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
68578           signed comparison.
68580 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
68582         [BZ #12205]
68583         * string/test-strncasecmp.c (check_result): New function.
68584         (do_one_test): Use it.
68585         (check1): New function.
68586         (test_main): Use it.
68587         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
68588         Support strcasecmp and strncasecmp.
68590 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
68592         [BZ #12194]
68593         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
68594         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68596 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68598         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
68599         IFUNC support.
68600         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68601         memset-x86-64.
68602         * sysdeps/x86_64/multiarch/bzero.S: New file.
68603         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
68604         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
68605         * sysdeps/x86_64/multiarch/memset.S: New file.
68606         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
68607         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68608         Set bit_Prefer_SSE_for_memop for Intel processors.
68609         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
68610         Define.
68611         (index_Prefer_SSE_for_memop): Define.
68612         (HAS_PREFER_SSE_FOR_MEMOP): Define.
68614 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
68616         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
68617         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
68619 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
68621         [BZ #12191]
68622         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
68623         (__x86_64_raw_data_cache_size_half): Likewise.
68624         (__x86_64_raw_shared_cache_size): Likewise.
68625         (__x86_64_raw_shared_cache_size_half): Likewise.
68627         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
68628         (__x86_64_raw_data_cache_size_half): Likewise.
68629         (__x86_64_raw_shared_cache_size): Likewise.
68630         (__x86_64_raw_shared_cache_size_half): Likewise.
68631         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
68632         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
68633         and __x86_64_raw_shared_cache_size_half.  Round
68634         __x86_64_data_cache_size_half, __x86_64_data_cache_size
68635         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
68636         to multiple of 256 bytes.
68638 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
68640         [BZ #12167]
68641         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
68642         of inacessible symlinks.  Verify result of symlink before returning it.
68643         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
68644         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
68646 2010-10-28  Erich Ritz  <erichritz@gmail.com>
68648         * math/math.h (isinf): Fix typo in comment.
68650 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
68652         * po/da.po: Update from translation team.
68654 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
68656         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
68657         is added to the list.
68659 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68660             Ulrich Drepper  <drepper@gmail.com>
68662         * elf/dl-object.c (_dl_new_object): Don't append the new object to
68663         the global list here.  Move code to...
68664         (_dl_add_to_namespace_list): ...here.  New function.
68665         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
68666         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
68667         * elf/dl-load.c (lose): Don't remove the element from the list.
68668         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
68669         (_dl_map_object): Likewise.
68671 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
68673         [BZ #12159]
68674         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
68675         into all bytes of SSE register.
68676         Patch by Richard Li <richardpku@gmail.com>.
68678 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
68680         [BZ #12140]
68681         * malloc/malloc.c (_int_free): Fill correct number of bytes when
68682         perturbing.
68684 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
68686         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
68687         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
68688         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
68689         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
68691         submachine.
68692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
68694 2010-10-22  Andreas Schwab  <schwab@redhat.com>
68696         * include/dlfcn.h (__RTLD_SECURE): Define.
68697         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
68698         mode & __RTLD_SECURE instead.
68699         (open_path): Rename preloaded parameter to secure.
68700         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
68701         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
68702         * elf/dl-deps.c (openaux): Likewise.
68703         * elf/rtld.c (struct map_args): Remove is_preloaded.
68704         (map_doit): Don't use it.
68705         (dl_main): Likewise.
68706         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
68707         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
68709 2010-09-09  Andreas Schwab  <schwab@redhat.com>
68711         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
68712         (sysd-rules-targets): Remove duplicates.
68713         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
68714         rtld-%.$o dependency.
68716 2010-10-18  Andreas Schwab  <schwab@redhat.com>
68718         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
68719         _dl_map_object do it.
68721 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
68723         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
68724         fast fma builtins, define the macros in the C99 standard.
68725         (FP_FAST_FMAF): Likewise.
68726         (FP_FAST_FMAL): Likewise.
68727         * sysdeps/x86_64/bits/mathdef.h: Likewise.
68729         * bits/mathdef.h: Update copyright year.
68730         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68732 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
68734         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
68735         builtins, define the macros in the C99 standard.
68736         (FP_FAST_FMAF): Likewise.
68737         (FP_FAST_FMAL): Likewise.
68738         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
68739         multiply/add.
68740         (FP_FAST_FMAF): Likewise.
68742 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
68744         [BZ #3268]
68745         * math/libm-test.inc (fma_test): Some new testcases.
68746         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
68747         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
68748         y and infinite z.  Do multiplication by C already in long double.
68749         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
68750         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
68751         y and infinite z.  Do bitwise or of inexact bit into u.d.
68752         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
68753         * sysdeps/i386/fpu/s_fmaf.S: Removed.
68754         * sysdeps/i386/fpu/s_fma.S: Removed.
68755         * sysdeps/i386/fpu/s_fmal.S: Removed.
68757 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
68759         [BZ #3268]
68760         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
68761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
68762         computation is not scheduled after fetestexcept.  Fix value
68763         of minimum denormal long double.
68765 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
68767         [BZ #3268]
68768         * math/libm-test.inc (fma_test): Add some more tests.
68769         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
68770         correctly.
68772 2010-10-15  Andreas Schwab  <schwab@redhat.com>
68774         * scripts/data/localplt-s390-linux-gnu.data: New file.
68775         * scripts/data/localplt-s390x-linux-gnu.data: New file.
68777 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
68779         [BZ #3268]
68780         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
68781         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
68782         instead of dbl-64.
68783         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
68784         inlines.
68785         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
68786         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
68787         if one of x and y is very large and the other is subnormal.
68788         * sysdeps/s390/fpu/s_fmaf.c: New file.
68789         * sysdeps/s390/fpu/s_fma.c: New file.
68790         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
68791         * sysdeps/powerpc/fpu/s_fma.S: New file.
68792         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
68793         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
68794         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
68796 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
68798         [BZ #3268]
68799         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
68800         fma tests.
68801         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
68802         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
68803         * sysdeps/i386/i686/multiarch/s_fma.c: Include
68804         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
68805         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
68806         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
68807         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
68809 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
68811         [BZ #12078]
68812         * posix/regcomp.c (parse_branch): One more memory leak plugged.
68813         * posix/bug-regex31.input: Add test case.
68815 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68817         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
68818         * posix/bug-regex31.input: New file.
68820         [BZ #12078]
68821         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
68822         (parse_sub_exp): Fix last change, use postorder.
68824         * posix/bug-regex31.c: New file.
68825         * posix/Makefile: Add rules to build and run bug-regex31.
68827         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
68829         [BZ #12078]
68830         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
68832         [BZ #12108]
68833         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
68834         to have entries in sys_siglist.
68836         [BZ #12093]
68837         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
68838         be NULL.
68840 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
68842         [BZ #3268]
68843         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
68844         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
68845         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
68846         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
68847         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68848         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
68849         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
68850         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
68851         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
68852         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
68853         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
68854         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
68855         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
68856         * math/ftestexcept.c (fetestexcept): Likewise.
68857         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
68858         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
68859         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
68860         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
68861         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
68862         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
68863         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68865 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68867         [BZ #12107]
68868         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
68869         newline.
68871 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
68873         * string/bug-strstr1.c: New file.
68874         * string/Makefile: Add rules to build and run bug-strstr1.
68876 2010-10-05  Eric Blake  <eblake@redhat.com>
68878         [BZ #12092]
68879         * string/str-two-way.h (two_way_long_needle): Always clear memory
68880         when skipping input due to the shift table.
68882 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
68884         [BZ #12005]
68885         * malloc/mcheck.c: Handle large requests.
68887         [BZ #12077]
68888         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
68889         for strncmp and strncasecmp.
68890         * string/stratcliff.c: Add tests for strcmp and strncmp.
68891         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
68893 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68895         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
68896         __set_fpscr.
68898 2010-09-30  Andreas Jaeger  <aj@suse.de>
68900         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
68901         (CGROUP_SUPER_MAGIC): Define.
68902         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68903         Handle btrfs and cgroup file systems.
68904         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68905         Likewise.
68907 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
68909         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
68910         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
68912 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68914         [BZ #12067]
68915         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
68916         trying to locate the ELF header.
68918 2010-09-27  Andreas Schwab  <schwab@redhat.com>
68920         [BZ #11611]
68921         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
68922         Mask out sign-bit copies when constructing f_fsid.
68924 2010-09-24  Petr Baudis <pasky@suse.cz>
68926         * debug/stack_chk_fail_local.c: Add missing licence exception.
68927         * debug/warning-nop.c: Likewise.
68929 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
68931         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
68932         implementing getdents64 using getdents syscall, set d_type if
68933         __ASSUME_GETDENTS32_D_TYPE.
68935 2010-09-16  Andreas Schwab  <schwab@redhat.com>
68937         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
68938         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
68940 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
68942         [BZ #12037]
68943         * posix/unistd.h: Undo change of feature selection for ftruncate from
68944         2010-01-11.
68946 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
68948         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
68949         detection.
68951 2010-09-20  Andreas Schwab  <schwab@redhat.com>
68953         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
68954         fanotify_mark.
68955         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68957 2010-09-14  Andreas Schwab  <schwab@redhat.com>
68959         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
68960         variables after CHECK_SP call.
68961         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
68963 2010-09-13  Andreas Schwab  <schwab@redhat.com>
68964             Ulrich Drepper  <drepper@redhat.com>
68966         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
68967         re-relocationg ld.so.
68968         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
68969         _dl_init_paths call.
68970         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
68971         here anymore.
68973 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
68975         * resolv/res_init.c (__res_vinit): Count the default server we added.
68977 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
68978             Ulrich Drepper  <drepper@redhat.com>
68980         [BZ #11968]
68981         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68982         (____longjmp_chk): Use %ebx for saving value across system call.
68983         Add unwind info.
68985 2010-09-06  Andreas Schwab  <schwab@redhat.com>
68987         * manual/Makefile: Don't mix pattern rules with normal rules.
68989 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68991         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
68992         operation.
68993         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
68994         * libio/iofopncook.c (_IO_cookie_init): Likewise.
68995         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
68996         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
68997         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68998         Likewise.
69000 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
69002         [BZ #11979]
69003         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
69004         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
69006 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
69008         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
69009         * sysdeps/x86_64/addmul_1.S: Likewise.
69010         * sysdeps/x86_64/lshift.S: Likewise.
69011         * sysdeps/x86_64/mul_1.S: Likewise.
69012         * sysdeps/x86_64/rshift.S: Likewise.
69013         * sysdeps/x86_64/sub_n.S: Likewise.
69014         * sysdeps/x86_64/submul_1.S: Likewise.
69016 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69018         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
69019         Define __sched_param instead of SCHED_* and sched_param when
69020         <bits/sched.h> is included with __need_schedparam defined.
69021         * bits/sched.h [__need_schedparam]
69022         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
69023         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
69024         (__defined_schedparam): Define to 1.
69025         (__sched_param): New structure, identical to sched_param.
69026         (__need_schedparam): Undefine.
69028 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
69030         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
69031         (epoll_create1): Declare.
69033         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
69035 2010-08-31  Andreas Schwab  <schwab@redhat.com>
69037         [BZ #7066]
69038         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
69039         shifting retval into place.
69041 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
69043         * nis/rpcsvc/nis.h: Update copyright notice.
69044         * nis/rpcsvc/nis.x: Likewise.
69045         * nis/rpcsvc/nis_callback.h: Likewise.
69046         * nis/rpcsvc/nis_callback.x: Likewise.
69047         * nis/rpcsvc/nis_object.x: Likewise.
69048         * nis/rpcsvc/nis_tags.h: Likewise.
69049         * nis/rpcsvc/yp.h: Likewise.
69050         * nis/rpcsvc/yp.x: Likewise.
69051         * nis/rpcsvc/ypupd.h: Likewise.
69052         * nis/yp_xdr.c: Likewise.
69053         * nis/ypupdate_xdr.c: Likewise.
69055         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
69056         mainly the body of pmap_getport.  Add parameters to specify timeouts.
69057         (pmap_getport): Use __libc_rpc_getport.
69058         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
69059         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
69060         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
69062 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
69064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
69065         fanotify_mark.
69067 2010-08-27  Roland McGrath  <roland@redhat.com>
69069         * sysdeps/i386/i686/multiarch/Makefile
69070         (CFLAGS-varshift.c): New variable.
69072 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
69074         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
69075         * sysdeps/i386/i686/multiarch/varshift.c: New file.
69077         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
69079         * sysdeps/x86_64/strlen.S: Minimal code improvement.
69081 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
69083         * sysdeps/x86_64/strlen.S: Unroll the loop.
69084         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69085         strlen-sse2 strlen-sse2-bsf.
69086         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
69087         __strlen_no_bsf if bit_Slow_BSF is set.
69088         (__strlen_sse42): Removed.
69089         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
69090         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
69092 2010-08-25  Roland McGrath  <roland@redhat.com>
69094         * sysdeps/x86_64/multiarch/varshift.S: File removed.
69095         * sysdeps/x86_64/multiarch/varshift.c: New file.
69096         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
69097         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
69098         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
69099         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69101 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
69103         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69104         strlen-sse2 strlen-sse2-bsf.
69105         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
69106         __strlen_sse2_bsf if bit_Slow_BSF is unset.
69107         (__strlen_sse2): Removed.
69108         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
69109         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
69110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69111         bit_Slow_BSF for Atom.
69112         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
69113         (index_Slow_BSF): Define.
69114         (HAS_SLOW_BSF): Define.
69116 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
69118         [BZ #10851]
69119         * resolv/res_init.c (__res_vinit): When no server address at all
69120         is given default to loopback.
69122 2010-08-24  Roland McGrath  <roland@redhat.com>
69124         * configure.in: Remove config-name.h generation.
69125         * configure: Regenerated.
69126         * config-name.in: File removed.
69127         * scripts/config-uname.sh: New file.
69128         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
69129         ($(objdir)config-name.h): New target.
69131         * sunrpc/rpc_parse.h: Avoid nested comment.
69133 2010-08-24  Richard Henderson  <rth@redhat.com>
69134             Ulrich Drepper  <drepper@redhat.com>
69135             H.J. Lu  <hongjiu.lu@intel.com>
69137         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
69138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
69139         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
69140         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
69141         _mm_alignr_epi8 with _mm_loadu_si128.
69142         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69143         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
69144         (__m128i_shift_right): Removed.
69145         * sysdeps/i386/i686/multiarch/varshift.h: New file.
69146         * sysdeps/i386/i686/multiarch/varshift.S: New file.
69147         * sysdeps/x86_64/multiarch/varshift.h: New file.
69148         * sysdeps/x86_64/multiarch/varshift.S: New file.
69150 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
69152         * configure.in: Move assembler checks to before sysdep dir checking.
69154 2010-08-20  Petr Baudis  <pasky@suse.cz>
69156         * LICENSES: Sync the sunrpc license.
69158 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
69160         * sunrpc/auth_des.c: Update copyright notice once again.
69161         * sunrpc/auth_none.c: Likewise.
69162         * sunrpc/auth_unix.c: Likewise.
69163         * sunrpc/authdes_prot.c: Likewise.
69164         * sunrpc/authuxprot.c: Likewise.
69165         * sunrpc/bindrsvprt.c: Likewise.
69166         * sunrpc/clnt_gen.c: Likewise.
69167         * sunrpc/clnt_perr.c: Likewise.
69168         * sunrpc/clnt_raw.c: Likewise.
69169         * sunrpc/clnt_simp.c: Likewise.
69170         * sunrpc/clnt_tcp.c: Likewise.
69171         * sunrpc/clnt_udp.c: Likewise.
69172         * sunrpc/clnt_unix.c: Likewise.
69173         * sunrpc/des_crypt.c: Likewise.
69174         * sunrpc/des_soft.c: Likewise.
69175         * sunrpc/get_myaddr.c: Likewise.
69176         * sunrpc/getrpcport.c: Likewise.
69177         * sunrpc/key_call.c: Likewise.
69178         * sunrpc/key_prot.c: Likewise.
69179         * sunrpc/openchild.c: Likewise.
69180         * sunrpc/pm_getmaps.c: Likewise.
69181         * sunrpc/pm_getport.c: Likewise.
69182         * sunrpc/pmap_clnt.c: Likewise.
69183         * sunrpc/pmap_prot.c: Likewise.
69184         * sunrpc/pmap_prot2.c: Likewise.
69185         * sunrpc/pmap_rmt.c: Likewise.
69186         * sunrpc/rpc/auth.h: Likewise.
69187         * sunrpc/rpc/auth_unix.h: Likewise.
69188         * sunrpc/rpc/clnt.h: Likewise.
69189         * sunrpc/rpc/des_crypt.h: Likewise.
69190         * sunrpc/rpc/key_prot.h: Likewise.
69191         * sunrpc/rpc/netdb.h: Likewise.
69192         * sunrpc/rpc/pmap_clnt.h: Likewise.
69193         * sunrpc/rpc/pmap_prot.h: Likewise.
69194         * sunrpc/rpc/pmap_rmt.h: Likewise.
69195         * sunrpc/rpc/rpc.h: Likewise.
69196         * sunrpc/rpc/rpc_des.h: Likewise.
69197         * sunrpc/rpc/rpc_msg.h: Likewise.
69198         * sunrpc/rpc/svc.h: Likewise.
69199         * sunrpc/rpc/svc_auth.h: Likewise.
69200         * sunrpc/rpc/types.h: Likewise.
69201         * sunrpc/rpc/xdr.h: Likewise.
69202         * sunrpc/rpc_clntout.c: Likewise.
69203         * sunrpc/rpc_cmsg.c: Likewise.
69204         * sunrpc/rpc_common.c: Likewise.
69205         * sunrpc/rpc_cout.c: Likewise.
69206         * sunrpc/rpc_dtable.c: Likewise.
69207         * sunrpc/rpc_hout.c: Likewise.
69208         * sunrpc/rpc_main.c: Likewise.
69209         * sunrpc/rpc_parse.c: Likewise.
69210         * sunrpc/rpc_parse.h: Likewise.
69211         * sunrpc/rpc_prot.c: Likewise.
69212         * sunrpc/rpc_sample.c: Likewise.
69213         * sunrpc/rpc_scan.c: Likewise.
69214         * sunrpc/rpc_scan.h: Likewise.
69215         * sunrpc/rpc_svcout.c: Likewise.
69216         * sunrpc/rpc_tblout.c: Likewise.
69217         * sunrpc/rpc_util.c: Likewise.
69218         * sunrpc/rpc_util.h: Likewise.
69219         * sunrpc/rpcinfo.c: Likewise.
69220         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
69221         * sunrpc/rpcsvc/key_prot.x: Likewise.
69222         * sunrpc/rpcsvc/klm_prot.x: Likewise.
69223         * sunrpc/rpcsvc/mount.x: Likewise.
69224         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
69225         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
69226         * sunrpc/rpcsvc/rex.x: Likewise.
69227         * sunrpc/rpcsvc/rstat.x: Likewise.
69228         * sunrpc/rpcsvc/rusers.x: Likewise.
69229         * sunrpc/rpcsvc/sm_inter.x: Likewise.
69230         * sunrpc/rpcsvc/spray.x: Likewise.
69231         * sunrpc/rpcsvc/yppasswd.x: Likewise.
69232         * sunrpc/rtime.c: Likewise.
69233         * sunrpc/svc.c: Likewise.
69234         * sunrpc/svc_auth.c: Likewise.
69235         * sunrpc/svc_authux.c: Likewise.
69236         * sunrpc/svc_raw.c: Likewise.
69237         * sunrpc/svc_run.c: Likewise.
69238         * sunrpc/svc_simple.c: Likewise.
69239         * sunrpc/svc_tcp.c: Likewise.
69240         * sunrpc/svc_udp.c: Likewise.
69241         * sunrpc/svc_unix.c: Likewise.
69242         * sunrpc/svcauth_des.c: Likewise.
69243         * sunrpc/xcrypt.c: Likewise.
69244         * sunrpc/xdr.c: Likewise.
69245         * sunrpc/xdr_array.c: Likewise.
69246         * sunrpc/xdr_float.c: Likewise.
69247         * sunrpc/xdr_mem.c: Likewise.
69248         * sunrpc/xdr_rec.c: Likewise.
69249         * sunrpc/xdr_ref.c: Likewise.
69250         * sunrpc/xdr_sizeof.c: Likewise.
69251         * sunrpc/xdr_stdio.c: Likewise.
69253         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
69254         handling.
69256 2010-08-19  Andreas Schwab  <schwab@redhat.com>
69258         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
69260 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
69262         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
69263         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
69264         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
69265         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
69266         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
69267         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
69268         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
69269         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
69270         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
69271         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
69272         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
69273         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
69274         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
69275         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
69277 2010-07-26  Anton Blanchard  <anton@samba.org>
69279         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
69280         * malloc/arena.c (heap_trim): Likewise.
69282 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
69284         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
69285         here.  Not...
69286         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
69287         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
69289 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
69291         * sysdeps/i386/elf/Makefile: New file.
69293 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69295         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
69296         from fanotify_init.
69297         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
69298         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69300 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
69302         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
69303         of strncasecmp_l.
69304         * sysdeps/multiarch/strcmp.S: Likewise.
69306 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
69308         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69309         strncase_l-nonascii.
69310         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69311         Add strncase_l-ssse3.
69312         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
69313         * sysdeps/x86_64/strcmp.S: Likewise.
69314         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
69315         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
69316         * sysdeps/x86_64/strncase.S: New file.
69317         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
69318         * sysdeps/x86_64/strncase_l.S: New file.
69319         * string/Makefile (strop-tests): Add strncasecmp.
69320         * string/test-strncasecmp.c: New file.
69322         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
69323         warning.
69325         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
69326         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
69328 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69330         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
69332 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
69334         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
69335         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
69336         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
69338 2010-05-01  Alan Modra  <amodra@gmail.com>
69340         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
69341         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
69342         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
69343         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
69344         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
69345         tidying.  Don't tail-call __sigjmp_save for static lib.
69346         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
69347         save location.
69348         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
69349         (CALL_MCOUNT): Add eh info, and nop after bl.
69350         (TAIL_CALL_SYSCALL_ERROR): New macro.
69351         (PSEUDO_RET): Use it.
69352         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
69353         Correct save location of integer regs and cr.
69354         (_dl_profile_resolve): Correct cr save location.  Delete nops
69355         after bl when SHARED.  Reduce cfi size a little by better
69356         placement of cfi directives.
69357         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
69358         make a stack frame.  Instead use parm save area as a temp.
69359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
69360         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
69361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
69362         Don't make a stack frame for parent, use parm save area.
69363         Increase child stack frame to 112 bytes.  Don't save unused reg,
69364         and adjust reg usage.  Set up cfi on error recovery and
69365         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
69366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
69367         (__makecontext): Add dummy nop after jump to exit.
69368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
69369         Use correct parm save area and cr save, reduce stack frame.
69370         Correct cfi for possible PSEUDO_RET frame setup.
69371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
69372         Branch to local label emitted by PSEUDO_RET rather than
69373         __syscall_error.
69375 2010-08-12  Andreas Schwab  <schwab@redhat.com>
69377         [BZ #11904]
69378         * locale/programs/locale.c (print_assignment): New function.
69379         (show_locale_vars): Use it.
69381 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
69383         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
69384         field.
69385         (struct statfs64): Likewise.
69386         (_STATFS_F_FLAGS): Define.
69387         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
69388         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69389         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
69390         (ST_VALID): Define locally.
69391         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
69392         __statvfs_getflags, use the provided value.
69393         * sysdeps/unix/sysv/linux/kernel-features.h: Define
69394         __ASSUME_STATFS_F_FLAGS.
69396         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
69398         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
69399         Add sys/fanotify.h.
69400         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
69401         fanotify_mask for GLIBC_2.13.
69402         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
69403         fanotify_init and fanotify_mark.
69404         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69405         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
69407         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
69408         Add prlimit.
69409         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
69410         prlimit64 for GLIBC_2.13.
69411         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
69412         prlimit64.
69413         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
69414         syscall.
69415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
69416         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69417         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
69418         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
69419         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
69420         add prlimit alias.
69421         * sysdeps/unix/sysv/linux/prlimit.c: New file.
69423         [BZ #11903]
69424         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
69425         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
69427         * nss/Makefile: Add rules to build and run tst-nss-test1.
69428         * shlib-versions: Add entry for libnss_test1.
69429         * nss/nss_test1.c: New file.
69430         * nss/tst-nss-test1.c: New file.
69432         * nss/nsswitch.c (__nss_database_custom): Define new variable.
69433         (__nss_configure_lookup): Set appropriate entry in
69434         __nss_configure_lookup to true.
69435         * nss/nsswitch.h: Define enum with indeces of databases in
69436         databases and __nss_database_custom arrays.  Declare
69437         __nss_database_custom.
69438         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
69439         to avoid using nscd when custom rules are installed.
69440         * nss/getXXbyYY_r.c: Likewise.
69441         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
69443         * nss/nss_files/files-parse.c: Whitespace fixes.
69445 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
69447         [BZ #11883]
69448         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
69449         * posix/fnmatch_loop.c: Likewise.
69451 2010-07-17  Andi Kleen  <ak@linux.intel.com>
69453         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
69454         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
69455         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
69456         * Versions.def [GLIBC_2.13]: Add.
69458 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
69460         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69461         Also fail if tpwd after pwuid call is NULL.
69463 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69465         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
69466         when converting to ms.
69468 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69470         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
69471         EOPNOTSUPP errors with ENOTTY.
69472         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
69473         EOPNOTSUPP errors with ENOTTY.
69475 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
69477         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69478         Add strcasecmp_l-ssse3.
69479         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
69480         strcasecmp.
69481         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
69482         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
69483         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
69485 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
69487         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
69489         * string/Makefile (strop-tests): Add strcasecmp.
69490         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69491         strcasecmp_l-nonascii.
69492         (gen-as-const-headers): Add locale-defines.sym.
69493         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
69494         * sysdeps/x86_64/strcasecmp.S: New file.
69495         * sysdeps/x86_64/strcasecmp_l.S: New file.
69496         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
69497         * sysdeps/x86_64/locale-defines.sym: New file.
69498         * string/test-strcasecmp.c: New file.
69500         * string/test-strcasestr.c: Test both ends of the range of characters.
69501         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
69503 2010-07-29  Roland McGrath  <roland@redhat.com>
69505         [BZ #11856]
69506         * manual/locale.texi (Yes-or-No Questions): Fix example code.
69508 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
69510         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
69511         for ld.so.
69513 2010-07-27  Andreas Schwab  <schwab@redhat.com>
69515         * manual/memory.texi (Malloc Tunable Parameters): Document
69516         M_PERTURB.
69518 2010-07-26  Roland McGrath  <roland@redhat.com>
69520         [BZ #11840]
69521         * configure.in (-fgnu89-inline check): Set and substitute
69522         gnu89_inline, not libc_cv_gnu89_inline.
69523         * configure: Regenerated.
69524         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
69526 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
69528         * string/test-strnlen.c: New file.
69529         * string/Makefile (strop-tests): Add strnlen.
69530         * string/tester.c (test_strnlen): Add a few more test cases.
69531         * string/tst-strlen.c: Better error reporting.
69533         * sysdeps/x86_64/strnlen.S: New file.
69535 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
69537         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
69538         lower-latency instructions.
69540 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
69542         * string/test-strcasestr.c: New file.
69543         * string/test-strstr.c: New file.
69544         * string/Makefile (strop-tests): Add strstr and strcasestr.
69545         * string/str-two-way.h: Don't undefine MAX.
69546         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
69548 2010-07-21  Andreas Schwab  <schwab@redhat.com>
69550         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69551         strcasestr-nonascii.
69552         (CFLAGS-strcasestr-nonascii.c): Define.
69553         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
69554         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
69555         Remove unused attribute.
69557 2010-07-20  Roland McGrath  <roland@redhat.com>
69559         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
69560         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
69561         ld.so.cache was broken.  With it, there is no way to disable dsocaps
69562         like LD_HWCAP_MASK can disable hwcaps.
69564 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69566         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
69568 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
69570         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
69571         call in strcasestr.
69572         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
69573         __strcasestr_sse42_nonascii.
69574         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
69575         strcasestr-nonascii.c.
69576         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
69578 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
69580         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
69581         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
69582         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
69583         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
69585 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
69587         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
69588         fcntl.
69590 2010-07-06  Andreas Schwab  <schwab@redhat.com>
69592         [BZ #11577]
69593         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
69594         dl_signal_cerror.
69596 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
69598         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
69599         _PC_PIPE_BUF using F_GETPIPE_SZ.
69601 2010-07-05  Roland McGrath  <roland@redhat.com>
69603         * manual/arith.texi (Rounding Functions): Fix rint description
69604         implicit in round description.
69606 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
69608         * elf/Makefile: Fix linking for a few tests to make recent linker
69609         happy.
69611 2010-06-30  Andreas Schwab  <schwab@redhat.com>
69613         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69614         $(common-objpfx)libc_nonshared.a.
69616 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
69618         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
69619         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
69620         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
69621         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
69622         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
69623         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
69624         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
69625         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
69626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
69627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
69628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
69629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
69630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
69631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
69632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
69633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
69634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
69635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
69636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
69637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
69638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
69639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
69640         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
69641         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
69642         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
69643         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
69644         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
69645         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
69646         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
69647         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
69648         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
69649         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
69650         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
69651         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
69652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
69653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
69654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
69655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
69656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
69657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
69658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
69659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
69660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
69661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
69662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
69663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
69664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
69665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
69667 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
69669         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
69670         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
69671         * string/memmove.c (memmove): Renamed to ...
69672         (MEMMOVE): ...this.  Default to memmove.
69673         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
69674         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
69675         (END_CHK): Define.
69676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69677         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
69678         mempcpy-ssse3-back memmove-ssse3-back.
69679         * sysdeps/x86_64/multiarch/bcopy.S: New file .
69680         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
69681         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
69682         * sysdeps/x86_64/multiarch/memcpy.S: New file.
69683         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
69684         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
69685         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
69686         * sysdeps/x86_64/multiarch/memmove.c: New file.
69687         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
69688         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
69689         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
69690         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
69691         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
69692         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
69693         Define.
69694         (index_Fast_Copy_Backward): Define.
69695         (HAS_ARCH_FEATURE): Define.
69696         (HAS_FAST_REP_STRING): Define.
69697         (HAS_FAST_COPY_BACKWARD): Define.
69699 2010-06-21  Andreas Schwab  <schwab@redhat.com>
69701         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69702         Restore proper fallback handling.
69704 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
69706         [BZ #11701]
69707         * posix/group_member.c (__group_member): Correct checking loop.
69709         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
69710         OOM in getpwuid_r correctly.  Return error number when the caller
69711         should return, otherwise -1.
69712         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
69713         call returning > 0 value.
69714         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
69716 2010-06-07  Andreas Schwab  <schwab@redhat.com>
69718         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
69719         libc_nonshared.a from targets in modules-names.
69721 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
69723         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
69724         requires it.
69726 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
69728         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
69729         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
69730         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
69731         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
69733 2010-06-02  Andreas Schwab  <schwab@redhat.com>
69735         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
69737 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
69739         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
69740         and F_GETPIPE_SZ.
69741         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69742         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69743         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69744         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69745         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69746         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
69748 2010-06-14  Roland McGrath  <roland@redhat.com>
69750         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
69752 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
69754         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
69755         __REDIRECT followed by __THROW.
69756         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
69757         * posix/getopt.h (getopt): Likewise.
69759 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69761         * hurd/lookup-at.c (__file_name_lookup_at): Accept
69762         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
69763         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
69764         in AT_FLAGS.
69765         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
69766         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
69768 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
69770         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
69772 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
69774         [BZ #11640]
69775         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69776         Properly check family and model.
69778 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
69780         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
69782 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
69784         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
69786 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
69788         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
69789         symbol reference.
69791 2010-05-19  Andreas Schwab  <schwab@redhat.com>
69793         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
69794         symbol reference.
69796 2010-05-21  Andreas Schwab  <schwab@redhat.com>
69798         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
69799         and internal_recvmmsg.
69800         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
69801         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
69802         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
69803         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
69805         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
69806         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
69807         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
69809 2010-05-20  Andreas Schwab  <schwab@redhat.com>
69811         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
69813 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
69815         POWER7 optimizations.
69816         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
69817         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
69819 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
69821         * version.h: Update for 2.13 development version.
69823 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
69825         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
69826         exceptions.  Return 0.
69828 2010-05-07  Roland McGrath  <roland@redhat.com>
69830         * elf/ldconfig.c (main): Add a const.
69832 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
69834         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
69835         (args_options): Add no-idn option.
69836         (ahosts_keys_int): Add idn_flags to ai_flags.
69837         (parse_option): Handle 'i' option to clear idn_flags.
69839         * malloc/malloc.c (_int_free): Possible race in the most recently
69840         added check.  Only act on the data if no current modification
69841         happened.
69843 See ChangeLog.17 for earlier changes.