Add more tests of pow.
[glibc.git] / ChangeLog
blob8a0882c661313962b58fc1a1711524e308334a67
1 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3         * math/auto-libm-test-in: Add another test of pow.
4         * math/auto-libm-test-out: Regenerated.
5         * math/libm-test.inc (pow_test_data): Add another test.
7 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9         [BZ #19219]
10         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11         weak_alias to nearbyintl.
13 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15         * sysdeps/aarch64/bits/string.h: New file.
16         (_STRING_ARCH_unaligned): Define.
18 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
21         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
24         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
28         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
29         for original name of the DSO.  Add it to the name list of the DSO
30         if it is actually given.
31         (_dl_map_object): Keep track of whether an audit module rewrote
32         the file name.  If yes, pass the original name to
33         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
34         debugging is enabled, log the change of the file name.
35         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
36         _dl_map_object_from_fd.
37         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
38         * elf/tst-audit11.c: New file
39         * elf/tst-auditmod11.c: New file.
40         * elf/tst-audit11mod1.c: New file.
41         * elf/tst-audit11mod2.c: New file.
42         * elf/tst-audit11mod2.map: New file.
43         * elf/tst-audit12.c: New file
44         * elf/tst-auditmod12.c: New file.
45         * elf/tst-audit12mod1.c: New file.
46         * elf/tst-audit12mod2.c: New file.
47         * elf/tst-audit12mod2.map: New file.
48         * elf/tst-audit12mod3.c: New file.
50 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
52         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
53         Don't create weak aliases,
54         because versioned symbols are created later.
55         * sysdeps/s390/s390-32/setjmp.S
56         (setjmp, _setjmp): Remove weak and rename to an unique name
57         in SHARED case due to existing versioned symbols.
58         * sysdeps/s390/s390-64/setjmp.S: Likewise.
59         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
60         (getcontext): Create weak alias only in non SHARED case.
61         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
65         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
66         (__ASSUME_*_SYSCALL) Define new macros.
67         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
68         Remove socketcall syscalls.
69         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
70         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
71         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
72         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
73         * sysdeps/unix/sysv/linux/send.c (__libc_send):
74         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
76 2015-11-09  Florian Weimer  <fweimer@redhat.com>
78         [BZ #12926]
79         Terminate process on invalid netlink response.
80         * sysdeps/unix/sysv/linux/netlinkaccess.h
81         (__netlink_assert_response): Declare.
82         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
83         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
84         (sysdep_routines): Add netlink_assert_response.
85         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
86         __netlink_assert_response.
87         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
88         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
89         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
90         __netlink_assert_response.
92 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
94         [BZ #19178]
95         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
96         (RTYPE_CLASS_PLT): Likewise.
97         (RTYPE_CLASS_COPY): Likewise.
98         (RTYPE_CLASS_TLS): Likewise.
99         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
100         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
101         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
102         DL_DEBUG_PRELINK.
104 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
106         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
107         calls with argument -0.5.
108         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
110         * configure.ac (libc_cv_z_nodelete): Remove configure test.
111         (libc_cv_z_nodlopen): Likewise.
112         (libc_cv_z_initfirst): Likewise.
113         * configure: Regenerated.
115 2015-11-06  Florian Weimer  <fweimer@redhat.com>
117         Simplify abilist format to be line-based.
118         * scripts/abilist.awk: Collect descriptors in the descs variable.
119         (emit): Write descs variable and sort it
120         externally, with sort.
121         * sysdeps/**/*.abilist: Convert to new format.
123 2015-11-06  Mark Wielaard  <mjw@redhat.com>
125         [BZ #11460]
126         * io/Makefile (routines): Add fts64.
127         (tests): Add tst-fts and tst-fts-lfs.
128         (CFLAGS-fts64.c): New.
129         * io/Versions (GLIBC_2.23): New.
130         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
131         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
132         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
133         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
134         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
135         (FTSENT64): Likewise.
136         (fts64_children): Likewise.
137         (fts64_close): Likewise.
138         (fts64_open): Likewise.
139         (fts64_read): Likewise.
140         (fts64_set): Likewise.
141         * io/fts64.c: New file.
142         * io/tst-fts.c: New test.
143         * io/tst-fts-lfs.c: Likewise.
144         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
145         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
146         fts64_set.
147         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
148         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
149         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
150         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
151         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
152         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
153         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
154         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
155         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
156         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
157         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
158         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
159         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
161         Likewise.
162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
163         Likewise.
164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
166         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
167         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
168         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
169         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
170         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
173         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
174         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
175         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
176         * sysdeps/wordsize-64/fts.c: New file.
177         * sysdeps/wordsize-64/fts64.c: Likewise.
178         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
179         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
180         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
181         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
183 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
185         * math/libm-test.inc (NON_FINITE): New macro.
186         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
187         * math/gen-libm-test.pl (show_exceptions): Add argument
188         $non_finite.
189         (parse_args): Update call to show_exceptions.
190         * math/test-math-finite.h: New file.
191         * math/test-math-no-finite.h: Likewise.
192         * math/test-double-finite.c: Likewise.
193         * math/test-float-finite.c: Likewise.
194         * math/test-ldouble-finite.c: Likewise.
195         * math/test-double.c: Include "test-math-no-finite.h".
196         * math/test-float.c: Include "test-math-no-finite.h".
197         * math/test-ldouble.c: Include "test-math-no-finite.h".
198         * math/test-math-inline.h (TEST_FINITE): New macro.
199         * math/test-math-vector.h (TEST_FINITE): Likewise.
200         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
201         (libm-tests): Add test-float-finite and test-double-finite.
202         ($(objpfx)test-float-finite.o): New dependency on
203         $(objpfx)libm-test.stmp.
204         ($(objpfx)test-double-finite.o): Likewise.
205         ($(objpfx)test-ldouble-finite.o): Likewise.
206         (libm-test-no-inline-cflags): New variable.
207         (libm-test-finite-cflags): Likewise.
208         (CFLAGS-test-float-finite.c): Likewise.
209         (CFLAGS-test-double-finite.c): Likewise.
210         (CFLAGS-test-ldouble-finite.c): Likewise.
211         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
212         (CFLAGS-test-double.c): Likewise.
213         (CFLAGS-test-ldouble.c): Likewise.
215 2015-11-05  Roland McGrath  <roland@hack.frob.com>
217         * io/fcntl.c (__fcntl): Add ... to prototype.
218         * misc/ioctl.c (__ioctl): Likewise.
219         * misc/syscall.c (syscall): Likewise.
221 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
223         * scripts/list-fixed-bugs.py: New file.
225         [BZ #19213]
226         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
227         returned for argument 1.
228         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
229         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
230         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
231         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
232         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
233         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
235         [BZ #19211]
236         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
237         __USE_XOPEN], not if [!__USE_ISOC99].
238         (lgammaf): Likewise.
239         (lgammal): Likewise.
240         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
241         (gammaf): Likewise.
242         (gammal): Likewise.
243         * math/test-signgam-finite-c11.c: New file.
244         * math/test-signgam-finite-c99.c: Likewise.
245         * math/test-signgam-finite.c: Likewise.
246         * math/Makefile (tests): Add test-signgam-finite,
247         test-signgam-finite-c99 and test-signgam-finite-c11.
248         (CFLAGS-test-signgam-finite.c): New variable.
249         (CFLAGS-test-signgam-finite-c99.c): Likewise.
250         (CFLAGS-test-signgam-finite-c11.c): Likewise.
252         [BZ #19212]
253         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
254         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
255         500].
256         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
257         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
258         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
259         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
260         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
261         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
262         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
263         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
264         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
265         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
267         [BZ #19209]
268         * math/bits/math-finite.h (ldexp): Remove declaration.
269         (ldexpf): Likewise.
270         (ldexpl): Likewise.
272         [BZ #19205]
273         * math/bits/math-finite.h (acosf): Condition declaration on
274         [__USE_ISOC99].
275         (acosl): Likewise.
276         (acoshf): Likewise.
277         (acoshl): Likewise.
278         (asinf): Likewise.
279         (asinl): Likewise.
280         (atan2f): Likewise.
281         (atan2l): Likewise.
282         (atanhf): Likewise.
283         (atanhl): Likewise.
284         (coshf): Likewise.
285         (coshl): Likewise.
286         (expf): Likewise.
287         (expl): Likewise.
288         (fmodf): Likewise.
289         (fmodl): Likewise.
290         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
291         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
292         (j0l): Likewise.
293         (y0f): Likewise.
294         (y0l): Likewise.
295         (j1f): Likewise.
296         (j1l): Likewise.
297         (y1f): Likewise.
298         (y1l): Likewise.
299         (jnf): Likewise.
300         (jnl): Likewise.
301         (ynf): Likewise.
302         (ynl): Likewise.
303         (lgammaf_r): Condition declaration on [__USE_ISOC99].
304         (lgammal_r): Likewise.
305         (__lgamma_r_finite): New declaration.
306         (__lgammaf_r_finite): Likewise.
307         (__lgammal_r_finite): Likewise.
308         (lgamma): Use __lgamma_r_finite.
309         (lgammaf): Condition definition on [__USE_ISOC99].  Use
310         __lgammaf_r_finite.
311         (lgammal): Condition definition on [__USE_ISOC99].  Use
312         __lgammal_r_finite.
313         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
314         __lgamma_r_finite.
315         (gammaf): Condition definition on [__USE_ISOC99].  Use
316         __lgammaf_r_finite.
317         (gammal): Condition definition on [__USE_ISOC99].  Use
318         __lgammal_r_finite.
319         (logf): Condition declaration on [__USE_ISOC99].
320         (logl): Likewise.
321         (log10f): Likewise.
322         (log10l): Likewise.
323         (ldexpf): Likewise.
324         (ldexpl): Likewise.
325         (powf): Likewise.
326         (powl): Likewise.
327         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
328         __USE_ISOC99].
329         (remainderf): Condition declaration on [__USE_ISOC99].
330         (remainderl): Likewise.
331         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
332         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
333         (scalbl): Likewise.
334         (sinhf): Condition declaration on [__USE_ISOC99].
335         (sinhl): Likewise.
336         (sqrtf): Likewise.
337         (sqrtl): Likewise.
339 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
341         * sysdeps/arm/atomic-machine.h
342         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
343         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
344         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
345         Remove conditional code.
346         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
347         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
348         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
349         Change conditional to [__ASSEMBLER__].
350         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
351         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
352         [!__ASSEMBLER__].
353         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
354         code.
355         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
356         conditional macro definitions.
357         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
358         (__arch_compare_and_exchange_val_16_acq): Likewise.
359         (__arch_compare_and_exchange_val_32_acq): Likewise.
360         (atomic_exchange_and_add): Likewise.
361         (atomic_add): Likewise.
362         (atomic_add_negative): Likewise.
363         (atomic_add_zero): Likewise.
364         (atomic_bit_set): Likewise.
365         (atomic_bit_test_set): Likewise.
366         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
367         code unconditional.
368         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
370         * math/test-math-errno.h: New file.
371         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
372         empty.
373         (TEST_ERRNO): New macro.
374         (TEST_EXCEPTIONS): Likewise.
375         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
376         (TEST_EXCEPTIONS): Likewise.
377         * math/test-math-vector.h (TEST_ERRNO): Likewise.
378         * math/test-double.c: Include "test-math-errno.h".
379         * math/test-float.c: Likewise.
380         * math/test-ldouble.c: Likewise.
381         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
382         code unconditional.
383         (test_exceptions): Only run code if TEST_EXCEPTIONS.
384         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
385         unconditional.
386         (test_errno): Only run code if TEST_ERRNO.
387         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
389 2015-11-04  Florian Weimer  <fweimer@redhat.com>
391         * nptl/tst-once5.cc: Remove attribution.
393 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
395         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
396         sqrt, tan, tanh, y0, y1 and yn.
397         * math/auto-libm-test-out: Regenerated.
398         * math/libm-test.inc (scalb_test_data): Add more tests.
399         (scalbn_test_data): Likewise.
400         (scalbln_test_data): Likewise.
401         (signbit_test_data): Likewise.
402         (sin_test_data): Likewise.
403         (sincos_test_data): Likewise.
404         (sinh_test_data): Likewise.
405         (sqrt_test_data): Likewise.
406         (tan_test_data): Likewise.
407         (tanh_test_data): Likewise.
408         (tgamma_test_data): Likewise.
409         (y0_test_data): Likewise.
410         (y1_test_data): Likewise.
411         (yn_test_data): Likewise.
412         (significand_test_data): Likewise.
413         * sysdeps/i386/fpu/libm-test-ulps: Update.
415 2015-11-03  David Kastrup  <dak@gnu.org>
417         [BZ #18604]
418         * assert/assert.h (assert): Don't macro-expand failed assertion
419         expression in error message.
420         * malloc/malloc.c (assert): Likewise.
422 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
424         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
425         test.
426         * configure: Regenerated.
428 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
430         * math/libm-test.inc (modf_test_data): Add more tests.
431         (nearbyint_test_data): Likewise.
432         (nextafter_test_data): Likewise.
433         (nexttoward_test_data): Likewise.
434         (pow_test_data): Likewise.
435         (remainder_test_data): Likewise.
436         (remquo_test_data): Likewise.
437         (rint_test_data): Likewise.
439         [BZ #19201]
440         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
441         Check for zero remainder in case of large exponents and ensure
442         correct sign of result in that case.
443         * math/libm-test.inc (remainder_test_data): Add more tests.
445         [BZ #6799]
446         * math/s_nextafter.c: Include <errno.h>.
447         (__nextafter): Set errno on overflow and underflow.
448         * math/s_nexttowardf.c: Include <errno.h>.
449         (__nexttowardf): Set errno on overflow and underflow.
450         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
451         (__nextafterl): Set errno on overflow and underflow.
452         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
453         (__nexttoward): Set errno on overflow and underflow.
454         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
455         (__nexttowardf): Set errno on overflow and underflow.
456         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
457         (__nextafterf): Set errno on overflow and underflow.
458         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
459         (__nextafterl): Set errno on overflow and underflow.
460         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
461         (__nexttoward): Set errno on overflow and underflow.
462         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
463         (__nexttowardf): Set errno on overflow and underflow.
464         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
465         (__nextafterl): Set errno on overflow and underflow.
466         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
467         (__nexttoward): Set errno on overflow and underflow.
468         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
469         (__nexttowardf): Set errno on overflow and underflow.
470         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
471         (__nexttoward): Set errno on overflow and underflow.
472         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
473         (__nexttowardf): Set errno on overflow and underflow.
474         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
475         (__nldbl_nexttowardf): Set errno on overflow and underflow.
476         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
477         (__nextafterl): Set errno on overflow and underflow.
478         * math/libm-test.inc (nextafter_test_data): Do not allow errno
479         setting to be missing on overflow.  Add more tests.
480         (nexttoward_test_data): Likewise.
482         * configure.ac (libc_cv_initfini_array): Remove configure test.
483         * configure: Regenerated.
485 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
487         [BZ #19189]
488         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
489         non-finite argument handle arguments with negative sign.
491         * math/libm-test.inc (j0_test_data): Do not test sign of zero
492         result from infinite argument.
493         (j1_test_data): Likewise.
494         (jn_test_data): Likewise.
495         (y0_test_data): Likewise.
496         (y1_test_data): Likewise.
497         (yn_test_data): Likewise.
499         [BZ #16171]
500         * math/w_remainder.c (drem): Define as weak alias of __remainder.
501         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
502         * math/w_remainderf.c (dremf): Define as weak alias of
503         __remainderf.
504         * math/w_remainderl.c (dreml): Define as weak alias of
505         __remainderl.
506         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
507         __remainder.
508         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
509         __remainderf.
510         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
511         __remainderl.
512         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
513         weak alias of remainderl.
514         * sysdeps/ieee754/ldbl-opt/w_remainder.c
515         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
516         alias of __remainder.
517         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
518         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
519         strong alias of __remainderl.
520         (dreml): Use long_double_symbol.
521         * math/Makefile (libm-calls): Remove w_drem.
522         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
523         (CFLAGS-nldbl-drem.c): Remove variable.
524         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
525         * math/w_drem.c: Remove file.
526         * math/w_dremf.c: Likewise.
527         * math/w_dreml.c: Likewise.
528         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
529         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
530         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
532         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
533         * sysdeps/i386/configure: Regenerated.
534         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
535         * sysdeps/x86_64/configure: Regenerated.
537         * configure.ac (libc_cv_asm_protected_directive): Remove configure
538         test.
539         (libc_cv_visibility_attribute): Likewise.
540         (libc_cv_protected_data): Test unconditionally.
541         (libc_cv_broken_visibility_attribute): Remove configure test.
542         (libc_cv_have_sdata_section): Test unconditionally.
543         * configure: Regenerated.
545         * include/libc-internal.h (libc_max_align_t): Remove typedef.
546         * include/scratch_buffer.h: Include <stddef.h> instead of
547         <libc-internal.h>.
548         (struct scratch_buffer): Use max_align_t instead of
549         libc_max_align_t.
551 2015-10-29  Florian Weimer  <fweimer@redhat.com>
553         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
554         instead of extend_alloca.  Change control flow to avoid a goto.
555         Remove assert which is trivially always true.
557 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
559         [BZ #16068]
560         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
561         (FE_ALL_EXCEPT_X86): New macro.
562         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
563         FE_ALL_EXCEPT.  Ensure precision control is included in
564         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
565         handle "denormal operand exception" and clear FZ and DAZ bits.
566         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
567         (FE_ALL_EXCEPT_X86): New macro.
568         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
569         FE_ALL_EXCEPT.  Ensure precision control is included in
570         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
571         handle "denormal operand exception" and clear FZ and DAZ bits.
572         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
573         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
574         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
575         test-fenv-x87 and test-fenv-sse-2.
576         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
578         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
579         * math/test-double.h (BUILD_COMPLEX): New macro.
580         * math/test-float.h (BUILD_COMPLEX): Likewise.
581         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
583         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
584         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
585         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
587         instead of DBL_DENORM_MIN in comment.
588         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
589         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
590         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
591         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
593         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
595 2015-10-28  Florian Weimer  <fweimer@redhat.com>
597         [BZ# 19048]
598         * malloc/malloc.c (struct malloc_state): Update comment.  Add
599         attached_threads member.
600         (main_arena): Initialize attached_threads.
601         * malloc/arena.c (list_lock): Update comment.
602         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
603         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
604         (deattach_arena): New function.
605         (_int_new_arena): Initialize arena reference count and deattach
606         replaced arena.
607         (get_free_list, reused_arena): Update reference count and deattach
608         replaced arena.
609         (arena_thread_freeres): Update arena reference count and only put
610         unreferenced arenas on the free list.
612 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
614         [BZ #19181]
615         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
616         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
617         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
618         * math/test-fenv-clear-main.c: New file.
619         * math/test-fenv-clear.c: Likewise.
620         * math/Makefile (tests): Add test-fenv-clear.
621         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
622         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
623         test-fenv-clear-sse.
624         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
626         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
627         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
628         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
630 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
632         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
633         static libc.
635 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
637         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
638         test.
639         * sysdeps/i386/configure: Regenerated.
640         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
641         test.
642         * sysdeps/x86_64/configure: Regenerated.
643         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
645         memset-avx2 unconditionally instead of conditionally on
646         [$(config-cflags-avx2) = yes].
647         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
648         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
649         unconditional.
650         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
651         * sysdeps/x86_64/multiarch/memset_chk.S
652         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
653         to [IS_IN (libc) && SHARED].
655 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
657         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
658         configure test.
659         * sysdeps/arm/configure: Regenerated.
660         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
661         Define variable if not already defined.
663         [BZ #17404]
664         * sysdeps/mips/atomic-machine.h
665         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
666         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
667         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
669         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
670         unconditional.
671         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
672         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
673         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
674         unconditional.
675         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
676         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
677         unconditional.
678         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
679         * stdlib/setenv.c
680         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
681         code unconditional.
682         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
683         Remove conditional code.
684         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
685         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
686         unconditional.
687         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
688         code.
689         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
690         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
691         unconditional.
692         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
693         code.
694         * sysdeps/ieee754/ldbl-128/k_tanl.c
695         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
696         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
697         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
698         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
699         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
700         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
701         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
702         unconditional.
703         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
704         code.
705         * sysdeps/ieee754/ldbl-96/k_tanl.c
706         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
707         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
709         * nptl/tst-initializers1-c11.c: New file.
710         * nptl/tst-initializers1-gnu11.c: Likewise.
711         * nptl/Makefile (tests): Add these new tests.
712         (CFLAGS-tst-initializers1-c11.c): New variable.
713         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
715         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
716         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
717         instead of -std=gnu99.
718         * configure.ac (systemtap): Test with -std=gnu11 instead of
719         -std=gnu99.
720         * configure: Regenerated.
721         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
722         in compilation command in comment.
724         * sysdeps/nptl/configure.ac: Remove file.
725         * sysdeps/nptl/configure: Remove generated file.
726         * configure.ac (libc_cv_forced_unwind): Do not substitute.
727         * configure: Regenerated.
728         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
729         * config.make.in (have-forced-unwind): Remove variable.
730         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
731         unconditional.
732         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
733         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
734         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
735         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
736         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
737         unconditional.
739 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
741         [BZ #19174]
742         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
743         .skip_lock_out_of_tbegin_retries.
744         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
745         (__lll_lock_elision): Likewise, and respect a value of
746         try_tbegin <= 0.
748 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
750         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
751         statement.
753 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
755         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
756         variable.
757         (test-xfail-ISO11/stdalign.h/conform): Likewise.
758         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
760         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
761         of -std=c1x -D_ISOC11_SOURCE.
763         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
764         * configure: Regenerated.
765         * manual/install.texi (Tools for Compilation): Document
766         requirement for GCC 4.7 or later.
767         * INSTALL: Regenerated.
769 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
771         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
772         on CNT to a conditional jump to 'puntdata'.
774 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
776         * configure.ac (libc_cv_gcc___thread): Remove configure test.
777         (libc_cv_gcc_tls_model_attr): Likewise.
778         * configure: Regenerated.
780         * configure.ac (libc_cv_need_minus_P): Remove configure test.
781         * configure: Regenerated.
782         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
784 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
786         * configure.ac (old_glibc_headers): Remove configure test.
787         * configure: Regenerated.
788         * config.make.in (old-glibc-headers): Remove variable.
789         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
790         (install): Remove dependency on remove-old-headers.
791         (headers2_0): Remove variable.
792         (remove-old-headers): Remove rule.
794         * configure.ac (libc_cv_dot_text): Remove configure test.
795         (libc_cv_asm_set_directive): Use .text instead of
796         ${libc_cv_dot_text} in configure test.
797         * configure: Regenerated.
799 2015-10-26  Florian Weimer  <fweimer@redhat.com>
801         [BZ #19168]
802         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
804 2015-10-26  Florian Weimer  <fweimer@redhat.com>
806         * configure.ac (CXX): Clear the variable if the C++ toolchain does
807         not support static linking.
808         * configure: Regenerate.
810 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
812         * math/libm-test.inc (check_float_internal): Do not special-case
813         errors up to 0.5 ulp.
815         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
816         log2.
817         * math/auto-libm-test-out: Regenerated.
818         * math/libm-test.inc (MAX_EXP): New macro.
819         (ilogb_test_data): Add more tests.
820         (isfinite_test_data): Likewise.
821         (isgreater_test_data): Likewise.
822         (isgreaterequal_test_data): Likewise.
823         (isinf_test_data): Likewise.
824         (isless_test_data): Likewise.
825         (islessequal_test_data): Likewise.
826         (islessgreater_test_data): Likewise.
827         (isnan_test_data): Likewise.
828         (isnormal_test_data): Likewise.
829         (issignaling_test_data): Likewise.
830         (isunordered_test_data): Likewise.
831         (j0_test_data): Likewise.
832         (j1_test_data): Likewise.
833         (jn_test_data): Likewise.
834         (lgamma_test_data): Likewise.
835         (log_test_data): Likewise.
836         (log10_test_data): Likewise.
837         (log1p_test_data): Likewise.
838         (log2_test_data): Likewise.
839         (logb_test_data): Likewise.
840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
842         [BZ #18611]
843         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
844         avoid excess range and precision on underflow.
845         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
846         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
847         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
848         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
849         underflow.
850         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
851         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
852         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
853         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
854         * math/auto-libm-test-in: Do not allow missing errno setting for
855         tests of j1 and jn.
856         * math/auto-libm-test-out: Regenerated.
858 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
860         [BZ #15491]
861         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
862         floating-point environment instead of clearing all exceptions.
863         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
864         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
865         merging in "invalid" exceptions from frndint.
866         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
867         * math/test-nearbyint-except.c: New file.
868         * math/Makefile (tests): Add test-nearbyint-except.
870 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
872         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
874         * sysdeps/tile/libm-test-ulps: Regenerated.
876 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
879         (__NR_sync_file_range2): Assume it is always defined.
880         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
881         (__NR_sync_file_range): Assume it is always defined.
883 2015-10-22  Andreas Schwab  <schwab@suse.de>
885         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
886         INTERNAL_SYSCALL_ERRNO.
887         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
888         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
889         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
890         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
891         Likewise.
892         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
894 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
896         * io/tst-fcntl.c (fd): New static variable.
897         (do_prepare): Open temporary file here....
898         (do_test): ...not here.
900         * io/ftwtest-sh: Also trap on exit to remove temporary files.
902 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
904         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
905         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
906         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
907         Moved before "#ifdef __ASSEMBLER__".
909 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
911         [BZ #19156]
912         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
913         arguments very close to 0.
915 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
917         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
918         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
920 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
922         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
923         New.  Defined for GCC 5 and above when not compiling for
924         profiling.
925         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
927         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
928         Renamed to ...
929         (CFLAGS-epoll_pwait.o): This.
930         (CFLAGS-mmap.c): Renamed to ...
931         (CFLAGS-mmap.o): This.
932         (CFLAGS-mmap64.c): Renamed to ...
933         (CFLAGS-mmap64.o): This.
934         (CFLAGS-epoll_pwait.os): New.
935         (CFLAGS-mmap.os): Likewise.
936         (CFLAGS-mmap64.os): Likewise.
937         (CFLAGS-semtimedop.os): Likewise.
938         (CFLAGS-semtimedop.c): Renamed to ...
939         (CFLAGS-semtimedop.o): This.
941 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
943         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
944         warning message.
946 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
948         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
949         * Makefile ($(objpfx)c++-types-check.out): Filter out
950         $(+gccwarn-c) instead of -Wstrict-prototypes.
952         * io/fts.c (fts_open): Convert to prototype-style function
953         definition.
954         * malloc/mcheck.c (mcheck): Likewise.
955         (mcheck_pedantic): Likewise.
956         * posix/regexec.c (re_search_2_stub): Likewise.  Use
957         internal_function.
958         (re_search_internal): Likewise.
959         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
960         prototype-style function definition.
961         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
962         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
963         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
964         (xdr_utmpptr): Likewise.
965         (xdr_utmparr): Likewise.
966         (xdr_utmpidle): Likewise.
967         (xdr_utmpidleptr): Likewise.
968         (xdr_utmpidlearr): Likewise.
970         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
971         log, log10 and log2.
972         * math/auto-libm-test-out: Regenerated.
973         * math/libm-test.inc (fmod_test_data): Add more tests.
974         (fpclassify_test_data): Likewise.
975         (frexp_test_data): Likewise.
976         (hypot_test_data): Likewise.
977         (ilogb_test_data): Likewise.
979 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
981         * debug/fortify_fail.c (__fortify_fail): Convert to
982         prototype-style function definition.  Use internal_function.
983         * libio/genops.c (save_for_backup): Convert to prototype-style
984         function definition.
985         * libio/wgenops.c (save_for_wbackup): Likewise.
986         * login/grantpt.c (grantpt): Likewise.
987         * login/ptsname.c (ptsname): Likewise.
988         (__ptsname_r): Likewise.
989         * login/unlockpt.c (unlockpt): Likewise.
990         * mach/msgserver.c (__mach_msg_server): Likewise.
991         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
992         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
993         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
994         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
995         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
996         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
997         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
998         Likewise.
999         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
1000         internal_function.
1001         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
1002         prototype-style function definition.
1003         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
1004         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
1005         (__pthread_create_2_0): Likewise.
1006         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1007         * nptl/register-atfork.c (__register_atfork): Likewise.
1008         * posix/glob.c (glob): Likewise.
1009         * posix/regcomp.c (re_comp): Likewise.
1010         * posix/regexec.c (re_exec): Likewise.
1011         * stdlib/add_n.c [__STDC__]: Make code unconditional.
1012         [!__STDC__]: Remove conditional code.
1013         * stdlib/cmp.c [__STDC__]: Make code unconditional.
1014         [!__STDC__]: Remove conditional code.
1015         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
1016         [!__STDC__]: Remove conditional code.
1017         * stdlib/divrem.c [__STDC__]: Make code unconditional.
1018         [!__STDC__]: Remove conditional code.
1019         * stdlib/lshift.c [__STDC__]: Make code unconditional.
1020         [!__STDC__]: Remove conditional code.
1021         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
1022         [!__STDC__]: Remove conditional code.
1023         * stdlib/mul.c [__STDC__]: Make code unconditional.
1024         [!__STDC__]: Remove conditional code.
1025         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
1026         [!__STDC__]: Remove conditional code.
1027         * stdlib/rshift.c [__STDC__]: Make code unconditional.
1028         [!__STDC__]: Remove conditional code.
1029         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
1030         function definition.
1031         (STRTOF): Likewise.
1032         * stdlib/strtod_l.c (__STRTOF): Likewise.
1033         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
1034         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
1035         (__strtol_l): Likewise.
1036         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
1037         [!__STDC__]: Remove conditional code.
1038         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
1039         definition.
1040         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1041         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1042         type.
1043         (__strcasecmp): Convert to prototype-style function definition.
1044         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
1045         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1046         type.
1047         (__strncasecmp): Convert to prototype-style function definition.
1048         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
1049         * sunrpc/xdr.c (xdr_union): Likewise.
1050         * sunrpc/xdr_array.c (xdr_array): Likewise.
1051         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
1052         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
1053         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
1054         Likewise.
1055         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
1056         Likewise.
1057         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
1058         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
1059         Likewise.
1060         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
1061         (LOCALE_PARAM_PROTO): Likewise.
1062         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
1063         argument type.
1064         (ut_argument_spec): Remove macro.
1065         (ut_argument_spec_iso): Rename to ut_argument_spec.
1066         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
1067         prototype-style function definition.
1068         (memcpy_uppcase): Likewise.
1069         (__strftime_internal): Likewise.
1070         (my_strftime): Likewise.
1071         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
1072         (LOCALE_PARAM_DECL): Likewise.
1073         [_LIBC] (LOCALE_PARAM): Include argument type.
1074         (__strptime_internal): Convert to prototype-style function
1075         definition.
1076         (strptime): Likewise.
1077         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1078         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1079         type.
1080         (__wcscasecmp): Convert to prototype-style function definition.
1081         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
1082         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1083         type.
1084         (__wcsncasecmp): Convert to prototype-style function definition.
1086         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
1087         function definition.
1088         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1089         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1090         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
1091         * elf/dl-minimal.c (_itoa): Likewise.
1092         * hurd/hurdmalloc.c (malloc): Likewise.
1093         (free): Likewise.
1094         (realloc): Likewise.
1095         * inet/inet6_option.c (inet6_option_space): Likewise.
1096         (inet6_option_init): Likewise.
1097         (inet6_option_append): Likewise.
1098         (inet6_option_alloc): Likewise.
1099         (inet6_option_next): Likewise.
1100         (inet6_option_find): Likewise.
1101         * io/ftw.c (FTW_NAME): Likewise.
1102         (NFTW_NAME): Likewise.
1103         (NFTW_NEW_NAME): Likewise.
1104         (NFTW_OLD_NAME): Likewise.
1105         * libio/iofwide.c (_IO_fwide): Likewise.
1106         * libio/strops.c (_IO_str_init_static_internal): Likewise.
1107         (_IO_str_init_static): Likewise.
1108         (_IO_str_init_readonly): Likewise.
1109         (_IO_str_overflow): Likewise.
1110         (_IO_str_underflow): Likewise.
1111         (_IO_str_count): Likewise.
1112         (_IO_str_seekoff): Likewise.
1113         (_IO_str_pbackfail): Likewise.
1114         (_IO_str_finish): Likewise.
1115         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
1116         (_IO_wstr_overflow): Likewise.
1117         (_IO_wstr_underflow): Likewise.
1118         (_IO_wstr_count): Likewise.
1119         (_IO_wstr_seekoff): Likewise.
1120         (_IO_wstr_pbackfail): Likewise.
1121         (_IO_wstr_finish): Likewise.
1122         * locale/programs/localedef.c (normalize_codeset): Likewise.
1123         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1124         (add_locales_to_archive): Likewise.
1125         (delete_locales_from_archive): Likewise.
1126         * malloc/malloc.c (__libc_mallinfo): Likewise.
1127         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
1128         * misc/tsearch.c (__tfind): Likewise.
1129         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
1130         * nptl/pthread_attr_getdetachstate.c
1131         (__pthread_attr_getdetachstate): Likewise.
1132         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1133         Likewise.
1134         * nptl/pthread_attr_getinheritsched.c
1135         (__pthread_attr_getinheritsched): Likewise.
1136         * nptl/pthread_attr_getschedparam.c
1137         (__pthread_attr_getschedparam): Likewise.
1138         * nptl/pthread_attr_getschedpolicy.c
1139         (__pthread_attr_getschedpolicy): Likewise.
1140         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
1141         Likewise.
1142         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
1143         Likewise.
1144         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1145         Likewise.
1146         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1147         Likewise.
1148         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
1149         (__pthread_attr_init_2_0): Likewise.
1150         * nptl/pthread_attr_setdetachstate.c
1151         (__pthread_attr_setdetachstate): Likewise.
1152         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1153         Likewise.
1154         * nptl/pthread_attr_setinheritsched.c
1155         (__pthread_attr_setinheritsched): Likewise.
1156         * nptl/pthread_attr_setschedparam.c
1157         (__pthread_attr_setschedparam): Likewise.
1158         * nptl/pthread_attr_setschedpolicy.c
1159         (__pthread_attr_setschedpolicy): Likewise.
1160         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
1161         Likewise.
1162         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
1163         Likewise.
1164         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1165         Likewise.
1166         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1167         Likewise.
1168         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
1169         Likewise.
1170         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
1171         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1172         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
1173         use internal_function.
1174         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
1175         prototype-style function definition.
1176         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1177         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
1178         internal_function.
1179         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
1180         Convert to prototype-style function definition.
1181         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1182         Likewise.
1183         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1184         Likewise.
1185         (__pthread_mutex_unlock): Likewise.
1186         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
1187         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
1188         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
1189         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
1190         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
1191         * nss/makedb.c (process_input): Likewise.
1192         * posix/fnmatch.c (__strchrnul): Likewise.
1193         (__wcschrnul): Likewise.
1194         (fnmatch): Likewise.
1195         * posix/fnmatch_loop.c (FCT): Likewise.
1196         * posix/glob.c (globfree): Likewise.
1197         (__glob_pattern_type): Likewise.
1198         (__glob_pattern_p): Likewise.
1199         * posix/regcomp.c (re_compile_pattern): Likewise.
1200         (re_set_syntax): Likewise.
1201         (re_compile_fastmap): Likewise.
1202         (regcomp): Likewise.
1203         (regerror): Likewise.
1204         (regfree): Likewise.
1205         * posix/regexec.c (regexec): Likewise.
1206         (re_match): Likewise.
1207         (re_search): Likewise.
1208         (re_match_2): Likewise.
1209         (re_search_2): Likewise.
1210         (re_search_stub): Likewise.  Use internal_function
1211         (re_copy_regs): Likewise.
1212         (re_set_registers): Convert to prototype-style function
1213         definition.
1214         (prune_impossible_nodes): Likewise.  Use internal_function.
1215         * resolv/inet_net_pton.c (inet_net_pton): Convert to
1216         prototype-style function definition.
1217         (inet_net_pton_ipv4): Likewise.
1218         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1219         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
1220         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1221         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
1222         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1223         Make variadic.
1224         * time/strptime_l.c (localtime_r): Convert to prototype-style
1225         function definition.
1226         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1227         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1228         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1229         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1231         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
1232         definition.
1233         (_ufc_doit_r): Likewise.
1234         * crypt/crypt_util.c (_ufc_copymem): Likewise.
1235         (_ufc_output_conversion_r): Likewise.
1236         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
1237         * inet/rcmd.c (rcmd_af): Likewise.
1238         (rcmd): Likewise.
1239         (ruserok_af): Likewise.
1240         (ruserok): Likewise.
1241         (ruserok2_sa): Likewise.
1242         (ruserok_sa): Likewise.
1243         (iruserok_af): Likewise.
1244         (iruserok): Likewise.
1245         (__ivaliduser): Likewise.
1246         (__validuser2_sa): Likewise.
1247         * inet/rexec.c (rexec_af): Likewise.
1248         (rexec): Likewise.
1249         * inet/ruserpass.c (ruserpass): Likewise.
1250         * locale/programs/xmalloc.c (xcalloc): Likewise.
1251         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
1252         * math/w_drem.c (__drem): Likewise.
1253         * math/w_dremf.c (__dremf): Likewise.
1254         * math/w_dreml.c (__dreml): Likewise.
1255         * misc/daemon.c (daemon): Likewise.
1256         * resolv/res_debug.c (p_fqnname): Likewise.
1257         * stdlib/div.c (div): Likewise.
1258         * string/memcmp.c (memcmp_bytes): Likewise.
1259         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1260         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1262         * crypt/cert.c (main): Convert to prototype-style function
1263         definition.
1264         * io/pipe.c (__pipe): Likewise.
1265         * io/pipe2.c (__pipe2): Likewise.
1266         * misc/futimesat.c (futimesat): Likewise.
1267         * misc/utimes.c (__utimes): Likewise.
1268         * posix/execve.c (__execve): Likewise.
1269         * posix/execvp.c (execvp): Likewise.
1270         * posix/execvpe.c (__execvpe): Likewise.
1271         * posix/fexecve.c (fexecve): Likewise.
1272         * socket/socketpair.c (socketpair): Likewise.
1273         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1274         * stdlib/erand48.c (erand48): Likewise.
1275         * stdlib/erand48_r.c (__erand48_r): Likewise.
1276         * stdlib/jrand48.c (jrand48): Likewise.
1277         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
1278         * stdlib/lcong48.c (lcong48): Likewise.
1279         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
1280         * stdlib/nrand48.c (nrand48): Likewise.
1281         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
1282         * stdlib/seed48.c (seed48): Likewise.
1283         * stdlib/seed48_r.c (__seed48_r): Likewise.
1284         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
1285         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
1286         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
1288 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1290         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
1291         * configure: Regenerated.
1292         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
1293         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
1294         unconditional.
1295         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1296         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1297         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1298         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
1299         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
1300         unconditional.
1301         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1303         * posix/Makefile (CFLAGS-regex.c): Remove variable.
1304         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
1306         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
1307         function definition.
1308         * crypt/crypt_util.c (__encrypt_r): Likewise.
1309         * libio/genops.c (_IO_no_init): Likewise.
1310         * libio/iofopncook.c (_IO_fopencookie): Likewise.
1311         (_IO_old_fopencookie): Likewise.
1312         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1313         * libio/iogetline.c (_IO_getline): Likewise.
1314         (_IO_getline_info): Likewise.
1315         * libio/iogetwline.c (_IO_getwline): Likewise.
1316         (_IO_getwline_info): Likewise.
1317         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1318         * libio/vswprintf.c (_IO_vswprintf): Likewise.
1319         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
1320         (find_entry): Likewise.
1321         (iterate_table): Likewise.
1322         (lookup): Likewise.
1323         * login/forkpty.c (forkpty): Likewise.
1324         * misc/hsearch_r.c (__hsearch_r): Likewise.
1325         * misc/select.c (__select): Likewise.
1326         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
1327         Likewise.
1328         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
1329         Likewise.
1330         * nptl/old_pthread_cond_timedwait.c
1331         (__pthread_cond_timedwait_2_0): Likewise.
1332         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1333         * nptl/pthread_barrierattr_getpshared.c
1334         (pthread_barrierattr_getpshared): Likewise.
1335         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1336         Likewise.
1337         * nptl/pthread_mutex_setprioceiling.c
1338         (pthread_mutex_setprioceiling): Likewise.
1339         * nptl/pthread_mutexattr_getprioceiling.c
1340         (pthread_mutexattr_getprioceiling): Likewise.
1341         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1342         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1343         Likewise.
1344         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1345         Likewise.
1346         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
1347         Likewise.
1348         * socket/recvfrom.c (__recvfrom): Likewise.
1349         * socket/sendto.c (__sendto): Likewise.
1350         * socket/setsockopt.c (__setsockopt): Likewise.
1351         * stdio-common/_itoa.c (_itoa): Likewise.
1352         * stdio-common/_itowa.c (_itowa): Likewise.
1353         * stdio-common/reg-printf.c (__register_printf_specifier):
1354         Likewise.
1355         (__register_printf_function): Likewise.
1356         * stdio-common/tempname.c (__path_search): Likewise.
1357         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
1358         * stdlib/mul_1.c (mpn_mul_1): Likewise.
1359         * stdlib/random_r.c (__initstate_r): Likewise.
1360         * stdlib/setenv.c (__add_to_environ): Likewise.
1361         * stdlib/submul_1.c (mpn_submul_1): Likewise.
1362         * streams/getpmsg.c (getpmsg): Likewise.
1363         * streams/putmsg.c (putmsg): Likewise.
1364         * streams/putpmsg.c (putpmsg): Likewise.
1365         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
1366         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1367         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
1368         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1369         * sunrpc/pm_getport.c (pmap_getport): Likewise.
1370         * sunrpc/svc_udp.c (cache_get): Likewise.
1371         * sunrpc/xdr_array.c (xdr_vector): Likewise.
1372         * sysdeps/mach/hurd/getcwd.c
1373         (__canonicalize_directory_name_internal): Likewise.
1374         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
1375         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
1376         * sysdeps/mach/hurd/select.c (__select): Likewise.
1377         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1378         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
1379         * sysdeps/sparc/nptl/pthread_barrier_init.c
1380         (__pthread_barrier_init): Likewise.
1381         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
1382         (__pthread_cond_timedwait): Likewise.
1383         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
1384         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
1385         Likewise.
1386         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
1387         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
1388         Likewise.
1389         * sysvipc/semtimedop.c (semtimedop): Likewise.
1390         * time/setitimer.c (__setitimer): Likewise.
1391         * time/strftime_l.c (emacs_strftime): Likewise.
1393 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1395         * config.make.in (have-ssp): Delete.
1396         (stack-protector): New variable.
1397         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
1398         cache test for -fstack-protector-strong.  Export stack_protector to
1399         the best ssp flag.
1400         * configure: Regenerated.
1401         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
1402         * nscd/Makefile (CFLAGS-nscd): Likewise.
1403         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1405 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
1407         [BZ #19122]
1408         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
1409         attribute_hidden.
1411 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1413         [BZ #18743]
1414         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
1415         code to...
1416         (ELIDE_LOCK): ...here.
1417         (__get_new_count): New function with part of the code from
1418         __elide_lock that updates the value of adapt_count after a
1419         transaction abort.
1420         (__elided_trylock): Moved this code to...
1421         (ELIDE_TRYLOCK): ...here.
1423 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1425         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
1426         * configure: Regenerate.
1427         * INSTALL: Regenerate.
1428         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
1429         and tweak grammar.
1431 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
1433         * login/programs/pt_chown.c: Include signal.h
1434         (main): Clear any signal mask from the parent process.
1436 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1438         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
1439         * configure: Regenerated.
1440         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
1441         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
1442         $(gnu89-inline-CFLAGS).
1444         * configure.ac (libc_cv_asm_weak_directive): Remove configure
1445         test.
1446         (libc_cv_asm_weakext_directive): Likewise.
1447         * configure: Regenerated.
1448         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
1449         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
1450         * include/libc-symbols.h
1451         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
1452         #error.
1453         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
1454         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
1456         * sysdeps/arm/backtrace.c (__backtrace): Convert to
1457         prototype-style function definition.
1458         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1459         * sysdeps/i386/ffs.c (__ffs): Likewise.
1460         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1461         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
1462         Likewise.
1463         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1464         Likewise.
1465         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1466         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1467         Likewise.
1468         * sysdeps/m68k/ffs.c (__ffs): Likewise.
1469         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
1470         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
1471         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
1472         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
1473         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
1474         * sysdeps/mach/hurd/access.c (__access): Likewise.
1475         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1476         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
1477         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
1478         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
1479         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
1480         (cthread_getspecific): Likewise.
1481         (cthread_setspecific): Likewise.
1482         (__libc_getspecific): Likewise.
1483         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
1484         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
1485         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
1486         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
1487         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
1488         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
1489         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
1490         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
1491         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
1492         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
1493         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
1494         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
1495         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
1496         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
1497         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
1498         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
1499         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
1500         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
1501         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
1502         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
1503         * sysdeps/mach/hurd/link.c (__link): Likewise.
1504         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
1505         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
1506         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
1507         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
1508         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1509         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
1510         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
1511         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
1512         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1513         * sysdeps/mach/hurd/rename.c (rename): Likewise.
1514         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
1515         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
1516         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
1517         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
1518         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
1519         * sysdeps/mach/hurd/send.c (__send): Likewise.
1520         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
1521         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
1522         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
1523         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
1524         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
1525         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
1526         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
1527         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
1528         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
1529         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
1530         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
1531         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1532         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
1533         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
1534         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1535         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1536         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
1537         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1538         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
1539         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1540         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
1541         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
1542         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
1543         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
1544         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
1545         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
1546         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
1547         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1548         * sysdeps/posix/alarm.c (alarm): Likewise.
1549         * sysdeps/posix/cuserid.c (cuserid): Likewise.
1550         * sysdeps/posix/dirfd.c (dirfd): Likewise.
1551         * sysdeps/posix/dup.c (__dup): Likewise.
1552         * sysdeps/posix/dup2.c (__dup2): Likewise.
1553         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
1554         (main): Likewise.
1555         * sysdeps/posix/flock.c (__flock): Likewise.
1556         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1557         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1558         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
1559         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
1560         * sysdeps/posix/isatty.c (__isatty): Likewise.
1561         * sysdeps/posix/killpg.c (killpg): Likewise.
1562         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1563         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
1564         * sysdeps/posix/raise.c (raise): Likewise.
1565         * sysdeps/posix/remove.c (remove): Likewise.
1566         * sysdeps/posix/rename.c (rename): Likewise.
1567         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
1568         * sysdeps/posix/seekdir.c (seekdir): Likewise.
1569         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1570         * sysdeps/posix/sigignore.c (sigignore): Likewise.
1571         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
1572         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
1573         * sysdeps/posix/sigset.c (sigset): Likewise.
1574         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
1575         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1576         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
1577         * sysdeps/posix/time.c (time): Likewise.
1578         * sysdeps/posix/ttyname.c (getttyname): Likewise.
1579         (ttyname): Likewise.
1580         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
1581         * sysdeps/posix/utime.c (utime): Likewise.
1582         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
1583         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1584         Likewise.
1585         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
1586         (pthread_spin_trylock): Likewise.
1587         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
1588         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
1589         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
1590         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
1591         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
1592         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
1593         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
1594         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
1595         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
1596         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
1597         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
1598         * sysdeps/s390/ffs.c (__ffs): Likewise.
1599         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
1600         Likewise.
1601         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1602         Likewise.
1603         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
1604         Likewise.
1605         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
1606         (pthread_barrier_destroy): Likewise.
1607         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1608         (__pthread_barrier_wait): Likewise.
1609         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
1610         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1611         (__pthread_barrier_wait): Likewise.
1612         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
1613         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
1614         (memcmp_not_common_alignment): Likewise.
1615         (MEMCMP): Likewise.
1616         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
1617         (_wordcopy_fwd_dest_aligned): Likewise.
1618         (_wordcopy_bwd_aligned): Likewise.
1619         (_wordcopy_bwd_dest_aligned): Likewise.
1620         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
1621         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
1622         * sysdeps/unix/bsd/stty.c (stty): Likewise.
1623         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
1624         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
1625         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
1626         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
1627         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
1628         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
1629         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
1630         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
1631         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1632         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
1633         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
1634         * sysdeps/unix/stime.c (stime): Likewise.
1635         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
1636         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
1637         Likewise.  Use internal_function.
1638         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
1639         Convert to prototype-style function definition.
1640         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1641         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1642         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
1643         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1644         Likewise.  Use internal_function.
1645         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
1646         prototype-style function definition
1647         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1648         Likewise.
1649         (__getlogin_r): Likewise.
1650         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
1651         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
1652         (__pthread_cond_broadcast): Likewise.
1653         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
1654         (__pthread_cond_destroy): Likewise.
1655         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
1656         (__pthread_cond_init): Likewise.
1657         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
1658         (__pthread_cond_signal): Likewise.
1659         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1660         (__pthread_cond_wait): Likewise.
1661         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
1662         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
1663         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
1664         Likewise.
1665         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
1666         Likewise.
1667         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1668         Likewise.
1669         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
1670         Likewise.
1671         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
1672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
1673         (__ftruncate64): Likewise.
1674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
1675         (truncate64): Likewise.
1676         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
1677         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
1678         (pthread_getcpuclockid): Likewise.
1679         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1680         Likewise.
1681         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1682         Likewise.
1683         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
1684         Likewise.
1685         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1686         Likewise.
1687         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
1688         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
1689         (__libc_sigaction): Likewise.
1690         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
1691         Likewise.
1692         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
1693         (__sigprocmask): Likewise.
1694         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
1695         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
1696         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
1697         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1698         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1699         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
1700         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1701         Likewise.
1702         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
1703         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1704         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1705         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
1706         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
1707         Likewise.
1708         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
1709         (__sigprocmask): Likewise.
1710         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
1711         (cfgetispeed): Likewise.
1712         (cfsetospeed): Likewise.
1713         (cfsetispeed): Likewise.
1714         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
1715         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
1716         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1717         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1718         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
1719         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
1720         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
1721         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
1722         Likewise.
1723         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
1724         Likewise.
1725         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
1726         Likewise.
1727         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
1728         Likewise.
1729         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1731 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1733         sunrpc: Rewrite with explicit TLS access using __thread.
1734         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
1735         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
1736         directly.
1737         (__rpc_thread_variables): Access thread_rpc_vars directly.
1738         Eliminate redundant assignment of the tvp variable.
1740 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1742         malloc: Rewrite with explicit TLS access using __thread.
1743         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
1744         (tsd_setspecific, tsd_getspecific): Remove.
1745         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
1746         (tsd_setspecific, tsd_getspecific): Likewise.
1747         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
1748         (tsd_setspecific, tsd_getspecific): Likewise.
1749         * malloc/arena.c (thread_arena): New TLS variable.
1750         (arena_key): Remove variable.
1751         (arena_get): Use thread_arena.
1752         (arena_lookup): Remove macro.
1753         (malloc_atfork, free_atfork, ptmalloc_lock_all)
1754         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
1755         (_int_new_arena, get_free_list, reused_arena)
1756         (arena_thread_freeres): Use thread_arena.
1757         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
1758         tsd_getspecific, tsd_setspecific from safety annotations.
1759         (Allocating Cleared Space): Remove arena_lookup from safety
1760         annotations.
1762 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1764         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
1765         struct scratch_buffer instead of extend_alloca.
1767 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1769         * sysdeps/unix/sysv/linux/kernel-features.h
1770         (__ASSUME_SOCK_CLOEXEC): Remove.
1771         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
1772         (__have_paccept): Remove unused macro.
1773         * include/unistd.h (__have_sock_cloexec): Remove declaration.
1774         * misc/syslog.c (openlog_internal): Remove fallback code for
1775         !__ASSUME_SOCK_CLOEXEC.
1776         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
1777         missing SOCK_CLOEXEC.
1778         * nscd/connections.c (have_sock_cloexec): Remove definition.
1779         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1780         * nscd/nscd_helper.c (open_socket): Remove fallback code for
1781         !__ASSUME_SOCK_CLOEXEC.
1782         * resolv/res_send.c (__have_o_nonblock): Remove definition.
1783         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1784         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
1785         definition.
1786         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
1787         code for !__ASSUME_SOCK_CLOEXEC.
1789 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1791         [BZ #18982]
1792         * manual/stdio.texi (Variable Arguments Output): Add portability
1793         note, explaining that vfprintf clobbers the va_list pointer.
1795 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1797         * math/libm-test.inc (fabs_test_data): Add more tests.
1798         (fdim_test_data): Likewise.
1799         (fma_test_data): Likewise.
1800         (fmax_test_data): Likewise.
1801         (fmin_test_data): Likewise.
1802         (fmod_test_data): Likewise.
1804 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
1806         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
1807         data.
1809 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1811         * math/libm-test.inc (ceil_test_data): Add more tests and more
1812         expectations for "inexact".
1813         (floor_test_data): Add more tests.
1814         (round_test_data): Likewise.
1815         (trunc_test_data): Likewise.
1817         * crypt/cert.c (good_bye): Convert to prototype-style function
1818         definition.
1819         (get8): Likewise.
1820         (put8): Likewise.
1821         * crypt/crypt-entry.c (crypt): Likewise.
1822         (__fcrypt): Likewise.
1823         * crypt/crypt_util.c (_ufc_prbits): Likewise.
1824         (_ufc_set_bits): Likewise.
1825         (_ufc_clearmem): Likewise.
1826         (__init_des_r): Likewise.
1827         (shuffle_sb): Likewise.
1828         (shuffle_sb): Likewise.
1829         (_ufc_setup_salt_r): Likewise.
1830         (_ufc_mk_keytab_r): Likewise.
1831         (_ufc_dofinalperm_r): Likewise.
1832         (encrypt): Likewise.
1833         (__setkey_r): Likewise.
1834         (setkey): Likewise.
1835         * crypt/md5.c (md5_init_ctx): Likewise.
1836         (md5_read_ctx): Likewise.
1837         (md5_finish_ctx): Likewise.
1838         (md5_stream): Likewise.
1839         (md5_buffer): Likewise.
1840         (md5_process_bytes): Likewise.
1841         * crypt/sha256.c (__sha256_init_ctx): Likewise.
1842         (__sha256_finish_ctx): Likewise.
1843         (__sha256_process_bytes): Likewise.
1844         * crypt/sha512.c (__sha512_init_ctx): Likewise.
1845         (__sha512_finish_ctx): Likewise.
1846         (__sha512_process_bytes): Likewise.
1847         * ctype/isctype.c (__isctype): Likewise.
1848         * debug/backtrace.c (__backtrace): Likewise.
1849         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
1850         * debug/fgets_chk.c (__fgets_chk): Likewise.
1851         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
1852         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
1853         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1854         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1855         * debug/memset_chk.c (__memset_chk): Likewise.
1856         * debug/strcat_chk.c (__strcat_chk): Likewise.
1857         * debug/strncat_chk.c (__strncat_chk): Likewise.
1858         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
1859         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
1860         * dirent/dirfd.c (dirfd): Likewise.
1861         * dirent/getdents.c (__getdirentries): Likewise.
1862         * dirent/getdents64.c (getdirentries64): Likewise.
1863         * dirent/rewinddir.c (__rewinddir): Likewise.
1864         * dirent/seekdir.c (seekdir): Likewise.
1865         * dirent/telldir.c (telldir): Likewise.
1866         * elf/sln.c (makesymlinks): Likewise.
1867         (makesymlink): Likewise.
1868         * gmon/gmon.c (__moncontrol): Likewise.
1869         (__monstartup): Likewise.
1870         (write_hist): Likewise.
1871         (write_call_graph): Likewise.
1872         (write_bb_counts): Likewise.
1873         * grp/setgroups.c (setgroups): Likewise.
1874         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1875         * inet/inet_net.c (inet_network): Likewise.
1876         * inet/inet_netof.c (inet_netof): Likewise.
1877         * inet/rcmd.c (rresvport_af): Likewise.
1878         (rresvport): Likewise.
1879         * io/access.c (__access): Likewise.
1880         * io/chdir.c (__chdir): Likewise.
1881         * io/chmod.c (__chmod): Likewise.
1882         * io/chown.c (__chown): Likewise.
1883         * io/close.c (__close): Likewise.
1884         * io/creat.c (creat): Likewise.
1885         * io/creat64.c (creat64): Likewise.
1886         * io/dup.c (__dup): Likewise.
1887         * io/dup2.c (__dup2): Likewise.
1888         * io/dup3.c (__dup3): Likewise.
1889         * io/euidaccess.c (__euidaccess): Likewise.
1890         * io/faccessat.c (faccessat): Likewise.
1891         * io/fchmod.c (__fchmod): Likewise.
1892         * io/fchmodat.c (fchmodat): Likewise.
1893         * io/fchown.c (__fchown): Likewise.
1894         * io/fchownat.c (fchownat): Likewise.
1895         * io/fcntl.c (__fcntl): Likewise.
1896         * io/flock.c (__flock): Likewise.
1897         * io/fts.c (fts_load): Likewise.
1898         (fts_close): Likewise.
1899         (fts_read): Likewise.
1900         (fts_set): Likewise.
1901         (fts_children): Likewise.
1902         (fts_build): Likewise.
1903         (fts_stat): Likewise.
1904         (fts_sort): Likewise.
1905         (fts_alloc): Likewise.
1906         (fts_lfree): Likewise.
1907         (fts_palloc): Likewise.
1908         (fts_padjust): Likewise.
1909         (fts_maxarglen): Likewise.
1910         (fts_safe_changedir): Likewise.
1911         * io/getwd.c (getwd): Likewise.
1912         * io/isatty.c (__isatty): Likewise.
1913         * io/lchown.c (__lchown): Likewise.
1914         * io/link.c (__link): Likewise.
1915         * io/linkat.c (linkat): Likewise.
1916         * io/lseek.c (__libc_lseek): Likewise.
1917         * io/mkdir.c (__mkdir): Likewise.
1918         * io/mkdirat.c (mkdirat): Likewise.
1919         * io/mkfifo.c (mkfifo): Likewise.
1920         * io/mkfifoat.c (mkfifoat): Likewise.
1921         * io/open.c (__libc_open): Likewise.
1922         * io/open64.c (__libc_open64): Likewise.
1923         * io/readlink.c (__readlink): Likewise.
1924         * io/readlinkat.c (readlinkat): Likewise.
1925         * io/rmdir.c (__rmdir): Likewise.
1926         * io/symlink.c (__symlink): Likewise.
1927         * io/symlinkat.c (symlinkat): Likewise.
1928         * io/ttyname.c (ttyname): Likewise.
1929         * io/ttyname_r.c (__ttyname_r): Likewise.
1930         * io/umask.c (__umask): Likewise.
1931         * io/unlink.c (__unlink): Likewise.
1932         * io/unlinkat.c (unlinkat): Likewise.
1933         * io/utime.c (utime): Likewise.
1934         * libio/clearerr.c (clearerr): Likewise.
1935         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
1936         * libio/feof.c (_IO_feof): Likewise.
1937         * libio/feof_u.c (feof_unlocked): Likewise.
1938         * libio/ferror.c (_IO_ferror): Likewise.
1939         * libio/ferror_u.c (ferror_unlocked): Likewise.
1940         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1941         * libio/fileno.c (__fileno): Likewise.
1942         * libio/fputc.c (fputc): Likewise.
1943         * libio/fputc_u.c (fputc_unlocked): Likewise.
1944         * libio/fputwc.c (fputwc): Likewise.
1945         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
1946         * libio/freopen.c (freopen): Likewise.
1947         * libio/freopen64.c (freopen64): Likewise.
1948         * libio/fseek.c (fseek): Likewise.
1949         * libio/fseeko.c (fseeko): Likewise.
1950         * libio/fseeko64.c (fseeko64): Likewise.
1951         * libio/ftello.c (__ftello): Likewise.
1952         * libio/ftello64.c (ftello64): Likewise.
1953         * libio/fwide.c (fwide): Likewise.
1954         * libio/genops.c (_IO_un_link): Likewise.
1955         (_IO_link_in): Likewise.
1956         (_IO_least_marker): Likewise.
1957         (_IO_switch_to_main_get_area): Likewise.
1958         (_IO_switch_to_backup_area): Likewise.
1959         (_IO_switch_to_get_mode): Likewise.
1960         (_IO_free_backup_area): Likewise.
1961         (_IO_switch_to_put_mode): Likewise.
1962         (__overflow): Likewise.
1963         (__underflow): Likewise.
1964         (__uflow): Likewise.
1965         (_IO_setb): Likewise.
1966         (_IO_doallocbuf): Likewise.
1967         (_IO_default_underflow): Likewise.
1968         (_IO_default_uflow): Likewise.
1969         (_IO_default_xsputn): Likewise.
1970         (_IO_sgetn): Likewise.
1971         (_IO_default_xsgetn): Likewise.
1972         (_IO_sync): Likewise.
1973         (_IO_default_setbuf): Likewise.
1974         (_IO_default_seekpos): Likewise.
1975         (_IO_default_doallocate): Likewise.
1976         (_IO_init): Likewise.
1977         (_IO_old_init): Likewise.
1978         (_IO_default_sync): Likewise.
1979         (_IO_default_finish): Likewise.
1980         (_IO_default_seekoff): Likewise.
1981         (_IO_sputbackc): Likewise.
1982         (_IO_sungetc): Likewise.
1983         (_IO_set_column): Likewise.
1984         (_IO_set_column): Likewise.
1985         (_IO_adjust_column): Likewise.
1986         (_IO_get_column): Likewise.
1987         (_IO_init_marker): Likewise.
1988         (_IO_remove_marker): Likewise.
1989         (_IO_marker_difference): Likewise.
1990         (_IO_marker_delta): Likewise.
1991         (_IO_seekmark): Likewise.
1992         (_IO_unsave_markers): Likewise.
1993         (_IO_nobackup_pbackfail): Likewise.
1994         (_IO_default_pbackfail): Likewise.
1995         (_IO_default_seek): Likewise.
1996         (_IO_default_stat): Likewise.
1997         (_IO_default_read): Likewise.
1998         (_IO_default_write): Likewise.
1999         (_IO_default_showmanyc): Likewise.
2000         (_IO_default_imbue): Likewise.
2001         (_IO_iter_next): Likewise.
2002         (_IO_iter_file): Likewise.
2003         * libio/getc.c (_IO_getc): Likewise.
2004         * libio/getwc.c (_IO_getwc): Likewise.
2005         * libio/iofclose.c (_IO_new_fclose): Likewise.
2006         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2007         * libio/iofflush.c (_IO_fflush): Likewise.
2008         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
2009         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
2010         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
2011         * libio/iofgets.c (_IO_fgets): Likewise.
2012         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
2013         * libio/iofgetws.c (fgetws): Likewise.
2014         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2015         * libio/iofopen64.c (_IO_fopen64): Likewise.
2016         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2017         (_IO_cookie_write): Likewise.
2018         (_IO_cookie_seek): Likewise.
2019         (_IO_cookie_close): Likewise.
2020         (_IO_cookie_seekoff): Likewise.
2021         (_IO_old_cookie_seek): Likewise.
2022         * libio/iofputs.c (_IO_fputs): Likewise.
2023         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
2024         * libio/iofputws.c (fputws): Likewise.
2025         * libio/iofputws_u.c (fputws_unlocked): Likewise.
2026         * libio/iofread.c (_IO_fread): Likewise.
2027         * libio/iofread_u.c (__fread_unlocked): Likewise.
2028         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2029         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2030         * libio/ioftell.c (_IO_ftell): Likewise.
2031         * libio/iofwrite.c (_IO_fwrite): Likewise.
2032         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2033         * libio/iogets.c (_IO_gets): Likewise.
2034         * libio/iopadn.c (_IO_padn): Likewise.
2035         * libio/iopopen.c (_IO_new_proc_open): Likewise.
2036         (_IO_new_popen): Likewise.
2037         (_IO_new_proc_close): Likewise.
2038         * libio/ioputs.c (_IO_puts): Likewise.
2039         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
2040         (_IO_seekoff): Likewise.
2041         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
2042         (_IO_seekpos): Likewise.
2043         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2044         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2045         * libio/ioungetc.c (_IO_ungetc): Likewise.
2046         * libio/ioungetwc.c (ungetwc): Likewise.
2047         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2048         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2049         * libio/iowpadn.c (_IO_wpadn): Likewise.
2050         * libio/libc_fatal.c (__libc_fatal): Likewise.
2051         * libio/memstream.c (__open_memstream): Likewise.
2052         (_IO_mem_sync): Likewise.
2053         (_IO_mem_finish): Likewise.
2054         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2055         (_IO_old_file_close_it): Likewise.
2056         (_IO_old_file_finish): Likewise.
2057         (_IO_old_file_fopen): Likewise.
2058         (_IO_old_file_attach): Likewise.
2059         (_IO_old_file_setbuf): Likewise.
2060         (_IO_old_do_write): Likewise.
2061         (old_do_write): Likewise.
2062         (_IO_old_file_underflow): Likewise.
2063         (_IO_old_file_overflow): Likewise.
2064         (_IO_old_file_sync): Likewise.
2065         (_IO_old_file_seekoff): Likewise.
2066         (_IO_old_file_write): Likewise.
2067         (_IO_old_file_xsputn): Likewise.
2068         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2069         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2070         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
2071         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
2072         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2073         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
2074         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
2075         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
2076         (_IO_old_popen): Likewise.
2077         (_IO_old_proc_close): Likewise.
2078         * libio/oldpclose.c (__old_pclose): Likewise.
2079         * libio/pclose.c (__new_pclose): Likewise.
2080         * libio/peekc.c (_IO_peekc_locked): Likewise.
2081         * libio/putc.c (_IO_putc): Likewise.
2082         * libio/putc_u.c (putc_unlocked): Likewise.
2083         * libio/putchar.c (putchar): Likewise.
2084         * libio/putchar_u.c (putchar_unlocked): Likewise.
2085         * libio/putwc.c (putwc): Likewise.
2086         * libio/putwc_u.c (putwc_unlocked): Likewise.
2087         * libio/putwchar.c (putwchar): Likewise.
2088         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2089         * libio/rewind.c (rewind): Likewise.
2090         * libio/setbuf.c (setbuf): Likewise.
2091         * libio/setlinebuf.c (setlinebuf): Likewise.
2092         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2093         * libio/vscanf.c (_IO_vscanf): Likewise.
2094         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
2095         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
2096         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2097         * libio/wgenops.c (_IO_least_wmarker): Likewise.
2098         (_IO_switch_to_main_wget_area): Likewise.
2099         (_IO_switch_to_wbackup_area): Likewise.
2100         (_IO_wsetb): Likewise.
2101         (_IO_wdefault_pbackfail): Likewise.
2102         (_IO_wdefault_finish): Likewise.
2103         (_IO_wdefault_uflow): Likewise.
2104         (__woverflow): Likewise.
2105         (__wuflow): Likewise.
2106         (__wunderflow): Likewise.
2107         (_IO_wdefault_xsputn): Likewise.
2108         (_IO_wdefault_xsgetn): Likewise.
2109         (_IO_wdoallocbuf): Likewise.
2110         (_IO_wdefault_doallocate): Likewise.
2111         (_IO_switch_to_wget_mode): Likewise.
2112         (_IO_free_wbackup_area): Likewise.
2113         (_IO_switch_to_wput_mode): Likewise.
2114         (_IO_sputbackwc): Likewise.
2115         (_IO_sungetwc): Likewise.
2116         (_IO_adjust_wcolumn): Likewise.
2117         (_IO_init_wmarker): Likewise.
2118         (_IO_wmarker_delta): Likewise.
2119         (_IO_seekwmark): Likewise.
2120         (_IO_unsave_wmarkers): Likewise.
2121         * libio/wmemstream.c (open_wmemstream): Likewise.
2122         (_IO_wmem_sync): Likewise.
2123         (_IO_wmem_finish): Likewise.
2124         * locale/nl_langinfo.c (nl_langinfo): Likewise.
2125         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
2126         * locale/programs/simple-hash.c (init_hash): Likewise.
2127         (delete_hash): Likewise.
2128         (insert_entry): Likewise.
2129         (set_entry): Likewise.
2130         (next_prime): Likewise.
2131         (is_prime): Likewise.
2132         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
2133         (xmalloc): Likewise.
2134         (xrealloc): Likewise.
2135         * locale/programs/xstrdup.c (xstrdup): Likewise.
2136         * localedata/collate-test.c (xstrcoll): Likewise.
2137         * localedata/xfrm-test.c (xstrcmp): Likewise.
2138         * login/getlogin_r.c (__getlogin_r): Likewise.
2139         * login/getpt.c (__posix_openpt): Likewise.
2140         * login/login_tty.c (login_tty): Likewise.
2141         * login/setlogin.c (setlogin): Likewise.
2142         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
2143         (mach_msg_destroy_port): Likewise.
2144         (mach_msg_destroy_memory): Likewise.
2145         * malloc/mcheck.c (flood): Likewise.
2146         * misc/acct.c (acct): Likewise.
2147         * misc/brk.c (__brk): Likewise.
2148         * misc/chflags.c (chflags): Likewise.
2149         * misc/chroot.c (chroot): Likewise.
2150         * misc/fchflags.c (fchflags): Likewise.
2151         * misc/fstab.c (getfsspec): Likewise.
2152         (getfsfile): Likewise.
2153         * misc/fsync.c (fsync): Likewise.
2154         * misc/ftruncate.c (__ftruncate): Likewise.
2155         * misc/ftruncate64.c (__ftruncate64): Likewise.
2156         * misc/getdomain.c (getdomainname): Likewise.
2157         (getdomainname): Likewise.
2158         * misc/gethostname.c (__gethostname): Likewise.
2159         * misc/getpass.c (getpass): Likewise.
2160         * misc/getttyent.c (skip): Likewise.
2161         (value): Likewise.
2162         * misc/gtty.c (gtty): Likewise.
2163         * misc/hsearch.c (hsearch): Likewise.
2164         (hcreate): Likewise.
2165         * misc/hsearch_r.c (__hcreate_r): Likewise.
2166         (__hdestroy_r): Likewise.
2167         * misc/ioctl.c (__ioctl): Likewise.
2168         * misc/mkdtemp.c (mkdtemp): Likewise.
2169         * misc/mkostemp.c (mkostemp): Likewise.
2170         * misc/mkostemp64.c (mkostemp64): Likewise.
2171         * misc/mkostemps.c (mkostemps): Likewise.
2172         * misc/mkostemps64.c (mkostemps64): Likewise.
2173         * misc/mkstemp.c (mkstemp): Likewise.
2174         * misc/mkstemp64.c (mkstemp64): Likewise.
2175         * misc/mkstemps.c (mkstemps): Likewise.
2176         * misc/mkstemps64.c (mkstemps64): Likewise.
2177         * misc/mktemp.c (__mktemp): Likewise.
2178         * misc/preadv.c (preadv): Likewise.
2179         * misc/preadv64.c (preadv64): Likewise.
2180         * misc/pwritev.c (pwritev): Likewise.
2181         * misc/pwritev64.c (pwritev64): Likewise.
2182         * misc/readv.c (__readv): Likewise.
2183         * misc/revoke.c (revoke): Likewise.
2184         * misc/setdomain.c (setdomainname): Likewise.
2185         * misc/setegid.c (setegid): Likewise.
2186         * misc/seteuid.c (seteuid): Likewise.
2187         * misc/sethostid.c (sethostid): Likewise.
2188         * misc/sethostname.c (sethostname): Likewise.
2189         * misc/setregid.c (__setregid): Likewise.
2190         * misc/setreuid.c (__setreuid): Likewise.
2191         * misc/sstk.c (sstk): Likewise.
2192         * misc/stty.c (stty): Likewise.
2193         * misc/syscall.c (syscall): Likewise.
2194         * misc/syslog.c (setlogmask): Likewise.
2195         * misc/truncate.c (__truncate): Likewise.
2196         * misc/truncate64.c (truncate64): Likewise.
2197         * misc/ualarm.c (ualarm): Likewise.
2198         * misc/usleep.c (usleep): Likewise.
2199         * misc/ustat.c (ustat): Likewise.
2200         * misc/writev.c (__writev): Likewise.
2201         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
2202         * nptl/old_pthread_cond_broadcast.c
2203         (__pthread_cond_broadcast_2_0): Likewise.
2204         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
2205         Likewise.
2206         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
2207         Likewise.
2208         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
2209         Likewise.
2210         * nptl/pt-raise.c (raise): Likewise.
2211         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
2212         Likewise.
2213         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
2214         * nptl/pthread_barrierattr_destroy.c
2215         (pthread_barrierattr_destroy): Likewise.
2216         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
2217         Likewise.
2218         * nptl/pthread_barrierattr_setpshared.c
2219         (pthread_barrierattr_setpshared): Likewise.
2220         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2221         Likewise.
2222         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2223         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2224         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2225         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
2226         Likewise.
2227         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
2228         Likewise.
2229         * nptl/pthread_condattr_getpshared.c
2230         (pthread_condattr_getpshared): Likewise.
2231         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
2232         Likewise.
2233         * nptl/pthread_condattr_setpshared.c
2234         (pthread_condattr_setpshared): Likewise.
2235         * nptl/pthread_detach.c (pthread_detach): Likewise.
2236         * nptl/pthread_equal.c (__pthread_equal): Likewise.
2237         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
2238         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
2239         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
2240         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
2241         Likewise.
2242         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2243         Likewise.
2244         * nptl/pthread_mutex_getprioceiling.c
2245         (pthread_mutex_getprioceiling): Likewise.
2246         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
2247         Likewise.
2248         * nptl/pthread_mutexattr_getprotocol.c
2249         (pthread_mutexattr_getprotocol): Likewise.
2250         * nptl/pthread_mutexattr_getpshared.c
2251         (pthread_mutexattr_getpshared): Likewise.
2252         * nptl/pthread_mutexattr_getrobust.c
2253         (pthread_mutexattr_getrobust): Likewise.
2254         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2255         Likewise.
2256         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
2257         Likewise.
2258         * nptl/pthread_mutexattr_setprioceiling.c
2259         (pthread_mutexattr_setprioceiling): Likewise.
2260         * nptl/pthread_mutexattr_setprotocol.c
2261         (pthread_mutexattr_setprotocol): Likewise.
2262         * nptl/pthread_mutexattr_setpshared.c
2263         (pthread_mutexattr_setpshared): Likewise.
2264         * nptl/pthread_mutexattr_setrobust.c
2265         (pthread_mutexattr_setrobust): Likewise.
2266         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
2267         Likewise.
2268         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
2269         Likewise.
2270         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
2271         Likewise.
2272         * nptl/pthread_rwlockattr_getkind_np.c
2273         (pthread_rwlockattr_getkind_np): Likewise.
2274         * nptl/pthread_rwlockattr_getpshared.c
2275         (pthread_rwlockattr_getpshared): Likewise.
2276         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
2277         Likewise.
2278         * nptl/pthread_rwlockattr_setkind_np.c
2279         (pthread_rwlockattr_setkind_np): Likewise.
2280         * nptl/pthread_rwlockattr_setpshared.c
2281         (pthread_rwlockattr_setpshared): Likewise.
2282         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
2283         Likewise.
2284         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
2285         Likewise.
2286         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
2287         Likewise.
2288         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2289         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
2290         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
2291         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
2292         * nptl/sem_close.c (sem_close): Likewise.
2293         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
2294         * nptl/sem_init.c (__old_sem_init): Likewise.
2295         * nptl/sigaction.c (__sigaction): Likewise.
2296         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2297         * posix/_exit.c (_exit): Likewise.
2298         * posix/alarm.c (alarm): Likewise.
2299         * posix/confstr.c (confstr): Likewise.
2300         * posix/fpathconf.c (__fpathconf): Likewise.
2301         * posix/getgroups.c (__getgroups): Likewise.
2302         * posix/getpgid.c (__getpgid): Likewise.
2303         * posix/group_member.c (__group_member): Likewise.
2304         * posix/pathconf.c (__pathconf): Likewise.
2305         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
2306         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
2307         * posix/setgid.c (__setgid): Likewise.
2308         * posix/setpgid.c (__setpgid): Likewise.
2309         * posix/setuid.c (__setuid): Likewise.
2310         * posix/sleep.c (__sleep): Likewise.
2311         * posix/sysconf.c (__sysconf): Likewise.
2312         * posix/times.c (__times): Likewise.
2313         * posix/uname.c (__uname): Likewise.
2314         * posix/waitid.c (__waitid): Likewise.
2315         * pwd/getpw.c (__getpw): Likewise.
2316         * resolv/base64.c (b64_pton): Likewise.
2317         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2318         * resolv/gethnamaddr.c (Dprintf): Likewise.
2319         (gethostbyname): Likewise.
2320         (gethostbyname2): Likewise.
2321         (gethostbyaddr): Likewise.
2322         (_sethtent): Likewise.
2323         (_gethtbyname): Likewise.
2324         (_gethtbyname2): Likewise.
2325         (_gethtbyaddr): Likewise.
2326         (map_v4v6_address): Likewise.
2327         (map_v4v6_hostent): Likewise.
2328         (addrsort): Likewise.
2329         (ht_sethostent): Likewise.
2330         (ht_gethostbyname): Likewise.
2331         (ht_gethostbyaddr): Likewise.
2332         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
2333         (inet_net_ntop_ipv4): Likewise.
2334         * resolv/inet_neta.c (inet_neta): Likewise.
2335         * resolv/inet_ntop.c (inet_ntop): Likewise.
2336         (inet_ntop4): Likewise.
2337         (inet_ntop6): Likewise.
2338         * resolv/inet_pton.c (__inet_pton): Likewise.
2339         (inet_pton4): Likewise.
2340         (inet_pton6): Likewise.
2341         * resolv/res_debug.c (loc_aton): Likewise.
2342         (loc_ntoa): Likewise.
2343         * resource/getpriority.c (__getpriority): Likewise.
2344         * resource/getrusage.c (__getrusage): Likewise.
2345         * resource/nice.c (nice): Likewise.
2346         * resource/setpriority.c (__setpriority): Likewise.
2347         * resource/setrlimit64.c (setrlimit64): Likewise.
2348         * resource/vlimit.c (vlimit): Likewise.
2349         * resource/vtimes.c (vtimes): Likewise.
2350         * rt/aio_error.c (aio_error): Likewise.
2351         * rt/aio_return.c (aio_return): Likewise.
2352         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
2353         * signal/kill.c (__kill): Likewise.
2354         * signal/killpg.c (killpg): Likewise.
2355         * signal/raise.c (raise): Likewise.
2356         * signal/sigaction.c (__sigaction): Likewise.
2357         * signal/sigaddset.c (sigaddset): Likewise.
2358         * signal/sigaltstack.c (sigaltstack): Likewise.
2359         * signal/sigandset.c (sigandset): Likewise.
2360         * signal/sigblock.c (__sigblock): Likewise.
2361         * signal/sigdelset.c (sigdelset): Likewise.
2362         * signal/sigempty.c (sigemptyset): Likewise.
2363         * signal/sigfillset.c (sigfillset): Likewise.
2364         * signal/sighold.c (sighold): Likewise.
2365         * signal/sigignore.c (sigignore): Likewise.
2366         * signal/sigintr.c (siginterrupt): Likewise.
2367         * signal/sigisempty.c (sigisemptyset): Likewise.
2368         * signal/sigismem.c (sigismember): Likewise.
2369         * signal/signal.c (signal): Likewise.
2370         * signal/sigorset.c (sigorset): Likewise.
2371         * signal/sigpause.c (__sigpause): Likewise.
2372         * signal/sigpending.c (sigpending): Likewise.
2373         * signal/sigprocmask.c (__sigprocmask): Likewise.
2374         * signal/sigrelse.c (sigrelse): Likewise.
2375         * signal/sigreturn.c (__sigreturn): Likewise.
2376         * signal/sigset.c (sigset): Likewise.
2377         * signal/sigsetmask.c (__sigsetmask): Likewise.
2378         * signal/sigstack.c (sigstack): Likewise.
2379         * signal/sigsuspend.c (__sigsuspend): Likewise.
2380         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
2381         * signal/sysv_signal.c (__sysv_signal): Likewise.
2382         * socket/accept.c (accept): Likewise.
2383         * socket/accept4.c (__libc_accept4): Likewise.
2384         * socket/bind.c (__bind): Likewise.
2385         * socket/connect.c (__connect): Likewise.
2386         * socket/getpeername.c (getpeername): Likewise.
2387         * socket/getsockname.c (__getsockname): Likewise.
2388         * socket/getsockopt.c (getsockopt): Likewise.
2389         * socket/listen.c (__listen): Likewise.
2390         * socket/recv.c (__recv): Likewise.
2391         * socket/recvmsg.c (__recvmsg): Likewise.
2392         * socket/send.c (__send): Likewise.
2393         * socket/sendmsg.c (__sendmsg): Likewise.
2394         * socket/shutdown.c (shutdown): Likewise.
2395         * socket/sockatmark.c (sockatmark): Likewise.
2396         * socket/socket.c (__socket): Likewise.
2397         * stdio-common/ctermid.c (ctermid): Likewise.
2398         * stdio-common/cuserid.c (cuserid): Likewise.
2399         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
2400         * stdio-common/remove.c (remove): Likewise.
2401         * stdio-common/rename.c (rename): Likewise.
2402         * stdio-common/renameat.c (renameat): Likewise.
2403         * stdio-common/tempname.c (__gen_tempname): Likewise.
2404         * stdio-common/xbug.c (InitBuffer): Likewise.
2405         (AppendToBuffer): Likewise.
2406         (ReadFile): Likewise.
2407         * stdlib/a64l.c (a64l): Likewise.
2408         * stdlib/drand48_r.c (drand48_r): Likewise.
2409         * stdlib/getcontext.c (getcontext): Likewise.
2410         * stdlib/getenv.c (getenv): Likewise.
2411         * stdlib/l64a.c (l64a): Likewise.
2412         * stdlib/llabs.c (llabs): Likewise.
2413         * stdlib/lldiv.c (lldiv): Likewise.
2414         * stdlib/lrand48_r.c (lrand48_r): Likewise.
2415         * stdlib/mrand48_r.c (mrand48_r): Likewise.
2416         * stdlib/putenv.c (putenv): Likewise.
2417         * stdlib/random.c (__srandom): Likewise.
2418         (__initstate): Likewise.
2419         (__setstate): Likewise.
2420         * stdlib/random_r.c (__srandom_r): Likewise.
2421         (__setstate_r): Likewise.
2422         (__random_r): Likewise.
2423         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
2424         * stdlib/setcontext.c (setcontext): Likewise.
2425         * stdlib/setenv.c (setenv): Likewise.
2426         (unsetenv): Likewise.
2427         * stdlib/srand48.c (srand48): Likewise.
2428         * stdlib/srand48_r.c (__srand48_r): Likewise.
2429         * stdlib/swapcontext.c (swapcontext): Likewise.
2430         * stdlib/system.c (__libc_system): Likewise.
2431         * stdlib/tst-strtod.c (expand): Likewise.
2432         * stdlib/tst-strtol.c (expand): Likewise.
2433         * stdlib/tst-strtoll.c (expand): Likewise.
2434         * streams/fattach.c (fattach): Likewise.
2435         * streams/fdetach.c (fdetach): Likewise.
2436         * streams/getmsg.c (getmsg): Likewise.
2437         * streams/isastream.c (isastream): Likewise.
2438         * string/ffs.c (__ffs): Likewise.
2439         * string/ffsll.c (ffsll): Likewise.
2440         * string/memcmp.c (memcmp_common_alignment): Likewise.
2441         (memcmp_not_common_alignment): Likewise.
2442         (MEMCMP): Likewise.
2443         * string/memcpy.c (memcpy): Likewise.
2444         * string/memmove.c (MEMMOVE): Likewise.
2445         * string/memset.c (memset): Likewise.
2446         * string/rawmemchr.c (RAWMEMCHR): Likewise.
2447         * string/strchrnul.c (STRCHRNUL): Likewise.
2448         * string/strerror.c (strerror): Likewise.
2449         * string/strndup.c (__strndup): Likewise.
2450         * string/strverscmp.c (__strverscmp): Likewise.
2451         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
2452         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
2453         (clnttcp_freeres): Likewise.
2454         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
2455         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
2456         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
2457         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
2458         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
2459         (xdr_callhdr): Likewise.
2460         * sunrpc/rpcinfo.c (udpping): Likewise.
2461         (tcpping): Likewise.
2462         (pstatus): Likewise.
2463         (pmapdump): Likewise.
2464         (brdcst): Likewise.
2465         (deletereg): Likewise.
2466         (getprognum): Likewise.
2467         (getvers): Likewise.
2468         (get_inet_address): Likewise.
2469         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
2470         * sunrpc/svc_udp.c (svcudp_create): Likewise.
2471         (svcudp_stat): Likewise.
2472         (svcudp_recv): Likewise.
2473         (svcudp_reply): Likewise.
2474         (svcudp_getargs): Likewise.
2475         (svcudp_freeargs): Likewise.
2476         (svcudp_destroy): Likewise.
2477         * sunrpc/xdr.c (xdr_bytes): Likewise.
2478         (xdr_netobj): Likewise.
2479         (xdr_string): Likewise.
2480         (xdr_wrapstring): Likewise.
2481         * sunrpc/xdr_float.c (xdr_float): Likewise.
2482         (xdr_double): Likewise.
2483         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
2484         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
2485         * sysvipc/ftok.c (ftok): Likewise.
2486         * sysvipc/msgctl.c (msgctl): Likewise.
2487         * sysvipc/msgget.c (msgget): Likewise.
2488         * sysvipc/msgrcv.c (msgrcv): Likewise.
2489         * sysvipc/msgsnd.c (msgsnd): Likewise.
2490         * sysvipc/semget.c (semget): Likewise.
2491         * sysvipc/semop.c (semop): Likewise.
2492         * sysvipc/shmat.c (shmat): Likewise.
2493         * sysvipc/shmctl.c (shmctl): Likewise.
2494         * sysvipc/shmdt.c (shmdt): Likewise.
2495         * sysvipc/shmget.c (shmget): Likewise.
2496         * termios/cfmakeraw.c (cfmakeraw): Likewise.
2497         * termios/speed.c (cfgetospeed): Likewise.
2498         (cfgetispeed): Likewise.
2499         (cfsetospeed): Likewise.
2500         (cfsetispeed): Likewise.
2501         * termios/tcflow.c (tcflow): Likewise.
2502         * termios/tcflush.c (tcflush): Likewise.
2503         * termios/tcgetattr.c (__tcgetattr): Likewise.
2504         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
2505         * termios/tcgetsid.c (tcgetsid): Likewise.
2506         * termios/tcsendbrk.c (tcsendbreak): Likewise.
2507         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
2508         * time/adjtime.c (__adjtime): Likewise.
2509         * time/dysize.c (dysize): Likewise.
2510         * time/ftime.c (ftime): Likewise.
2511         * time/getitimer.c (__getitimer): Likewise.
2512         * time/gettimeofday.c (__gettimeofday): Likewise.
2513         * time/gmtime.c (__gmtime_r): Likewise.
2514         (gmtime): Likewise.
2515         * time/localtime.c (__localtime_r): Likewise.
2516         (localtime): Likewise.
2517         * time/offtime.c (__offtime): Likewise.
2518         * time/settimeofday.c (__settimeofday): Likewise.
2519         * time/stime.c (stime): Likewise.
2520         * time/strftime_l.c (tm_diff): Likewise.
2521         (iso_week_days): Likewise.
2522         * time/strptime.c (strptime): Likewise.
2523         * time/time.c (time): Likewise.
2524         * time/timespec_get.c (timespec_get): Likewise.
2525         * time/tzset.c (tzset_internal): Likewise.
2526         (compute_change): Likewise.
2527         (__tz_compute): Likewise.
2528         * wcsmbs/btowc.c (__btowc): Likewise.
2529         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
2530         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
2531         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
2532         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
2533         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
2534         * wcsmbs/wcscat.c (__wcscat): Likewise.
2535         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2536         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
2537         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
2538         * wcsmbs/wcscspn.c (wcscspn): Likewise.
2539         * wcsmbs/wcsdup.c (wcsdup): Likewise.
2540         * wcsmbs/wcslen.c (__wcslen): Likewise.
2541         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
2542         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
2543         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
2544         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
2545         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2546         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
2547         * wcsmbs/wcsspn.c (wcsspn): Likewise.
2548         * wcsmbs/wcsstr.c (wcsstr): Likewise.
2549         * wcsmbs/wcstok.c (wcstok): Likewise.
2550         * wcsmbs/wctob.c (wctob): Likewise.
2551         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
2552         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2553         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
2554         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
2555         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
2556         * wcsmbs/wmemset.c (__wmemset): Likewise.
2557         * wctype/wcfuncs.c (__towlower): Likewise.
2558         (__towupper): Likewise.
2560         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
2561         (lll_unlock_elision): Add adapt_count parameter.
2563 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2565         * sysdeps/nptl/configure.ac: Do not give errors based on the
2566         results of top-level configure tests.
2567         * sysdeps/nptl/configure: Regenerated.
2569         * configure.ac (libc_cv_Bgroup): Remove configure test.
2570         * configure: Regenerated.
2571         * config.make.in (have-Bgroup): Remove variable.
2573         * configure.ac (sizeof_long_double): Remove configure test.
2574         * configure: Regenerated.
2575         * config.make.in (sizeof-long-double): Remove variable.
2577         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
2578         * configure: Regenerated.
2579         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
2580         variable.
2581         (exceptions): Likewise.
2582         * sysdeps/arm/configure: Regenerated.
2583         * config.make.in (exceptions): Remove variable.
2584         * Makeconfig (uses-callbacks): Use -fexceptions instead of
2585         $(exceptions).
2586         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
2587         (CFLAGS-vdprintf_chk.c): Likewise.
2588         (CFLAGS-printf_chk.c): Likewise.
2589         (CFLAGS-fprintf_chk.c): Likewise.
2590         (CFLAGS-vprintf_chk.c): Likewise.
2591         (CFLAGS-vfprintf_chk.c): Likewise.
2592         (CFLAGS-gets_chk.c): Likewise.
2593         (CFLAGS-fgets_chk.c): Likewise.
2594         (CFLAGS-fgets_u_chk.c): Likewise.
2595         (CFLAGS-fread_chk.c): Likewise.
2596         (CFLAGS-fread_u_chk.c): Likewise.
2597         (CFLAGS-wprintf_chk.c): Likewise.
2598         (CFLAGS-fwprintf_chk.c): Likewise.
2599         (CFLAGS-vwprintf_chk.c): Likewise.
2600         (CFLAGS-vfwprintf_chk.c): Likewise.
2601         (CFLAGS-fgetws_chk.c): Likewise.
2602         (CFLAGS-fgetws_u_chk.c): Likewise.
2603         * libio/Makefile (CFLAGS-fileops.c): Likewise.
2604         (CFLAGS-fputc.c): Likewise.
2605         (CFLAGS-fputwc.c): Likewise.
2606         (CFLAGS-freopen64.c): Likewise.
2607         (CFLAGS-freopen.c): Likewise.
2608         (CFLAGS-fseek.c): Likewise.
2609         (CFLAGS-fseeko64.c): Likewise.
2610         (CFLAGS-fseeko.c): Likewise.
2611         (CFLAGS-ftello64.c): Likewise.
2612         (CFLAGS-ftello.c): Likewise.
2613         (CFLAGS-fwide.c): Likewise.
2614         (CFLAGS-genops.c): Likewise.
2615         (CFLAGS-getc.c): Likewise.
2616         (CFLAGS-getchar.c): Likewise.
2617         (CFLAGS-getwc.c): Likewise.
2618         (CFLAGS-getwchar.c): Likewise.
2619         (CFLAGS-iofclose.c): Likewise.
2620         (CFLAGS-iofflush.c): Likewise.
2621         (CFLAGS-iofgetpos64.c): Likewise.
2622         (CFLAGS-iofgetpos.c): Likewise.
2623         (CFLAGS-iofgets.c): Likewise.
2624         (CFLAGS-iofgetws.c): Likewise.
2625         (CFLAGS-iofputs.c): Likewise.
2626         (CFLAGS-iofputws.c): Likewise.
2627         (CFLAGS-iofread.c): Likewise.
2628         (CFLAGS-iofsetpos64.c): Likewise.
2629         (CFLAGS-iofsetpos.c): Likewise.
2630         (CFLAGS-ioftell.c): Likewise.
2631         (CFLAGS-iofwrite.c): Likewise.
2632         (CFLAGS-iogetdelim.c): Likewise.
2633         (CFLAGS-iogetline.c): Likewise.
2634         (CFLAGS-iogets.c): Likewise.
2635         (CFLAGS-iogetwline.c): Likewise.
2636         (CFLAGS-ioputs.c): Likewise.
2637         (CFLAGS-ioseekoff.c): Likewise.
2638         (CFLAGS-ioseekpos.c): Likewise.
2639         (CFLAGS-iosetbuffer.c): Likewise.
2640         (CFLAGS-iosetvbuf.c): Likewise.
2641         (CFLAGS-ioungetc.c): Likewise.
2642         (CFLAGS-ioungetwc.c): Likewise.
2643         (CFLAGS-oldfileops.c): Likewise.
2644         (CFLAGS-oldiofclose.c): Likewise.
2645         (CFLAGS-oldiofgetpos64.c): Likewise.
2646         (CFLAGS-oldiofgetpos.c): Likewise.
2647         (CFLAGS-oldiofsetpos64.c): Likewise.
2648         (CFLAGS-oldiofsetpos.c): Likewise.
2649         (CFLAGS-peekc.c): Likewise.
2650         (CFLAGS-putc.c): Likewise.
2651         (CFLAGS-putchar.c): Likewise.
2652         (CFLAGS-putwc.c): Likewise.
2653         (CFLAGS-putwchar.c): Likewise.
2654         (CFLAGS-rewind.c): Likewise.
2655         (CFLAGS-wfileops.c): Likewise.
2656         (CFLAGS-wgenops.c): Likewise.
2657         (CFLAGS-oldiofopen.c): Likewise.
2658         (CFLAGS-iofopen.c): Likewise.
2659         (CFLAGS-iofopen64.c): Likewise.
2660         (CFLAGS-oldtmpfile.c): Likewise.
2661         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
2662         (CFLAGS-fprintf.c): Likewise.
2663         (CFLAGS-printf.c): Likewise.
2664         (CFLAGS-vfwprintf.c): Likewise.
2665         (CFLAGS-vfscanf.c): Likewise.
2666         (CFLAGS-vfwscanf.c): Likewise.
2667         (CFLAGS-fscanf.c): Likewise.
2668         (CFLAGS-scanf.c): Likewise.
2669         (CFLAGS-isoc99_vfscanf.c): Likewise.
2670         (CFLAGS-isoc99_vscanf.c): Likewise.
2671         (CFLAGS-isoc99_fscanf.c): Likewise.
2672         (CFLAGS-isoc99_scanf.c): Likewise.
2673         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
2674         (CFLAGS-isoc99_fwscanf.c): Likewise.
2675         (CFLAGS-isoc99_vwscanf.c): Likewise.
2676         (CFLAGS-isoc99_vfwscanf.c): Likewise.
2678         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
2679         after mkstemp64.
2680         * login/tst-utmp.c (do_prepare): Likewise.
2681         * rt/tst-aio.c (do_prepare): Likewise.
2682         * rt/tst-aio64.c (do_prepare): Likewise.
2684 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2686         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2687         (__lll_lock_elision): Remove adapt_count decrement...
2688         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2689         (__lll_trylock_elision): Likewise.
2690         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2691         (__lll_unlock_elision): ... to here. And utilize
2692         new adapt_count parameter.
2693         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2694         (__lll_unlock_elision): Update to include adapt_count
2695         parameter.
2696         (lll_unlock_elision): Pass pointer to adapt_count
2697         variable.
2699 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2701         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
2702         Add elision adapt_count parameter to list of arguments.
2703         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2704         (lll_unlock_elision): Update with new parameter list
2705         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2706         (lll_unlock_elision): Likewise
2707         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
2708         (lll_unlock_elision): Likewise
2710 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2712         [BZ #19122]
2713         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
2714         attribute_hidden.
2716         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
2717         attribute_hidden.
2718         [IS_IN (rtld)] (__strdup): Likewise.
2719         [IS_IN (rtld)] (__strerror_r): Likewise.
2720         [IS_IN (rtld)] (__strsep_g): Likewise.
2721         [IS_IN (rtld)] (memchr): Likewise.
2722         [IS_IN (rtld)] (memcmp): Likewise.
2723         [IS_IN (rtld)] (memcpy): Likewise.
2724         [IS_IN (rtld)] (memmove): Likewise.
2725         [IS_IN (rtld)] (memset): Likewise.
2726         [IS_IN (rtld)] (rawmemchr): Likewise.
2727         [IS_IN (rtld)] (stpcpy): Likewise.
2728         [IS_IN (rtld)] (strchr): Likewise.
2729         [IS_IN (rtld)] (strcmp): Likewise.
2730         [IS_IN (rtld)] (strlen): Likewise.
2731         [IS_IN (rtld)] (strnlen): Likewise.
2732         [IS_IN (rtld)] (strsep): Likewise.
2734         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
2735         attribute_hidden.
2736         [IS_IN (rtld)] (__strtoul_internal): Likewise.
2738         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
2739         attribute_hidden.
2740         [IS_IN (rtld)] (__libc_sigaction): Likewise.
2742         * include/setjmp.h (__longjmp): Add attribute_hidden.
2743         [IS_IN (rtld)] (__sigsetjmp): Likewise.
2745         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
2746         Add attribute_hidden.
2748         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
2749         [IS_IN (rtld)] (__open): Likewise.
2750         [IS_IN (rtld)] (__fcntl): Likewise.
2752         * include/dirent.h (__opendirat): Add attribute_hidden.
2753         (__getdents): Likewise.
2754         (__getdents64): Likewise.
2755         (__alloc_dir): Likewise.
2756         [IS_IN (rtld)] (__closedir): Likewise.
2757         [IS_IN (rtld)] (__fdopendir): Likewise.
2758         [IS_IN (rtld)] (__readdir): Likewise.
2759         [IS_IN (rtld)] (__readdir64): Likewise.
2760         [IS_IN (rtld)] (__rewinddir): Likewise.
2762         * include/dlfcn.h (_dl_catch_error): Moved to ...
2763         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
2764         attribute_hidden.
2766         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
2767         (_itoa_word): Likewise.
2769         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
2770         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
2771         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
2772         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
2773         (_dl_higher_prime_number): Likewise.
2774         (_dl_debug_printf_c): Likewise.
2775         (_dl_signal_cerror): Likewise.
2776         (_dl_receive_error): Likewise.
2777         (_dl_reloc_bad_type): Likewise.
2778         (_dl_resolve_conflicts): Likewise.
2779         (_dl_check_all_versions): Likewise.
2780         (_dl_check_map_versions): Likewise.
2781         (_dl_sort_fini): Likewise.
2782         (_dl_debug_initialize): Likewise.
2783         (_dl_init_paths): Likewise.
2784         (_dl_show_auxv): Likewise.
2785         (_dl_next_ld_env_entry): Likewise.
2786         (_dl_important_hwcaps): Likewise.
2787         (_dl_load_cache_lookup): Likewise.
2788         (_dl_update_slotinfo): Likewise.
2789         (_dl_show_scope): Likewise.
2791         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
2792         attribute_hidden.
2793         (_wordcopy_fwd_dest_aligned): Likewise.
2794         (_wordcopy_bwd_aligned): Likewise.
2795         (_wordcopy_bwd_dest_aligned): Likewise.
2797         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2798         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2799         Likewise.
2800         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2801         Likewise.
2802         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
2804 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2806         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
2807         GCC 5 requirement.
2809 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2811         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
2812         test.
2813         * sysdeps/i386/configure: Regenerated.
2814         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
2815         code unconditional.
2817         * configure.ac (libc_cv_asm_previous_directive): Remove configure
2818         test.
2819         (libc_cv_asm_popsection_directive): Likewise.
2820         * configure: Regenerated.
2821         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
2822         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
2823         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
2824         (__make_section_unallocated): Make definition unconditional.
2825         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
2826         Remove conditional definition.
2827         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
2828         (__make_section_unallocated): Likewise.
2830         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
2831         * configure: Regenerated.
2832         * config.make.in (static-libgcc): Remove variable.
2833         * Makerules (build-shlib-helper): Use -static-libgcc instead of
2834         $(static-libgcc).
2835         (build-module-helper): Likewise.
2837         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
2838         * configure: Regenerated.
2840 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2842         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
2843         (struct char_buffer): New type.
2844         (char_buffer_start, char_buffer_size, char_buffer_error)
2845         (char_buffer_rewind, char_buffer_add): New functions.
2846         (ADDW): Remove macro, replaced by the char_buffer_add function.
2847         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
2848         of extend_alloca.  Make control flow more explicit.
2850 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2852         [BZ #19137]
2853         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2854         Add -fomit-frame-pointer.
2855         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
2857 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2859         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
2860         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
2861         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
2862         only if !__GNUC_PREREQ (5,0).
2863         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
2864         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
2865         (INTERNAL_SYSCALL_NCS): Likewise.
2866         (LOADREGS_0): New macro for GCC 5.
2867         (ASMARGS_0): Likewise.
2868         (LOADREGS_1): Likewise.
2869         (ASMARGS_1): Likewise.
2870         (LOADREGS_2): Likewise.
2871         (ASMARGS_2): Likewise.
2872         (LOADREGS_3): Likewise.
2873         (ASMARGS_3): Likewise.
2874         (LOADREGS_4): Likewise.
2875         (ASMARGS_4): Likewise.
2876         (LOADREGS_5): Likewise.
2877         (ASMARGS_5): Likewise.
2878         (LOADREGS_6): Likewise.
2879         (ASMARGS_6): Likewise.
2881 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2883         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
2884         -fomit-frame-pointer.
2885         (CFLAGS-mmap64.c): Likewise.
2886         (CFLAGS-semtimedop.c): Likewise.
2887         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
2888         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
2889         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2890         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2892 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2894         [BZ #18928]
2895         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
2896         _dl_pointer_guard member.
2897         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
2898         initializer.
2899         (security_init): Always set up pointer guard.
2900         (process_envvars): Do not process LD_POINTER_GUARD.
2902 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
2904         [BZ #19134]
2905         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
2906         (.LC2): Likewise.
2907         (.LC3): Likewise.
2908         (__lround): Do not add 0.5 to integer or out-of-range arguments.
2910 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2912         [BZ #19129]
2913         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
2914         r0 and r1.
2916 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
2918         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
2920 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
2922         * include/stap-probe.h: Fix macro definition formatting.
2924 2015-10-14  Florian Weimer  <fweimer@redhat.com>
2926         [BZ #19074]
2927         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
2928         load and store num_ifs.
2930 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2932         [BZ #18822]
2933         * sysdeps/unix/sysv/linux/sched_getaffinity.c
2934         (__sched_getaffinity_new): Add libc_hidden_proto and
2935         libc_hidden_def.
2937 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2939         [BZ #19007]
2940         * scripts/localplt.awk: Also allow GOT references.
2941         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
2942         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
2943         with "+ REL R_386_GLOB_DAT".
2944         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
2945         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
2947 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2949         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
2950         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2951         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
2952         Likewise.
2953         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2954         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
2955         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2956         INTERNAL_SYSCALLINTERNAL_SYSCALL and
2957         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2958         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2959         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2960         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2961         Likewise.
2962         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2964 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2966         [BZ #19125]
2967         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
2968         <math_private.h> and <stdint.h>.
2969         (__llround): Avoid conversions to and from long long int, and
2970         subtractions, where those might raise spurious exceptions.
2971         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
2972         <math_private.h> and <stdint.h>.
2973         (__llroundf): Avoid conversions to and from long long int, and
2974         subtractions, where those might raise spurious exceptions.
2976 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2978         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
2979         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2980         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2981         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
2982         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2983         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2984         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
2985         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
2986         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
2987         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2988         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2989         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2990         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
2991         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2992         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2993         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
2994         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
2995         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2996         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
2997         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
2998         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2999         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
3000         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
3001         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3002         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
3003         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3004         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
3005         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3006         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3007         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
3008         (__xstat64_conv): Likewise.
3009         (__xstat32_conv): Likewise.
3011 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3013         * sysdeps/unix/sysv/linux/sysdep.h: New file.
3014         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
3015         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
3016         <sysdeps/unix/sysv/linux/sysdep.h>.
3017         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3018         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
3019         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
3020         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3021         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3022         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
3023         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
3024         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3025         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3030         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3031         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3032         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3033         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
3034         (sysdep-dl-routines): Add sysdep.
3035         [$(subdir) == nptl] (libpthread-routines): Likewise.
3036         [$(subdir) == rt] (librt-routines): Likewise.
3037         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
3038         PIC when branching to SYSCALL_ERROR_LABEL.
3039         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
3040         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
3041         <sysdeps/unix/sysv/linux/sysdep.h>.
3042         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
3043         (SYSCALL_ERROR_ERRNO): Removed.
3044         (SYSCALL_ERROR_HANDLER): Changed to empty.
3045         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
3046         (__syscall_error): New prototype.
3047         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
3048         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
3050 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3052         [BZ #19124]
3053         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
3054         (_dl_runtime_resolve_avx512): Make it a hidden alias of
3055         _dl_runtime_resolve_avx.
3056         (_dl_runtime_profile_avx512): Make it a hidden alias of
3057         _dl_runtime_profile_avx.
3059 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3061         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
3062         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
3063         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
3064         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
3066         [BZ #16422]
3067         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
3068         New configure test.
3069         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
3070         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
3071         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
3072         <math_private.h> and <stdint.h>.
3073         (__llrint): Avoid conversions to long long int where those might
3074         raise spurious exceptions.
3075         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3076         <math_private.h> and <stdint.h>.
3077         (__llrintf): Avoid conversions to long long int where those might
3078         raise spurious exceptions.
3080 2015-10-12  Andreas Schwab  <schwab@suse.de>
3082         [BZ #18969]
3083         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
3084         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
3085         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
3086         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
3087         $(gen-locales).
3088         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
3089         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
3090         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
3091         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
3092         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
3093         $(gen-locales).
3094         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
3095         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
3096         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
3097         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
3098         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
3099         ($(objpfx)tst-ftell-active-handler.out)
3100         ($(objpfx)tst-ftell-append.out)
3101         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
3102         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
3103         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
3104         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
3105         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
3106         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
3107         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
3108         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
3109         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
3110         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
3111         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
3112         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
3113         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
3114         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
3115         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
3116         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
3117         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
3118         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
3119         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
3120         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
3121         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
3122         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
3123         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
3124         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
3125         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
3126         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
3127         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
3128         $(gen-locales).
3129         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
3130         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
3131         $(gen-locales).
3132         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
3133         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
3134         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
3135         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
3136         $(gen-locales).
3137         * libio/tst_wprintf2.c (main): Use explicit locale.
3138         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
3140 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3142         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
3143         __msg_sig_post.
3144         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
3146 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3148         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3149         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3151         * sysdeps/arm/libm-test-ulps: Regenerated.
3153         [BZ #15470]
3154         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
3156         [BZ #16399]
3157         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
3158         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
3159         and <fix-fp-int-convert-overflow.h>.
3160         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3161         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3162         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
3163         and <fix-fp-int-convert-overflow.h>.
3164         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
3165         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3166         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
3167         <fix-fp-int-convert-overflow.h>.
3168         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3169         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3170         * sysdeps/ieee754/dbl-64/s_lround.c: Include
3171         <fix-fp-int-convert-overflow.h>.
3172         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
3173         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3174         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
3175         and <fix-fp-int-convert-overflow.h>.
3176         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3177         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3178         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
3179         <limits.h> and <fix-fp-int-convert-overflow.h>.
3180         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3181         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3182         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
3183         and <fix-fp-int-convert-overflow.h>.
3184         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3185         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3186         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
3187         and <fix-fp-int-convert-overflow.h>.
3188         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3189         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3190         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
3192 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3194         [BZ #18589]
3195         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
3196         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
3197         $(gen-locales).
3199 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3200             Phil Blundell <pb@pbcl.net>
3202         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
3203         * nptl/tst-cancel26.c: New file.
3204         * nptl/tst-cancel27.c: Likewise.
3206 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
3208         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
3209         __ILP32__ isn't defined.
3210         (lrint): Likewise.
3211         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
3212         (lrintf): Likewise.
3213         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
3214         (lrintl): Likewise.
3215         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
3216         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
3217         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
3219 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3221         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3222         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3224         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
3225         file.
3226         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
3227         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3229 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3231         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
3232         configure test.
3233         * sysdeps/i386/configure: Regenerated.
3234         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
3235         configure test.
3236         * sysdeps/x86_64/configure: Regenerated.
3237         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
3238         Make code unconditional.
3240         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
3241         test.
3242         * sysdeps/i386/configure: Regenerated.
3243         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
3244         test.
3245         * sysdeps/x86_64/configure: Regenerated.
3246         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
3247         Make code unconditional.
3248         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3249         Likewise.
3250         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
3251         Likewise.
3252         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3253         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
3254         code unconditional.
3255         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3256         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
3257         code unconditional.
3258         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3259         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
3260         code unconditional.
3261         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
3262         code unconditional.
3263         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3264         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
3265         code unconditional.
3266         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3267         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
3268         code unconditional.
3269         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3270         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
3271         code unconditional.
3272         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3273         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
3274         code unconditional.
3275         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3276         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
3278         [BZ #19095]
3279         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
3280         mantissa to long int before shifting left.
3282 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3284         [BZ #19094]
3285         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
3286         <limits.h>.
3287         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3288         when result overflows but exception would not result from cast.
3289         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
3290         <limits.h>.
3291         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3292         when result overflows but exception would not result from cast.
3293         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
3294         <limits.h>.
3295         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3296         when result overflows but exception would not result from cast.
3297         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
3298         <limits.h>.
3299         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3300         when result overflows but exception would not result from cast.
3301         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
3302         <limits.h>.
3303         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3304         when result overflows but exception would not result from cast.
3305         * math/libm-test.inc (lrint_test_data): Add more tests.
3306         (llrint_test_data): Likewise.
3308 2015-10-08  Roland McGrath  <roland@hack.frob.com>
3310         [BZ #18872]
3311         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
3312         Move out from under [$(run-built-tests) = yes] conditional.
3313         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
3314         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
3316 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
3318         [BZ #18589]
3319         * string/Makefile (tests): Add bug-strcoll2.
3320         (LOCALES): Add cs_CZ.UTF-8.
3321         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
3323         [BZ #18589]
3324         * string/bug-strcoll2.c: New file.
3325         * locale/categories.def: Revert commit
3326         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
3327         * locale/langinfo.h: Likewise.
3328         * locale/localeinfo.h: Likewise.
3329         * locale/C-collate.c: Likewise.
3330         * locale/programs/ld-collate.c (collate_output): Likewise.
3331         * string/strcoll_l.c (STRDIFF): Likewise.
3332         (STRCOLL): Likewise.
3333         * wcsmbs/wcscoll_l.c: Likewise.
3335 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3337         * math/libm-test.inc (lround_test_data): Do not expect the absence
3338         of "inexact" for some tests with non-integer arguments.
3339         (llround_test_data): Likewise.
3341         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
3342         test.
3343         (libc_cv_cc_sse2avx): Likewise.
3344         * sysdeps/i386/configure: Regenerated.
3345         * sysdeps/i386/i686/multiarch/Makefile
3346         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
3347         [$(subdir) = math].
3348         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
3349         code unconditional.
3350         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3351         Likewise.
3352         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
3353         Likewise.
3354         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3355         Likewise.
3356         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
3357         test.
3358         (libc_cv_cc_sse2avx): Likewise.
3359         * sysdeps/x86_64/configure: Regenerated.
3360         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
3361         unconditional.
3362         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
3363         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
3364         unconditional.
3365         (_dl_runtime_profile)
3366         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
3367         conditional code.
3368         * sysdeps/x86_64/fpu/multiarch/Makefile
3369         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
3370         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3371         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3372         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3373         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3374         * sysdeps/x86_64/fpu/multiarch/e_log.c
3375         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3376         * sysdeps/x86_64/fpu/multiarch/s_atan.c
3377         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3378         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3379         Likewise.
3380         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3381         Likewise.
3382         * sysdeps/x86_64/fpu/multiarch/s_sin.c
3383         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3384         * sysdeps/x86_64/fpu/multiarch/s_tan.c
3385         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3386         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
3387         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
3388         (HAVE_SSE2AVX_SUPPORT): Likewise.
3390 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
3392         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
3393         instead of #pragma optimize.
3395 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3397         [BZ #17195]
3398         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
3399         as is similarly done in systrim and _int_free already.
3401 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3403         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
3405 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3407         [BZ #19088]
3408         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
3409         <limits.h>.
3410         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3411         overflows but exception would not result from cast.
3412         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
3413         and <limits.h>.
3414         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3415         overflows but exception would not result from cast.
3416         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
3417         <limits.h>.
3418         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3419         overflows but exception would not result from cast.
3420         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
3421         <limits.h>.
3422         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3423         overflows but exception would not result from cast.
3424         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
3425         <limits.h>.
3426         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3427         overflows but exception would not result from cast.
3428         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
3429         <limits.h>.
3430         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3431         overflows but exception would not result from cast.
3432         * math/libm-test.inc (lround_test_data): Add more tests.
3433         (llround_test_data): Likewise.
3435 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
3437         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
3438         (CFLAGS-ialloc.c): Ditto.
3439         (CFLAGS-scheck.c): Ditto.
3441 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3443         [BZ #19086]
3444         * manual/filesys.texi (Storage Allocation): Fix argument order for
3445         posix_fallocate64.
3447 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3449         [BZ #19085]
3450         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
3451         exponent below 48 inside case for non-overflowing exponent.
3452         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
3454 2015-10-07  Florian Weimer  <fweimer@redhat.com>
3456         * iconvdata/cp737.h (from_idx): Add const.
3457         * iconvdata/cp775.h (from_idx): Likewise.
3459 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3461         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
3462         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
3463         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
3465         [BZ #19079]
3466         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
3467         file, conditioned on [!_LP64].
3468         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
3469         [!_LP64] (__lround): Do not define as function or alias.
3470         [!_LP64] (lround): Likewise.
3471         [!_LP64] (__lroundl): Likewise.
3472         [!_LP64] (lroundl): Likewise.
3473         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
3474         macro.
3475         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3476         Likewise.
3478 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
3480         * math/libm-test.inc (lrint_test_data): Add more tests.
3481         (llrint_test_data): Likewise.
3482         (lround_test_data): Likewise.
3483         (llround_test_data): Likewise.
3485         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
3486         (llrint_test_data): Add tests used for lrint.
3488         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
3489         test.
3490         * sysdeps/i386/configure: Regenerated.
3491         * sysdeps/i386/i686/multiarch/Makefile
3492         [$(config-cflags-sse4) = yes]: Make code unconditional.
3493         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
3494         Likewise.
3495         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
3496         Likewise.
3497         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
3498         test.
3499         * sysdeps/x86_64/configure: Regenerated.
3500         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
3501         Make code unconditional.
3502         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
3503         Likewise.
3504         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
3505         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
3507         * scripts/rpm2dynsym.sh: Remove file.
3509 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3511         * configure.ac (libc_cv_cxx_thread_local): Define.
3512         * configure: Regenerate.
3513         * config.make.in (have-cxx-thread_local): Define.
3514         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
3515         (LDLIBS-tst-thread_local1): Define.
3516         (tests): Add tst-thread_local1.
3517         [have-cxx-thread_local != yes] (tests-unsupported): Add
3518         tst-thread_local1.
3519         * nptl/tst-thread_local1.cc: New file.
3521 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
3523         [BZ #19078]
3524         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
3525         (u_thres): Likewise.
3526         (__expl): Determine whether to call __kernel_standard_l based on
3527         value of result, not argument.
3529         * math/libm-test.inc (scalb_test_data): Add more expectations for
3530         the "inexact" exception.
3532         [BZ #19077]
3533         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
3534         0.0L for argument 1.0L.
3536         [BZ #19076]
3537         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
3538         constant 0.0L when computing infinite result.
3540 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3542         [BZ #10432]
3543         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
3544         malloc_usable_size.
3546 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3548         [BZ #19018]
3549         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3550         Mangle function pointer before storing it.
3551         (__call_tls_dtors): Demangle function pointer before calling it.
3553 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3555         [BZ #19012]
3556         * iconv/gconv_db.c (gen_steps): Check for additional errors.
3557         Clean up on failure.
3559 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
3561         [BZ #19071]
3562         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
3563         long int variable to store possibly incremented high part of
3564         mantissa.
3565         * math/libm-test.inc (lround_test_data): Add tests used for
3566         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
3567         for tests requiring 64-bit long.  Do not condition tests on
3568         [TEST_FLOAT] unnecessarily.
3569         (llround_test_data): Add tests used for lround.  Add another
3570         expectation for the "inexact" exception.  Do not condition tests
3571         on [TEST_FLOAT] unnecessarily.
3573         [BZ #887]
3574         [BZ #19049]
3575         [BZ #19050]
3576         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
3577         * sysdeps/ieee754/dbl-64/e_log10.c: Include
3578         <fix-int-fp-convert-zero.h>.
3579         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3580         * sysdeps/ieee754/dbl-64/e_log2.c: Include
3581         <fix-int-fp-convert-zero.h>.
3582         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3583         * sysdeps/ieee754/dbl-64/s_erf.c: Include
3584         <fix-int-fp-convert-zero.h>.
3585         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3586         * sysdeps/ieee754/dbl-64/s_logb.c: Include
3587         <fix-int-fp-convert-zero.h>.
3588         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3589         * sysdeps/ieee754/flt-32/e_log10f.c: Include
3590         <fix-int-fp-convert-zero.h>.
3591         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3592         * sysdeps/ieee754/flt-32/e_log2f.c: Include
3593         <fix-int-fp-convert-zero.h>.
3594         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3595         * sysdeps/ieee754/flt-32/s_erff.c: Include
3596         <fix-int-fp-convert-zero.h>.
3597         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3598         * sysdeps/ieee754/flt-32/s_logbf.c: Include
3599         <fix-int-fp-convert-zero.h>.
3600         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3601         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
3602         <fix-int-fp-convert-zero.h>.
3603         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3604         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
3605         <fix-int-fp-convert-zero.h>.
3606         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3607         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
3608         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
3609         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
3610         file.
3611         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
3613 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3615         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3617 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
3619         [BZ #19059]
3620         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
3621         overflowing computation.
3622         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3623         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3624         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3625         Likewise.
3626         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3627         Likewise.
3628         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3629         Likewise.
3630         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3631         Likewise.
3632         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3633         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3634         Likewise.
3635         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3636         Likewise.
3637         * math/libm-test.inc (nexttoward_test_data): Add more tests.
3639         * nss/rewrite_field.c (__nss_rewrite_field): Use
3640         internal_function.
3641         * nss/valid_field.c (__nss_valid_field): Likewise.
3642         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
3644 2015-10-02  Florian Weimer  <fweimer@redhat.com>
3646         [BZ #18724]
3647         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
3648         (__nss_invalid_field_characters, __nss_valid_field)
3649         (__nss_valid_list_field, __nss_rewrite_field): Declare.
3650         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
3651         tst-field.c: New file.
3652         * nss/Makefile (routines): Add valid_field, rewrite_field.
3653         (tests-static): Define unconditionally.
3654         (tests): Include tests-static.
3655         [build-static-nss] (tests-static): Use append.
3656         [build-static-nss] (tests): Remove modification.
3657         * nss/getent.c (print_group): Call putgrent.  Report error.
3658         (print_gshadow): Call putsgent.  Report error.
3659         (print_passwd): Call putpwent.  Report error.
3660         (print_shadow): Call putspent.  Report error.
3661         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
3662         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
3663         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
3664         name, password, directory, shell fields for valid syntax.  Rewrite
3665         GECOS field to match syntax.
3666         * pwd/Makefile (tests): Add tst-putpwent.
3667         * pwd/tst-putpwent.c: New file.
3668         * grp/putgrent.c (putgrent): Convert to ISO function definition.
3669         Check grName, grpasswd, gr_mem fields for valid syntax.
3670         Change loop variable i to size_t.
3671         * grp/Makefile (tests): Add tst-putgrent.
3672         * grp/tst-putgrent.c: New file.
3673         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
3674         valid syntax.
3675         * shadow/Makefile (tests): Add tst-putspent.
3676         * shadow/tst-putspent.c: New file.
3677         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
3678         sg_mem fields for valid syntax.
3679         * gshadow/Makefile (tests): Add tst-putsgent.
3680         * gshadow/tst-putsgent.c: New file.
3682 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3684         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
3685         assembly instructions.
3687 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3689         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
3690         prefix from operands.
3692 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
3694         [BZ #16347]
3695         [BZ #19046]
3696         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
3697         <libc-internal.h>.
3698         (MAXLGM): Do not use diagnostic control macros.
3699         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
3700         threshold for ldbl-128ibm.
3701         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
3702         instead of multiplying by log then subtracting.
3703         * math/auto-libm-test-in: Add more tests of lgamma.
3704         * math/auto-libm-test-out: Regenerated.
3706         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
3707         (TYPE_HEX_DIG): Likewise.
3708         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
3709         precisions when printing floating-point numbers.
3710         (check_float_internal): Likewise.
3712 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
3714         [BZ #16620]
3715         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
3716         of log (10) rounded downward to 48 bits.
3717         (log10_low): Use corresponding low part of log (10).
3719         [BZ #19032]
3720         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
3721         compute result as (x - x) / (x - x) not as 0 / 0.
3722         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3723         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
3725         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3726         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
3727         and expm1.
3728         * math/auto-libm-test-out: Regenerated.
3729         * math/libm-test.inc (acos_test_data): Add more tests.
3730         (asin_test_data): Likewise.
3731         (asinh_test_data): Likewise.
3732         (atan_test_data): Likewise.
3733         (atanh_test_data): Likewise.
3734         (atan2_test_data): Likewise.
3735         (cbrt_test_data): Likewise.
3736         (ceil_test_data): Likewise.
3737         (copysign_test_data): Likewise.
3738         (cos_test_data): Likewise.
3739         (cosh_test_data): Likewise.
3740         (erf_test_data): Likewise.
3741         (erfc_test_data): Likewise.
3742         (exp_test_data): Likewise.
3743         (exp10_test_data): Likewise.
3744         (exp2_test_data): Likewise.
3745         (expm1_test_data): Likewise.
3746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3748 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
3750         [BZ #19006]
3751         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
3752         to ...
3753         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
3754         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
3755         to ...
3756         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
3757         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
3758         to ...
3759         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
3760         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
3761         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
3762         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
3763         to ...
3764         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
3765         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3766         Moved to ...
3767         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
3768         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3769         Moved to ...
3770         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
3771         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
3772         to ...
3773         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
3774         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3775         Moved to ...
3776         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
3777         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
3778         to ...
3779         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
3780         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
3781         Removed.
3782         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
3783         Likewise.
3784         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
3785         Likewise.
3786         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
3787         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
3788         Likewise.
3789         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3790         Likewise.
3791         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3792         Likewise.
3793         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3794         Likewise.
3795         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3796         Likewise.
3797         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
3798         Likewise.
3799         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
3800         Likewise.
3801         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
3802         Likewise.
3803         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
3804         Likewise.
3805         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
3806         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
3807         Likewise.
3808         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3809         Likewise.
3810         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3811         Likewise.
3812         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3813         Likewise.
3814         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
3815         Likewise.
3816         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3817         Replace ../i486/pthread_cond_timedwait.S with
3818         ../pthread_cond_timedwait.S.
3820 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
3822         * math/libm-test.inc (acos_test_data): Refine expectations for
3823         errno and "inexact" exceptions.
3824         (acosh_test_data): Likewise.
3825         (asin_test_data): Likewise.
3826         (asinh_test_data): Likewise.
3827         (atan_test_data): Likewise.
3828         (atanh_test_data): Likewise.
3829         (atan2_test_data): Likewise.
3830         (cbrt_test_data): Likewise.
3831         (ceil_test_data): Likewise.
3832         (copysign_test_data): Likewise.
3833         (cosh_test_data): Likewise.
3834         (erf_test_data): Likewise.
3835         (erfc_test_data): Likewise.
3836         (exp_test_data): Likewise.
3837         (exp10_test_data): Likewise.
3838         (exp2_test_data): Likewise.
3839         (expm1_test_data): Likewise.
3840         (fabs_test_data): Likewise.
3841         (floor_test_data): Likewise.
3842         (fma_test_data): Likewise.
3843         (fmax_test_data): Likewise.
3844         (fmin_test_data): Likewise.
3845         (fmod_test_data): Likewise.
3846         (fpclassify_test_data): Likewise.
3847         (frexp_test_data): Likewise.
3848         (hypot_test_data): Likewise.
3849         (ilogb_test_data): Likewise.
3850         (isgreater_test_data): Likewise.
3851         (isgreaterequal_test_data): Likewise.
3852         (isinf_test_data): Likewise.
3853         (isless_test_data): Likewise.
3854         (islessequal_test_data): Likewise.
3855         (islessgreater_test_data): Likewise.
3856         (isnan_test_data): Likewise.
3857         (isnormal_test_data): Likewise.
3858         (issignaling_test_data): Likewise.
3859         (isunordered_test_data): Likewise.
3860         (j0_test_data): Likewise.
3861         (j1_test_data): Likewise.
3862         (jn_test_data): Likewise.
3863         (lgamma_test_data): Likewise.
3864         (lrint_test_data): Likewise.
3865         (llrint_test_data): Likewise.
3866         (log_test_data): Likewise.
3867         (log10_test_data): Likewise.
3868         (log1p_test_data): Likewise.
3869         (log2_test_data): Likewise.
3870         (logb_test_data): Likewise.
3871         (lround_test_data): Likewise.
3872         (llround_test_data): Likewise.
3873         (modf_test_data): Likewise.
3874         (nearbyint_test_data): Likewise.
3875         (nextafter_test_data): Likewise.
3876         (nexttoward_test_data): Likewise.
3877         (pow_test_data): Likewise.
3878         (remainder_test_data): Likewise.
3879         (remquo_test_data): Likewise.
3880         (rint_test_data): Likewise.
3881         (round_test_data): Likewise.
3882         (signbit_test_data): Likewise.
3883         (sinh_test_data): Likewise.
3884         (sqrt_test_data): Likewise.
3885         (tanh_test_data): Likewise.
3886         (tgamma_test_data): Likewise.
3887         (trunc_test_data): Likewise.
3888         (y0_test_data): Likewise.
3889         (y1_test_data): Likewise.
3890         (yn_test_data): Likewise.
3891         (significand_test_data): Likewise.
3893 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
3895         * manual/filesys.texi (Storage Allocation): Document that
3896         posix_fallocate emulation fails when fd is open with O_WRONLY.
3898 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3900         [BZ #19016]
3901         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
3902         allow more cases with X^2 + Y^2 >= 0.5.
3903         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
3904         normal element in sum instead of special-casing based on values of
3905         arguments.
3906         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
3907         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
3908         -1 as normal element in sum instead of special-casing based on
3909         values of arguments.
3910         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
3911         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
3912         (__x2y2m1): Update comment.
3913         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
3914         as normal element in sum instead of special-casing based on values
3915         of arguments.
3916         * math/s_clog.c (__clog): Handle more cases using log1p without
3917         hypot.
3918         * math/s_clog10.c (__clog10): Likewise.
3919         * math/s_clog10f.c (__clog10f): Likewise.
3920         * math/s_clog10l.c (__clog10l): Likewise.
3921         * math/s_clogf.c (__clogf): Likewise.
3922         * math/s_clogl.c (__clogl): Likewise.
3923         * math/auto-libm-test-in: Add more tests of clog and clog10.
3924         * math/auto-libm-test-out: Regenerated.
3925         * sysdeps/i386/fpu/libm-test-ulps: Update.
3926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3928 2015-09-28  Martin Sebor  <msebor@redhat.com>
3930         [BZ #18969]
3931         * string/Makefile (LOCALES): Define.
3932         (gen-locales.mk): Include.
3933         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
3934         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
3935         * string/tst-strxfrm2.c (do_test): Print the name of the locale
3936         on setlocale failure.
3938 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3940         [BZ #18985]
3941         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
3942         (__strftime_internal): Likewise.
3943         * time/tst-strftime.c (do_bz18985): New test.
3944         (do_test): Call it.
3946 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
3948         [BZ #18956]
3949         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
3950         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
3951         extracting high part.
3952         * math/auto-libm-test-in: Add another test of pow.
3953         * math/auto-libm-test-out: Regenerated.
3954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3956 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3958         [BZ #18825]
3959         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
3960         New macro.
3961         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
3962         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3963         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
3964         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
3965         DBL_NARROW_EVAL, reloading the PIC register as needed.
3966         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
3967         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
3968         FLT_NARROW_EVAL.  Use separate return path for case when first
3969         argument is NaN.
3970         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
3971         DEFINE_LDBL_MIN.
3972         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
3973         PIC register.
3974         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
3975         math_check_force_underflow_nonneg.
3976         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
3977         underflow for subnormal result.
3978         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3979         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
3980         math_check_force_underflow_nonneg.
3981         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
3982         math_check_force_underflow.
3983         * sysdeps/x86_64/fpu/x86_64-math-asm.h
3984         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
3985         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
3986         DEFINE_LDBL_MIN.
3987         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
3988         * math/auto-libm-test-in: Add more tests of pow.
3989         * math/auto-libm-test-out: Regenerated.
3991 2015-09-25  Florian Weimer  <fweimer@redhat.com>
3993         * nss/bug17079.c (init_test_items): Add diagnostic for
3994         inconsistent entries.
3995         (test_buffer_size): Skip inconsistent entries.
3997 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3999         [BZ #13304]
4000         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
4001         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4002         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
4004         [BZ #13304]
4005         * sysdeps/microblaze/s_fma.c: New file.
4006         * sysdeps/microblaze/s_fmaf.c: Likewise.
4007         * sysdeps/microblaze/sfp-machine.h: Likewise.
4009 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
4011         [BZ #17250]
4012         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
4013         member.
4015 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4017         [BZ #18803]
4018         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
4019         (MO): New macro.
4020         (__ieee754_hypot) [PIC]: Load PIC register.
4021         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
4022         DBL_NARROW_EVAL.
4023         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
4024         math_check_force_underflow_nonneg in case where result might be
4025         tiny.
4026         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4027         Likewise.
4028         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4029         Likewise.
4030         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4031         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
4032         * math/auto-libm-test-in: Add more tests of hypot.
4033         * math/auto-libm-test-out: Regenerated.
4035 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
4037         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
4039 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4041         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
4042         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
4043         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4044         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4045         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
4046         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4047         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4049         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
4050         LOAD_PIC_REG.
4052         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
4053         (FLT_CHECK_FORCE_UFLOW): Likewise.
4054         (DBL_CHECK_FORCE_UFLOW): Likewise.
4055         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
4056         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
4057         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
4058         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4059         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4060         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4061         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4062         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4063         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
4064         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4065         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
4066         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
4067         (flt_min): Replace with use of DEFINE_FLT_MIN.
4068         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
4069         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
4070         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4071         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
4072         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
4073         (flt_min): Replace with use of DEFINE_FLT_MIN.
4074         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
4075         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
4076         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4077         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
4078         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
4079         (flt_min): Replace with use of DEFINE_FLT_MIN.
4080         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
4081         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
4082         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4083         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4084         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
4085         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4086         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4087         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
4088         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4089         (__atan): Use DBL_CHECK_FORCE_UFLOW.
4090         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
4091         (flt_min): Replace with use of DEFINE_FLT_MIN.
4092         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
4093         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
4094         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4095         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
4096         main computation.
4097         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
4098         (flt_min): Replace with use of DEFINE_FLT_MIN.
4099         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
4100         main computation.
4101         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
4102         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4103         (MO): New macro.
4104         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
4105         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
4106         (flt_min): Replace with use of DEFINE_FLT_MIN.
4107         (MO): New macro.
4108         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
4109         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
4110         (__log1pl): Use MO.
4112         [BZ #19003]
4113         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
4114         $(config-cflags-nofma).
4116 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4118         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4120 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
4122         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
4123         (TWO127): Likewise.
4125         * sysdeps/generic/math_private.h (fabs_tg): New macro.
4126         (min_of_type): Likewise.
4127         (math_check_force_underflow): Likewise.
4128         (math_check_force_underflow_nonneg): Likewise.
4129         (math_check_force_underflow_complex): Likewise.
4130         * math/e_exp2l.c (__ieee754_exp2l): Use
4131         math_check_force_underflow_nonneg.
4132         * math/k_casinh.c (__kernel_casinh): Likewise.
4133         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4134         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4135         * math/s_catan.c (__catan): Use
4136         math_check_force_underflow_complex.
4137         * math/s_catanf.c (__catanf): Likewise.
4138         * math/s_catanh.c (__catanh): Likewise.
4139         * math/s_catanhf.c (__catanhf): Likewise.
4140         * math/s_catanhl.c (__catanhl): Likewise.
4141         * math/s_catanl.c (__catanl): Likewise.
4142         * math/s_ccosh.c (__ccosh): Likewise.
4143         * math/s_ccoshf.c (__ccoshf): Likewise.
4144         * math/s_ccoshl.c (__ccoshl): Likewise.
4145         * math/s_cexp.c (__cexp): Likewise.
4146         * math/s_cexpf.c (__cexpf): Likewise.
4147         * math/s_cexpl.c (__cexpl): Likewise.
4148         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
4149         * math/s_clog10.c (__clog10): Likewise.
4150         * math/s_clog10f.c (__clog10f): Likewise.
4151         * math/s_clog10l.c (__clog10l): Likewise.
4152         * math/s_clogf.c (__clogf): Likewise.
4153         * math/s_clogl.c (__clogl): Likewise.
4154         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
4155         * math/s_csinf.c (__csinf): Likewise.
4156         * math/s_csinh.c (__csinh): Likewise.
4157         * math/s_csinhf.c (__csinhf): Likewise.
4158         * math/s_csinhl.c (__csinhl): Likewise.
4159         * math/s_csinl.c (__csinl): Likewise.
4160         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
4161         * math/s_csqrtf.c (__csqrtf): Likewise.
4162         * math/s_csqrtl.c (__csqrtl): Likewise.
4163         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
4164         * math/s_ctanf.c (__ctanf): Likewise.
4165         * math/s_ctanh.c (__ctanh): Likewise.
4166         * math/s_ctanhf.c (__ctanhf): Likewise.
4167         * math/s_ctanhl.c (__ctanhl): Likewise.
4168         * math/s_ctanl.c (__ctanl): Likewise.
4169         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
4170         instead of volatile.
4171         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
4172         math_check_force_underflow.
4173         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4174         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
4175         volatile when forcing underflow.
4176         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4177         math_check_force_underflow_nonneg.
4178         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4179         Likewise.
4180         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
4181         math_check_force_underflow.
4182         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4183         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4184         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4185         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
4186         math_check_force_underflow_nonneg.
4187         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
4188         math_check_force_underflow.
4189         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4190         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
4191         instead of volatile.
4192         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
4193         math_check_force_underflow.
4194         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4195         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4196         math_check_force_underflow_nonneg.
4197         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
4198         math_check_force_underflow.
4199         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
4200         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4201         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
4202         math_check_force_underflow_nonneg.
4203         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4204         Likewise.
4205         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
4206         math_check_force_underflow.
4207         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4208         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4209         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4210         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
4211         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4212         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
4213         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4214         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4215         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4216         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
4217         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
4218         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4219         Likewise.
4220         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
4221         math_check_force_underflow_nonneg.
4222         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4223         Likewise.
4224         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
4225         math_check_force_underflow.
4226         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4227         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4228         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4229         Likewise.
4230         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4231         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
4232         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
4233         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
4234         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
4235         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4236         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
4237         instead of volatile.
4238         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
4239         math_check_force_underflow.
4240         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4241         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
4242         math_check_force_underflow.
4243         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
4244         Likewise.
4245         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4246         Use math_check_force_underflow_nonneg.
4247         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
4248         math_check_force_underflow.
4249         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4250         Likewise.
4251         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4252         Likewise.
4253         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4254         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4255         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4256         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4257         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
4258         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4259         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4260         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4261         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
4262         math_check_force_underflow_nonneg.
4263         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
4264         math_check_force_underflow.
4265         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4266         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4267         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
4268         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
4269         math_check_force_underflow_nonneg.
4270         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
4271         math_check_force_underflow.
4272         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4273         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
4274         instead of volatile.
4275         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
4276         math_check_force_underflow.
4278         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
4279         * stdlib/strtod_l.c: Include <math_private.h>.
4280         (overflow_value): Use math_narrow_eval.
4281         (underflow_value): Likewise.
4282         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4283         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4284         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
4285         (__ieee754_gamma_r): Likewise.
4286         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
4287         Likewise.
4288         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4289         Likewise.
4290         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4291         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
4292         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4293         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4294         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4295         (__ieee754_gammaf_r): Likewise.
4296         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4297         Likewise.
4298         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4299         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
4300         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4301         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4302         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
4303         volatile.
4304         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4305         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
4306         math_narrow_eval.
4307         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4308         Likewise.
4309         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4310         Likewise.
4311         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
4312         Likewise.
4313         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
4314         volatile.
4315         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4316         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
4317         math_narrow_eval.
4318         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4319         Likewise.
4320         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4321         Likewise.
4323 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
4325         * nptl/Versions: Remove ignored symbols.
4327 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4329         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
4330         * nss/Makefile (tests): Update.
4332 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4334         * nss/bug18287.c: New file.
4335         * nss/Makefile (tests): Add bug18287.
4337 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4339         * mach/Versions (__mach_host_self_): Add symbol.
4341 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4343         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
4344         vm_page_size.
4346 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4348         Really fix sysdeps/i386/fpu/s_scalbn.S build
4350         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
4351         (libc: GLIBC_2_22): Remove unused version set.
4353 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4355         * config.make.in (enable-timezone-tools): New variable.
4356         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
4357         (enable_timezone_tools): Export to generated files.
4358         * configure: Regenerate.
4359         * INSTALL: Regenerate.
4360         * manual/install.texi (--disable-timezone-tools): Document new flag.
4361         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
4362         ifeq ($(enable-timezone-tools),yes) check.
4364 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4366         * timezone/Makefile: Revert previous change.
4368         [BZ #18980]
4369         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
4370         (DEFINE_DBL_MIN): Likewise.
4371         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4372         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4373         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4374         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4375         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
4376         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4377         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4378         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
4379         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
4380         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4381         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4382         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
4383         (flt_min): Replace with use of DEFINE_FLT_MIN.
4384         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4385         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
4386         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4387         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4388         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
4389         (flt_min): Replace with use of DEFINE_FLT_MIN.
4390         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4391         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
4392         (flt_min): Replace with use of DEFINE_FLT_MIN.
4393         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4394         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
4395         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
4396         (__ieee754_hypot): Use DBL_NARROW_EVAL.
4397         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
4398         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
4399         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
4400         (__ieee754_pow): Use DBL_NARROW_EVAL.
4401         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
4402         (__ieee754_powf): Use FLT_NARROW_EVAL.
4403         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
4404         (__ieee754_expf_sse2): Convert double-precision result to single
4405         precision.
4406         * sysdeps/i386/fpu/libm-test-ulps: Update.
4408 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4410         * timezone/Makefile: Ignore unused variable errors due to private.h
4411         (time_t_min) and (time_t_max).
4412         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
4413         Likewise.
4415 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4417         [BZ #18981]
4418         * sysdeps/i386/fpu/i386-math-asm.h: New file.
4419         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
4420         (__ieee754_scalb): Use DBL_NARROW_EVAL.
4421         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
4422         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
4423         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
4424         (__scalbn): Use DBL_NARROW_EVAL.
4425         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
4426         (__scalbnf): Use FLT_NARROW_EVAL.
4428 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4430         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
4431         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
4432         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
4433         * stdio-common/printf_fp.c (___printf_fp):
4434         Use signbit to get the sign. Use isinf macro to allow inlining.
4435         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
4436         * stdio-common/printf_size.c (__printf_size): Likewise.
4438 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4440         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
4442 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4444         [BZ #18980]
4445         * sysdeps/generic/math_private.h: Include <float.h>.
4446         (math_narrow_eval): New macro.
4447         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
4448         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
4449         math_narrow_eval on overflowing return value.
4450         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
4451         Likewise.
4452         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4453         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
4454         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
4455         Likewise.
4456         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4458 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4460         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
4461         * math/Makefile: Remove isinf_ns.c.
4462         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
4463         * math/multc3.c (__multc3): Likewise.
4464         * math/s_casin.c (__casin): Likewise.
4465         * math/s_casinf.c (__casinf): Likewise.
4466         * math/s_casinl.c (__casinl): Likewise.
4467         * math/s_cproj.c (__cproj): Likewise.
4468         * math/s_cprojf.c (__cprojf): Likewise.
4469         * math/s_cprojl.c (__cprofl): Likewise.
4470         * math/s_ctan.c (__ctan): Likewise.
4471         * math/s_ctanf.c (__ctanf): Likewise.
4472         * math/s_ctanh.c (__ctanh): Likewise.
4473         * math/s_ctanhf.c (__ctanhf): Likewise.
4474         * math/s_ctanhl.c (__ctanhl): Likewise.
4475         * math/s_ctanl.c (__ctanl): Likewise.
4476         * math/w_fmod.c (__fmod): Likewise.
4477         * math/w_fmodf.c (__fmodf): Likewise.
4478         * math/w_fmodl.c (_fmodl): Likewise.
4479         * math/w_remainder.c (__remainder): Likewise.
4480         * math/w_remainderf.c (__remainderf): Likewise.
4481         * math/w_remainderl.c (__remainderl): Likewise.
4482         * math/w_scalb.c (__scalb): Likewise.
4483         * math/w_scalbf.c (__scalbf): Likewise.
4484         * math/w_scalbl.c (__scalbl): Likewise.
4485         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
4486         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
4487         with isinf.
4488         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
4489         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
4490         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
4491         __isinf_nsf with isinf.
4492         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
4493         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
4494         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
4495         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
4496         with isinf.
4497         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
4498         __isinf_nsl with isinf.
4499         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
4500         with isinf.
4501         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
4502         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
4503         __isinf_nsl with isinf.
4504         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
4505         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
4506         with isinf.
4508 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4510         * resolv/base64.c (rcsid): Remove unused static.
4511         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
4512         static.  (tqpi1): Likewise.
4513         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
4514         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
4515         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
4516         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
4517         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
4518         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
4519         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
4520         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
4521         Likewise.
4523 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
4525         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
4526         <nptl/pthreadP.h>.
4527         (_longjmp_unwind): Use __libc_ptf_call.
4528         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
4530 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
4532         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
4533         * sysdeps/arm/__longjmp.S: Likewise
4535 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4537         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
4538         Use __builtin_signbit.
4539         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
4540         Use __builtin_signbitf.
4541         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
4542         Use __builtin_signbitl.
4543         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4544         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
4546 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4548         [BZ #15367]
4549         [BZ #17441]
4551         * math/Makefile: Build test-snan.c with -fsignaling-nans.
4552         * math/math.h (fpclassify): Use __builtin_fpclassify when
4553         available.  (signbit): Use __builtin_signbit(f/l).
4554         (isfinite): Use__builtin_isfinite.  (isnormal): Use
4555         __builtin_isnormal.  (isnan): Use __builtin_isnan.
4556         (isinf): Use __builtin_isinf_sign.
4558 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4560         * benchtests/Makefile: Add bench-math-inlines, link with libm.
4561         * benchtests/bench-math-inlines.c: New benchmark.
4562         * benchtests/bench-util.h: New file.
4563         * benchtests/bench-util.c: New file.
4564         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
4566 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
4568         * elf/tst-dlmopen1.c: Define TEST_SO.
4569         (do_test): Use TEST_SO.
4571         * elf/dl-load.c: Include libc-internal.h.
4572         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
4574 2015-09-18  Vincent Bernat  <vincent@bernat.im>
4576         [BZ #17887]
4577         * time/strptime_l.c (__strptime_internal): Make %z accept
4578         [+-]HH:MM time zones.
4580 2015-09-18  Vincent Bernat  <vincent@bernat.im>
4582         [BZ #17886]
4583         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
4584         valid time zone.
4586 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
4588         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
4589         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
4590         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4591         (__ASSUME_FDATASYNC): Delete.
4593 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4595         * conform/linknamespace.pl: Require weak undefined symbols to be
4596         in the standard namespace.
4597         (%strong_syms): Rename to %seen_syms.
4598         (%strong_seen): Rename to %seen_where.
4600 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
4602         [BZ #18970]
4603         * misc/error.c (error): Replace pthread_setcancelstate with
4604         __pthread_setcancelstate.
4605         (error_at_line): Likewise.
4606         * posix/wordexp.c (parse_comm): Likewise.
4607         * stdlib/fmtmsg.c (fmtmsg): Likewise.
4608         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
4609         (__pthread_setcancelstate): This.
4610         (pthread_setcancelstate): Add an alias.
4611         * nptl/nptl-init.c (pthread_functions): Replace
4612         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
4613         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
4614         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
4615         hidden_proto.
4616         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
4617         it with hidden_def.
4618         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
4619         (pthread_setcancelstate): Renamed to ...
4620         (__pthread_setcancelstate): This.
4621         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
4622         __libc_ptf_call with __pthread_setcancelstate.
4624 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4625             Andreas Schwab  <schwab@suse.de>
4627         [BZ #17118]
4628         * math/s_ctan.c (__ctan): Determine sign of zero real part of
4629         result when imaginary part of argument is infinite using sine and
4630         cosine.
4631         * math/s_ctanf.c (__ctanf): Likewise.
4632         * math/s_ctanl.c (__ctanl): Likewise.
4633         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
4634         of result when real part of argument is infinite using sine and
4635         cosine.
4636         * math/s_ctanhf.c (__ctanhf): Likewise.
4637         * math/s_ctanhl.c (__ctanhl): Likewise.
4638         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
4639         (ctanh_test_data): Add more tests of ctanh.
4641 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4643         [BZ #15384]
4644         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
4645         bit-mask as in subtraction.
4646         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
4647         Likewise.
4648         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
4649         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
4650         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
4652         [BZ #18951]
4653         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
4654         underflow exception for small results.
4655         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4656         Likewise.
4657         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4658         Likewise.
4659         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4660         Likewise.
4661         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4662         Likewise.
4663         * math/auto-libm-test-in: Add more tests of tgamma.
4664         * math/auto-libm-test-out: Regenerated.
4666 2015-09-17  Andreas Schwab  <schwab@suse.de>
4668         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
4670 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
4672         [BZ #18977]
4673         * math/bits/mathcalls.h
4674         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
4675         not declare.
4676         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
4677         Likewise.
4678         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
4679         Likewise.
4680         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
4681         Likewise.
4682         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
4683         Likewise.
4684         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
4685         Likewise.
4686         * conform/data/math.h-data
4687         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
4688         function.
4689         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
4690         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
4691         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
4692         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
4693         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
4694         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
4695         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
4696         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
4697         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
4698         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
4699         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
4701         [BZ #6803]
4702         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
4703         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
4704         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
4705         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
4706         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
4707         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
4708         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
4709         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
4710         [NO_LONG_DOUBLE] (scalbnl): Likewise.
4711         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
4712         Likewise.
4713         [NO_LONG_DOUBLE] (scalbnl): Likewise.
4714         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
4715         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
4716         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
4717         long_double_symbol calls.
4718         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
4719         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
4720         strong alias of __ldexpl.
4721         (scalbnl): Define using long_double_symbol.
4722         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
4723         Remove alias.
4724         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
4725         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
4726         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
4727         (scalbln_test_data): Add more errno expectations.
4729 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
4731         Cache the host port like we cache the task port.  This way we do not
4732         need to call the kernel just to get the port.  Furthermore, we no
4733         longer increase the reference count on every invocation of
4734         `mach_host_self'.
4736         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
4737         Protect declarations against the macro expansion.
4738         * mach/mach_init.c (__mach_host_self_): New variable.
4739         (mach_init): Initialize `__mach_host_self_'.
4740         * mach/mach_init.h (__mach_host_self_): New declaration.
4741         (__mach_host_self, mach_host_self): New macros.
4742         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
4743         Release reference.
4745 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
4747         [BZ #4404]
4748         * po/de.po: Update from Translation Project.
4750         [BZ #16415]
4751         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
4752         (__expm1l): Remove code to handle positive infinity and overflow.
4753         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
4754         variable.
4755         (__expm1l): Remove code to handle positive infinity and overflow.
4757 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
4758             Paul Pluzhnikov  <ppluzhnikov@google.com>
4760         [BZ #18872]
4761         * stdio-common/Makefile (tst-printf-bz18872): New test.
4762         (tst-printf-bz18872-mem.out): Likewise.
4763         * stdio-common/tst-printf-bz18872.sh: Generate new test.
4764         * stdio-common/vfprintf.c: Fix memory leaks.
4766 2015-09-16  Andreas Schwab  <schwab@suse.de>
4768         [BZ #17244]
4769         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
4770         Remove extra va_start/va_end calls.
4772         [BZ #17243]
4773         * posix/execl.c (execl): Add missing va_end.
4774         * posix/execle.c (execle): Likewise.
4775         * posix/execlp.c (execlp): Likewise.
4777 2015-09-15  Roland McGrath  <roland@hack.frob.com>
4779         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
4780         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
4782 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
4784         [BZ #18967]
4785         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
4786         undefine around includes of <bits/mathcalls.h>.
4787         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
4788         not declare function.
4789         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
4790         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
4791         (scalb): Likewise.
4792         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
4793         not define macro.
4794         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
4795         variable.
4796         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4797         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4798         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4800         [BZ #18857]
4801         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
4802         return non-finite argument without doing ordered comparisons on
4803         it.
4805         [BZ #16296]
4806         * math/fenv.h (fegetround): Use __attribute_pure__.
4807         * include/fenv.h (__fegetround): Likewise.
4809         [BZ #18595]
4810         * math/s_ctan.c (__ctan): Force underflow exception for results
4811         whose real or imaginary part has small absolute value.
4812         * math/s_ctanf.c (__ctanf): Likewise.
4813         * math/s_ctanh.c (__ctanh): Likewise.
4814         * math/s_ctanhf.c (__ctanhf): Likewise.
4815         * math/s_ctanhl.c (__ctanhl): Likewise.
4816         * math/s_ctanl.c (__ctanl): Likewise.
4817         * math/auto-libm-test-in: Do not allow missing underflow for ctan
4818         and ctanh.  Add more tests of ctan and ctanh.
4820         [BZ #15918]
4821         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
4822         handling of cases where one argument is an infinity.
4824         [BZ #18875]
4825         [BZ #18966]
4826         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
4827         (MO): New macro.
4828         (__ieee754_exp10): For small results, force underflow exception
4829         and remove excess range and precision from return value.
4830         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
4831         (MO): New macro.
4832         (__ieee754_exp10f): For small results, force underflow exception
4833         and remove excess range and precision from return value.
4834         * math/auto-libm-test-in: Add more tests of exp10.
4835         * math/auto-libm-test-out: Regenerated.
4837 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
4839         [BZ #18875]
4840         [BZ #18961]
4841         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
4842         (MO): New macro.
4843         (__ieee754_exp): For small results, force underflow exception and
4844         remove excess range and precision from return value.
4845         (__exp_finite): Likewise.
4846         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
4847         (MO): New macro.
4848         (__ieee754_expf): For small results, force underflow exception and
4849         remove excess range and precision from return value.
4850         (__expf_finite): Likewise.
4851         * math/auto-libm-test-in: Add more tests of exp.
4852         * math/auto-libm-test-out: Regenerated.
4854         [BZ #16521]
4855         [BZ #18875]
4856         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
4857         small results.
4858         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
4859         (MO): New macro.
4860         (__ieee754_exp2): For small results, force underflow exception and
4861         remove excess range and precision from return value.
4862         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
4863         (MO): New macro.
4864         (__ieee754_exp2f): For small results, force underflow exception
4865         and remove excess range and precision from return value.
4866         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
4867         (MO): New macro.
4868         (__ieee754_exp2l): Force underflow exception for small results.
4869         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4870         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4871         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
4872         (MO): New macro.
4873         (__ieee754_exp2l): Force underflow exception for small results.
4874         * math/auto-libm-test-in: Add more tests or exp2.
4875         * math/auto-libm-test-out: Regenerated.
4877 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
4879         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
4881         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
4882         /dev/null.
4884 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4886         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4887         io fs process)): Drop spurious backslash.
4889 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4891         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
4892         Use sysinfo system call instead of parsing /proc/meminfo.
4893         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
4894         Likewise.
4896 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
4898         [BZ #16985]
4899         * programs/localedef.c (main): Display argv[remaining] when
4900         output_path is NULL.
4902 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4904         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4905         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
4906         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
4907         tanh.
4908         * math/auto-libm-test-out: Regenerated.
4909         * sysdeps/i386/fpu/libm-test-ulps: Update.
4910         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4911         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4914 2015-09-11  Roland McGrath  <roland@hack.frob.com>
4916         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
4917         Use 'override' keyword to freeze the value here, preventing
4918         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
4920 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4922         [BZ #14912]
4923         * sysdeps/aarch64/bits/atomic.h: Move to ...
4924         * sysdeps/aarch64/atomic-machine.h: ...here.
4925         (_AARCH64_BITS_ATOMIC_H): Rename macro to
4926         _AARCH64_ATOMIC_MACHINE_H.
4927         * sysdeps/alpha/bits/atomic.h: Move to ...
4928         * sysdeps/alpha/atomic-machine.h: ...here.
4929         * sysdeps/arm/bits/atomic.h: Move to ...
4930         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
4931         * bits/atomic.h: Move to ...
4932         * sysdeps/generic/atomic-machine.h: ...here.
4933         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4934         * sysdeps/i386/bits/atomic.h: Move to ...
4935         * sysdeps/i386/atomic-machine.h: ...here.
4936         * sysdeps/ia64/bits/atomic.h: Move to ...
4937         * sysdeps/ia64/atomic-machine.h: ...here.
4938         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
4939         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
4940         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4941         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
4942         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
4943         * sysdeps/microblaze/bits/atomic.h: Move to ...
4944         * sysdeps/microblaze/atomic-machine.h: ...here.
4945         * sysdeps/mips/bits/atomic.h: Move to ...
4946         * sysdeps/mips/atomic-machine.h: ...here.
4947         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
4948         * sysdeps/powerpc/bits/atomic.h: Move to ...
4949         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
4950         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
4951         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
4952         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
4953         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
4954         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
4955         <atomic-machine.h> instead of <bits/atomic.h>.
4956         * sysdeps/s390/bits/atomic.h: Move to ...
4957         * sysdeps/s390/atomic-machine.h: ...here.
4958         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
4959         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
4960         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4961         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
4962         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
4963         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
4964         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
4965         * sysdeps/tile/bits/atomic.h: Move to ...
4966         * sysdeps/tile/atomic-machine.h: ...here.
4967         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
4968         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
4969         <sysdeps/tile/atomic-machine.h> instead of
4970         <sysdeps/tile/bits/atomic.h>.
4971         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4972         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
4973         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
4974         <sysdeps/tile/atomic-machine.h> instead of
4975         <sysdeps/tile/bits/atomic.h>.
4976         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4977         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
4978         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
4979         <sysdeps/arm/atomic-machine.h> instead of
4980         <sysdeps/arm/bits/atomic.h>.
4981         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
4982         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
4983         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4984         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
4985         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
4986         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4987         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
4988         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
4989         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
4990         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
4991         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
4992         * sysdeps/x86_64/bits/atomic.h: Move to ...
4993         * sysdeps/x86_64/atomic-machine.h: ...here.
4994         * include/atomic.h: Include <atomic-machine.h> instead of
4995         <bits/atomic.h>.
4997         * sysdeps/mips/mips32/libm-test-ulps: Update.
4998         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5000         [BZ #18952]
5001         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
5002         not convert non-integer negative arguments to int to determine the
5003         value of signgam.
5004         * math/auto-libm-test-in: Add more tests of lgamma.
5005         * math/auto-libm-test-out: Regenerated.
5007         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
5008         cosh, csqrt, erfc, expm1 and lgamma.
5009         * math/auto-libm-test-out: Regenerated.
5010         * sysdeps/i386/fpu/libm-test-ulps: Update.
5011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5013 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
5015         [BZ #2542]
5016         [BZ #2543]
5017         [BZ #2558]
5018         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
5019         __lgamma_neg for arguments from -28.0 to -2.0.
5020         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
5021         __lgamma_negf for arguments from -15.0 to -2.0.
5022         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5023         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
5024         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
5025         Call __lgamma_negl for arguments from -33.0 to -2.0.
5026         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
5027         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5028         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5029         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
5030         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5031         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5032         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5033         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
5034         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5035         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5036         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
5037         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
5038         (__lgamma_neg): Likewise.
5039         (__lgamma_negl): Likewise.
5040         (__lgamma_product): Likewise.
5041         (__lgamma_productl): Likewise.
5042         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
5043         * math/auto-libm-test-in: Add more tests of lgamma.
5044         * math/auto-libm-test-out: Regenerated.
5045         * sysdeps/i386/fpu/libm-test-ulps: Update.
5046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5048 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
5050         [BZ #18675]
5051         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
5053 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
5055         [BZ #14912]
5056         * bits/libc-lock.h: Move to ...
5057         * sysdeps/generic/libc-lock.h: ...here.
5058         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5059         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
5060         * sysdeps/mach/hurd/libc-lock.h: ...here.
5061         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5062         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
5063         * sysdeps/mach/bits/libc-lock.h: Move to ...
5064         * sysdeps/mach/libc-lock.h: ...here.
5065         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5066         * sysdeps/nptl/bits/libc-lock.h: Move to ...
5067         * sysdeps/nptl/libc-lock.h: ...here.
5068         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5069         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
5070         * sysdeps/nptl/libc-lockP.h: ...here.
5071         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
5072         * crypt/crypt_util.c: Include <libc-lock.h> instead of
5073         <bits/libc-lock.h>.
5074         * dirent/scandir-tail.c: Likewise.
5075         * dlfcn/dlerror.c: Likewise.
5076         * elf/dl-close.c: Likewise.
5077         * elf/dl-iteratephdr.c: Likewise.
5078         * elf/dl-lookup.c: Likewise.
5079         * elf/dl-open.c: Likewise.
5080         * elf/dl-support.c: Likewise.
5081         * elf/dl-writev.h: Likewise.
5082         * elf/rtld.c: Likewise.
5083         * grp/fgetgrent.c: Likewise.
5084         * gshadow/fgetsgent.c: Likewise.
5085         * gshadow/sgetsgent.c: Likewise.
5086         * iconv/gconv_conf.c: Likewise.
5087         * iconv/gconv_db.c: Likewise.
5088         * iconv/gconv_dl.c: Likewise.
5089         * iconv/gconv_int.h: Likewise.
5090         * iconv/gconv_trans.c: Likewise.
5091         * include/link.h: Likewise.
5092         * inet/getnameinfo.c: Likewise.
5093         * inet/getnetgrent.c: Likewise.
5094         * inet/getnetgrent_r.c: Likewise.
5095         * intl/bindtextdom.c: Likewise.
5096         * intl/dcigettext.c: Likewise.
5097         * intl/finddomain.c: Likewise.
5098         * intl/gettextP.h: Likewise.
5099         * intl/loadmsgcat.c: Likewise.
5100         * intl/localealias.c: Likewise.
5101         * intl/textdomain.c: Likewise.
5102         * libidn/idn-stub.c: Likewise.
5103         * libio/libioP.h: Likewise.
5104         * locale/duplocale.c: Likewise.
5105         * locale/freelocale.c: Likewise.
5106         * locale/newlocale.c: Likewise.
5107         * locale/setlocale.c: Likewise.
5108         * login/getutent_r.c: Likewise.
5109         * login/getutid_r.c: Likewise.
5110         * login/getutline_r.c: Likewise.
5111         * login/utmp-private.h: Likewise.
5112         * login/utmpname.c: Likewise.
5113         * malloc/mtrace.c: Likewise.
5114         * misc/efgcvt.c: Likewise.
5115         * misc/error.c: Likewise.
5116         * misc/fstab.c: Likewise.
5117         * misc/getpass.c: Likewise.
5118         * misc/mntent.c: Likewise.
5119         * misc/syslog.c: Likewise.
5120         * nis/nis_call.c: Likewise.
5121         * nis/nis_callback.c: Likewise.
5122         * nis/nss-default.c: Likewise.
5123         * nis/nss_compat/compat-grp.c: Likewise.
5124         * nis/nss_compat/compat-initgroups.c: Likewise.
5125         * nis/nss_compat/compat-pwd.c: Likewise.
5126         * nis/nss_compat/compat-spwd.c: Likewise.
5127         * nis/nss_nis/nis-alias.c: Likewise.
5128         * nis/nss_nis/nis-ethers.c: Likewise.
5129         * nis/nss_nis/nis-grp.c: Likewise.
5130         * nis/nss_nis/nis-hosts.c: Likewise.
5131         * nis/nss_nis/nis-network.c: Likewise.
5132         * nis/nss_nis/nis-proto.c: Likewise.
5133         * nis/nss_nis/nis-pwd.c: Likewise.
5134         * nis/nss_nis/nis-rpc.c: Likewise.
5135         * nis/nss_nis/nis-service.c: Likewise.
5136         * nis/nss_nis/nis-spwd.c: Likewise.
5137         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5138         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5139         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5140         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5141         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
5142         * nis/nss_nisplus/nisplus-network.c: Likewise.
5143         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5144         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5145         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5146         * nis/nss_nisplus/nisplus-service.c: Likewise.
5147         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5148         * nis/ypclnt.c: Likewise.
5149         * nptl/libc_pthread_init.c: Likewise.
5150         * nss/getXXbyYY.c: Likewise.
5151         * nss/getXXent.c: Likewise.
5152         * nss/getXXent_r.c: Likewise.
5153         * nss/nss_db/db-XXX.c: Likewise.
5154         * nss/nss_db/db-netgrp.c: Likewise.
5155         * nss/nss_db/nss_db.h: Likewise.
5156         * nss/nss_files/files-XXX.c: Likewise.
5157         * nss/nss_files/files-alias.c: Likewise.
5158         * nss/nsswitch.c: Likewise.
5159         * posix/regex_internal.h: Likewise.
5160         * posix/wordexp.c: Likewise.
5161         * pwd/fgetpwent.c: Likewise.
5162         * resolv/res_hconf.c: Likewise.
5163         * resolv/res_libc.c: Likewise.
5164         * shadow/fgetspent.c: Likewise.
5165         * shadow/lckpwdf.c: Likewise.
5166         * shadow/sgetspent.c: Likewise.
5167         * socket/opensock.c: Likewise.
5168         * stdio-common/reg-modifier.c: Likewise.
5169         * stdio-common/reg-printf.c: Likewise.
5170         * stdio-common/reg-type.c: Likewise.
5171         * stdio-common/vfprintf.c: Likewise.
5172         * stdio-common/vfscanf.c: Likewise.
5173         * stdlib/abort.c: Likewise.
5174         * stdlib/cxa_atexit.c: Likewise.
5175         * stdlib/fmtmsg.c: Likewise.
5176         * stdlib/random.c: Likewise.
5177         * stdlib/setenv.c: Likewise.
5178         * string/strsignal.c: Likewise.
5179         * sunrpc/auth_none.c: Likewise.
5180         * sunrpc/bindrsvprt.c: Likewise.
5181         * sunrpc/create_xid.c: Likewise.
5182         * sunrpc/key_call.c: Likewise.
5183         * sunrpc/rpc_thread.c: Likewise.
5184         * sysdeps/arm/backtrace.c: Likewise.
5185         * sysdeps/generic/ldsodefs.h: Likewise.
5186         * sysdeps/generic/stdio-lock.h: Likewise.
5187         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
5188         * sysdeps/i386/backtrace.c: Likewise.
5189         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5190         * sysdeps/m68k/backtrace.c: Likewise.
5191         * sysdeps/mach/hurd/cthreads.c: Likewise.
5192         * sysdeps/mach/hurd/dirstream.h: Likewise.
5193         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5194         * sysdeps/nptl/malloc-machine.h: Likewise.
5195         * sysdeps/nptl/stdio-lock.h: Likewise.
5196         * sysdeps/posix/dirstream.h: Likewise.
5197         * sysdeps/posix/getaddrinfo.c: Likewise.
5198         * sysdeps/posix/system.c: Likewise.
5199         * sysdeps/pthread/aio_suspend.c: Likewise.
5200         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5201         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5202         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5203         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5204         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
5205         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
5206         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
5207         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5208         * sysdeps/unix/sysv/linux/system.c: Likewise.
5209         * sysdeps/x86_64/backtrace.c: Likewise.
5210         * time/alt_digit.c: Likewise.
5211         * time/era.c: Likewise.
5212         * time/tzset.c: Likewise.
5213         * wcsmbs/wcsmbsload.c: Likewise.
5214         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
5215         instead of <bits/libc-lock.h> in comment.
5217 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
5219         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
5220         Only use .set mips2 if the current ISA is below mips2.
5221         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
5222         Likewise.
5223         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
5224         mips32r2 if the current ISA is below mips32r2.
5225         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
5226         (TLS_IE): Updated to use the TLD_RDHWR macro.
5227         (TLS_LE): Likewise.
5228         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
5229         __ASSEMBLER__ condition.
5231 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5233         Fix parallel build of before-compile targets.
5235         * sysdeps/mach/Makefile ($(patsubst
5236         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
5237         mach-before-compile target.
5238         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5239         io fs process)): Move rule to dedicated hurd-before-compile target.
5241 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5243         Fix rules generating headers in hurd/ and mach/ when initial make call
5244         has subdir= explicitly set.
5246         * sysdeps/mach/Makefile ($(patsubst
5247         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
5248         calling $(MAKE).
5249         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5250         io fs process)): Force subdir to hurd when calling $(MAKE).
5251         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
5252         subdir to mach when calling $(MAKE).
5254 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
5256         Check sysheaders when looking for Mach and Hurd headers
5258         * sysdeps/mach/configure.ac: Add sysheaders check.
5259         * sysdeps/mach/configure: Regenerate.
5260         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
5261         * sysdeps/mach/hurd/configure: Regenerate.
5263 2015-09-04  Roland McGrath  <roland@hack.frob.com>
5265         [BZ #18921]
5266         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
5267         Fix inverted sense of test of 'o_directory_works' value.
5268         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
5269         Bernhard Voelker <mail@bernhard-voelker.de>.
5271 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5273         [BZ #14912]
5274         * bits/linkmap.h: Move to ...
5275         * sysdeps/generic/linkmap.h: ...here.
5276         * sysdeps/aarch64/bits/linkmap.h: Move to ...
5277         * sysdeps/aarch64/linkmap.h: ...here.
5278         * sysdeps/arm/bits/linkmap.h: Move to ...
5279         * sysdeps/arm/linkmap.h: ...here.
5280         * sysdeps/hppa/bits/linkmap.h: Move to ...
5281         * sysdeps/hppa/linkmap.h: ...here.
5282         * sysdeps/ia64/bits/linkmap.h: Move to ...
5283         * sysdeps/ia64/linkmap.h: ...here.
5284         * sysdeps/mips/bits/linkmap.h: Move to ...
5285         * sysdeps/mips/linkmap.h: ...here.
5286         * sysdeps/s390/bits/linkmap.h: Move to ...
5287         * sysdeps/s390/linkmap.h: ...here.
5288         * sysdeps/sh/bits/linkmap.h: Move to ...
5289         * sysdeps/sh/linkmap.h: ...here.
5290         * sysdeps/x86/bits/linkmap.h: Move to ...
5291         * sysdeps/x86/linkmap.h: ...here.
5292         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
5294 2015-09-04  Andreas Schwab  <schwab@suse.de>
5296         [BZ #18635]
5297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
5298         (__makecontext): Terminate FDE before return label.
5299         (__novec_makecontext): Likewise.
5301 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5303         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
5304         first member of struct sv in syscall macro.
5306 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5308         [BZ #14912]
5309         * bits/stdio-lock.h: Move to ...
5310         * sysdeps/generic/stdio-lock.h: ...here.
5311         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5312         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
5313         * sysdeps/nptl/stdio-lock.h: ...here.
5314         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5315         * include/libio.h: Include <stdio-lock.h> instead of
5316         <bits/stdio-lock.h>.
5317         * sysdeps/nptl/fork.c: Likewise.
5318         * sysdeps/pthread/flockfile.c: Likewise.
5319         * sysdeps/pthread/ftrylockfile.c: Likewise.
5320         * sysdeps/pthread/funlockfile.c: Likewise.
5322         [BZ #14912]
5323         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
5324         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
5325         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
5326         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
5327         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
5328         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5329         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
5331 2015-09-03  Roland McGrath  <roland@hack.frob.com>
5333         * elf/Makefile (test-xfail-tst-protected1a): New variable.
5334         (test-xfail-tst-protected1b): New variable.
5336 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
5338         [BZ #14912]
5339         * bits/libc-tsd.h: Move to ...
5340         * sysdeps/generic/libc-tsd.h: ...here.
5341         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
5342         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
5343         * sysdeps/mach/hurd/libc-tsd.h: ...here.
5344         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
5345         * include/ctype.h: Include <libc-tsd.h> instead of
5346         <bits/libc-tsd.h>.
5347         * include/rpc/rpc.h: Likewise.
5348         * locale/localeinfo.h: Likewise.
5349         * sunrpc/rpc_thread.c: Likewise.
5350         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5351         * sysdeps/nptl/malloc-machine.h: Likewise.
5353         * Makefile (headers): Remove bits/libc-lock.h.
5354         * libio/Makefile (headers): Remove bits/stdio-lock.h.
5356         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
5357         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
5358         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
5359         <bits/stdio-lock.h>.
5360         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
5361         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
5363 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5365         [BZ #18757]
5366         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
5367         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
5368         BZ #18757.
5370 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5372         * malloc/mtrace.pl: Filter out NULL entries.
5374 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
5376         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
5377         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
5378         macro.
5380         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
5381         (TCP_CC_INFO): Likewise.
5382         (TCP_SAVE_SYN): Likewise.
5383         (TCP_SAVED_SYN): Likewise.
5385 2015-08-31  Brett Neumeier <brett@neumeier.us>
5387         [BZ #18870]
5388         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
5390 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
5392         [BZ #18873]
5393         Fix broken overflow check in posix_fallocate
5394         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
5395         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5396         Fix parenthesization typo.
5398 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
5400         [BZ #18887]
5401         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
5402         tst-mntent-blank-passno.
5403         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
5404         * misc/tst-mntent-blank-corrupt.c: New test.
5405         * misc/tst-mntent-blank-passno.c: New test ripped from ...
5406         * misc/tst-mntent.c (do_test): ... here.
5408 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
5410         [BZ #4404]
5411         * po/de.po: Fix SIGALRM typo.
5413 2015-08-28  James Perkins  <james@loowit.net>
5415         * time/tst-strptime2.c (tests): Replace short list of test
5416         strings for strptime %z specifier with code which exhaustively
5417         tests every combination of sign and 0 to 5 digits. Tests for
5418         rejection of invalid strings.
5420 2015-08-28  James Perkins  <james@loowit.net>
5422         [BZ #16141]
5423         * time/strptime_l.c (__strptime_internal): Fix %z minutes
5424         calculation, removing incorrect decimal time rounding, so that
5425         all minute values result in a valid seconds value.
5426         * time/strptime_l.c (__strptime_internal): Extend %z time zone
5427         offset range limits to UTC-99:59 through UTC+99:59 to parse
5428         current and historical use cases.
5429         * time/tst-strptime2.c (tests): Modify and add tests for the
5430         strptime %z input field descriptor, specifically conversion of
5431         minutes to seconds and validating an offset range of -9959 to
5432         +9959.
5434 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5435             Dmitry V. Levin  <ldv@altlinux.org>
5437         [BZ #18877]
5438         * posix/Makefile (tests): Add tst-mmap-offset.
5439         * posix/tst-mmap.c: New file.
5440         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
5441         offset calculation for negative values.
5443 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5445         * sysdeps/i386/init-arch.h: New file.
5446         * sysdeps/i386/i586/init-arch.h: Likewise.
5447         * sysdeps/i386/i686/init-arch.h: Likewise.
5448         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
5449         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
5450         * sysdeps/x86/cpu-features.h (bit_I586): New.
5451         (bit_I686): Likewise.
5452         (bit_CX8): Likewise.
5453         (bit_CMOV): Likewise.
5454         (index_CX8): Likewise.
5455         (index_CMOV): Likewise.
5456         (index_I586): Likewise.
5457         (index_I686): Likewise.
5458         (reg_CX8): Likewise.
5459         (reg_CMOV): Likewise.
5460         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
5461         available at compile-time.
5462         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
5463         available at compile-time.
5464         * sysdeps/x86/init-arch.h (USE_I586): New macro.
5465         (USE_I686): Likewise.
5467 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5469         * sysdeps/i386/bcopy.S: New file.
5470         * sysdeps/i386/bzero.S: Likewise.
5471         * sysdeps/i386/memcpy.S: Likewise.
5472         * sysdeps/i386/memmove.S: Likewise.
5473         * sysdeps/i386/mempcpy.S: Likewise.
5474         * sysdeps/i386/memset.S: Likewise.
5475         * sysdeps/i386/bzero.c: Removed.
5476         * sysdeps/i386/memset.c: Likewise.
5477         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
5478         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
5479         * sysdeps/i386/i586/memset_chk.S: Likewise.
5480         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
5481         * sysdeps/i386/memcpy_chk.S: Here.
5482         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
5483         * sysdeps/i386/memmove_chk.S: Here.
5484         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
5485         * sysdeps/i386/mempcpy_chk.S: Likewise.
5486         * sysdeps/i386/i686/memset_chk.S: Moved to ...
5487         * sysdeps/i386/memset_chk.S: Likewise.
5489 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
5491         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
5492         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
5493         file, move DIAG_POP_NEEDS_COMMENT to end of file.
5494         * soft-fp/fmadf4.c: Ditto.
5495         * soft-fp/fmatf4.c: Ditto.
5497 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5499         * sysdeps/i386/i586/Implies: Removed.
5500         * sysdeps/i386/i686/Implies: Likewise.
5502 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5504         * sysdeps/i386/i486/strlen.S: Moved to ...
5505         * sysdeps/i386/strlen.S: Here.
5507 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5509         * sysdeps/i386/i486/strcat.S: Moved to ...
5510         * sysdeps/i386/strcat.S: Here.
5512 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5514         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
5515         * sysdeps/i386/pthread_spin_trylock.S: Here.
5516         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
5517         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
5519 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5521         * sysdeps/i386/i486/string-inlines.c: Moved to ...
5522         * sysdeps/i386/string-inlines.c: Here.
5524 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5526         * sysdeps/i386/i486/htonl.S: Moved ...
5527         * sysdeps/i386/htonl.S: here.
5529 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5531         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
5532         * sysdeps/i386/bits/atomic.h: Here.
5534 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5536         * sysdeps/i386/i486/Versions: Removed.
5538 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5540         [BZ #2898]
5541         * misc/mktemp.c: Add mkdtemp to the link_warning message.
5542         Based on patch by Aurelien Jarno.
5544 2015-08-26  Stan Shebs  <stanshebs@google.com>
5546         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
5547         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5549 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5551         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
5552         * sysdeps/powerpc/dl-procinfo.c:
5553         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
5554         feature so it shows when LD_SHOW_AUXV=1.
5556 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5558         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5559         (__arch_compare_and_exchange_val_32_acq): Remove and use common
5560         definition.  ISA 2.07B no longer requires full sync.
5562 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
5564         [BZ #18863]
5565         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
5566         (si_call_addr): Define.
5567         (si_syscall): Define.
5568         (si_arch): Define.
5570 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
5572         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
5573         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
5574         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
5575         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
5576         (__memset_zero_constant_len_parameter): New.
5577         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
5578         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
5579         (__memset_zero_constant_len_parameter): Don't define if
5580         __memset_chk or USE_AS_BZERO are defined.
5582         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
5583         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
5584         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
5586         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
5587         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
5588         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
5589         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
5590         comments.
5591         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
5592         -mno-mmx for $(all-rtld-routines).
5593         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
5594         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
5595         i386.
5597 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5599         * sysdeps/generic/unwind.h
5600         (_Unwind_Word): Use __mode__(__unwind_word__)
5601         instead of __mode__(__word__).
5602         (_Unwind_Sword): Likewise.
5604         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5605         (MAX_NEEDED_INPUT): New define.
5606         (MAX_NEEDED_OUTPUT): New define.
5608         * NEWS: New item for IBM z13 string optimizations.
5610         * sysdeps/s390/multiarch/memrchr-c.c: New File.
5611         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
5612         * sysdeps/s390/multiarch/memrchr.c: Likewise.
5613         * sysdeps/s390/multiarch/Makefile
5614         (sysdep_routines): Add memrchr functions.
5615         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5616         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
5618         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
5619         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
5620         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
5621         * sysdeps/s390/multiarch/Makefile
5622         (sysdep_routines): Add wmemcmp functions.
5623         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5624         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
5625         * benchtests/bench-wmemcmp.c: New File.
5626         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
5628         * sysdeps/s390/multiarch/wmemset-c.c: New File.
5629         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
5630         * sysdeps/s390/multiarch/wmemset.c: Likewise.
5631         * sysdeps/s390/multiarch/Makefile
5632         (sysdep_routines): Add wmemset functions.
5633         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5634         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
5635         * wcsmbs/wmemset.c: Use WMEMSET if defined.
5636         * string/test-memset.c: Add wmemset support.
5637         * wcsmbs/test-wmemset.c: New File.
5638         * wcsmbs/Makefile (strop-tests): Add wmemset.
5639         * benchtests/bench-memset.c: Add wmemset support.
5640         * benchtests/bench-wmemset.c: New File.
5641         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
5643         * sysdeps/s390/multiarch/memccpy-c.c: New File.
5644         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
5645         * sysdeps/s390/multiarch/memccpy.c: Likewise.
5646         * sysdeps/s390/multiarch/Makefile
5647         (sysdep_routines): Add memccpy functions.
5648         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5649         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
5650         * string/memccpy.c: Use MEMCCPY if defined.
5652         * sysdeps/s390/multiarch/memchr-vx.S: New File.
5653         * sysdeps/s390/multiarch/memchr.c: Likewise.
5654         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
5655         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
5656         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5657         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
5658         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
5659         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5660         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
5661         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5662         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
5663         and rawmemchr functions.
5664         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5665         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
5666         and wmemchr.
5667         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
5668         * string/test-memchr.c: Add wmemchr support.
5669         * wcsmbs/test-wmemchr.c: New File.
5670         * wcsmbs/Makefile (strop-tests): Add wmemchr.
5671         * benchtests/bench-memchr.c: Add wmemchr support.
5672         * benchtests/bench-wmemchr.c: New File.
5673         * benchtests/Makefile (wcsmbs-bench): wmemchr.
5675         * sysdeps/s390/multiarch/strcspn-c.c: New File.
5676         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
5677         * sysdeps/s390/multiarch/strcspn.c: Likewise.
5678         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
5679         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
5680         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
5681         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
5682         wcscspn functions.
5683         * sysdeps/s390/multiarch/ifunc-impl-list.c
5684         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
5685         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
5686         * string/test-strcspn.c: Add wcscspn support.
5687         * wcsmbs/test-wcscspn.c: New File.
5688         * wcsmbs/Makefile (strop-tests): Add wcscspn.
5689         * benchtests/bench-strcspn.c: Add wcscspn support.
5690         * benchtests/bench-wcscspn.c: New File.
5691         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
5693         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
5694         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
5695         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5696         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
5697         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
5698         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5699         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
5700         wcspbrk functions.
5701         * sysdeps/s390/multiarch/ifunc-impl-list.c
5702         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
5703         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
5704         * string/test-strpbrk.c: Add wcspbrk support.
5705         * wcsmbs/test-wcspbrk.c: New File.
5706         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
5707         * benchtests/bench-strpbrk.c: Add wcspbrk support.
5708         * benchtests/bench-wcspbrk.c: New File.
5709         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
5711         * sysdeps/s390/multiarch/strspn-c.c: New File.
5712         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
5713         * sysdeps/s390/multiarch/strspn.c: Likewise.
5714         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
5715         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
5716         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5717         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
5718         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
5719         wcsspn functions.
5720         * sysdeps/s390/multiarch/ifunc-impl-list.c
5721         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
5722         * string/test-strspn.c: Add wcsspn support.
5723         * wcsmbs/test-wcsspn.c: New File.
5724         * wcsmbs/Makefile (strop-tests): Add wcsspn.
5725         * benchtests/bench-strspn.c: Add wcsspn support.
5726         * benchtests/bench-wcsspn.c: New File.
5727         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
5729         * sysdeps/s390/multiarch/strrchr-c.c: New File.
5730         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
5731         * sysdeps/s390/multiarch/strrchr.c: Likewise.
5732         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
5733         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
5734         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
5735         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
5736         wcsrchr functions.
5737         * sysdeps/s390/multiarch/ifunc-impl-list.c
5738         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
5739         * benchtests/bench-wcsrchr.c: New File.
5740         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
5742         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
5743         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
5744         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
5745         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
5746         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
5747         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
5748         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
5749         wcschrnul functions.
5750         * sysdeps/s390/multiarch/ifunc-impl-list.c
5751         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
5752         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
5753         * string/test-strchr.c: Add wcschrnul support.
5754         * wcsmbs/test-wcschrnul.c: New File.
5755         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
5756         * benchtests/bench-strchr.c: Add wcschrnul support.
5757         * benchtests/bench-wcschrnul.c: New File.
5758         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
5760         * sysdeps/s390/multiarch/strchr-c.c: New File.
5761         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
5762         * sysdeps/s390/multiarch/strchr.c: Likewise.
5763         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
5764         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
5765         * sysdeps/s390/multiarch/wcschr.c: Likewise.
5766         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
5767         wcschr functions.
5768         * sysdeps/s390/multiarch/ifunc-impl-list.c
5769         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
5770         * string/strchr.c (STRCHR): Define and use macro.
5771         * benchtests/bench-wcschr.c: New File.
5772         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
5774         * sysdeps/s390/multiarch/strncmp-c.c: New File.
5775         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
5776         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5777         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
5778         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
5779         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
5780         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
5781         wcsncmp functions.
5782         * sysdeps/s390/multiarch/ifunc-impl-list.c
5783         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
5784         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
5785         * benchtests/bench-strncmp.c: Add wcsncmp support.
5786         * benchtests/bench-wcsncmp.c: New File.
5787         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
5789         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
5790         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5791         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
5792         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
5793         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5794         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
5795         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5796         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
5797         wcscmp functions.
5798         * sysdeps/s390/multiarch/ifunc-impl-list.c
5799         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
5800         * string/strcmp.c (STRCMP): Define and use macro.
5801         * benchtests/bench-wcscmp.c: New File.
5802         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
5803         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
5804         instead of _HAVE_STRING_ARCH_memchr.
5806         * sysdeps/s390/multiarch/strncat-c.c: New File.
5807         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
5808         * sysdeps/s390/multiarch/strncat.c: Likewise.
5809         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
5810         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
5811         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
5812         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
5813         wcsncat functions.
5814         * sysdeps/s390/multiarch/ifunc-impl-list.c
5815         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
5816         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
5817         * string/test-strncat.c: Add wcsncat support.
5818         * wcsmbs/test-wcsncat.c: New File.
5819         * wcsmbs/Makefile (strop-tests): Add wcsncat.
5820         * benchtests/bench-strncat.c: Add wcsncat support.
5821         * benchtests/bench-wcsncat.c: New File.
5822         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
5824         * sysdeps/s390/multiarch/strcat-c.c: New File.
5825         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
5826         * sysdeps/s390/multiarch/strcat.c: Likewise.
5827         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
5828         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
5829         * sysdeps/s390/multiarch/wcscat.c: Likewise.
5830         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
5831         wcscat functions.
5832         * sysdeps/s390/multiarch/ifunc-impl-list.c
5833         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
5834         * string/strcat.c (STRCAT): Define and use macro.
5835         * wcsmbs/wcscat.c: Use WCSCAT if defined.
5836         * string/test-strcat.c: Add wcscat support.
5837         * wcsmbs/test-wcscat.c: New File.
5838         * wcsmbs/Makefile (strop-tests): Add wcscat.
5839         * benchtests/bench-strcat.c: Add wcscat support.
5840         * benchtests/bench-wcscat.c: New File.
5841         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
5843         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
5844         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
5845         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5846         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
5847         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
5848         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
5849         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
5850         wcpncpy functions.
5851         * sysdeps/s390/multiarch/ifunc-impl-list.c
5852         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
5853         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
5854         * string/test-stpncpy.c: Add wcpncpy support.
5855         * wcsmbs/test-wcpncpy.c: New File.
5856         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
5857         * benchtests/bench-stpncpy.c: Add wcpncpy support.
5858         * benchtests/bench-wcpncpy.c: New File.
5859         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
5861         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
5862         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5863         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
5864         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
5865         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
5866         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
5867         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5868         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
5869         wcsncpy functions.
5870         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
5871         * sysdeps/s390/multiarch/ifunc-impl-list.c
5872         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
5873         * string/test-strncpy.c: Add wcsncpy support.
5874         * wcsmbs/test-wcsncpy.c: New File.
5875         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
5876         * benchtests/bench-strncpy.c: Add wcsncpy support.
5877         * benchtests/bench-wcsncpy.c: New File.
5878         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
5880         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
5881         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
5882         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5883         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
5884         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
5885         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
5886         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
5887         wcpcpy functions.
5888         * string/stpcpy.c: Use STPCPY if defined.
5889         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
5890         * sysdeps/s390/multiarch/ifunc-impl-list.c
5891         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
5892         * string/test-stpcpy.c: Add wcpcpy support.
5893         * wcsmbs/test-wcpcpy.c: New File.
5894         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
5895         * benchtests/bench-stpcpy.c: Add wcpcpy support.
5896         * benchtests/bench-wcpcpy.c: New File.
5897         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
5899         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
5900         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5901         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
5902         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
5903         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
5904         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
5905         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5906         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
5907         wcscpy functions.
5908         * sysdeps/s390/multiarch/ifunc-impl-list.c
5909         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
5910         * benchtests/bench-wcscpy.c: New File.
5911         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
5913         * sysdeps/s390/multiarch/strnlen-c.c: New File.
5914         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
5915         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5916         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
5917         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
5918         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
5919         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
5920         wcsnlen functions.
5921         * sysdeps/s390/multiarch/ifunc-impl-list.c
5922         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
5923         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
5924         * string/test-strnlen.c: Add wcsnlen support.
5925         * wcsmbs/test-wcsnlen.c: New File.
5926         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
5927         * benchtests/bench-strnlen.c: Add wcsnlen support.
5928         * benchtests/bench-wcsnlen.c: New File.
5929         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
5931         * sysdeps/s390/multiarch/Makefile: New File.
5932         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
5933         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
5934         * sysdeps/s390/multiarch/strlen.c: Likewise.
5935         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
5936         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
5937         * sysdeps/s390/multiarch/wcslen.c: Likewise.
5938         * string/strlen.c (STRLEN): Define and use macro.
5939         * sysdeps/s390/multiarch/ifunc-impl-list.c
5940         (IFUNC_VX_IMPL): New macro function.
5941         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
5942         * benchtests/Makefile (wcsmbs-bench): New variable.
5943         (string-bench-all): Added wcsmbs-bench.
5944         * benchtests/bench-wcslen.c: New File.
5946         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
5947         s390_vx_libc_ifunc2): New macro function.
5949         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
5950         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
5951         assembler support.
5952         * sysdeps/s390/configure: Regenerated.
5954         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
5955         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
5957         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
5958         * sysdeps/s390/dl-procinfo.h: Add vector capability.
5959         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
5961         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5962         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
5963         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
5964         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
5965         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
5966         (memcmp, bcmp): Use __memcmp_default as alias source.
5967         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
5968         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
5969         Rename to __memcmp_default.
5970         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
5971         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
5972         (memcpy): Use __memcpy_default as alias source.
5973         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
5974         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
5975         Rename to __memcpy_default.
5976         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
5977         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
5978         (memset): Use __memset_default as alias source.
5979         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
5980         * sysdeps/s390/s390-32/memset.S (__memset_g5):
5981         Rename to __memset_default.
5982         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
5983         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
5984         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
5985         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
5986         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
5987         (memcmp, bcmp): Use __memcmp_default as alias source.
5988         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
5989         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
5990         Rename to __memcmp_default.
5991         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
5992         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
5993         (memcpy): Use __memcpy_default as alias source.
5994         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
5995         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
5996         Rename to __memcpy_default.
5997         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
5998         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
5999         (memset): Use __memset_default as alias source.
6000         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
6001         * sysdeps/s390/s390-64/memset.S (__memset_z900):
6002         Rename to __memset_default.
6003         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
6004         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
6006         [BZ #18610]
6007         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
6008         __ieee_instruction_pointer to __unused.
6009         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
6010         __ieee_instruction_pointer.
6011         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
6012         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
6013         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6014         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6015         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
6016         Mark dxc-field as reserved.
6018 2015-08-25  Roland McGrath  <roland@hack.frob.com>
6020         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
6021         if the weak reference is not null.
6023 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6025         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
6027         [BZ #11214]
6028         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
6030 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6032         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
6033         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
6034         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
6035         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
6036         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
6037         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
6038         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
6039         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
6040         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
6041         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
6042         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
6043         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
6044         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
6045         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
6046         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
6047         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
6048         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
6049         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
6051 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6053         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
6054         register other than r0 for tabort, it has special meaning.
6055         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
6056         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
6057         transaction before starting syscall.
6059 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6061         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
6063 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6065         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
6067         * sysdeps/x86_64/rtld-memcmp.c: Removed.
6068         * sysdeps/x86_64/rtld-memset.S: Likewise.
6069         * sysdeps/x86_64/rtld-strchr.S: Likewise.
6070         * sysdeps/x86_64/rtld-strlen.S: Likewise.
6071         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
6072         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6074         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
6076 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
6078         * debug/strcpy_chk.c: Improve performance.
6079         * debug/stpcpy_chk.c: Likewise.
6080         * sysdeps/x86_64/strcpy_chk.S: Remove.
6081         * sysdeps/x86_64/stpcpy_chk.S: Remove.
6083         [BZ #18240]
6084         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
6086 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6088         [BZ #15128]
6089         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
6090         ifuncmain8.
6091         (modules-names): Add ifuncmod8.
6092         ($(objpfx)ifuncmain8): New rule.
6093         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
6094         <cpuid.h>.
6095         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
6096         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
6097         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
6098         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
6099         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
6100         * sysdeps/x86_64/dl-trampoline.h: Likewise.
6101         * sysdeps/x86_64/ifuncmain8.c: New file.
6102         * sysdeps/x86_64/ifuncmod8.c: Likewise.
6103         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
6104         Removed.
6105         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
6106         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
6107         Change rtld_savespace_sse to __glibc_unused2.
6108         (RTLD_CHECK_FOREIGN_CALL): Removed.
6109         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
6110         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
6111         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
6113 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6115         * sysdeps/aarch64/bzero.S (__bzero): Remove.
6117 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6119         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
6120         Unconditionally set __fpcr to avoid uninialized warning.
6121         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
6123 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6125         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
6126         is corrupt.
6128         * malloc/arena.c (arena_get2): Drop unused argument.
6129         (arena_lock): Adjust.
6130         (arena_get_retry): Likewise.
6132 2015-08-24  Andreas Schwab  <schwab@suse.de>
6134         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
6135         Don't define.
6136         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6137         (__ASSUME_IPC64): Don't undef.
6138         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
6139         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6140         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6141         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
6142         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
6143         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
6144         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
6145         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
6146         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
6147         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
6148         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
6149         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
6150         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
6151         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
6152         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
6153         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
6154         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
6155         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
6156         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
6157         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
6158         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
6160 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
6162         * manual/Makefile (install): Only build manual when perl is available.
6164 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6166         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
6167         '#undef memcpy' by '#undef memchr'.
6169 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6171         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
6172         memchr not point to the internal __GI_memchr implementation.
6174 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6176         * timezone/Makefile (CFLAGS-zdump.c): Remove
6177         -Wno-strict-prototypes.
6178         (CFLAGS-zic.c): Likewise.
6179         (CFLAGS-ialloc.c): Likewise.
6180         (CFLAGS-scheck.c): Likewise.
6182         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
6183         -Wno-error=undef.
6185 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6187         * i386/i686/multiarch/strcasestr-c.c: Removed.
6188         * x86_64/multiarch/strcasestr.c: Likewise.
6189         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6190         Remove strcasestr.
6192 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6194         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
6196         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
6197         variables for high and low parts before possibly modifying them.
6199 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6201         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
6202         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
6203         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6204         of "multiarch/init-arch.h".
6205         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
6206         * sysdeps/x86/init-arch.h: This.
6208 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6210         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
6211         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
6213 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
6215         [BZ #17787]
6216         * manual/macros.texi: Add twoexp macro.
6217         * manual/filesys.texi: Fix exponents.
6218         * manual/llio.texi: Likewise.
6219         * manual/stdio.texi: Likewise.
6221 2015-08-20  Florian Weimer  <fweimer@redhat.com>
6223         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
6224         incorrect use.
6226 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6228         [BZ #18370]
6229         * math/s_csqrt.c (__csqrt): Force underflow exception for results
6230         whose real or imaginary part has small absolute value.
6231         * math/s_csqrtf.c (__csqrtf): Likewise.
6232         * math/s_csqrtl.c (__csqrtl): Likewise.
6233         * math/auto-libm-test-in: Add more tests of csqrt.
6234         * math/auto-libm-test-out: Regenerated.
6235         * sysdeps/i386/fpu/libm-test-ulps: Update.
6237 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6239         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
6240         __ppc_set_ppr_very_low): New functions.
6241         * manual/platform.texi: Add documentation about
6242         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
6244 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
6246         * string/stpncpy.c (stpncpy): Improve performance using
6247         __strnlen/memcpy/memset.
6249 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6251         [BZ #18796]
6252         * scripts/test-installation.pl: Don't add -lmvec to build options if
6253         libmvec wasn't built.
6255 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6257         [BZ #14341]
6258         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
6259         case when there is a gap between DT_REL and DT_JMPREL sections.
6260         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
6261         (LDFLAGS-tst-split-dynreloc): New.
6262         (tst-split-dynreloc-ENV): Likewise.
6263         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
6264         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
6266 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6268         [BZ #18822]
6269         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
6270         attribute_hidden.
6271         (__xstat64_conv): Likewise.
6272         (__xstat32_conv): Likewise.
6274 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6276         [BZ #18822]
6277         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
6278         Don't load %ebx when calling __setcontext.  Call __setcontext
6279         with HIDDEN_JUMPTARGET.
6280         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
6281         libc_hidden_def.
6283 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6285         * sysdeps/i386/i686/Makefile
6286         [$(subdir) == string] (sysdep_routines): Moved to ...
6287         * sysdeps/i386/Makefile: Here.
6288         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
6289         * sysdeps/i386/cacheinfo.c: Here.
6290         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
6291         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
6292         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
6293         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
6295 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6297         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
6298         __i586__ is defined.
6299         (HAS_I686): Defined to 1 if __i686__ is defined.
6301 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6303         * elf/Makefile [$(have-z-execstack) = yes]
6304         (CPPFLAGS-tst-execstack.c): New variable.
6306         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
6307         conditional to [defined UTMPX || _HAVE_UT_TYPE].
6308         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
6309         UTMPX || _HAVE_UT_TV].
6310         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
6311         UTMPX || _HAVE_UT_TV - 0].
6313 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
6315         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
6316         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
6317         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
6319 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6321         * sysdeps/powerpc/dl-procinfo.c:
6322         (_dl_powerpc_cap_flags): Added missing strings for some
6323         hwcap features.
6324         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
6326 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6328         Port the 0x7efe...feff pattern to GCC 6.
6329         See Steve Ellcey's bug report in:
6330         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
6331         * string/memrchr.c (MEMRCHR):
6332         * string/rawmemchr.c (RAWMEMCHR):
6333         * string/strchr.c (strchr):
6334         * string/strchrnul.c (STRCHRNUL):
6335         Rewrite code to avoid issues with signed shift overflow.
6337 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
6339         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
6340         whether cpuid is available only if HAS_CPUID is 0.
6341         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
6342         (HAS_I586): Likewise.
6343         (HAS_I686): Likewise.
6345 2015-08-18  Zack Weinberg  <zackw@panix.com>
6347         * misc/Versions (libc): Add GLIBC_2.23.
6349 2015-08-18  Alan Modra  <amodra@gmail.com>
6351         [BZ #18421]
6352         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
6353         .Lp__global.
6354         (_start): Load %dp via .Lp__global.
6355         [!SHARED]: Use .section .rodata.
6357 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6359         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
6360         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
6362 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6364         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
6365         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
6367 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6369         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
6370         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
6372 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6374         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
6375         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
6377 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6379         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
6380         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
6382 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6384         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
6385         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
6387 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6389         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
6391 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6393         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
6394         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
6395         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6396         (__ASSUME_LWS_CAS): Delete.
6398 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6400         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
6401         * sysdeps/hppa/configure: Regenerated.
6402         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
6403         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
6404         * sysdeps/hppa/nptl/tls.h: Likewise.
6406 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
6408         [BZ #18823]
6409         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
6410         for scaling up small arguments.
6411         * math/s_csqrtf.c (__csqrtf): Likewise.
6412         * math/s_csqrtl.c (__csqrtl): Likewise.
6413         * math/auto-libm-test-in: Add more tests of csqrt.
6414         * math/auto-libm-test-out: Regenerated.
6416 2015-08-17  Andreas Schwab  <schwab@suse.de>
6418         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
6419         version set GLIBC_2.19.
6421 2015-08-16  Zack Weinberg  <zackw@panix.com>
6423         [BZ #18681]
6424         * misc/regexp.h: This interface is no longer supported.
6425         Remove all contents, leaving only an #error directive.
6426         * misc/regexp.c (loc1, loc2, locs, step, advance):
6427         Demote to compatibility symbols.
6429 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
6431         [BZ #18084]
6432         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
6433         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
6434         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6435         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
6436         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
6437         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
6438         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
6439         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
6440         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6442 2015-08-15  Zack Weinberg  <zackw@panix.com>
6444         [BZ #18795]
6445         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
6446         buffer length is known to be too large, not if it's known to be
6447         small enough.
6448         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
6449         overflow at runtime, involving a length parameter, twice: once
6450         with a compile-time constant length parameter, once without.
6452 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
6454         [BZ #18824]
6455         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
6456         scaling x * y up instead of down.
6457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6458         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6459         * math/auto-libm-test-in: Add more tests of fma.
6460         * math/auto-libm-test-out: Regenerated.
6462 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6464         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6466 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6468         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
6469         unnecessary movq.
6470         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
6471         Likewise.
6473 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
6475         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6476         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
6477         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
6478         and tgamma.
6479         * math/auto-libm-test-out: Regenerated.
6480         * sysdeps/i386/fpu/libm-test-ulps: Update.
6481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6483         [BZ #16520]
6484         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
6485         (__tanh): Force underflow exception for arguments with small
6486         absolute value.
6487         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
6488         (__tanhf): Force underflow exception for arguments with small
6489         absolute value.
6490         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
6491         (__tanhl): Force underflow exception for arguments with small
6492         absolute value.
6493         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
6494         (__tanhl): Force underflow exception for arguments with small
6495         absolute value.
6496         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
6497         (__tanhl): Force underflow exception for arguments with small
6498         absolute value.
6499         * math/auto-libm-test-in: Add more tests of tanh.
6500         * math/auto-libm-test-out: Regenerated.
6501         * sysdeps/i386/fpu/libm-test-ulps: Update.
6503 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6505         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
6506         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
6508 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6510         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
6511         <cpuid.h>.
6513 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6515         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
6516         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
6518 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6520         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
6521         Remove $(objpfx)init-arch.o.
6522         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
6523         init-arch.
6524         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
6525         (INIT_ARCH_EXT): Defined as empty.
6526         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
6527         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
6528         __init_cpu_features call.  Replace HAS_XXX with
6529         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6530         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
6531         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
6532         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
6533         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
6534         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6535         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
6536         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
6537         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6538         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
6539         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
6540         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6541         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
6542         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
6543         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6544         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
6545         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
6546         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6547         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6548         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
6549         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
6550         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6551         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
6552         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
6553         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6554         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
6555         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
6556         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6557         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
6558         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
6559         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6560         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
6561         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
6562         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6563         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
6564         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
6566 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6568         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
6569         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6570         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
6571         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
6572         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
6573         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
6574         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
6575         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
6576         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
6577         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
6578         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
6579         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
6580         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6581         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6582         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6583         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6584         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6585         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6586         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6587         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6588         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6589         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6590         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6591         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6592         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6593         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6594         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6595         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6596         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6597         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6598         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6599         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6600         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6601         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6602         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6603         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6604         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6605         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6606         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6607         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6608         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6609         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6610         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6612 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6614         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
6615         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6616         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6617         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6618         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6619         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
6620         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6621         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
6622         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6623         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6624         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6625         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
6626         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
6627         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
6628         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
6629         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
6630         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
6631         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
6632         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
6633         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
6634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6635         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
6636         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
6637         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6638         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6639         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
6640         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
6641         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
6642         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6643         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6644         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6645         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6646         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6647         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6648         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6649         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6650         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6651         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6652         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6653         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6654         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6655         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6656         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6658 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6660         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
6661         (dl_platform_init): Call init_cpu_features.
6662         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
6663         * sysdeps/i386/i686/cacheinfo.c
6664         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
6665         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
6666         * sysdeps/i386/i686/multiarch/Versions: Removed.
6667         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
6668         Removed.
6669         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
6670         * sysdeps/unix/sysv/linux/x86/Makefile
6671         (libpthread-sysdep_routines): Remove init-arch.
6672         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
6673         <sysdeps/x86_64/dl-procinfo.c> instead of
6674         sysdeps/generic/dl-procinfo.c>.
6675         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
6676         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
6677         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
6678         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
6679         [$(subdir) == elf] (tests-static): Add
6680         tst-get-cpu-features-static.
6681         * sysdeps/x86/Versions: New file.
6682         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
6683         * sysdeps/x86/cpu-features.c: Likewise.
6684         * sysdeps/x86/cpu-features.h: Likewise.
6685         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
6686         * sysdeps/x86/libc-start.c: Likewise.
6687         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6688         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
6689         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
6690         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6691         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
6692         Assume USE_MULTIARCH is defined and don't check it.
6693         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
6694         (is_amd): Likewise.
6695         (max_cpuid): Likewise.
6696         (intel_check_word): Likewise.
6697         (__cache_sysconf): Don't call __init_cpu_features.
6698         (__x86_preferred_memory_instruction): Removed.
6699         (init_cacheinfo): Don't call __init_cpu_features. Replace
6700         __cpu_features with GLRO(dl_x86_cpu_features).
6701         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
6702         (dl_platform_init): Call init_cpu_features.
6703         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
6704         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
6705         * sysdeps/x86_64/multiarch/Versions: Removed.
6706         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
6707         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
6708         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
6709         Removed.
6710         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
6712 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6714         [BZ #18820]
6715         * libio/Makefile (test-fmemopen-mem): New test.
6716         * libio/test-fmemopen.c (do_bz18820): New test.
6717         * libio/fmemopen.c (__fmemopen): Fix memory leak.
6718         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
6720 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6722         [BZ #16734]
6723         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
6724         (FREE_BUF): Delete.
6725         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
6726         * libio/genops.c (_IO_setb): Use malloc and free directly.
6727         (_IO_default_doallocate, _IO_default_finish): Likewise.
6728         ( _IO_unbuffer_all): Likewise.
6729         ( libc_freeres_fn): Likewise.
6730         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6731         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
6732         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
6733         (_IO_wdefault_doallocate): Likewise.
6735 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6737         [BZ #18086]
6738         * sysdeps/posix/nice.c (nice): Restore old errno.
6739         * posix/tst-nice.c (do_test): Add test for BZ #18086.
6741 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
6743         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
6745 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6747         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
6748         __bcopy and add a weak_alias to bcopy.
6749         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
6750         for static build.
6752         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
6753         cleanup macro usage.
6754         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
6755         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
6756         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6757         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
6758         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6759         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
6760         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
6761         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
6762         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6763         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
6764         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6765         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
6766         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6767         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
6768         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6769         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
6770         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
6771         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
6772         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
6774         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
6775         libc_hidden_def.
6776         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
6778         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
6779         (sysdep_routines): Add strstr-ppc64.
6780         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
6782 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
6784         [BZ #18778]
6785         * elf/Makefile (tests): Add Add tst-nodelete2.
6786         (modules-names): Add tst-nodelete2mod.
6787         (tst-nodelete2mod.so-no-z-defs): New.
6788         ($(objpfx)tst-nodelete2): Likewise.
6789         ($(objpfx)tst-nodelete2.out): Likewise.
6790         (LDFLAGS-tst-nodelete2): Likewise.
6791         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
6792         out of loop through all loaded libraries.
6793         * elf/tst-nodelete2.c: New file.
6794         * elf/tst-nodelete2mod.c: Likewise.
6795         * elf/tst-znodelete-zlib.cc: Delete.
6797 2015-08-11  Andreas Schwab  <schwab@suse.de>
6799         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
6800         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
6801         (__openat64_nocancel): Likewise.
6803 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
6805         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
6806         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
6807         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
6808         * math/auto-libm-test-out: Regenerated.
6809         * sysdeps/i386/fpu/libm-test-ulps: Update.
6810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6812 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6814         [BZ #18790]
6815         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
6816         threshold for returning +/- 1.
6817         * math/auto-libm-test-in: Add more tests of tanh.
6818         * math/auto-libm-test-out: Regenerated.
6819         * sysdeps/i386/fpu/libm-test-ulps: Update.
6821 2015-08-10  Andreas Schwab  <schwab@suse.de>
6823         [BZ #18781]
6824         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
6825         MORE_OFLAGS to oflag.
6826         * io/test-lfs.c (do_test): Test openat64.
6828 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6830         [BZ #18789]
6831         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
6832         smaller threshold for returning the argument.
6833         * math/auto-libm-test-in: Add more tests of sinh.
6834         * math/auto-libm-test-out: Regenerated.
6835         * sysdeps/i386/fpu/libm-test-ulps: Update.
6837 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6839         [BZ #18674]
6840         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
6841         break.
6843 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6845         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
6846         (generated): Don't add $(addprefix z.,$(tzfiles)).
6848 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6850         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
6851         * scripts/sysd-rules.awk: Likewise.
6853 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6855         * iconvdata/tst-tables.sh: Change echo -n to printf.
6856         * nss/db-Makefile: Likewise.
6857         * posix/tst-getconf.sh: Likewise.
6858         * stdio-common/tst-unbputc.sh: Likewise.
6860 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6862         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
6863         MADV_*_PAGES defines behind this feature check.
6865 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
6867         [BZ #18480]
6868         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
6869         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
6870         Define.
6871         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
6872         LOAD_REGS_5, LOAD_REGS_6): Update.
6873         (INTERNAL_SYSCALL): Update using new LOAD defines.
6874         (INTERNAL_SYSCALL_NCS): Likewise.
6875         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
6877 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6879         [BZ #16734]
6880         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
6882 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6884         [BZ #17905]
6885         * catgets/Makefile (tst-catgets-mem): New test.
6886         * catgets/catgets.c (catopen): Don't use unbounded alloca.
6887         * catgets/open_catalog.c (__open_catalog): Likewise.
6888         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
6890 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
6892         [BZ #18787]
6893         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
6894         clobber registers.
6895         (atomic_compare_and_exchange_val_acq): Use register asms to assign
6896         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
6897         Cast return to __typeof (oldval).
6899 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
6901         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
6902         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
6903         and delete sys/syscall.h include.
6905 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
6907         [BZ #16517]
6908         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
6909         (tan): Force underflow exception for arguments with small absolute
6910         value.
6911         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
6912         (__kernel_tanf): Force underflow exception for arguments with
6913         small absolute value.
6914         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
6915         (__kernel_tanl): Force underflow exception for arguments with
6916         small absolute value.
6917         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
6918         (__kernel_tanl): Force underflow exception for arguments with
6919         small absolute value.
6920         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
6921         (__kernel_tanl): Force underflow exception for arguments with
6922         small absolute value.
6923         * math/auto-libm-test-in: Add more tests of tan.
6924         * math/auto-libm-test-out: Regenerated.
6926 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6928         Fix sysdeps/i386/fpu/s_scalbn.S build
6930         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
6932 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
6934         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6936 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6938         Fix gcrt0.o compilation
6940         When static-start-installed-name is different from
6941         start-installed-name, we must not use the shared objects.
6943         * csu/Makefile
6944         (extra-objs): Add gmon-start.o when building shared library and
6945         $(static-start-installed-name) is different from
6946         $(start-installed-name).
6947         $(objpfx)g$(static-start-installed-name): When building shared
6948         library and $(static-start-installed-name) is different from
6949         $(static-start-installed-name), revert to non-shared rule,
6950         i.e. using $(objpfx)% and gmon-start.o.
6952 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
6954         [BZ #16519]
6955         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
6956         (__ieee754_sinh): Force underflow exception for arguments with
6957         small absolute value.
6958         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
6959         (__ieee754_sinhf): Force underflow exception for arguments with
6960         small absolute value.
6961         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
6962         (__ieee754_sinhl): Force underflow exception for arguments with
6963         small absolute value.
6964         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
6965         (__ieee754_sinhl): Force underflow exception for arguments with
6966         small absolute value.
6967         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
6968         (__ieee754_sinhl): Force underflow exception for arguments with
6969         small absolute value.
6970         * math/auto-libm-test-in: Add more tests of sinh.
6971         * math/auto-libm-test-out: Regenerated.
6972         * sysdeps/i386/fpu/libm-test-ulps: Update.
6974 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6976         * libio/oldfileops.c: Include unistd.h.
6978 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
6980         * stdlib/isomac.c: Include ctype.h.
6982 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
6984         * dirent/tst-seekdir.c (main): Converted to ...
6985         (do_test): ... this.
6986         (TEST_FUNCTION): New macro.
6987         Include test-skeleton.c.
6988         * elf/tst-dlmodcount.c (main): Converted to ...
6989         (do_test): ... this.
6990         (TEST_FUNCTION): New macro.
6991         Include test-skeleton.c.
6992         * elf/tst-order-main.c (main): Converted to ...
6993         (do_test): ... this.
6994         (TEST_FUNCTION): New macro.
6995         Include test-skeleton.c.
6996         * elf/tst-pie2.c (main): Converted to ...
6997         (do_test): ... this.
6998         (TEST_FUNCTION): New macro.
6999         Include test-skeleton.c.
7000         * inet/tst-ether_aton.c (main): Converted to ...
7001         (do_test): ... this.
7002         (TEST_FUNCTION): New macro.
7003         Include test-skeleton.c.
7004         * misc/tst-mntent.c (main): Converted to ...
7005         (do_test): ... this.
7006         (TEST_FUNCTION): New macro.
7007         Include test-skeleton.c.
7008         * misc/tst-tsearch.c (main): Converted to ...
7009         (do_test): ... this.
7010         (TEST_FUNCTION): New macro.
7011         Include test-skeleton.c.
7012         * posix/tst-regexloc.c (main): Converted to ...
7013         (do_test): ... this.
7014         (TEST_FUNCTION): New macro.
7015         Include test-skeleton.c.
7016         * resolv/tst-aton.c (main): Converted to ...
7017         (do_test): ... this.
7018         (TEST_FUNCTION): New macro.
7019         Include test-skeleton.c.
7020         * stdio-common/test-fwrite.c (main): Converted to ...
7021         (do_test): ... this.
7022         (TEST_FUNCTION): New macro.
7023         Include test-skeleton.c.
7024         * stdio-common/tst-ferror.c (main): Converted to ...
7025         (do_test): ... this.
7026         (TEST_FUNCTION): New macro.
7027         Include test-skeleton.c.
7028         * stdio-common/tst-printf.c (main): Converted to ...
7029         (do_test): ... this.
7030         (TEST_FUNCTION): New macro.
7031         Include test-skeleton.c.
7032         * stdio-common/tst-printfsz.c (main): Converted to ...
7033         (do_test): ... this.
7034         (TEST_FUNCTION): New macro.
7035         Include test-skeleton.c.
7036         * stdlib/tst-strtod.c (main): Converted to ...
7037         (do_test): ... this.
7038         (TEST_FUNCTION): New macro.
7039         Include test-skeleton.c.
7040         * string/tst-strlen.c (main): Converted to ...
7041         (do_test): ... this.
7042         (TEST_FUNCTION): New macro.
7043         Include test-skeleton.c.
7044         * string/tst-svc.c (main): Converted to ...
7045         (do_test): ... this.
7046         (TEST_FUNCTION): New macro.
7047         Include test-skeleton.c.
7048         * time/tst-strptime.c (main): Converted to ...
7049         (do_test): ... this.
7050         (TEST_FUNCTION): New macro.
7051         Include test-skeleton.c.
7052         * timezone/tst-timezone.c (main): Converted to ...
7053         (do_test): ... this.
7054         (TEST_FUNCTION): New macro.
7055         Include test-skeleton.c.
7057 2015-08-05  Zack Weinberg  <zackw@panix.com>
7059         * misc/regexp.h: Update comments.
7061 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
7063         [BZ #18635]
7064         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
7065         before return label.
7067 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7069         [BZ #18661]
7070         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
7071         when calling __errno_location.
7072         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
7073         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
7075 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7077         [BZ #18661]
7078         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
7079         (__lll_timedwait_tid): Align stack to 16 bytes when calling
7080         __gettimeofday.
7082 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7084         [BZ #18661]
7085         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7086         (__start_context): Don't use pop to restore %rdi so that stack
7087         is aligned to 16 bytes when calling __setcontext.
7089 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7091         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
7092         only for libc.
7093         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7095 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7097         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
7098         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
7099         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
7101 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7103         * string/memccpy.c (memccpy):
7104         Improve performance by using memchr/memcpy/__mempcpy.
7106 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7108         * string/strncpy.c (strncpy):
7109         Improve performance by using __strnlen/memcpy.
7111 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7113         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7114         Optimize to avoid an unnecessary FPCR read.
7116 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7118         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7119         Optimize to reduce FPCR/FPSR accesses.
7121 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7123         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
7124         dead->data[category] != NULL.
7126 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
7128         [BZ #18647]
7129         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
7130         and |x| close to 1, use absolute value of x when computing log.
7131         * math/auto-libm-test-in: Add more tests of pow.
7132         * math/auto-libm-test-out: Regenerated.
7134 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7136         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
7137         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
7138         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
7140 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
7142         [BZ #18525]
7143         * locales/km_KH: Remove timezone definition.
7144         * locales/lo_LA: Likewise.
7145         * locales/my_MM: Likewise.
7146         * locales/nan_TW@latin: Likewise.
7147         * locales/th_TH: Likewise.
7148         * locales/uk_UA: Likewise.
7150 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7152         [BZ #18265]
7153         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
7154         (wcsncat): Likewise.
7155         (wcscmp): Likewise.
7156         (wcsncmp): Likewise.
7158 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7160         * test-skeleton.c (usage): New function.
7161         (main): Call usage when opt is '?'.
7163 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7165         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
7166         before first use.
7168 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7170         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
7171         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
7172         in there too.
7174 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
7176         * version.h (RELEASE): Set to "development".
7177         (VERSION): Set to "2.22.90"
7179         * version.h (RELEASE): Set to "stable".
7180         (VERSION): Set to "2.22"
7181         * include/features.h (__GLIBC_MINOR__): Set to 22.
7183 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
7185         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
7186         Restructure macro to avoid "value computed is not used" warning.
7187         (atomic_compare_and_exchange_val_acq): Likewise.
7189 2015-08-04  Andreas Schwab  <schwab@suse.de>
7191         [BZ #18635]
7192         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
7193         ret.
7194         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
7196 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
7198         * po/pl.po: Updated translation.
7199         * po/uk.po: Likewise.
7200         * po/fi.po: Likewise.
7201         * po/ko.po: Likewise.
7202         * po/ru.po: Likewise.
7203         * po/vi.po: Likewise.
7205 2015-07-31  Zack Weinberg  <zackw@panix.com>
7207         [BZ #18681]
7208         * regexp.h: Add unconditional #warning stating that this header
7209         will be removed soon.  Revise banner comment to match.
7210         (compile): Consistently use ERROR instead of RETURN to report
7211         errors (partial fix for bz#18681).
7212         * regexp.c: Don't include regexp.h. Remove some unnecessary
7213         declarations.
7215 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
7217         * po/libc.pot: Regenerated.
7219 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7221         [BZ #18740]
7222         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
7223         float-vlen4-arch-ext-cflags): Removed.
7224         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
7225         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
7227 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7229         [BZ #14113]
7230         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
7231         aligned to __aligned__.
7232         (pthread_cond_t, pthread_rwlock_t): Likewise.
7234 2015-07-30  Torvald Riegel  <triegel@redhat.com>
7236         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
7238 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7240         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
7241         (struct sigaction): Change sa_flags from a long to an int, and add
7242         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
7244 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7246         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
7247         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
7248         sysdeps/generic/sysdep.h include.
7249         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
7250         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
7251         sysdeps/hppa/sysdep.h.
7252         (ENTRY, PSEUDO): Undefine before defining.
7254 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7256         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
7257         from scratch to use INTERNAL_SYSCALL.
7259 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
7261         [BZ #18078]
7262         * scripts/check-localplt.awk: Support alternate relocations.
7263         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
7264         sections.
7265         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
7266         malloc entries with + REL R_386_GLOB_DAT.
7267         * sysdeps/x86_64/localplt.data: New file.
7269 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
7271         [BZ #18731]
7272         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
7273         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7274         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7276 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7278         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
7280 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7282         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
7283         directly in terms of __sync_fetch_and_add and delete (int) cast.
7285 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7287         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
7288         the -D_ASM_IA64_CURRENT_H flag.
7290 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7292         [BZ #18641]
7293         * pwd/pwd.h (putpwent): Delete __nonnull markings.
7295 2015-07-27  Andreas Schwab  <schwab@suse.de>
7297         * conform/conformtest.pl (checknamespace): Filter out string
7298         literals while tokenizing.
7300 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7302         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7303         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
7304         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7306 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7308         * nptl/tst-join7mod.c: Add #include <string.h>.
7310 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7312         * sysdeps/nios2/libm-test-ulps: Update.
7314 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7316         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
7317         Fix order of arguments to the rt_sigprocmask syscall.
7318         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
7319         Likewise.
7321 2015-07-24  Roland McGrath  <roland@hack.frob.com>
7323         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
7325 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7327         [BZ #18457]
7328         * nptl/Makefile (tests): New test case tst-join7.
7329         (modules-names): New test case module tst-join7mod.
7330         * nptl/tst-join7.c: New file.
7331         * nptl/tst-join7mod.c: New file.
7332         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
7333         all translation units in libc.so, libpthread.so and rtld.
7335 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7339 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7341         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
7342         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7343         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7344         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7345         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7346         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7347         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7348         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7349         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7350         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7351         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7352         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7353         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
7354         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
7355         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
7356         implementation.
7358 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7360         [BZ #17711]
7361         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7362         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
7363         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7364         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7365         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
7366         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7368 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7370         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
7371         instead of just saying load lock in the comments.
7373 2015-07-23  Roland McGrath  <roland@hack.frob.com>
7375         * sysdeps/unix/Subdirs: Moved ...
7376         * sysdeps/posix/Subdirs: ... here.
7377         * login/pty.h (struct termios, struct winsize): Add forward decls.
7378         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
7379         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
7380         * sysdeps/arm/nacl/libc.abilist: Updated.
7381         * sysdeps/nacl/libutil.abilist: New file.
7383         * bits/signum.h: Update comments to mention 1003.1-2013 too.
7384         (SIGWINCH): New macro.
7386         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
7387         * sysdeps/arm/nacl/libc.abilist: Add it.
7389 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7391         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
7393 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7395         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7396         Swap __glibc_reserved0 and sa_flags order.
7398 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7400         [BZ #18657]
7401         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
7402         are pending TLS destructor calls.
7403         * include/link.h (struct link_map): Add concurrency note for
7404         L_TLS_DTOR_COUNT.
7405         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7406         Don't touch the link map flag.  Atomically increment
7407         l_tls_dtor_count.
7408         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
7409         Avoid taking the load lock and don't touch the link map flag.
7410         * stdlib/tst-tls-atexit-nodelete.c: New test case.
7411         * stdlib/Makefile (tests): Use it.
7412         * stdlib/tst-tls-atexit.c (do_test): dlopen
7413         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
7414         to allow tst-tls-atexit-nodelete test case to use it.
7416 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7418         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
7419         to bits/types.h.
7420         (msgqnum_t): New typedef.
7421         (msglen_t): Likewise.
7422         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
7423         and msg_qbytes type to msglen_t.
7425 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7427         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
7428         pad0 to __glibc_reserved0.
7429         (struct stat64): Likewise.
7431 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7433         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7434         Change sa_flags from a long to an int and add __glibc_reserved0 before
7435         it for padding.
7437 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7439         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
7440         anonymous by deleting "siginfo" name.
7442 2015-07-21  Roland McGrath  <roland@hack.frob.com>
7444         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
7445         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
7446         rather than __nacl_irt_filename.
7447         * sysdeps/nacl/xstat.c (__xstat): Likewise.
7449         * NEWS: New item for arm-nacl port.
7450         * sysdeps/arm/nacl/libc.abilist: New file.
7451         * sysdeps/nacl/ld.abilist: New file.
7452         * sysdeps/nacl/libBrokenLocale.abilist: New file.
7453         * sysdeps/nacl/libanl.abilist: New file.
7454         * sysdeps/nacl/libcrypt.abilist: New file.
7455         * sysdeps/nacl/libdl.abilist: New file.
7456         * sysdeps/nacl/libm.abilist: New file.
7457         * sysdeps/nacl/libpthread.abilist: New file.
7458         * sysdeps/nacl/libresolv.abilist: New file.
7459         * sysdeps/nacl/librt.abilist: New file.
7461 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
7463         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
7464         __startcontext to initialize the new context.
7465         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
7466         up CFI directive to forbid further backtracing.
7468 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
7470         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
7471         reference.
7472         * charmaps/ANSI_X3.4-1968: Likewise.
7473         * charmaps/BS_4730: Likewise.
7474         * charmaps/BS_VIEWDATA: Likewise.
7475         * charmaps/CP1250: Likewise.
7476         * charmaps/CP1251: Likewise.
7477         * charmaps/CP1252: Likewise.
7478         * charmaps/CP1253: Likewise.
7479         * charmaps/CP1254: Likewise.
7480         * charmaps/CP1255: Likewise.
7481         * charmaps/CP1256: Likewise.
7482         * charmaps/CSN_369103: Likewise.
7483         * charmaps/EBCDIC-DK-NO: Likewise.
7484         * charmaps/GB_1988-80: Likewise.
7485         * charmaps/GREEK-CCITT: Likewise.
7486         * charmaps/GREEK7: Likewise.
7487         * charmaps/INIS-8: Likewise.
7488         * charmaps/ISIRI-3342: Likewise.
7489         * charmaps/ISO_2033-1983: Likewise.
7490         * charmaps/ISO_5427-EXT: Likewise.
7491         * locales/POSIX: Likewise.
7492         * locales/ar_SA: Likewise.
7493         * locales/be_BY: Likewise.
7494         * locales/be_BY@latin: Likewise.
7495         * locales/ca_ES: Likewise.
7496         * locales/cs_CZ: Likewise.
7497         * locales/da_DK: Likewise.
7498         * locales/de_BE: Likewise.
7499         * locales/de_CH: Likewise.
7500         * locales/de_LU: Likewise.
7501         * locales/en_AU: Likewise.
7502         * locales/en_BW: Likewise.
7503         * locales/en_CA: Likewise.
7504         * locales/en_DK: Likewise.
7505         * locales/en_GB: Likewise.
7506         * locales/en_IE: Likewise.
7507         * locales/en_NZ: Likewise.
7508         * locales/en_ZA: Likewise.
7509         * locales/en_ZW: Likewise.
7510         * locales/es_AR: Likewise.
7511         * locales/es_BO: Likewise.
7512         * locales/es_CL: Likewise.
7513         * locales/es_CO: Likewise.
7514         * locales/es_DO: Likewise.
7515         * locales/es_EC: Likewise.
7516         * locales/es_ES: Likewise.
7517         * locales/es_HN: Likewise.
7518         * locales/es_MX: Likewise.
7519         * locales/es_PA: Likewise.
7520         * locales/es_PE: Likewise.
7521         * locales/es_PY: Likewise.
7522         * locales/es_SV: Likewise.
7523         * locales/es_US: Likewise.
7524         * locales/es_UY: Likewise.
7525         * locales/es_VE: Likewise.
7526         * locales/et_EE: Likewise.
7527         * locales/fa_IR: Likewise.
7528         * locales/fo_FO: Likewise.
7529         * locales/fr_CA: Likewise.
7530         * locales/fr_CH: Likewise.
7531         * locales/gv_GB: Likewise.
7532         * locales/he_IL: Likewise.
7533         * locales/hr_HR: Likewise.
7534         * locales/id_ID: Likewise.
7535         * locales/is_IS: Likewise.
7536         * locales/it_CH: Likewise.
7537         * locales/iw_IL: Likewise.
7538         * locales/kl_GL: Likewise.
7539         * locales/ko_KR: Likewise.
7540         * locales/kw_GB: Likewise.
7541         * locales/lg_UG: Likewise.
7542         * locales/lt_LT: Likewise.
7543         * locales/lv_LV: Likewise.
7544         * locales/mi_NZ: Likewise.
7545         * locales/nhn_MX: Likewise.
7546         * locales/nl_BE: Likewise.
7547         * locales/pl_PL: Likewise.
7548         * locales/sk_SK: Likewise.
7549         * locales/sl_SI: Likewise.
7550         * locales/sv_FI: Likewise.
7551         * locales/tl_PH: Likewise.
7552         * locales/tr_TR: Likewise.
7553         * locales/vi_VN: Likewise.
7555 2015-07-21  Khem Raj  <raj.khem@gmail.com>
7557         [BZ #17475]
7558         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
7559         of tu_IN and bh_IN.
7561 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
7563         [BZ #18694]
7564         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
7565         bits/wordsize.h.
7566         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
7568 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7570         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
7571         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
7572         (spawn_thread): New function.
7573         (load): Rename to reg_dtor_and_close.  Move dlopen to...
7574         (do_test): ... here.  Use IS_LOADED to test for its
7575         availability.
7577 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
7579         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7581 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
7583         [BZ #18696]
7584         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
7585         si_addr_bnd.
7586         (si_lower): New.
7587         (si_upper): Likewise.
7589 2015-07-16  David S. Miller  <davem@davemloft.net>
7591         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7593 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7595         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
7596         buffer.
7597         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
7598         fail output information.
7600 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
7603         and strstr-ppc64..
7604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7605         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
7606         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
7607         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
7608         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
7610 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
7612         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
7613         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7614         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
7615         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7617 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
7619         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7620         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
7621         rtld_hidden_proto.
7622         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
7624 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7626         * tst-nodelete-opened.c (do_test): Add comment to clarify how
7627         the test can fail.
7629         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
7631         [BZ #18676]
7632         * elf/tst-nodelete-opened.c: New test case.
7633         * elf/tst-nodelete-opened-lib.c: New test case module.
7634         * elf/Makefile (tests, modules-names): Use them.
7635         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
7636         early.
7638 2015-07-15  David S. Miller  <davem@davemloft.net>
7640         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
7641         futex-intenal.h
7642         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
7643         * sysdeps/sparc/sparc64/Makefile: Likewise.
7644         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
7645         Remove space from macro define.
7646         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
7648 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
7650         [BZ #17475]
7651         * locale/iso-639.def: Update Bhili and Tulu language codes as
7652         per iso639-3.
7654 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
7656         * elf/tst-leaks1.c (main): Converted to ...
7657         (do_test): ... this.
7658         (TEST_FUNCTION): New macro.
7659         Include test-skeleton.c.
7660         * localedata/tst-langinfo.c (main): Converted to ...
7661         (do_test): ... this.
7662         (TEST_FUNCTION): New macro.
7663         Include test-skeleton.c.
7664         * math/test-fpucw.c (main): Converted to ...
7665         (do_test): ... this.
7666         (TEST_FUNCTION): New macro.
7667         Include test-skeleton.c.
7668         * math/test-tgmath.c (main): Converted to ...
7669         (do_test): ... this.
7670         (TEST_FUNCTION): New macro.
7671         Include test-skeleton.c.
7672         * math/test-tgmath2.c (main): Converted to ...
7673         (do_test): ... this.
7674         (TEST_FUNCTION): New macro.
7675         Include test-skeleton.c.
7676         * setjmp/tst-setjmp.c (main): Converted to ...
7677         (do_test): ... this.
7678         (TEST_FUNCTION): New macro.
7679         Include test-skeleton.c.
7680         * stdio-common/tst-sscanf.c (main): Converted to ...
7681         (do_test): ... this.
7682         (TEST_FUNCTION): New macro.
7683         Include test-skeleton.c.
7684         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
7685         (do_test): ... this.
7686         (TEST_FUNCTION): New macro.
7687         Include test-skeleton.c.
7689         * elf/tst-audit9.c (main): Converted to ...
7690         (do_test): ... this.
7691         (TEST_FUNCTION): New macro.
7692         Include test-skeleton.c.
7694 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
7696         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
7698 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7700         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
7701         New variable.
7703 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7705         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7707 2015-07-14  Roland McGrath  <roland@hack.frob.com>
7709         * sysdeps/generic/dl-fileid.h: New file.
7710         * sysdeps/posix/dl-fileid.h: New file.
7711         * sysdeps/nacl/dl-fileid.h: New file.
7712         * include/link.h: Include <dl-fileid.h>.
7713         (struct link_map): Replace l_dev and l_ino with l_file_id.
7714         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
7715         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
7716         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
7718 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7720         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
7722 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7724         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
7725         Add iff $CXX is set.
7726         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
7727         Likewise.
7728         (tst-nodelete-zmodiff): Likewise.
7729         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
7731 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7733         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
7735 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
7737         * sysdeps/aarch64/fpu/math_private.h
7738         (define math_opt_barrier): Add AArch64 version.
7739         (math_force_eval): Likewise.
7741 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
7743         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
7745 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
7747         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
7748         %ld with %jd and cast to intmax_t.
7749         (do_test_length_zero): Likewise.
7751 2015-07-10  Roland McGrath  <roland@hack.frob.com>
7753         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
7755 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
7757         * sysdeps/tile/libm-test-ulps: Regenerated.
7759         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
7760         Comment out the whole function, not just its body.
7762 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7764         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
7765         locks.
7767         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
7769 2015-07-10  Torvald Riegel  <triegel@redhat.com>
7771         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
7772         (sem_assume_only_signals_cause_futex_EINTR): Remove.
7774 2015-07-10  Torvald Riegel  <triegel@redhat.com>
7776         * sysdeps/nptl/futex-internal.h: New file.
7777         * sysdeps/nacl/futex-internal.h: New file.
7778         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
7779         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
7780         error checking.
7781         (setxid_unmark_thread): Likewise.
7782         (__nptl_setxid): Likewise.
7783         (__wait_lookup_done): Likewise.
7784         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
7785         * nptl/nptl-init.c (sighandler_setxid): Likewise.
7786         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
7787         * nptl/pthread_once.c (clear_once_control): Likewise.
7788         (__pthread_once_slow): Likewise.
7789         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7790         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
7791         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
7792         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7793         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
7794         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
7795         Likewise.
7796         (__pthread_rwlock_rdlock): Likewise.
7797         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7798         Likewise.
7799         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7800         Likewise.
7801         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7802         Likewise.
7803         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
7804         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
7805         Likewise.
7806         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
7807         __ASSUME_PRIVATE_FUTEX check.
7808         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
7809         Check that shared futexes are supported.
7810         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
7811         wrappers with error checking.
7812         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
7813         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
7814         * nptl/pthread_barrierattr_setpshared.c
7815         (pthread_barrierattr_setpshared): Check that shared futexes are
7816         supported.
7817         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
7818         Likewise.
7819         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
7820         Likewise.
7821         * nptl/sem_init.c (futex_private_if_supported): Remove.
7822         (__new_sem_init): Adapt and check that shared futexes are supported.
7823         * nptl/sem_open.c (sem_open): Likewise.
7824         * nptl/sem_post.c (futex_wake): Remove.
7825         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
7826         (do_futex_wait): Use futex wrappers with error checking.
7827         * nptl/sem_wait.c: Include lowlevellock.h.
7828         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
7829         Use futex_supports_pshared.
7830         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
7831         Use futex wrappers with error checking.
7832         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
7833         Likewise.
7834         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
7835         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
7836         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
7837         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
7838         (futex_wake): Likewise.
7839         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
7840         (do_futex_wait): Use futex wrappers with error checking.
7841         (__new_sem_wait_slow): Update EINTR handling.
7842         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
7844 2015-07-09  Martin Sebor  <msebor@redhat.com>
7846         [BZ #18435]
7847         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7848         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
7849         * nptl/Makefile (test-xfail-tst-once5): Define.
7851 2015-07-09  Roland McGrath  <roland@hack.frob.com>
7853         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
7854         * elf/dl-minimal.c: For readability, reorder some definitions and
7855         introduce more page breaks.  Include <stdio.h>.
7856         (__libc_fatal): New function.
7858         * include/unistd.h: Add rtld_hidden_proto for _exit.
7859         * posix/_exit.c: Add rtld_hidden_def.
7860         * sysdeps/mach/hurd/_exit.c: Likewise.
7861         * sysdeps/nacl/_exit.c: Likewise.
7862         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
7863         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
7865 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
7867         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
7868         bndmov encoding with zero displacement.
7870 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7871             H.J. Lu  <hongjiu.lu@intel.com>
7873         [BZ #18134]
7874         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
7875         * sysdeps/i386/configure: Regenerated.
7876         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7877         (_dl_runtime_profile): Save and restore Intel MPX return bound
7878         registers when calling _dl_call_pltexit.  Add
7879         PRESERVE_BND_REGS_PREFIX before return.
7880         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
7881         (LRV_BND1_OFFSET): Likewise.
7882         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
7883         lrv_bnd1.
7884         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
7885         typo in bndmov encoding.
7886         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
7887         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
7888         branch instructions to preserve bounds.
7890 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7893         [GLIBC_2.22]: Add fmemopen.
7895 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7897         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
7898         returns an error, also try to use host port from __mach_host_self for
7899         the __vm_wire call.
7900         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
7902 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7904         [BZ #18400]
7905         [BZ #18648]
7906         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
7907         Fix pr_uid and pr_gid members.
7908         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
7909         definition to elf_greg_t.
7911 2015-07-08  Roland McGrath  <roland@hack.frob.com>
7913         [BZ #18383]
7914         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
7915         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
7916         * sysdeps/arm/configure: Regenerated.
7917         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
7918         (test-xfail-tst-tlsalign-static): Variable removed.
7920         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
7921         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
7922         rather than explicit 'ln -s'.
7924         * resolv/rpc/netdb.h: New file.
7925         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
7927 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7929         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
7930         length buffers.
7931         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7932         test-skeleton.c.
7934         [BZ #6544]
7935         [BZ #11216]
7936         [BZ #12836]
7937         [BZ #13151]
7938         [BZ #13152]
7939         [BZ #14292]
7940         * include/stdio.h (fmemopen): Remove hidden prototype.
7941         (__fmemopen): Add new hidden prototype.
7942         * libio/Makefile: Add oldfmemopen object.
7943         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
7944         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
7945         compliance.
7946         * libio/oldfmemopen.c: New file: old fmemopen implementation for
7947         symbol compatibility.
7948         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
7949         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
7950         fmemopen.
7951         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
7952         on append and read mode.
7953         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
7954         fmemopen.
7955         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
7956         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
7957         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
7958         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
7959         Likewise.
7960         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7961         [GLIBC_2.22]: Likewise.
7962         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
7963         Likewise.
7964         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
7965         Likewise.
7966         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7967         [GLIBC_2.22]: Likewise.
7968         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7969         [GLIBC_2.22]: Likewise.
7970         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7971         [GLIBC_2.22]: Likewise.
7972         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7973         [GLIBC_2.22]: Likewise.
7974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7975         [GLIBC_2.22]: Likewise.
7976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7977         [GLIBC_2.22]: Likewise.
7978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7979         [GLIBC_2.22]: Likewise.
7980         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
7981         Likewise.
7982         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
7983         Likewise.
7984         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
7985         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7986         [GLIBC_2.22]: Likewise.
7987         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7988         [GLIBC_2.22]: Likewise.
7989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7990         [GLIBC_2.22]: Likewise.
7991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7992         [GLIBC_2.22]: Likewise.
7993         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
7994         Likewise.
7995         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
7996         Likewise.
7997         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
7998         Likewise.
7999         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
8000         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
8002 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8004         [BZ #18643]
8005         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
8006         IPV6_PATHMTU, and IPV6_DONTFRAG.
8008 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
8010         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
8011         and _IO_UNBUFFERED.
8012         * libio/oldfileops.c: Likewise.
8013         * libio/wfileops.c: Likewise.
8015 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8017         * nscd/selinux.c: Delete selinux/flask.h include.
8019 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8021         [BZ #18641]
8022         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
8023         (putpwent): Likewise.
8024         (getpwnam): Likewise.
8025         (getpwent_r): Likewise.
8026         (getpwuid_r): Likewise.
8027         (getpwnam_r): Likewise.
8028         (fgetpwent_r): Likewise.
8030 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8032         [BZ #18557]
8033         * inet/rcmd.c (__validuser2_sa): Check user first to
8034         short-circuit host check.
8036 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
8037             Mikhail Ilin  <m.ilin@samsung.com>
8039         [BZ #17833]
8040         * elf/Makefile (tests): Add tst-nodelete.
8041         (modules-names): Add tst-nodelete-uniquemod.
8042         (tst-nodelete-uniquemod.so-no-z-defs): New.
8043         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
8044         (tst-nodelete-zmod.so-no-z-defs): Likewise.
8045         ($(objpfx)tst-nodelete): Likewise.
8046         ($(objpfx)tst-nodelete.out): Likewise.
8047         (LDFLAGS-tst-nodelete): Likewise.
8048         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
8049         * elf/dl-close.c (_dl_close_worker): Add a parameter to
8050         implement forced object deletion.
8051         (_dl_close): Pass false to _dl_close_worker.
8052         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
8053         * elf/tst-nodelete.cc: New file.
8054         * elf/tst-nodeletelib.cc: Likewise.
8055         * elf/tst-znodeletelib.cc: Likewise.
8056         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
8058 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8060         [BZ #18508]
8061         * stdlib/Makefile ($(objpfx)tst-makecontext3):
8062         Depend on $(libdl).
8063         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
8064         is not called infinitely times.
8065         (backtrace_helper): New function.
8066         (trace_arg): New struct.
8067         (st1): Enlarge stack size.
8068         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8069         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
8070         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8071         Likewise.
8073 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8075         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8077 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8079         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
8080         Include sys/types.h instead of bits/types.h.
8081         Remove inclusion of bits/wordsize.h.
8083 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8085         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
8086         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
8087         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
8088         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
8089         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
8090         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
8092 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8094         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
8095         link-defines.sym.
8096         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
8097         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
8098         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
8099         and LR_SIZE.
8100         * sysdeps/i386/link-defines.sym: New file.
8102 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8104         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
8105         (modules-names): Add tst-auditmod3a tst-auditmod3b.
8106         ($(objpfx)tst-audit3): New rule.
8107         ($(objpfx)tst-audit3.out): Likewise.
8108         * sysdeps/i386/tst-audit3.c: New file.
8109         * sysdeps/i386/tst-audit3.h: Likewise.
8110         * sysdeps/i386/tst-auditmod3a.c: Likewise.
8111         * sysdeps/i386/tst-auditmod3b.c: Likewise.
8113 2015-07-07  Torvald Riegel  <triegel@redhat.com>
8115         [BZ #18633]
8116         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
8117         pointer in C code.
8118         (__strcat_c): Likewise.
8119         (__strcat_g): Likewise.
8121 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
8123         [BZ #18592]
8124         * misc/sbrk.c: Set errno to ENOMEM on overflow.
8126 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8128         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
8129         New function.  (__ieee754_sqrtf): New function.
8130         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
8131         New function.
8132         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
8133         New function.
8135 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8137         * sysdeps/ieee754/support.c: Remove unused file.
8139 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8141         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
8142         registers instead of d ones so the layout is kernel abi compatible.
8143         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
8144         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
8145         Likewise.
8147 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8149         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8151 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8153         [BZ #18619]
8154         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
8155         and return argument in case of subnormal argument.
8157 2015-07-01  Martin Sebor  <msebor@redhat.com>
8159         [BZ #18435]
8160         * nptl/Makefile: Add tst-once5.cc.
8161         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8162         Remove macro redefinitions.
8163         * nptl/tst-once5.cc: New test.
8165 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8167         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8169         * sysdeps/arm/libm-test-ulps: Regenerated.
8171         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8172         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8174 2015-06-30  Torvald Riegel  <triegel@redhat.com>
8176         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
8177         lll_lock_wait_private and lll_futex_wake probes.
8179         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8180         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
8181         Likewise.
8182         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8183         atomic_spin_nop.
8184         * sysdeps/x86_64/bits/atomic.h: Likewise.
8185         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
8186         to atomic_spin_nop and move ...
8187         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8188         ... here and ...
8189         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
8190         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8191         atomic_spin_nop instead of BUSY_WAIT_NOP.
8192         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
8193         Likewise.
8194         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
8195         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8196         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
8197         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
8198         instead of atomic_delay.
8200 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
8202         [BZ #18613]
8203         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
8204         X_ADJ not X when adjusting exponent.
8205         (__ieee754_gamma_r): Do intermediate computations in
8206         round-to-nearest then adjust overflowing and underflowing results
8207         as needed.
8208         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
8209         of X_ADJ not X when adjusting exponent.
8210         (__ieee754_gammaf_r): Do intermediate computations in
8211         round-to-nearest then adjust overflowing and underflowing results
8212         as needed.
8213         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
8214         log of X_ADJ not X when adjusting exponent.
8215         (__ieee754_gammal_r): Do intermediate computations in
8216         round-to-nearest then adjust overflowing and underflowing results
8217         as needed.  Use 1.0L not 1.0f as numerator of division.
8218         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
8219         log of X_ADJ not X when adjusting exponent.
8220         (__ieee754_gammal_r): Do intermediate computations in
8221         round-to-nearest then adjust overflowing and underflowing results
8222         as needed.  Use 1.0L not 1.0f as numerator of division.
8223         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
8224         of X_ADJ not X when adjusting exponent.
8225         (__ieee754_gammal_r): Do intermediate computations in
8226         round-to-nearest then adjust overflowing and underflowing results
8227         as needed.  Use 1.0L not 1.0f as numerator of division.
8228         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
8229         to auto-libm-test-in.
8230         (tgamma_test): Use ALL_RM_TEST.
8231         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
8232         tests of tgamma with spurious-overflow.
8233         * math/auto-libm-test-out: Regenerated.
8234         * math/gen-libm-have-vector-test.sh: Do not check for START.
8235         * sysdeps/i386/fpu/libm-test-ulps: Update.
8236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8238         [BZ #18612]
8239         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
8240         arguments, just return 0.5 times the argument, with underflow
8241         forced as needed.
8242         * math/auto-libm-test-in: Add more tests of j1.
8243         * math/auto-libm-test-out: Regenerated.
8245         [BZ #16559]
8246         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
8247         (__ieee754_j1): Force underflow exception for small results.
8248         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8249         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8250         (__ieee754_j1f): Force underflow exception for small results.
8251         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8252         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8253         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8254         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
8255         (__ieee754_j1l): Force underflow exception for small results.
8256         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8257         * math/auto-libm-test-in: Add more tests of j1 and jn.
8258         * math/auto-libm-test-out: Regenerated.
8260         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
8261         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
8262         (PF_MPLS): Likewise.
8263         (AF_IB): Likewise.
8264         (AF_MPLS): Likewise.
8265         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
8266         value and macro.
8267         (MS_RMT_MASK): Include MS_LAZYTIME.
8269 2015-06-26  Mel Gorman  <mgorman@suse.de>
8271         [BZ #18502]
8272         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
8273         already minimal.
8275 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
8277         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
8278         (DT_MIPS_NUM): Update.
8279         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
8280         DT_MIPS_RLD_MAP_REL.
8282 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
8284         [BZ #16559]
8285         [BZ #18602]
8286         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
8287         round-to-nearest internally then recompute results that
8288         underflowed to zero in the original rounding mode.
8289         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8290         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8291         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8292         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
8293         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
8294         * sysdeps/i386/fpu/libm-test-ulps: Update.
8295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8297 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
8299         * NEWS: Fixed description of link with vector math library.
8301 2015-06-25  Andreas Schwab  <schwab@suse.de>
8303         [BZ #18549]
8304         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
8305         * libio/test-fmemopen.c (do_test): Add test for it.
8307 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
8309         [BZ #17841]
8310         * Makeconfig (no-pie-ldflag): New.
8311         (+link): Set to $(+link-pie) if default to PIE.
8312         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
8313         * config.make.in (build-pie-default): New.
8314         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
8315         is default.  AC_SUBST.
8316         * configure: Regenerated.
8317         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
8319 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8321         * nptl/descr.h (struct pthread): Change type of field setxid_futex
8322         to 'unsigned int'.
8324         * resolv/gai_misc.h (struct waitlist): Change type of field
8325         counterp to 'volatile unsigned int *'.
8326         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
8327         FUTEXADDR and OLDVAL.
8328         * resolv/getaddrinfo_a.c (getaddrinfo_a):
8329         Give local variable TOTAL type 'volatile unsigned int'.
8330         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8331         * resolv/gai_suspend.c (gai_suspend):
8332         Give local variable CNTR type 'unsigned int'.
8334         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
8335         counterp to 'volatile unsigned int *'.
8336         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
8337         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
8338         (aio_suspend): Give local variable CNTR type 'unsigned int'.
8339         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
8340         Give local variable TOTAL type 'volatile unsigned int'.
8341         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8343 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8345         [BZ #18383]
8346         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
8347         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
8348         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
8349         comment for i386/x86-64.
8350         (test-xfail-tst-tlsalign-extern-static): Removed.
8352 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8354         * math/test-double.h: New file.
8355         * math/test-float.h: Likewise.
8356         * math/test-ldouble.h: Likewise.
8357         * math/test-math-inline.h: Likewise.
8358         * math/test-math-no-inline.h: Likewise.
8359         * math/test-math-scalar.h: Likewise.
8360         * math/test-math-vector.h: Likewise.
8361         * math/test-vec-loop.h: Remove file.  Contents moved into
8362         test-math-vector.h.
8363         * math/libm-test.inc (MATHCONST): Do not document macro.
8364         * math/test-double.c: Include test-double.h, test-math-no-inline.h
8365         and test-math-scalar.h.
8366         (FUNC): Remove macro.
8367         (FUNC_TEST): Likewise.
8368         (FLOAT): Likewise.
8369         (MATHCONST): Likewise.
8370         (PRINTF_EXPR): Likewise.
8371         (PRINTF_XEXPR): Likewise.
8372         (PRINTF_NEXPR): Likewise.
8373         (TEST_DOUBLE): Likewise.
8374         (TEST_MATHVEC): Likewise.
8375         (__NO_MATH_INLINES): Likewise.
8376         * math/test-float.c: Include test-float.h, test-math-no-inline.h
8377         and test-math-scalar.h.
8378         (FUNC): Remove macro.
8379         (FUNC_TEST): Likewise.
8380         (FLOAT): Likewise.
8381         (MATHCONST): Likewise.
8382         (PRINTF_EXPR): Likewise.
8383         (PRINTF_XEXPR): Likewise.
8384         (PRINTF_NEXPR): Likewise.
8385         (TEST_FLOAT): Likewise.
8386         (TEST_MATHVEC): Likewise.
8387         (__NO_MATH_INLINES): Likewise.
8388         * math/test-idouble.c: Include test-double.h, test-math-inline.h
8389         and test-math-scalar.h.
8390         (FUNC): Remove macro.
8391         (FUNC_TEST): Likewise.
8392         (FLOAT): Likewise.
8393         (MATHCONST): Likewise.
8394         (PRINTF_EXPR): Likewise.
8395         (PRINTF_XEXPR): Likewise.
8396         (PRINTF_NEXPR): Likewise.
8397         (TEST_DOUBLE): Likewise.
8398         (TEST_MATHVEC): Likewise.
8399         (TEST_INLINE): Likewise.
8400         (__NO_MATH_INLINES): Likewise.
8401         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
8402         test-math-scalar.h.
8403         (FUNC): Remove macro.
8404         (FUNC_TEST): Likewise.
8405         (FLOAT): Likewise.
8406         (MATHCONST): Likewise.
8407         (PRINTF_EXPR): Likewise.
8408         (PRINTF_XEXPR): Likewise.
8409         (PRINTF_NEXPR): Likewise.
8410         (TEST_FLOAT): Likewise.
8411         (TEST_MATHVEC): Likewise.
8412         (TEST_INLINE): Likewise.
8413         (__NO_MATH_INLINES): Likewise.
8414         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
8415         and test-math-scalar.h.
8416         (FUNC): Remove macro.
8417         (FUNC_TEST): Likewise.
8418         (FLOAT): Likewise.
8419         (MATHCONST): Likewise.
8420         (PRINTF_EXPR): Likewise.
8421         (PRINTF_XEXPR): Likewise.
8422         (PRINTF_NEXPR): Likewise.
8423         (TEST_LDOUBLE): Likewise.
8424         (TEST_MATHVEC): Likewise.
8425         (TEST_INLINE): Likewise.
8426         (__NO_MATH_INLINES): Likewise.
8427         * math/test-ldouble.c: Include test-ldouble.h,
8428         test-math-no-inline.h and test-math-scalar.h.
8429         (FUNC): Remove macro.
8430         (FUNC_TEST): Likewise.
8431         (FLOAT): Likewise.
8432         (MATHCONST): Likewise.
8433         (PRINTF_EXPR): Likewise.
8434         (PRINTF_XEXPR): Likewise.
8435         (PRINTF_NEXPR): Likewise.
8436         (TEST_LDOUBLE): Likewise.
8437         (TEST_MATHVEC): Likewise.
8438         (__NO_MATH_INLINES): Likewise.
8439         * math/test-double-vlen2.h: Include test-double.h,
8440         test-math-no-inline.h and test-math-vector.h.
8441         (FLOAT): Remove macro.
8442         (FUNC): Likewise.
8443         (MATHCONST): Likewise.
8444         (PRINTF_EXPR): Likewise.
8445         (PRINTF_XEXPR): Likewise.
8446         (PRINTF_NEXPR): Likewise.
8447         (TEST_DOUBLE): Likewise.
8448         (TEST_MATHVEC): Likewise.
8449         (__NO_MATH_INLINES): Likewise.
8450         (CNCT): Likewise.
8451         (CONCAT): Likewise.
8452         (WRAPPER_NAME): Likewise.
8453         (WRAPPER_DECL): Likewise.
8454         (WRAPPER_DECL_ff): Likewise.
8455         (WRAPPER_DECL_fFF): Likewise.
8456         (VECTOR_WRAPPER): Likewise.
8457         (VECTOR_WRAPPER_ff): Likewise.
8458         (VECTOR_WRAPPER_fFF): Likewise.
8459         (VEC_LEN): New macro.
8460         * math/test-double-vlen4.h: Include test-double.h,
8461         test-math-no-inline.h and test-math-vector.h.
8462         (FLOAT): Remove macro.
8463         (FUNC): Likewise.
8464         (MATHCONST): Likewise.
8465         (PRINTF_EXPR): Likewise.
8466         (PRINTF_XEXPR): Likewise.
8467         (PRINTF_NEXPR): Likewise.
8468         (TEST_DOUBLE): Likewise.
8469         (TEST_MATHVEC): Likewise.
8470         (__NO_MATH_INLINES): Likewise.
8471         (CNCT): Likewise.
8472         (CONCAT): Likewise.
8473         (WRAPPER_NAME): Likewise.
8474         (WRAPPER_DECL): Likewise.
8475         (WRAPPER_DECL_ff): Likewise.
8476         (WRAPPER_DECL_fFF): Likewise.
8477         (VECTOR_WRAPPER): Likewise.
8478         (VECTOR_WRAPPER_ff): Likewise.
8479         (VECTOR_WRAPPER_fFF): Likewise.
8480         (VEC_LEN): New macro.
8481         * math/test-double-vlen8.h: Include test-double.h,
8482         test-math-no-inline.h and test-math-vector.h.
8483         (FLOAT): Remove macro.
8484         (FUNC): Likewise.
8485         (MATHCONST): Likewise.
8486         (PRINTF_EXPR): Likewise.
8487         (PRINTF_XEXPR): Likewise.
8488         (PRINTF_NEXPR): Likewise.
8489         (TEST_DOUBLE): Likewise.
8490         (TEST_MATHVEC): Likewise.
8491         (__NO_MATH_INLINES): Likewise.
8492         (CNCT): Likewise.
8493         (CONCAT): Likewise.
8494         (WRAPPER_NAME): Likewise.
8495         (WRAPPER_DECL): Likewise.
8496         (WRAPPER_DECL_ff): Likewise.
8497         (WRAPPER_DECL_fFF): Likewise.
8498         (VECTOR_WRAPPER): Likewise.
8499         (VECTOR_WRAPPER_ff): Likewise.
8500         (VECTOR_WRAPPER_fFF): Likewise.
8501         (VEC_LEN): New macro.
8502         * math/test-float-vlen4.h: Include test-float.h,
8503         test-math-no-inline.h and test-math-vector.h.
8504         (FLOAT): Remove macro.
8505         (FUNC): Likewise.
8506         (MATHCONST): Likewise.
8507         (PRINTF_EXPR): Likewise.
8508         (PRINTF_XEXPR): Likewise.
8509         (PRINTF_NEXPR): Likewise.
8510         (TEST_FLOAT): Likewise.
8511         (TEST_MATHVEC): Likewise.
8512         (__NO_MATH_INLINES): Likewise.
8513         (CNCT): Likewise.
8514         (CONCAT): Likewise.
8515         (WRAPPER_NAME): Likewise.
8516         (WRAPPER_DECL): Likewise.
8517         (WRAPPER_DECL_ff): Likewise.
8518         (WRAPPER_DECL_fFF): Likewise.
8519         (VECTOR_WRAPPER): Likewise.
8520         (VECTOR_WRAPPER_ff): Likewise.
8521         (VECTOR_WRAPPER_fFF): Likewise.
8522         (VEC_LEN): New macro.
8523         * math/test-float-vlen8.h: Include test-float.h,
8524         test-math-no-inline.h and test-math-vector.h.
8525         (FLOAT): Remove macro.
8526         (FUNC): Likewise.
8527         (MATHCONST): Likewise.
8528         (PRINTF_EXPR): Likewise.
8529         (PRINTF_XEXPR): Likewise.
8530         (PRINTF_NEXPR): Likewise.
8531         (TEST_FLOAT): Likewise.
8532         (TEST_MATHVEC): Likewise.
8533         (__NO_MATH_INLINES): Likewise.
8534         (CNCT): Likewise.
8535         (CONCAT): Likewise.
8536         (WRAPPER_NAME): Likewise.
8537         (WRAPPER_DECL): Likewise.
8538         (WRAPPER_DECL_ff): Likewise.
8539         (WRAPPER_DECL_fFF): Likewise.
8540         (VECTOR_WRAPPER): Likewise.
8541         (VECTOR_WRAPPER_ff): Likewise.
8542         (VECTOR_WRAPPER_fFF): Likewise.
8543         (VEC_LEN): New macro.
8544         * math/test-float-vlen16.h: Include test-float.h,
8545         test-math-no-inline.h and test-math-vector.h.
8546         (FLOAT): Remove macro.
8547         (FUNC): Likewise.
8548         (MATHCONST): Likewise.
8549         (PRINTF_EXPR): Likewise.
8550         (PRINTF_XEXPR): Likewise.
8551         (PRINTF_NEXPR): Likewise.
8552         (TEST_FLOAT): Likewise.
8553         (TEST_MATHVEC): Likewise.
8554         (__NO_MATH_INLINES): Likewise.
8555         (CNCT): Likewise.
8556         (CONCAT): Likewise.
8557         (WRAPPER_NAME): Likewise.
8558         (WRAPPER_DECL): Likewise.
8559         (WRAPPER_DECL_ff): Likewise.
8560         (WRAPPER_DECL_fFF): Likewise.
8561         (VECTOR_WRAPPER): Likewise.
8562         (VECTOR_WRAPPER_ff): Likewise.
8563         (VECTOR_WRAPPER_fFF): Likewise.
8564         (VEC_LEN): New macro.
8565         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
8566         test-vec-loop.h.
8567         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8568         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8569         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8570         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8571         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8572         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8573         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8575 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8577         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
8578         (__getlogin_r): ... this.
8580 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8582         [BZ #18594]
8583         * math/s_ccosh.c (__ccosh): Compare with least normal value
8584         instead of comparing class with FP_SUBNORMAL.
8585         * math/s_ccoshf.c (__ccoshf): Likewise.
8586         * math/s_ccoshl.c (__ccoshl): Likewise.
8587         * math/s_cexp.c (__cexp): Likewise.
8588         * math/s_cexpf.c (__cexpf): Likewise.
8589         * math/s_cexpl.c (__cexpl): Likewise.
8590         * math/s_csin.c (__csin): Likewise.
8591         * math/s_csinf.c (__csinf): Likewise.
8592         * math/s_csinh.c (__csinh): Likewise.
8593         * math/s_csinhf.c (__csinhf): Likewise.
8594         * math/s_csinhl.c (__csinhl): Likewise.
8595         * math/s_csinl.c (__csinl): Likewise.
8596         * math/s_ctan.c (__ctan): Likewise.
8597         * math/s_ctanf.c (__ctanf): Likewise.
8598         * math/s_ctanh.c (__ctanh): Likewise.
8599         * math/s_ctanhf.c (__ctanhf): Likewise.
8600         * math/s_ctanhl.c (__ctanhl): Likewise.
8601         * math/s_ctanl.c (__ctanl): Likewise.
8602         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
8603         csin, csinh, ctan and ctanh.
8604         * math/auto-libm-test-out: Regenerated.
8605         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
8606         * sysdeps/i386/fpu/libm-test-ulps: Update.
8607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8609 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8611         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
8612         return value is wrong, print the expected value too.
8614 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8616         [BZ #18585]
8617         * elf/readlib.c (is_gdb_python_file): New.
8618         (process_file): Don't issue errors on filenames with -gdb.py
8619         suffix.
8621 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8623         * math/auto-libm-test-in: Add more tests of csin and csinh.
8624         * math/auto-libm-test-out: Regenerated.
8625         * math/libm-test.inc (csin_test_data): Remove tests moved to
8626         auto-libm-test-in.
8627         (csinh_test_data): Likewise.
8629         [BZ #18593]
8630         * math/s_csin.c (__csin): Negate before rather than after possibly
8631         overflowing multiplication.
8632         * math/s_csinf.c (__csinf): Likewise.
8633         * math/s_csinh.c (__csinh): Likewise.
8634         * math/s_csinhf.c (__csinhf): Likewise.
8635         * math/s_csinhl.c (__csinhl): Likewise.
8636         * math/s_csinl.c (__csinl): Likewise.
8637         * math/auto-libm-test-in: Add some tests of csin and csinh.
8638         * math/auto-libm-test-out: Regenerated.
8639         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
8640         (csinh_test_data): Likewise.
8641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8643         [BZ #18586]
8644         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
8645         underflow exception for small results.
8647 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8649         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
8650         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
8651         variable and included header.
8652         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
8653         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
8654         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
8655         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
8656         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
8657         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8658         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8659         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
8660         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
8661         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
8662         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
8663         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
8664         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
8665         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
8666         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
8667         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
8669 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8671         [BZ #16526]
8672         [BZ #16538]
8673         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
8674         (__sin): Force underflow exception for arguments with small
8675         absolute value.
8676         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
8677         (__kernel_sinf): Force underflow exception for arguments with
8678         small absolute value.
8679         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
8680         (__kernel_sincosl): Force underflow exception for arguments with
8681         small absolute value.
8682         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
8683         (__kernel_sinl): Force underflow exception for arguments with
8684         small absolute value.
8685         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
8686         (__kernel_sincosl): Force underflow exception for arguments with
8687         small absolute value.
8688         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
8689         (__kernel_sinl): Force underflow exception for arguments with
8690         small absolute value.
8691         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
8692         (__kernel_sinl): Force underflow exception for arguments with
8693         small absolute value.
8694         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
8695         (__kernel_sinf): Force underflow exception for arguments with
8696         small absolute value.
8697         * math/auto-libm-test-in: Add more tests of sin and sincos.
8698         * math/auto-libm-test-out: Regenerated.
8700         [BZ #18245]
8701         [BZ #18583]
8702         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
8703         (__kernel_standard_l): Use feholdexcept and fesetenv around
8704         conversion to double instead of special-casing overflow and
8705         underflow.
8706         * math/libm-test.inc (fmod_test_data): Add more tests.
8707         (remainder_test_data): Likewise.
8708         (sqrt_test_data): Likewise.
8710 2015-06-23  Torvald Riegel  <triegel@redhat.com>
8712         [BZ #17403]
8713         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
8714         atomic_read_barrier, atomic_write_barrier): Define.
8715         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
8716         atomic_read_barrier, atomic_write_barrier): Define.
8718 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8720         * math/Makefile [$(PERL) != no]
8721         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
8722         dependency on libm-test.stmp below the inclusion of Rules.
8724 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
8726         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
8727         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
8728         and included header.
8729         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
8730         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
8731         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
8732         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
8733         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
8734         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
8735         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8736         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8737         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
8738         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
8739         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
8740         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
8741         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
8742         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
8743         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
8744         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
8745         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
8746         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
8747         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
8749 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8751         [BZ #18371]
8752         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
8753         intermediate but not final result might underflow.
8754         * math/s_csqrtf.c (__csqrtf): Likewise.
8755         * math/s_csqrtl.c (__csqrtl): Likewise.
8756         * math/auto-libm-test-in: Add more tests of csqrt.
8757         * math/auto-libm-test-out: Regenerated.
8758         * sysdeps/i386/fpu/libm-test-ulps: Update.
8760         [BZ #18219]
8761         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
8762         threshold on absolute value of exponent for which scaling is used.
8763         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8764         * math/auto-libm-test-in: Add more tests of exp2.
8765         * math/auto-libm-test-out: Regenerated.
8767 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
8769         [BZ #17977]
8770         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
8771         when initializing interface list, based on the bug analysis
8772         and the patch proposed by Eric Newton.
8773         * resolv/tst-res_hconf_reorder.c: New test.
8774         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
8775         tst-res_hconf_reorder.
8776         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
8777         and $(shared-thread-library).
8778         (tst-res_hconf_reorder-ENV): New variable.
8780         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
8781         in comment.
8783 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
8785         [BZ #16353]
8786         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
8787         (__expm1): Force underflow exception for arguments with small
8788         absolute value.
8789         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
8790         (__expm1f): Force underflow exception for arguments with small
8791         absolute value.
8792         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
8793         (__expm1): Force underflow exception for arguments with small
8794         absolute value.
8795         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
8796         (__expm1f): Force underflow exception for arguments with small
8797         absolute value.
8798         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8799         Check for small arguments before calling __expm1.
8800         * math/auto-libm-test-in: Do not mark underflow exceptions as
8801         possibly missing for bug 16353.
8802         * math/auto-libm-test-out: Regenerated.
8804 2015-06-22  Andreas Schwab  <schwab@suse.de>
8806         [BZ #18513]
8807         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
8808         PTR queries.
8810 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
8812         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
8814         * string/strcoll_l.c: Remove unused struct element idxnow.
8816 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
8818         [BZ #18569]
8819         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
8820         underflow and return argument in case of subnormal argument.
8821         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8822         Likewise.
8823         * math/auto-libm-test-in: Add more tests of expm1.
8824         * math/auto-libm-test-out: Regenerated.
8826         [BZ #16361]
8827         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8828         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8829         tiny results.
8830         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8831         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8832         tiny results.
8833         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
8834         mark underflow exceptions as possibly missing for bug 16361.
8835         * math/auto-libm-test-out: Regenerated.
8837 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
8839         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
8840         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
8841         Remove variable.
8842         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8843         (test-xfail-XOPEN2K8/utmpx.h/conform).
8845         * conform/conformtest.pl ($xerrors): New variable.
8846         (note_error): New function.
8847         (compiletest): New argument $xfail.  Use not_error.
8848         (runtest): Likewise.
8849         (top level): Handle xfail- lines.  Update calls to compiletest and
8850         runtest.  Handle xfail- and optional- in headers listed with
8851         allow-header.
8852         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
8853         (O_EXEC): Likewise.
8854         (O_SEARCH): Likewise.
8855         * conform/data/stropts.h-data (ioctl): Likewise.
8856         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
8857         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
8858         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
8859         (msghdr.msg_controllen): Likewise.
8860         (cmsghdr.cmsg_len): Likewise.
8861         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
8862         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
8863         variable.
8864         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8865         (test-xfail-XPG4/stropts.h/conform): Likewise.
8866         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8867         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8868         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8869         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8870         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8871         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8872         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8873         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8874         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8875         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8876         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8877         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8878         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8879         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8880         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8881         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8882         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8883         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8884         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8886 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8888         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
8889         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
8890         definitions for proper unfolding of __MATHDECL_VEC.
8892 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8894         * benchtests/bench-strcoll.c:
8895         Include string.h.
8896         (main): Remove unused variable res.
8898 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8900         * timezone/Makefile (%/UTC %/Universal):
8901         Generate test-result files for UTC and Universal.
8903 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8905         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8907 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
8909         [BZ #16350]
8910         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
8911         for arguments with small absolute value.
8912         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
8913         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
8914         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
8915         (__asinh): Force underflow exception for arguments with small
8916         absolute value.
8917         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
8918         (__asinhf): Force underflow exception for arguments with small
8919         absolute value.
8920         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
8921         (__asinhl): Force underflow exception for arguments with small
8922         absolute value.
8923         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
8924         (__asinhl): Force underflow exception for arguments with small
8925         absolute value.
8926         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
8927         (__asinhl): Force underflow exception for arguments with small
8928         absolute value.
8929         * math/auto-libm-test-in: Do not mark underflow exceptions as
8930         possibly missing for bug 16350.
8931         * math/auto-libm-test-out: Regenerated.
8933         * include/bits/ipc.h: Remove file.
8934         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
8935         variable.
8936         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8937         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8938         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8939         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8940         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8941         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8942         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8943         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8944         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8946         * math/auto-libm-test-in: Remove spurious underflow allowance for
8947         tests of cexp.
8948         * math/auto-libm-test-out: Regenerated.
8950         [BZ #18558]
8951         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
8952         unconditional definition.
8953         (MCAST_BLOCK_SOURCE): Likewise.
8954         (MCAST_UNBLOCK_SOURCE): Likewise.
8955         (MCAST_LEAVE_GROUP): Likewise.
8956         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8957         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8958         (MCAST_MSFILTER): Likewise.
8959         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
8960         Remove variable.
8961         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8962         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8963         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8964         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8965         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8967 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
8969         * NEWS: Mention addition of x86_64 vector sincosf.
8970         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
8971         * math/test-float-vlen4.h: Likewise.
8972         * math/test-float-vlen8.h: Likewise.
8973         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8974         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
8975         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8976         * sysdeps/x86_64/fpu/Versions: New versions added.
8977         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8978         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8979         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8980         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
8981         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8982         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
8983         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8984         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
8985         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8986         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
8987         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
8988         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
8989         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
8990         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
8991         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
8992         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
8993         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
8994         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8995         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8996         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8997         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8998         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8999         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9000         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9002         * NEWS: Mention addition of x86_64 vector sincos.
9003         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
9004         * math/math.h (__MATHDECL_VEC): New macro.
9005         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
9006         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
9007         declaration under condition.
9008         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
9009         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
9010         TEST_VEC_LOOP change.
9011         * math/test-double-vlen4.h: Likewise.
9012         * math/test-double-vlen8.h: Likewise.
9013         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
9014         * math/test-float-vlen4.h: Likewise.
9015         * math/test-float-vlen8.h: Likewise.
9016         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9017         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
9018         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9019         * sysdeps/x86_64/fpu/Versions: New versions added.
9020         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9021         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9022         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9023         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
9024         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
9025         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
9026         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
9027         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
9028         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
9029         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
9030         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
9031         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
9032         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
9033         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
9034         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
9035         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
9036         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
9037         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9038         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9039         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9040         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9041         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9042         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9043         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9045         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9046         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9047         redirections for powf.
9048         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9049         * sysdeps/x86_64/fpu/Versions: New versions added.
9050         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9051         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9052         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9053         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
9054         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
9055         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
9056         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
9057         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
9058         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
9059         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
9060         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
9061         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
9062         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
9063         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
9064         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
9065         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
9066         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
9067         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9068         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9069         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9070         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9071         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9072         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9073         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9074         * math/test-float-vlen16.h: Fixed 2 argument macro.
9075         * math/test-float-vlen4.h: Likewise.
9076         * math/test-float-vlen8.h: Likewise.
9077         * NEWS: Mention addition of x86_64 vector powf.
9079 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
9081         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9082         and redefine.
9083         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9084         and redefine.
9085         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
9086         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9087         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9089         [BZ #18553]
9090         * resource/getpriority.c (getpriority): Rename to __getpriority
9091         and define as weak alias of __getpriority.
9092         * resource/setpriority.c (setpriority): Rename to __setpriority
9093         and define as weak alias of __setpriority.
9094         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
9095         __getpriority and define as weak alias of __getpriority.
9096         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
9097         __setpriority and define as weak alias of __setpriority.
9098         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
9099         strong name.
9100         (setpriority): Use __setpriority as strong name.
9101         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
9102         __getpriority and define as weak alias of __getpriority.
9103         * include/sys/resource.h (__getpriority): Declare.  Use
9104         libc_hidden_proto.
9105         (__setpriority): Likewise.
9106         (getpriority): Don't use libc_hidden_proto.
9107         (setpriority): Likewise.
9108         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
9109         getpriority.  Call __setpriority instead of setpriority.
9110         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
9111         Remove variable.
9113         [BZ #18547]
9114         * misc/getttyent.c (getttynam): Rename to __getttynam and define
9115         as weak alias of __getttynam.  Use prototype function definition.
9116         Call __setttyent, __getttyent and __endttyent instead of
9117         setttyent, getttyent and endttyent.
9118         (getttyent): Rename to __getttyent and define as weak alias of
9119         __getttyent.  Call __setttyent instead of setttyent.  Call
9120         __fgets_unlocked instead of fgets_unlocked.
9121         (setttyent): Rename to __setttyent and define as weak alias of
9122         __setttyent.
9123         (endttyent): Rename to __endttyent and define as weak alias of
9124         __endttyent.
9125         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
9126         (__setttyent): Likewise.
9127         (__endttyent): Likewise.
9128         (getttyent): Don't use libc_hidden_proto.
9129         (setttyent): Likewise.
9130         (endttyent): Likewise.
9131         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
9132         __endttyent instead of setttyent, getttyent and endttyent.
9133         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
9134         Remove variable.
9136         [BZ #18546]
9137         * socket/recv.c (__recv): Use libc_hidden_def.
9138         * socket/socket.c (__socket): Likewise.
9139         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9140         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9141         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
9142         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
9143         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
9144         libc_hidden_def.
9145         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
9146         libc_hidden_weak.
9147         * include/sys/socket.h (__socket): Do not use attribute_hidden.
9148         Use libc_hidden_proto.
9149         (__recv): Likewise.
9150         * socket/Versions (libc): Export __recv and __socket at version
9151         GLIBC_PRIVATE.
9152         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
9153         instead of recv.
9154         (init_mq_netlink): Call __socket instead of socket.
9155         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
9156         Remove variable.
9158         [BZ #18545]
9159         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
9160         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
9161         hidden_weak.
9162         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
9163         define as alias of __mq_timedsend.  Use hidden_weak.
9164         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
9165         __mq_timedsend as strong name.
9166         (mq_timedreceive): Use __mq_timedreceive as strong name.
9167         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
9168         (__mq_timedreceive): Likewise.
9169         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
9170         __mq_timedreceive instead of mq_timedreceive.
9171         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
9172         instead of mq_timedsend.
9173         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
9174         Remove variable.
9176         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
9177         hidden_def and hidden_weak instead of libc_hidden_def and
9178         libc_hidden_weak.
9179         (top level): Refer to hidden_def in comment.
9180         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
9181         macro.  Use it instead of libc_hidden_def.
9182         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
9183         specify __GI_* name explicitly.
9184         (mq_timedreceive): Likewise.
9185         (mq_setattr): Likewise.
9187         [BZ #18544]
9188         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
9189         __pthread_barrier_init and define as weak alias of
9190         __pthread_barrier_init.
9191         * sysdeps/sparc/nptl/pthread_barrier_init.c
9192         (pthread_barrier_init): Likewise.
9193         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
9194         __pthread_barrier_wait and define as weak alias of
9195         __pthread_barrier_wait.
9196         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9197         (pthread_barrier_wait): Likewise.
9198         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9199         (pthread_barrier_wait): Likewise.
9200         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
9201         (pthread_barrier_wait): Likewise.
9202         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
9203         (pthread_barrier_wait): Likewise.
9204         * nptl/Versions (libpthread): Export __pthread_barrier_init and
9205         __pthread_barrier_wait at version GLIBC_PRIVATE.
9206         * include/pthread.h (__pthread_barrier_init): Declare.
9207         (__pthread_barrier_wait): Likewise.
9208         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
9209         Call __pthread_barrier_wait instead of pthread_barrier_wait.
9210         (helper_thread): Likewise.
9211         (init_mq_netlink): Call __pthread_barrier_init instead of
9212         pthread_barrier_init.
9214         [BZ #18542]
9215         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
9216         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
9217         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
9218         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
9219         vswscanf.
9220         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
9221         Remove variable.
9223         [BZ #18540]
9224         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
9225         strong alias of _IO_fflush.  Use libc_hidden_def.
9226         * libio/iofflush_u.c (fflush_unlocked): Rename to
9227         __fflush_unlocked and define as weak alias of __fflush_unlocked.
9228         Use libc_hidden_weak.
9229         * include/stdio.h (__fflush_unlocked): Declare.  Use
9230         libc_hidden_proto.
9231         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
9232         fflush_unlocked.
9233         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
9234         Remove variable.
9236         [BZ #18539]
9237         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
9238         define as weak alias of __addseverity.
9239         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
9240         Remove variable.
9241         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9242         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9243         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9245         [BZ #18536]
9246         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
9247         (__tfind): Likewise.
9248         (__tdelete): Likewise.
9249         (__twalk): Likewise.
9250         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
9251         __twalk to GLIBC_PRIVATE.
9252         * include/search.h (__tsearch): Use libc_hidden_proto.
9253         (__tfind): Likewise.
9254         (__tdelete): Likewise.
9255         (__twalk): Likewise.
9256         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
9257         Call __tdelete instead of tdelete.
9258         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
9259         tfind.  Call __tsearch instead of tsearch.
9260         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
9261         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
9262         Remove variable.
9263         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9265         [BZ #18534]
9266         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
9267         (dprintf): Define as a weak alias of __dprintf, not a strong
9268         alias.
9269         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
9270         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
9271         dprintf.
9272         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
9273         Remove variable.
9274         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9275         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9277         [BZ #18533]
9278         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
9279         not a strong alias.
9280         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
9281         Remove variable.
9283         [BZ #18532]
9284         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
9285         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
9286         (in6addr_loopback): Rename to __in6addr_loopback and define as
9287         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
9288         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
9289         libc_hidden_proto.
9290         (__in6addr_any): Likewise.
9291         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
9292         in6addr_any.
9293         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
9294         variable.
9295         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9297 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9299         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
9300         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
9301         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9302         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9303         redirections for pow.
9304         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9305         * sysdeps/x86_64/fpu/Versions: New versions added.
9306         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9307         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9308         build of SSE, AVX2 and AVX512 IFUNC versions.
9309         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
9310         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
9311         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
9312         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
9313         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
9314         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
9315         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
9316         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
9317         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
9318         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
9319         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
9320         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
9321         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
9322         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
9323         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9324         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9325         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9326         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9327         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9328         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9329         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9330         * NEWS: Mention addition of x86_64 vector pow.
9332         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9333         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9334         redirections for expf.
9335         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9336         * sysdeps/x86_64/fpu/Versions: New versions added.
9337         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9338         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9339         build of SSE, AVX2 and AVX512 IFUNC versions.
9340         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
9341         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
9342         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
9343         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
9344         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
9345         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
9346         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
9347         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
9348         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
9349         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
9350         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
9351         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
9352         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
9353         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9354         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9355         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9356         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9357         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9358         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9359         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9360         * NEWS: Mention addition of x86_64 vector expf.
9362         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
9363         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
9364         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9365         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9366         redirections for exp.
9367         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9368         * sysdeps/x86_64/fpu/Versions: New versions added.
9369         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9370         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9371         build of SSE, AVX2 and AVX512 IFUNC versions.
9372         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
9373         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
9374         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
9375         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
9376         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
9377         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
9378         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
9379         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
9380         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
9381         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
9382         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
9383         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
9384         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
9385         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9386         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9387         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9388         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9389         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9390         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9391         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9392         * NEWS: Mention addition of x86_64 vector exp.
9394         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9395         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9396         redirections for logf.
9397         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9398         * sysdeps/x86_64/fpu/Versions: New versions added.
9399         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9400         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9401         build of SSE, AVX2 and AVX512 IFUNC versions.
9402         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
9403         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
9404         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
9405         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
9406         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
9407         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
9408         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
9409         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
9410         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
9411         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
9412         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
9413         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
9414         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
9415         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9416         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9417         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9418         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9419         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9420         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9421         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9422         * NEWS: Mention addition of x86_64 vector logf.
9424         * bits/libm-simd-decl-stubs.h: Added stubs for log.
9425         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
9426         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9427         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9428         redirections for log.
9429         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9430         * sysdeps/x86_64/fpu/Versions: New versions added.
9431         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9432         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9433         build of SSE, AVX2 and AVX512 IFUNC versions.
9434         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
9435         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
9436         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
9437         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
9438         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
9439         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
9440         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
9441         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
9442         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
9443         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
9444         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
9445         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
9446         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
9447         test.
9448         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9449         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9450         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9451         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9452         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9453         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9454         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9455         * NEWS: Mention addition of x86_64 vector log.
9457 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9459         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
9460         cfi_adjust_cfa_offset argument.
9461         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
9462         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
9464         [BZ #18034]
9465         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
9466         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
9467         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
9468         ordering using ldar.
9469         (_dl_tlsdesc_dynamic): Likewise.
9470         (_dl_tlsdesc_return_lazy): Likewise.
9471         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
9472         relaxed atomics instead of volatile and synchronize with release store.
9473         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
9474         volatile.
9475         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9477 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
9479         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9480         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
9481         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9482         * sysdeps/x86_64/fpu/Versions: New versions added.
9483         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9484         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9485         build of SSE, AVX2 and AVX512 IFUNC versions.
9486         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
9487         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
9488         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
9489         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
9490         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
9491         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
9492         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
9493         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
9494         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
9495         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
9496         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
9497         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
9498         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
9499         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9500         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9501         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9502         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9503         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9504         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9505         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9506         * NEWS: Mention addition of x86_64 vector sinf.
9508 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
9510         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
9511         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
9512         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
9513         Remove variable.
9514         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9515         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9517 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
9519         [BZ #18530]
9520         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
9521         strong alias of _IO_fputs.  Use libc_hidden_def.
9522         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
9523         and define as weak alias of __fputs_unlocked.  Use
9524         libc_hidden_weak.
9525         * include/stdio.h (__fputs_unlocked): Declare.  Use
9526         libc_hidden_proto.
9527         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
9528         fputs_unlocked.
9530         [BZ #18529]
9531         * resolv/netdb.h [__USE_POSIX]: Change condition to
9532         [__USE_XOPEN2K].
9533         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
9534         not expect.
9535         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
9536         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
9537         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
9538         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
9539         [XPG4 || UNIX98] (AI_ALL): Likewise.
9540         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
9541         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
9542         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
9543         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
9544         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
9545         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
9546         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
9547         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
9548         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
9549         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
9550         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
9551         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
9552         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
9553         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
9554         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
9555         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
9556         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
9557         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
9558         [XPG4 || UNIX98] (gai_strerror): Likewise.
9559         [XPG4 || UNIX98] (getaddrinfo): Likewise.
9560         [XPG4 || UNIX98] (getnameinfo): Likewise.
9562         [BZ #18528]
9563         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
9564         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
9565         __USE_XOPEN2K8].
9566         (getgrent): Likewise.
9567         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
9568         expect.
9569         [XPG3 || POSIX2008] (endgrent): Likewise.
9570         [XPG3] (setgrent): Likewise.
9571         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
9572         variable.
9573         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9575         [BZ #18527]
9576         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
9577         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
9578         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
9579         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
9580         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
9581         * include/unistd.h (__getlogin_r): Declare.  Use
9582         libc_hidden_proto.
9583         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
9584         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
9585         variable.
9586         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9587         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9588         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9590 2015-06-12  Martin Sebor  <msebor@redhat.com>
9592         [BZ #18512]
9593         * Makerules (check-install-supported): New target.
9594         (install): Add check-install-supported as a dependency.
9595         * manual/install.texi (Installing the C Library): Document
9596         that overriding prefix and exec_prefix is not supported.
9597         Mention DESTDIR.
9598         * INSTALL: Regenerate from the above.
9600 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
9602         [BZ #18519]
9603         * posix/Versions (libc): Export __libc_pread at version
9604         GLIBC_PRIVATE.
9605         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
9606         instead of pread.
9607         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
9608         variable.
9610         [BZ #18522]
9611         * misc/efgcvt_r.c
9612         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
9613         (cvt_symbol): Use weak_alias instead of strong_alias.
9614         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
9615         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
9616         Remove variable.
9617         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9618         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9620         [BZ #18520]
9621         * inet/herrno.c (h_errno): Rename to __h_errno.
9622         (__libc_h_errno): Define as alias of __h_errno not h_errno.
9623         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
9624         to __h_errno instead of h_errno.
9625         * nptl/herrno.c (h_errno): Rename to __h_errno.
9626         (__h_errno_location): Refer to __h_errno not h_errno.
9627         * resolv/Versions (h_errno): Rename to __h_errno.
9628         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
9629         Remove variable.
9630         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9632 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
9634         * configure.ac: More strict check for AVX512 assembler support.
9635         * configure: Regenerated.
9637         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
9638         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
9639         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9640         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
9641         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9642         * sysdeps/x86_64/fpu/Versions: New versions added.
9643         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9644         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9645         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9646         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
9647         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
9648         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
9649         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
9650         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
9651         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
9652         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
9653         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
9654         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
9655         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
9656         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
9657         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
9658         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
9659         test.
9660         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9661         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9662         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9663         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9664         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9665         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9666         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9667         * NEWS: Mention addition of x86_64 vector sin.
9669 2015-06-11  Florian Weimer  <fweimer@redhat.com>
9671         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
9672         comment.
9674 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9676         [BZ #18479]
9677         * nptl/pt-interp.c: New file.
9678         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
9679         Add pt-interp.
9680         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
9681         $(common-objpfx)runtime-linker.h.
9683 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
9685         * Makeconfig (+interp): Remove unused variable.
9686         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
9687         only.  Depend on $(common-objpfx)runtime-linker.h instead of
9688         $(elf-objpfx)runtime-linker.h.
9689         ($(elf-objpfx)runtime-linker.h): Rename to
9690         $(common-objpfx)runtime-linker.h and move ...
9691         * Makerules [$(build-shared) = yes]: ... here.
9692         * elf/interp.c: Include <runtime-linker.h> instead of
9693         <elf/runtime-linker.h>.
9695 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9697         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
9698         (__gettimeofday_syscall): Remove vsyscall fallback.
9699         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
9700         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
9701         Add syscall fallback function.
9702         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
9703         if vDSO is not present.
9704         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
9705         fallback function.
9706         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
9707         present.
9708         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
9709         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9711 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
9713         [BZ #18497]
9714         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
9715         of wcscmp.
9716         (wcscmp): Define as weak alias of WCSCMP.
9717         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
9718         wcscoll.
9719         (USE_HIDDEN_DEF): Define.
9720         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
9721         __wcscoll.  Don't use libc_hidden_weak.
9722         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
9723         wcscmp.
9724         * sysdeps/i386/i686/multiarch/wcscmp-c.c
9725         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
9726         __GI_wcscmp.
9727         (weak_alias): Undefine and redefine.
9728         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
9729         __wcscmp and define as weak alias of __wcscmp.
9730         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
9731         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
9732         (__wcscoll): Likewise.
9733         (wcscmp): Don't use libc_hidden_proto.
9734         (wcscoll): Likewise.
9735         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
9736         wcscoll.
9737         * posix/regexec.c (check_node_accept_bytes): Likewise.
9738         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
9739         variable.
9740         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9741         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9743         [BZ #18507]
9744         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
9745         __fstatvfs and define as weak alias of __fstatvfs.  Use
9746         libc_hidden_weak.
9747         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
9748         and define as weak alias of __statvfs.  Use libc_hidden_weak.
9749         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
9750         Define as alias of __fstatvfs, not fstatvfs.
9751         (fstatvfs64): Likewise.
9752         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
9753         Define as alias of __statvfs, not statvfs.
9754         (statvfs64): Likewise.
9755         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
9756         Remove variable.
9758 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9761         (HAVE_GETCPU_VSYSCALL): Define.
9762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9763         (HAVE_GETCPU_VSYSCALL): Likewise.
9764         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
9765         * sysdeps/unix/sysv/linux/sched_getcpu.c
9766         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
9767         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
9768         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
9769         prototype.
9770         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9771         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
9772         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
9773         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
9774         Define.
9775         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
9776         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9777         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
9778         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9780 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
9782         * sysdeps/x86_64/fpu/Makefile: New file.
9783         * sysdeps/x86_64/fpu/Versions: New file.
9784         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
9785         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
9786         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
9787         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
9788         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
9789         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
9790         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
9791         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
9792         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
9793         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
9794         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
9795         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
9796         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
9797         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9798         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9799         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
9800         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
9801         * sysdeps/x86_64/configure.ac: Options for libmvec build.
9802         * sysdeps/x86_64/configure: Regenerated.
9803         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
9804         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
9805         * manual/install.texi (Configuring and compiling): Document
9806         --disable-mathvec.
9807         * INSTALL: Regenerated.
9808         * NEWS: Mention addition of libmvec and x86_64 vector cos.
9810         * math/Makefile: Added rules for vector tests.
9811         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
9812         declaration under condition.
9813         * math/test-double-vlen2.h: New file.
9814         * math/test-double-vlen4.h: New file.
9815         * math/test-double-vlen8.h: New file.
9816         * math/test-vec-loop.h: Added initialization macro.
9817         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
9818         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
9819         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
9820         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
9821         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
9822         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
9823         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
9824         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
9825         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
9826         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
9827         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
9829         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9830         * sysdeps/x86_64/fpu/Versions: New versions added.
9831         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
9832         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
9833         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
9834         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
9835         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
9836         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
9837         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
9838         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
9839         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
9840         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
9841         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
9842         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
9843         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
9844         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9845         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9846         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9847         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
9848         * NEWS: Mention addition of x86_64 vector cosf.
9850         * math/Makefile: Added CFLAGS for new tests.
9851         * math/test-float-vlen16.h: New file.
9852         * math/test-float-vlen4.h: New file.
9853         * math/test-float-vlen8.h: New file.
9854         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
9855         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
9856         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9857         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
9858         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
9859         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
9860         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
9861         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
9862         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
9863         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
9864         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
9866 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
9868         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
9869         * locale/programs/ld-ctype.c: Likewise.
9871 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9873         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
9874         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
9875         bit_ZMM16_31_state): New macro.
9876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9877         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
9879 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
9881         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
9883 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
9885         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
9887 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
9889         [BZ #18498]
9890         * libio/memstream.c (open_memstream): Rename to __open_memstream
9891         and define as weak alias of __open_memstream.
9892         * include/stdio.h (__open_memstream): Declare.  Use
9893         libc_hidden_proto.
9894         (open_memstream): Don't use libc_hidden_proto.
9895         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
9896         open_memstream.
9897         * posix/getopt.c (_getopt_internal_r): Likewise.
9898         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
9899         variable.
9900         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9901         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9902         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9904         [BZ #18496]
9905         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
9906         instead of wcrtomb.
9908         [BZ #18483]
9909         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
9910         [__USE_XOPEN2K8].  Remove redundant #endif.
9911         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
9912         Remove redundant #if.
9913         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
9914         Remove variable.
9915         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9916         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9918         [BZ #18495]
9919         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
9920         (__iswlower): Likewise.
9921         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
9922         (__iswlower): Likewise.
9923         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
9924         instead of towlower.
9925         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
9926         instead of iswlower.  Call __towupper instead of towupper.
9927         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
9928         instead of iswalnum.
9930 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9932         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
9933         errors to stderr.
9935 2015-06-05  Florian Weimer  <fweimer@redhat.com>
9937         [BZ #15661]
9938         [BZ #17322]
9939         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9940         Check for overflow properly.  Check for O_APPEND.  Ignore large
9941         file system block sizes.  Add comments about problems.
9942         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
9943         * manual/filesys.texi (Storage Allocation): New node.
9945 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9947         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
9948         cancellable syscalls.
9949         (SYS_ify): Add guard to no redefine it.
9950         (INLINE_SYSCALL): Likewise.
9951         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
9952         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
9953         SYSCALL_CANCEL instead.
9954         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
9955         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9956         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9957         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9958         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9959         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
9960         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
9961         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
9962         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9963         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9964         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
9965         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
9966         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
9967         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
9968         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
9969         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9970         Likewise.
9971         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9972         (__libc_pread64): Likewise.
9973         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
9974         (__libc_preadv): Likewise.
9975         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
9976         (__libc_readv64): Likewise.
9977         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9978         (__libc_pwrite): Likewise.
9979         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9980         (__libc_pwrite64): Likewise.
9981         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
9982         (__libc_pwritev): Likewise.
9983         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
9984         (__libc_pwritev64): Likewise.
9985         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
9986         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9987         (sync_file_range): Likewise.
9988         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
9989         Likewise.
9990         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
9991         Likewise.
9992         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9993         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9994         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9995         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9996         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9997         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9998         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9999         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
10000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10001         Likewise.
10002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10003         (__libc_read64): Likewise.
10004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
10005         Likewise.
10006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
10007         Likewise.
10008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
10009         Likewise.
10010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
10011         Likewise.
10012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10013         (__libc_pread64): Likewise.
10014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
10015         Likewise.
10016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10017         (__libc_pwrite64): Likewise.
10018         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
10019         (sync_file_range): Likewise.
10020         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
10021         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10022         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10023         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
10024         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
10025         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10026         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10027         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
10028         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
10029         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10030         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10031         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10032         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10033         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10034         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
10035         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10036         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10037         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10038         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10039         Likewise.
10040         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
10041         Likewise.
10042         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
10043         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
10044         Likewise.
10045         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
10046         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
10047         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
10048         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
10049         Likewise.
10050         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
10051         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
10052         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
10053         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
10054         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
10056 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
10058         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
10059         Include dl-vdso.
10060         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
10061         Use VDSO routines for gettimeofday, clock_gettime if
10062         available.
10063         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
10064         Declare VDSO symbols.
10065         * sysdeps/unix/sysv/linux/arm/sysdep.h:
10066         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
10067         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10068         * sysdeps/unix/sysv/linux/arm/Versions: Add
10069         __vdso_clock_gettime.
10071 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10073         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
10074         be an inline implementation regardless of library is built within.
10075         (open_not_cancel_2): Likewise.
10076         (__read_nocancel): Likewise.
10077         (__write_nocancel): Likewise.
10078         (openat_not_cancel): Likewise.
10079         (openat_not_cancel_3): Likewise.
10080         (openat64_not_cancel): Likewise.
10081         (openat64_not_cancel_3): Likewise.
10082         (__close_nocancel): Likewise.
10083         (pause_not_cancel): Likewise.
10084         (nanosleep_not_cancel): Likewise.
10085         (sigsuspend_not_cancel): Likewise.
10087 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10089         [BZ #14958]
10090         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
10091         wake-up.
10092         (__pthread_rwlock_rdlock_slow): Likewise.
10093         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10094         Likewise.
10095         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10096         Likewise.
10097         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
10098         * nptl/tst-rwlock16.c: New file.
10099         * nptl/Makefile (tests): Add new test.
10101 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10103         [BZ #18324]
10104         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
10105         missing wake-up of readers.
10106         * nptl/tst-rwlock15.c: New file.
10107         * nptl/Makefile (tests): Add new test.
10109 2015-06-03  Roland McGrath  <roland@hack.frob.com>
10111         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
10112         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
10113         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
10114         and __nacl_supply_interface_rtld.
10115         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
10116         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
10117         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
10118         Add __nacl_supply_interface_rtld.
10119         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
10121 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10123         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
10124         isfinite.
10125         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10126         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
10128 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10130         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
10131         __signbit* with standard C99 macros.
10132         * math/e_exp10l.c: Likewise.
10133         * math/e_exp2l.c: Likewise.
10134         * math/e_scalb.c: Likewise.
10135         * math/e_scalbf.c: Likewise.
10136         * math/e_scalbl.c: Likewise.
10137         * math/s_ldexp.c: Likewise.
10138         * math/s_ldexpf.c: Likewise.
10139         * math/s_ldexpl.c: Likewise.
10140         * math/w_atan2.c: Likewise.
10141         * math/w_atan2f.c: Likewise.
10142         * math/w_atan2l.c: Likewise.
10143         * math/w_cosh.c: Likewise.
10144         * math/w_coshf.c: Likewise.
10145         * math/w_coshl.c: Likewise.
10146         * math/w_exp10.c: Likewise.
10147         * math/w_exp10f.c: Likewise.
10148         * math/w_exp10l.c: Likewise.
10149         * math/w_exp2.c: Likewise.
10150         * math/w_exp2f.c: Likewise.
10151         * math/w_exp2l.c: Likewise.
10152         * math/w_fmod.c: Likewise.
10153         * math/w_fmodf.c: Likewise.
10154         * math/w_fmodl.c: Likewise.
10155         * math/w_hypot.c: Likewise.
10156         * math/w_hypotf.c: Likewise.
10157         * math/w_hypotl.c: Likewise.
10158         * math/w_jnl.c: Likewise.
10159         * math/w_lgamma.c: Likewise.
10160         * math/w_lgamma_r.c: Likewise.
10161         * math/w_lgammaf.c: Likewise.
10162         * math/w_lgammaf_r.c: Likewise.
10163         * math/w_lgammal.c: Likewise.
10164         * math/w_lgammal_r.c: Likewise.
10165         * math/w_pow.c: Likewise.
10166         * math/w_powf.c: Likewise.
10167         * math/w_powl.c: Likewise.
10168         * math/w_remainder.c: Likewise.
10169         * math/w_remainderf.c: Likewise.
10170         * math/w_remainderl.c: Likewise.
10171         * math/w_scalb.c: Likewise.
10172         * math/w_scalbf.c: Likewise.
10173         * math/w_scalbl.c: Likewise.
10174         * math/w_scalbln.c: Likewise.
10175         * math/w_scalblnf.c: Likewise.
10176         * math/w_scalblnl.c: Likewise.
10177         * math/w_sinh.c: Likewise.
10178         * math/w_sinhf.c: Likewise.
10179         * math/w_sinhl.c: Likewise.
10180         * math/w_tgamma.c: Likewise.
10181         * math/w_tgammaf.c: Likewise.
10182         * math/w_tgammal.c: Likewise.
10183         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10184         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
10185         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10186         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10187         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10188         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10189         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10190         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10191         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10192         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10193         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10194         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10195         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10196         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10197         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10198         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10199         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10200         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10201         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10202         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10203         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10204         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10205         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10206         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10207         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10208         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10209         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
10210         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10211         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10212         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10213         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
10214         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
10215         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
10216         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
10217         * stdio-common/printf_fp.c: Likewise.
10218         * stdio-common/printf_fphex.c: Likewise.
10219         * stdio-common/printf_size.c: Likewise.
10221 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
10223         [BZ #18470]
10224         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
10225         strnlen.
10226         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
10227         Remove variable.
10228         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10229         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10230         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10231         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10232         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10233         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10234         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10235         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10236         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10237         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10239         [BZ #18468]
10240         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
10241         weak alias of __wmemchr.  Use libc_hidden_weak.
10242         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
10243         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
10244         instead of wmemchr.
10246 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10248         [BZ #18383]
10249         * elf/tst-tlsalign-extern.c: New file.
10250         * elf/tst-tlsalign-extern-static.c: New file.
10251         * elf/tst-tlsalign-vars.c: New file.
10252         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
10253         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
10254         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
10255         ($(objpfx)tst-tlsalign-extern-static): Likewise.
10256         (test-xfail-tst-tlsalign-extern-static): New variable.
10258 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
10260         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
10261         Use variable name _sc_err instead of err.
10262         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
10263         instead of ret.
10264         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
10265         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
10266         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
10267         (INLINE_SYSCALL): Likewise.
10269         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
10270         * include/string.h (__strnlen): Use libc_hidden_proto.
10271         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
10272         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
10273         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
10274         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
10275         (libc_hidden_def): Undefine and redefine.
10276         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
10277         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
10278         __GI_strnlen.
10279         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
10280         libc_hidden_def.
10281         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
10283         [BZ #18469]
10284         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
10285         weak alias of __towlower.  Use libc_hidden_weak.
10286         (towupper): Rename to __towupper and define as weak alias of
10287         __towupper.  Use libc_hidden_weak.
10288         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
10289         (__towupper): Likewise.
10290         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
10291         __towlower instead of towlower.
10293 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10295         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
10296         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
10298 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10300         * sysdeps/aarch64/libm-test-ulps: Update.
10302 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10304         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
10305         Define.
10306         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10307         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10308         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10309         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10310         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
10311         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
10312         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
10314 2015-06-01  Martin Sebor  <msebor@redhat.com>
10316         [BZ #18116]
10317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10318         (__setcontext): Use extended four-operand version of mtsf whenever
10319         possible.
10320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10321         (__novec_swapcontext): Likewise.
10323 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10325         * benchtests/scripts/compare_bench.py: New file.
10326         * benchtests/scripts/import_bench.py (mean): New function.
10327         (split_list): Likewise.
10328         (do_for_all_timings): Likewise.
10329         (compress_timings): Likewise.
10331         * benchtests/scripts/import_bench.py: New file.
10332         * benchtests/scripts/validate_benchout.py: Import import_bench
10333         instead of jsonschema.
10334         (validate_bench): Remove function.
10335         (main): Use import_bench.
10337 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
10339         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
10340         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
10342 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10346 2015-05-28  Roland McGrath  <roland@hack.frob.com>
10348         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
10349         set THREAD_SELF->tid to a magic value and futex-wake it.
10350         Pass its address to the thread_exit system call.
10351         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
10352         bit is clear.
10353         * sysdeps/nacl/lowlevellock.h: New file.
10354         * sysdeps/nacl/lll_timedwait_tid.c: New file.
10356         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
10357         Add TIMEOUT to current time, don't subtract it.
10359 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
10361         [BZ #2981]
10362         [BZ #18422]
10363         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
10364         ($(objpfx)tst-audit2.out): Also depend on
10365         $(objpfx)tst-auditmod9b.so.
10366         * elf/tst-audit2.c: Include <dlfcn.h>.
10367         (calloc_called): New.
10368         (calloc): Allow to be called more than once.
10369         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
10371 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
10373         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
10374         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
10376 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
10378         * stdlib/monetary.h: Fix comment.
10380 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
10382         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
10383         Avoid using variables in #defines that might cause shadowing.
10384         (INTERNAL_VSYSCALL_CALL): Likewise.
10386 2015-05-26  Roland McGrath  <roland@hack.frob.com>
10388         * sysdeps/nacl/lll_timedlock_wait.c: New file.
10390         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
10391         * nptl/lll_timedlock_wait.c: ... to this new file.
10392         * nptl/Makefile (libpthread-routines): Add it.
10393         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
10394         * nptl/lll_timedwait_tid.c: ... to this new file.
10395         * nptl/Makefile (libpthread-routines): Add it.
10396         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
10397         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
10398         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
10399         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
10400         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
10401         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
10402         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
10403         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
10404         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
10405         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
10407 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10409         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
10410         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10411         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10412         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
10413         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10414         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10415         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10416         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10417         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10418         * sysdeps/unix/sysv/linux/tile/sysdep.h
10419         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10420         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
10421         using vDSO syscall macro.
10423 2015-05-26  Andriy Rysin  <arysin@gmail.com>
10425         [BZ #17293]
10426         * uk_UA: Fix sorting order for Ukrainian locale
10428 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
10430         * stdlib/monetary.h: Fix comment.
10432 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10434         [BZ #18234]
10435         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
10436         st_mtim and st_ctim members.
10437         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
10438         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
10439         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
10440         (struct stat64): Likewise.
10441         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
10442         (struct stat64): Likewise.
10443         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
10444         (struct stat64): Likewise.
10446 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10448         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
10449         Define and include sysdep-vdso.h.
10450         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
10451         Likewise.
10452         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
10453         Likewise.
10454         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
10455         Define with VDSO_SYMBOL and use PTR_MANGLE.
10456         (__vdso_clock_gettime): Likewise.
10457         (__vdso_clock_getres): Likewise.
10458         (_libc_vdso_platform_setup): Likewise.
10459         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10460         Likewise.
10461         (_libc_vdso_platform_setup): Likewise.
10462         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
10463         Likewise.
10464         (__vdso_clock_gettime): Likewise.
10465         (__vdso_clock_getres): Likewise.
10466         (__vdso_get_tbfreq): Likewise.
10467         (__vdso_getcpu): Likewise.
10468         (__vdso_time): Likewise.
10469         (__vdso_sigtramp_rt64): Likewise.
10470         (__vdso_signtramp32): Likewise.
10471         (__vdso_sigtramp_rt32): Likewise.
10472         (_libc_vdso_platform_setup): Likewise.
10473         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
10474         Likewise.
10475         (__vdso_clock_gettime): Likewise.
10476         (__vdso_clock_getres): Likewise.
10477         (_libc_vdso_platform_setup): Likewise.
10478         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
10479         Likewise.
10480         (__vdso_clock_gettime): Likewise.
10481         (_libc_vdso_platform_setup): Likewise.
10482         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10483         Likewise.
10484         (__vdso_getcpu): Likewise.
10485         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
10486         Use VDSO_SYMBOL macro to define.
10487         (__vdso_clock_gettime): Likewise.
10488         (__vdso_clock_getres): Likewise.
10489         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
10490         Likewise.
10491         (__vdso_clock_gettime): Likewise.
10492         (__vdso_clock_getres): Likewise.
10493         (__vdso_get_tbfreq): Likewise.
10494         (__vdso_getcpu): Likewise.
10495         (__vdso_time): Likewise.
10496         (__vdso_sigtramp_rt64): Likewise.
10497         (__vdso_signtramp32): Likewise.
10498         (__vdso_sigtramp_rt32): Likewise.
10499         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
10500         Likewise.
10501         (__vdso_clock_gettime): Likewise.
10502         (__vdso_clock_getres): Likewise.
10503         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
10504         Likewise.
10505         (__vdso_clock_gettime): Likewise.
10506         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10507         Likewise.
10508         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
10509         macro.
10510         (INTERNAL_VSYSCALL): Likewise.
10511         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
10512         Remove macro.
10513         (INTERNAL_VSYSCALL): Likewise.
10514         (INTERNAL_VSYSCALL_NCS): Likewise.
10515         (INTERNAL_VSYSCALL_CALL): New macro.
10516         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
10517         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
10518         Likewise.
10519         (INTERNAL_VSYSCALL): Likewise.
10520         (INTERNAL_VSYSCALL_NCS): Likewise.
10521         (INTERNAL_VSYSCALL_CALL): New macro.
10522         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
10523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10524         (INLINE_VSYSCALL): Remove macro.
10525         (INTERNAL_VSYSCALL): Remove macro.
10526         (INTERNAL_VSYSCALL_NCS): Remove macro.
10527         (INTERNAL_VSYSCALL_CALL): New macro.
10528         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
10529         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
10530         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
10531         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
10532         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10534         (INLINE_VSYSCALL): Remove macro.
10535         (INTERNAL_VSYSCALL): Likewise.
10536         (INTERNAL_VSYSCALL_NCS): Likewise.
10537         (INTERNAL_VSYSCALL_CALL): New macro.
10538         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
10539         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
10540         PTR_DEMANGLE on vDSO pointer.
10541         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
10542         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
10543         macro.
10544         (INTERNAL_SYSCALL): Likewise.
10545         (INTERNAL_VSYSCALL_NCS): Remove macro.
10546         (INTERNAL_VSYSCALL_CALL): New macro.
10547         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
10548         Remove macro.
10549         (INTERNAL_VSYSCALL): Likewise.
10550         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
10551         sysdep-vdso.h instead of libc-vdso.h.
10552         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
10553         definition.
10554         (INLINE_VSYSCALL): Likewise.
10555         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
10556         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
10557         definition.
10558         (INLINE_VSYSCALL): Likewise.
10559         (INTERNAL_VSYSCALL): Likewise.
10560         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10561         * sysdeps/unix/sysv/linux/timespec_get.c
10562         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10563         (timespec_get): Use ANSI prototype.
10564         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
10565         and definition for Linux.
10567 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10569         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
10570         * include/libc-symbols.h: libmvec_hidden_* macro series added.
10572 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
10574         [BZ #2981]
10575         [BZ #18410]
10576         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
10577         for missing DT_PLTRELSZ.
10579 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
10581         Remove obsolete aliases that broke 'locale -a'
10582         [BZ #18412]
10583         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
10584         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
10585         breaking some applications that use 'locale -a' output.
10586         Change the encoding of this file from Latin-1 to ASCII to avoid
10587         other potential problems with people grepping this file.
10589 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10591         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
10592         -fasynchronous-unwind-tables.
10593         (CFLAGS-sendto.c): Likewise.
10594         (CFLAGS-sendmsg.c): Likewise.
10595         (CFLAGS-connect.c): Likewise.
10596         (CFLAGS-recvmsg.c): Likewise.
10597         (CFLAGS-recvfrom.c): Likewise.
10598         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
10599         (SOCKETCALL): New macro: non-cancellable socketcall.
10600         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
10601         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
10602         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
10603         * sysdeps/unix/sysv/linux/accept.c: New file.
10604         * sysdeps/unix/sysv/linux/bind.c: Likewise.
10605         * sysdeps/unix/sysv/linux/connect.c: Likewise.
10606         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
10607         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
10608         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
10609         * sysdeps/unix/sysv/linux/listen.c: Likewise.
10610         * sysdeps/unix/sysv/linux/recv.c: Likewise.
10611         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
10612         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
10613         * sysdeps/unix/sysv/linux/send.c: Likewise.
10614         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
10615         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
10616         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
10617         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
10618         * sysdeps/unix/sysv/linux/socket.c: Likewise.
10619         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
10620         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
10621         prototype.
10622         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
10623         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10624         instead of __internal_xxx function.
10625         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
10626         prototype.
10627         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
10628         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10629         instead of __internal_xxx function.
10630         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
10631         prototype.
10632         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
10633         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10634         instead of __internal_xxx function.
10635         * sysdeps/unix/sysv/linux/accept.S: Remove file.
10636         * sysdeps/unix/sysv/linux/bind.S: Likewise.
10637         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10638         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
10639         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
10640         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
10641         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
10642         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
10643         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
10644         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
10645         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
10646         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10647         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
10648         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
10649         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
10650         * sysdeps/unix/sysv/linux/listen.S: Likewise.
10651         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
10652         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
10653         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
10654         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
10655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
10656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
10657         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10658         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10659         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10660         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
10661         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
10662         * sysdeps/unix/sysv/linux/send.S: Likewise.
10663         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10664         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10665         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
10666         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
10667         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
10668         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
10669         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
10670         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
10671         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
10672         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
10673         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
10674         socketcall is implemented in GLIBC.
10676 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
10678         * soft-fp/fmadf4.c: Include <libc-internal.h>.
10679         (__fma): Ignore uninitialized warnings around packing.
10680         * soft-fp/fmasf4.c: Include <libc-internal.h>.
10681         (__fmaf): Ignore uninitialized warnings around packing.
10682         * soft-fp/fmatf4.c: Include <libc-internal.h>.
10683         (__fmal): Ignore uninitialized warnings around packing.
10685         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
10686         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10687         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
10688         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10690         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
10691         switch statement into default case.
10692         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
10694         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
10695         a conditional in forcing "inexact".
10696         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10697         Likewise.
10699 2015-05-22  Roland McGrath  <roland@hack.frob.com>
10701         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10702         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
10703         for each INTERNAL_SYSCALL use.
10705 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
10707         [BZ #438]
10708         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
10709         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
10710         variable.
10712         [BZ #18444]
10713         * string/basename.c (basename): Rename to __basename and define as
10714         weak alias of __basename.  Use libc_hidden_weak.
10715         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
10716         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
10717         __basename instead of basename.
10718         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
10719         Remove variable.
10720         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10722 2015-05-18  Florian Weimer  <fweimer@redhat.com>
10724         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
10725         (_IO_JUMPS_FILE_plus): New.
10726         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
10727         _IO_CAST_FIELD_ACCESS.
10728         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
10729         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
10730         * libio/freopen.c (freopen): Likewise.
10731         * libio/freopen64.c (freopen64): Likewise.
10732         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
10733         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
10734         * libio/iofwide.c (_IO_fwide): Likewise.
10735         * libio/memstream.c (open_memstream): Likewise.
10736         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10737         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10738         * libio/oldiopopen.c (_IO_old_popen): Likewise.
10740 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
10742         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
10743         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
10744         NADJ.
10745         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
10746         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
10747         NADJ.
10748         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
10749         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
10750         NADJ.
10752         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
10753         (p == 4) case.
10755         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
10756         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
10757         Remove variable.
10758         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10759         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10760         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10762 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10764         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
10765         Adjust jump table label generation macros.
10767 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10769         * stdio-common/vfprintf.c (vfprintf): Move local variables
10770         args_malloced, specs, specs_malloced, and the code after
10771         do_positional to the printf_positional function.
10772         (printf_positional): New function.
10774 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10776         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
10777         function.
10778         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
10779         STEP4_TABLE, process_arg): Move macro definitions
10780         out of the vfprintf function.  (Cosmetic change only.)
10782 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
10784         * benchtests/Makefile (stdio-common-bench): Define.
10785         (benchset): Add stdio-common-bench.
10786         * sprintf-inputs: New file.
10787         * sprintf-source.c: New file.
10789 2015-05-21  Andreas Schwab  <schwab@suse.de>
10791         [BZ #13028]
10792         [BZ #17053]
10793         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
10794         of struct __res_state.
10795         * resolv/res_send.c (__libc_res_nsend): Likewise.
10796         (get_nsaddr): New function.
10797         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
10798         statp directly.
10800 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
10802         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
10803         -D_POSIX_C_SOURCE=199506L.
10805         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
10807         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
10808         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
10809         Do not mention otherwise.
10810         [POSIX] (_XOPEN_VERSION): Do not expect.
10811         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
10812         [POSIX] (_POSIX2_C_BIND): Likewise.
10813         [POSIX] (_POSIX2_VERSION): Likewise.
10814         [POSIX] (_XOPEN_XPG2): Likewise.
10815         [POSIX] (_XOPEN_XPG3): Likewise.
10816         [POSIX] (_XOPEN_XPG4): Likewise.
10817         [POSIX] (_XOPEN_UNIX): Likewise.
10818         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
10819         [POSIX] (_POSIX_BARRIERS): Likewise.
10820         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
10821         [POSIX] (_POSIX_CPUTIME): Likewise.
10822         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
10823         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
10824         [POSIX] (_POSIX_SHELL): Likewise.
10825         [POSIX] (_POSIX_SPAWN): Likewise.
10826         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
10827         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
10828         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
10829         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
10830         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
10831         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
10832         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
10833         [POSIX] (_XBS5_LP64_OFF64): Likewise.
10834         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
10835         [POSIX] (_POSIX_TIMEOUTS): Likewise.
10836         [POSIX] (_POSIX2_PBS): Likewise.
10837         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
10838         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
10839         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
10840         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
10841         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
10842         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
10843         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
10844         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
10845         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
10846         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
10847         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
10848         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
10849         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
10850         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
10851         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
10852         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
10853         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
10854         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
10855         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
10856         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
10857         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
10858         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
10859         [POSIX] (_SC_2_C_BIND): Likewise.
10860         [POSIX] (_SC_2_C_VERSION): Likewise.
10861         [POSIX] (_SC_2_PBS): Likewise.
10862         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
10863         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
10864         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
10865         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
10866         [POSIX] (_SC_2_PBS_TRACK): Likewise.
10867         [POSIX] (_SC_ATEXIT_MAX): Likewise.
10868         [POSIX] (_SC_BARRIERS): Likewise.
10869         [POSIX] (_SC_BASE): Likewise.
10870         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
10871         [POSIX] (_SC_DEVICE_IO): Likewise.
10872         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
10873         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
10874         [POSIX] (_SC_FD_MGMT): Likewise.
10875         [POSIX] (_SC_FIFO): Likewise.
10876         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
10877         [POSIX] (_SC_FILE_LOCKING): Likewise.
10878         [POSIX] (_SC_FILE_SYSTEM): Likewise.
10879         [POSIX] (_SC_IOV_MAX): Likewise.
10880         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
10881         [POSIX] (_SC_NETWORKING): Likewise.
10882         [POSIX] (_SC_PAGE_SIZE): Likewise.
10883         [POSIX] (_SC_PASS_MAX): Likewise.
10884         [POSIX] (_SC_PIPE): Likewise.
10885         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
10886         [POSIX] (_SC_REGEXP): Likewise.
10887         [POSIX] (_SC_SHELL): Likewise.
10888         [POSIX] (_SC_SIGNALS): Likewise.
10889         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
10890         [POSIX] (_SC_SPIN_LOCKS): Likewise.
10891         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
10892         [POSIX] (_SC_USER_GROUPS): Likewise.
10893         [POSIX] (_SC_USER_GROUPS_R): Likewise.
10894         [POSIX] (_SC_STREAMS): Likewise.
10895         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
10896         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
10897         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
10898         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
10899         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
10900         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
10901         [POSIX] (_PC_FILESIZEBITS): Likewise.
10902         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
10903         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
10904         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
10905         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
10906         [POSIX] (uid_t): Likewise.
10907         [POSIX] (gid_t): Likewise.
10908         [POSIX] (off_t): Likewise.
10909         [POSIX] (pid_t): Likewise.
10910         [POSIX] (cuserid): Allow.
10911         (_SC_2_CHAR_TERM): Require constant.
10912         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
10913         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
10914         variable.
10916 2015-05-20  Roland McGrath  <roland@hack.frob.com>
10918         * sysdeps/nacl/pthread-pids.h: New file.
10919         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
10920         (create_thread): Use __nacl_get_tid to initialize PD->tid.
10922         * nptl/pthread-pids.h: New file.
10923         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
10924         * nptl/nptl-init.c: Include <pthread-pids.h>.
10925         (__pthread_initialize_minimal_internal):
10926         Call __pthread_initialize_pids instead of set_tid_address syscall.
10928         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
10929         * sysdeps/posix/usleep.c: ... here.
10931 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10933         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
10934         call_pselect6 object.
10935         [$(subdir) = io]: Remove call_sync_file_range object.
10936         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
10937         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
10938         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
10939         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
10941 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
10943         * math/s_cproj.c: Add include "math_private.h".
10944         * math/s_cprojf.c: Likewise.
10945         * math/s_cprojl.c: Likewise.
10947 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
10949         [BZ #18244]
10950         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
10951         high mantissa bit when testing whether P is a NaN.
10952         * math/libm-test.inc (remainder_test_data): Add more tests.
10953         (remquo_test_data): Likewise.
10955         [BZ #18049]
10956         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
10957         below -32, return the argument, with underflow if subnormal.
10958         * math/auto-libm-test-in: Add more tests of atanh.
10959         * math/auto-libm-test-out: Regenerated.
10961 2015-05-19  Roland McGrath  <roland@hack.frob.com>
10963         [BZ #18434]
10964         * nptl/tst-sem15.c: New file.
10965         * nptl/Makefile (tests): Add it.
10966         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
10967         s/<</>>/ to fix typo in EOVERFLOW check.
10968         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
10970 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10972         * manual/strings.texi (envz_remove): Fix typo in safety
10973         annotations.
10975 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
10976             Steve Ellcey  <sellcey@imgtec.com>
10978         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
10979         in order to avoid strict alias warnings.
10980         (iruserok_af): Ditto for ra.
10982 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
10984         [BZ #17581]
10985         * malloc/hooks.c
10986         (magicbyte): Convert to a function and avoid returning 0x01.
10987         (mem2mem_check): Avoid using a length byte equal to the magic byte.
10988         (mem2chunk_check): Fix unsigned comparisons to zero.
10989         Hoist defs of sz and magic.
10991 2015-05-19  Richard Henderson  <rth@redhat.com>
10993         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
10995         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10997 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10999         [BZ #16159]
11000         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
11001         * malloc/arena.c (arena_lock): Check if arena is corrupt.
11002         (reused_arena): Find a non-corrupt arena.
11003         (heap_trim): Pass arena to unlink.
11004         * malloc/hooks.c (malloc_check_get_size): Pass arena to
11005         malloc_printerr.
11006         (top_check): Likewise.
11007         (free_check): Likewise.
11008         (realloc_check): Likewise.
11009         * malloc/malloc.c (malloc_printerr): Add arena argument.
11010         (unlink): Likewise.
11011         (munmap_chunk): Adjust.
11012         (ARENA_CORRUPTION_BIT): New macro.
11013         (arena_is_corrupt): Likewise.
11014         (set_arena_corrupt): Likewise.
11015         (sysmalloc): Use mmap if there are no usable arenas.
11016         (_int_malloc): Likewise.
11017         (__libc_malloc): Don't fail if arena_get returns NULL.
11018         (_mid_memalign): Likewise.
11019         (__libc_calloc): Likewise.
11020         (__libc_realloc): Adjust for additional argument to
11021         malloc_printerr.
11022         (_int_free): Likewise.
11023         (malloc_consolidate): Likewise.
11024         (_int_realloc): Likewise.
11025         (_int_memalign): Don't touch corrupt arenas.
11026         * malloc/tst-malloc-backtrace.c: New test case.
11028         * Makefile (summarize-tests): Fix return value on success.
11030         * manual/string.texi (Envz Functions): Add envz_remove.
11032 2015-05-18  Roland McGrath  <roland@hack.frob.com>
11034         * sysdeps/posix/opendir.c: Include <stdbool.h>.
11035         (invalid_name): New function, broken out of ...
11036         (__opendirat): ... here.  Call it.
11037         (need_isdir_precheck): New function, broken out of ...
11038         (__opendirat): ... here.  Call it.
11039         Use __fxstatat64, not __xstatat64.
11040         (opendir_oflags): New function, broken out of ...
11041         (__opendirat): ... here.  Call it.
11042         (opendir_tail): New function, broken out of ...
11043         (__opendirat): ... here.  Call it.
11044         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
11045         opendir_tail, rather than punting to __opendirat.
11046         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
11048 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11050         * .gitignore: Ignore generated *.pyc.
11052 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
11054         * include/stdio.h: Define __need_wint_t.
11055         * test-skeleton.c: Avoid `for' loop initial declaration.
11056         * nptl/tst-initializers1.c: Use test-skeleton.c.
11058 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11060         [BZ #18418]
11061         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
11063 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11065         [BZ #16352]
11066         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
11067         (__ieee754_atanh): Force underflow exception for results with
11068         small absolute value.
11069         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
11070         (__ieee754_atanhf): Force underflow exception for results with
11071         small absolute value.
11072         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
11073         (__ieee754_atanh): Force underflow exception for results with
11074         small absolute value.
11075         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
11076         (__ieee754_atanhf): Force underflow exception for results with
11077         small absolute value.
11078         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
11079         (__ieee754_atanhl): Force underflow exception for results with
11080         small absolute value.
11081         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
11082         (__ieee754_atanhl): Force underflow exception for results with
11083         small absolute value.
11084         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
11085         (__ieee754_atanhl): Force underflow exception for results with
11086         small absolute value.
11087         * math/auto-libm-test-in: Do not allow missing underflow
11088         exceptions from atanh.
11089         * math/auto-libm-test-out: Regenerated.
11091         [BZ #18221]
11092         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
11093         2**-28 as threshold for returning x or +/- 1/x.
11094         * math/auto-libm-test-in: Add more tests of tan.
11095         * math/auto-libm-test-out: Regenerated.
11097         [BZ #18220]
11098         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11099         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
11100         * math/auto-libm-test-in: Add another test of lgamma.
11101         * math/auto-libm-test-out: Regenerated.
11103 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
11105         * stdio-common/printf_fp.c (___printf_fp): Use abs.
11106         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
11107         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
11108         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
11109         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
11110         (ADD2A): Use fabs.  (SUB2A): Use fabs.
11111         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
11112         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
11113         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
11114         (log1): Use fabs.  (my_log2): Use fabs.
11115         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
11116         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
11117         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
11118         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
11119         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
11120         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
11121         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
11122         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
11123         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
11124         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
11125         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
11127 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11129         [BZ #18217]
11130         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
11131         as threshold for returning 1 - x.
11132         * math/auto-libm-test-in: Add more tests of erfc.
11133         * math/auto-libm-test-out: Regenerated.
11135 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
11137         [BZ #18196]
11138         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
11139         threshold for large arguments.
11140         * math/auto-libm-test-in: Add another test of atan.
11141         * math/auto-libm-test-out: Regenerated.
11143         [BZ #16339]
11144         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
11145         (__log1p): Force underflow exception for results with small
11146         absolute value.
11147         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
11148         (__log1pf): Force underflow exception for results with small
11149         absolute value.
11150         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11151         (__log1p): Force underflow exception for results with small
11152         absolute value.
11153         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
11154         (__log1pf): Force underflow exception for results with small
11155         absolute value.
11156         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
11157         (__log1pl): Force underflow exception for results with small
11158         absolute value.
11159         * math/auto-libm-test-in: Do not allow missing underflow
11160         exceptions from log1p.
11161         * math/auto-libm-test-out: Regenerated.
11163 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
11164             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11166         [BZ #16704]
11167         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
11169 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
11171         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
11172         (libmvec): New variable.
11173         * configure.ac: Added option for mathvec build.
11174         * configure: Regenerated.
11175         * mathvec/Depend: New file.
11176         * mathvec/Makefile: New file.
11177         * shlib-versions: Added libmvec.
11178         * math/Makefile: Added rule for libm.so installation.
11180         * bits/math-vector.h: New file.
11181         * bits/libm-simd-decl-stubs.h: New header.
11182         * math/Makefile (headers): Added new header
11183         libm-simd-decl-stubs.h.
11184         * math/math.h (__MATHCALL_VEC): New macro.
11186         * math/gen-libm-have-vector-test.sh: Script generates series of macros
11187         for conditions in testing functions.
11188         * math/Makefile: Added call of libm-have-vector-test.sh.
11189         * math/libm-test.inc (HAVE_VECTOR): New macros.
11191         * math/libm-test.inc: START refactored.
11192         * math/test-double.c (TEST_MATHVEC): Add define.
11193         * math/test-float.c: Likewise.
11194         * math/test-idouble.c: Likewise.
11195         * math/test-ifloat.c: Likewise.
11196         * math/test-ildoubl.c: Likewise.
11197         * math/test-ldouble.c: Likewise.
11198         * sysdeps/generic/math-tests-arch.h
11199         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
11200         architecture check.
11202         * math/test-double.c (FUNC_TEST): New macro.
11203         * math/test-float.c: Likewise.
11204         * math/test-idouble.c: Likewise.
11205         * math/test-ifloat.c: Likewise.
11206         * math/test-ildoubl.c: Likewise.
11207         * math/test-ldouble.c: Likewise.
11208         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
11210 2015-05-13  Roland McGrath  <roland@hack.frob.com>
11212         * sysdeps/nacl/fdopendir.c: New file.
11214         * dirent/scandir-tail.c: New file.
11215         * dirent/scandir64-tail.c: New file.
11216         * dirent/Makefile (routines): Add them.
11217         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
11218         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
11219         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11220         [!SCANDIR] (SCANDIR_TAIL): New macro.
11221         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
11222         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
11223         (SCANDIRAT): Macro removed.
11224         (SCANDIR_TAIL): New macro.
11225         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
11226         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
11227         (SCANDIRAT): Just call __opendirat and __scandir_tail.
11228         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
11229         (READDIR): Macro removed.
11230         (SCANDIR_TAIL): New macro.
11231         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
11232         (SCANDIR_TAIL): New macro.
11234         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
11235         * dirent/scandir-cancel.c: ... to this new file.
11236         * dirent/Makefile (routines): Add it.
11237         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
11238         * sysdeps/unix/sysv/linux/i386/scandir64.c
11239         (SKIP_SCANDIR_CANCEL): Macro removed.
11240         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
11242         * dirent/tst-scandir.c: New file.
11243         * dirent/tst-scandir64.c: New file.
11244         * dirent/Makefile (tests): Add them.
11246 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11248         [BZ #18409]
11249         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
11251 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11253         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
11254         list.
11256 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
11258         * benchtests/bench-strcoll.c: New benchmark.
11259         * benchtests/Makefile: Generate locales and run benchmark.
11260         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
11261         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11262         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
11263         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
11264         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
11265         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
11266         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
11267         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
11268         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
11269         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
11270         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
11271         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
11272         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
11273         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
11274         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
11275         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
11276         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
11277         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
11278         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
11279         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
11280         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
11281         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
11282         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
11283         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
11285 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
11287         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
11288         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11290 2015-05-12  Roland McGrath  <roland@hack.frob.com>
11292         * posix/uname-values.h: New file.
11293         * posix/uname.c: Include that instead of <config-name.h>.
11294         * sysdeps/nacl/uname-values.h: New file.
11295         * sysdeps/arm/nacl/uname-values.h: New file.
11297 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
11299         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
11300         splitting into fields.
11302 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
11304         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
11305         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
11306         * locale/localeinfo.h: Add enum collation_encoding_type.
11307         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
11308         * programs/ld-collate.c (collate_output): Add encoding type info.
11309         * string/strcoll_l.c (STRDIFF): New function.
11310         * (STRCOLL): Use STRDIFF to skip over equal prefix.
11311         * wcsmbs/wcscoll_l.c: Define STRDIFF.
11313 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
11315         [BZ #18397]
11316         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
11317         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
11318         <fpu_control.h> instead of <math/fpu_control.c>.
11319         * sysdeps/mips/mips32/fpu/Makefile: New file.
11321 2015-05-11  Andreas Schwab  <schwab@suse.de>
11323         [BZ #18007]
11324         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
11325         nss_endgrent.
11326         (_nss_compat_endgrent): Call nss_endgrent.
11327         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
11328         nss_endpwent.
11329         (_nss_compat_endpwent): Call nss_endpwent.
11330         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
11331         needent, call nss_setspent only if non-zero.
11332         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
11333         (internal_endspent): Don't call nss_endspent.
11334         (_nss_compat_endspent): Call nss_endspent.
11335         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
11336         Remove.  All uses removed.
11337         (internal_setent): Remove parameter stayopen, add parameter
11338         stream.  Use it instead of global variable.
11339         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
11340         (internal_endent, internal_getent): Add parameter stream.  Use it
11341         instead of global variable.
11342         (CONCAT(_nss_files_end,ENTNAME))
11343         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
11344         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
11345         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
11346         uses removed.
11347         (internal_setent, internal_endent): Add parameter stream.  Use it
11348         instead of global variable.
11349         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
11350         stream.
11351         (get_next_alias): Add parameter stream.
11352         (_nss_files_getaliasent_r): Pass global stream.
11353         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
11354         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
11355         (_nss_files_gethostbyname4_r): Pass local stream to
11356         internal_setent, internal_getent and internal_endent.  Remove
11357         locking.
11359 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11361         * tst-strfmon1.c (tests): Update expected currency symbol.
11363 2015-05-08  Roland McGrath  <roland@hack.frob.com>
11365         * sysdeps/nacl/gethostname.c: New file.
11367 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
11369         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
11370         and sinh.
11371         * math/auto-libm-test-out: Regenerated.
11372         * sysdeps/i386/fpu/libm-test-ulps: Update.
11373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11375 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
11377         [BZ #18125]
11378         * stdlib/tst-setcontext3.c: New file.
11379         * stdlib/tst-setcontext3.sh: New file.
11380         * stdlib/Makefile (tests): Add tst-setcontext3.
11381         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
11382         to verify test program created output file.
11383         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
11384         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
11385         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
11386         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
11388 2015-05-06  Roland McGrath  <roland@hack.frob.com>
11390         [BZ #18383]
11391         * elf/tst-tlsalign.c: New file.
11392         * elf/tst-tlsalign-static.c: New file.
11393         * elf/tst-tlsalign-lib.c: New file.
11394         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
11395         (tests-static): Add tst-tlsalign-static.
11396         (modules-names): Add tst-tlsalign-lib.
11397         (test-xfail-tst-tlsalign): New variable.
11398         (test-xfail-tst-tlsalign-static): New variable.
11400         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
11401         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
11403 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
11405         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
11406         csqrt, erfc, sin and sincos.
11407         * math/auto-libm-test-out: Regenerated.
11408         * sysdeps/i386/fpu/libm-test-ulps: Update.
11409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11411 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11413         * sysdeps/aarch64/libm-test-ulps: Update.
11415 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
11417         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
11418         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
11419         * math/auto-libm-test-out: Regenerated.
11420         * sysdeps/i386/fpu/libm-test-ulps: Update.
11421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11423 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11425         [BZ #18265]
11426         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
11427         (wcsncpy): Likewise.
11429 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11431         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11432         Assume __ASSUME_FALLOCATE is always true.
11433         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11434         (__posix_fallocate64_l64): Likweise.
11435         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
11436         (posix_fallocate): Likewise.
11437         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
11438         (__posix_fallocate64_l64): Likewise.
11439         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11440         [!__ASSUME_FALLOCATE]: Add comment.
11442 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11444         * sysdeps/unix/sysv/linux/i386/Makefile
11445         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
11446         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
11447         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
11448         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11449         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11450         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
11451         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
11453 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
11455         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
11456         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
11457         tgamma.
11458         * math/auto-libm-test-out: Regenerated.
11459         * sysdeps/i386/fpu/libm-test-ulps: Update.
11460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11462 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
11464         * math/auto-libm-test-in: Add more tests of tgamma.
11465         * math/auto-libm-test-out: Regenerated.
11466         * sysdeps/i386/fpu/libm-test-ulps: Update.
11467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11469         * math/auto-libm-test-in: Add more tests of tanh.
11470         * math/auto-libm-test-out: Regenerated.
11471         * sysdeps/i386/fpu/libm-test-ulps: Update.
11472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11474         * math/auto-libm-test-in: Add more tests of tan.
11475         * math/auto-libm-test-out: Regenerated.
11476         * sysdeps/i386/fpu/libm-test-ulps: Update.
11477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11479         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
11480         * math/auto-libm-test-out: Regenerated.
11481         * sysdeps/i386/fpu/libm-test-ulps: Update.
11482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11484         * math/auto-libm-test-in: Add another test of pow.
11485         * math/auto-libm-test-out: Regenerated.
11486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11488         * math/auto-libm-test-in: Add more tests of lgamma.
11489         * math/auto-libm-test-out: Regenerated.
11490         * sysdeps/i386/fpu/libm-test-ulps: Update.
11491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11493         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
11494         log1p.
11495         * math/auto-libm-test-out: Regenerated.
11496         * sysdeps/i386/fpu/libm-test-ulps: Update.
11497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11499 2015-05-01  Mark Wielaard  <mjw@redhat.com>
11501         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
11502         Elf64_Chdr structs and ELFCOMPRESS constants.
11504 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
11506         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
11507         expm1.
11508         * math/auto-libm-test-out: Regenerated.
11509         * sysdeps/i386/fpu/libm-test-ulps: Update.
11510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11512         * math/auto-libm-test-in: Add more tests of erf and erfc.
11513         * math/auto-libm-test-out: Regenerated.
11514         * sysdeps/i386/fpu/libm-test-ulps: Update.
11515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11517 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11519         * config.h.in (HAVE_AARCH64_BE): Add.
11521 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
11523         * math/auto-libm-test-in: Add more tests of csqrt.
11524         * math/auto-libm-test-out: Regenerated.
11525         * sysdeps/i386/fpu/libm-test-ulps: Update.
11526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11528         * math/auto-libm-test-in: Add more tests of cosh and sinh.
11529         * math/auto-libm-test-out: Regenerated.
11530         * sysdeps/i386/fpu/libm-test-ulps: Update.
11531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11533         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
11535 2015-04-29  Roland McGrath  <roland@hack.frob.com>
11537         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
11538         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
11540         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
11541         (euidaccess, eaccess): Define as weak aliases.
11543         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
11544         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
11545         but __suseconds_t is often 'long int' so some sources assume that
11546         type is being used (e.g. they use %ld to print tv_usec).
11548 2015-04-29  Florian Weimer  <fweimer@redhat.com>
11550         [BZ #18007]
11551         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
11552         (CVE-2014-8121)
11553         * nss/tst-nss-getpwent.c: New file.
11554         * nss/Makefile (tests): Add new test.
11556 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
11558         [BZ #18346]
11559         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
11560         exponents less than 48 as cases where high part of mantissa needs
11561         examining to determine whether argument is integral.
11562         * math/libm-test.inc (round_test_data): Add more tests.
11564 2015-04-28  Mark Wielaard  <mjw@redhat.com>
11566         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
11568 2015-04-27  David S. Miller  <davem@davemloft.net>
11570         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
11571         __tls_get_addr.
11572         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11574 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
11576         [BZ#18333]
11577         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
11579 2015-04-27  Florian Weimer  <fweimer@redhat.com>
11581         [BZ#18333]
11582         * time/tzset.c (parse_tzname): Return error on memory allocation
11583         failure.
11584         * test-skeleton.c (struct temp_name_list): Change type of name
11585         member to non-const.
11586         (add_temp_file): Create a copy of the file name.
11587         (delete_temp_files): Deallocate memory.
11588         (create_temp_file): Add comment.
11590 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11592         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
11593         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
11595 2015-04-24  Roland McGrath  <roland@hack.frob.com>
11597         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
11598         * sysdeps/arm/configure: Regenerated.
11600 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11602         [BZ #17715]
11603         * time/tzfile.c (__tzfile_read): Check for large values of
11604         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
11605         * time/tzset.c (__tzstring_len): New function, based on the old
11606         __tzstring function.
11607         (__tzstring): Call __tzstring_len.
11608         (parse_tzname): New helper function extracted from
11609         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
11610         the input string.
11611         (parse_offset): New helper function extracted from
11612         __tzset_parse_tz.  Replace switch with fallthrough with
11613         initialization before sscanf.
11614         (parse_rule): Likewise.
11615         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
11616         new-style function definition.
11617         * timezone/Makefile (tests): Add tst-tzset.
11618         (tst-tzset.out): Dependencies on time zone files.
11619         (tst-tzset-ENV): Set TZDIR.
11620         (testdata/XT%): Copy crafted time zone files.
11621         * timezone/README: Mention crafted time zone files.
11622         * timezone/testdata/XT1, timezone/testdata/XT2,
11623         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
11624         files.
11625         * timezone/tst-tzset.c: New test.
11627 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11629         * Makeconfig (+gccwarn): Remove -Winline.
11631 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11633         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
11635 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11637         * NEWS: Mention sysconf() cache information support for s390.
11638         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
11640 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
11642         * math/k_casinh.c (__kernel_casinh): Use __copysign.
11643         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
11644         (__nearbyint): Likewise.
11645         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
11646         (copysignl): Likewise.
11648 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
11650         [BZ #18287]
11651         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
11652         based on padding.  (CVE-2015-1781)
11654 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11656         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
11657         libc-vdso.h.
11658         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
11659         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
11660         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
11661         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11662         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11663         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
11664         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
11665         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11666         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11667         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
11668         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11669         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11670         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11671         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
11672         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11673         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
11674         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
11675         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
11676         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
11677         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
11678         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
11679         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
11680         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
11682 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
11684         * stdlib/setenv.c (__add_to_environ):
11685         Dump core quickly if setenv (..., NULL, ...) is called.
11686         This time, do it the right way, and pacify GCC with a pragma.
11688 2015-04-17  Roland McGrath  <roland@hack.frob.com>
11690         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
11691         IMAP->l_prev cannot be null, and #if out the code for the contrary
11692         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
11693         believe that NS (&_dl_ns[NSID]) could point outside the array.
11695         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
11696         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
11697         before using NSID as an index.
11699 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
11701         [BZ #17825]
11702         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
11703         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
11704         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11706 2015-04-17  Roland McGrath  <roland@hack.frob.com>
11708         Add preliminary port to Google Native Client on ARM.
11709         * abi-tags (.*-.*-nacl.*): New entry.
11710         * sysdeps/arm/nacl: New directory.
11711         * sysdeps/nacl: New directory.
11713 2015-04-16  David S. Miller  <davem@davemloft.net>
11715         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
11716         lowlevellock-futex.h
11718 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
11720         * sysdeps/tile/configure.ac: New file.
11721         * sysdeps/tile/configure: Regenerated.
11723 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11725         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
11726         conditionals for weak_alias and libc_hidden_weak.
11727         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
11728         libc_hidden_weak and weak_alias.
11729         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
11730         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
11731         and weak_alias for static one.
11733 2015-04-15  David S. Miller  <davem@davemloft.net>
11735         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11737 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11739         [BZ #18206]
11740         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
11741           Use signed comparision instead of substraction to avoid
11742           overflow bug.
11743         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
11744           Take the sign of ret.
11745         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
11746           Do not expect precise return values. Only the sign matters.
11747         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
11748         * wcsmbs/test-wcsncmp.c: New File.
11749         * string/test-strncmp.c: Add wcsncmp support.
11751 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11753         [BZ #6792]
11754         * math/w_log1p.c: New file.
11755         * math/w_log1pf.c: Likewise.
11756         * math/w_log1pl.c: Likewise.
11757         * math/Makefile (libm-calls): Add w_log1p.
11758         * math/s_log1pl.c (log1pl): Remove weak_alias.
11759         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
11760         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
11761         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
11762         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
11763         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
11764         [NO_LONG_DOUBLE] (log1pl): Likewise.
11765         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
11766         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
11767         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
11768         (log1p): Remove long_double_symbol.
11769         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
11770         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
11771         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
11772         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
11773         remove weak_alias for corresponding log1p function.
11774         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
11775         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11776         * sysdeps/ia64/fpu/w_log1p.c: New file.
11777         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
11778         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
11779         * math/libm-test.inc (log1p_test_data): Add errno expectations.
11781 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
11783         [BZ #18247]
11784         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
11785         decimal exponent by 1.
11786         * stdlib/tst-strtod-round-data: Add more tests.
11787         * stdlib/tst-strtod-round.c (tests): Regenerated.
11789 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
11791         * math/auto-libm-test-in: Add more tests of clog and clog10.
11792         * math/auto-libm-test-out: Regenerated.
11793         * sysdeps/i386/fpu/libm-test-ulps: Update.
11794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11796 2015-04-09  Roland McGrath  <roland@hack.frob.com>
11798         * Makeconfig (module-cppflags): Exclude all .v.i files.
11799         (skip-module-cppflags): Variable removed.
11801         * configure.ac (libc_config_ok): Initialize before reading
11802         preconfigure scripts, not after.
11803         * configure: Regenerated.
11805         * test-skeleton.c (TIMEOUT): Move #define to top level.
11806         (main): Grok environment variable TEST_DIRECT.  If set, print
11807         test expectation details into that file and then behave as if
11808         given --direct.
11810 2015-04-09  Florian Weimer  <fweimer@redhat.com>
11812         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
11813         warning on 32-bit.
11815 2015-04-08  David S. Miller  <davem@davemloft.net>
11817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11819 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11821         * math/auto-libm-test-in: Add more tests of atanh.
11822         * math/auto-libm-test-out: Regenerated.
11823         * sysdeps/i386/fpu/libm-test-ulps: Update.
11824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11826         * math/auto-libm-test-in: Add more tests of atan.
11827         * math/auto-libm-test-out: Regenerated.
11828         * sysdeps/i386/fpu/libm-test-ulps: Update.
11829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11831 2015-04-08  Florian Weimer  <fweimer@redhat.com>
11833         * elf/pldd.c (main): Rewrite to use struct
11834         scratch_buffer instead of extend_alloca.
11835         * elf/pldd-xx.c (find_maps): Likewise.
11836         * grp/initgroups.c: Include <scratch_buffer.h> instead of
11837         <alloca.h>.
11838         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
11839         scratch_buffer instead of extend_alloca.
11840         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
11841         grp/compat-initgroups.c.
11842         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
11843         Rewrite to use struct scratch_buffer instead of extend_alloca.
11844         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
11845         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11847 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11849         * math/auto-libm-test-in: Add more tests of cbrt.
11850         * math/auto-libm-test-out: Regenerated.
11851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11853         * math/auto-libm-test-in: Add more tests of cabs.
11854         * math/auto-libm-test-out: Regenerated.
11855         * sysdeps/i386/fpu/libm-test-ulps: Update.
11856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11858         [BZ #18210]
11859         [BZ #18211]
11860         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
11861         (__ieee754_atan2): Set FE_TONEAREST mode for internal
11862         computations.
11863         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
11864         clog10.
11865         * math/auto-libm-test-out: Regenerated.
11866         * sysdeps/i386/fpu/libm-test-ulps: Update.
11867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11869         [BZ #18197]
11870         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
11871         (atan): Set FE_TONEAREST mode for internal computations.
11872         * math/auto-libm-test-in: Add more tests of atan.
11873         * math/auto-libm-test-out: Regenerated.
11875 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
11877         [BZ #17930]
11878         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
11880 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11882         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
11884 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11886         * include/scratch_buffer.h: New file.
11887         * malloc/scratch_buffer_grow.c: Likewise.
11888         * malloc/scratch_buffer_grow_preserve.c: Likewise.
11889         * malloc/scratch_buffer_set_array_size.c: Likewise.
11890         * malloc/tst-scratch_buffer.c: Likewise.
11891         * malloc/Makefile (routines): Add scratch_buffer_grow.
11892         (tests): Add test case.
11893         * malloc/Versions (GLIBC_PRIVATE): Export
11894         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
11895         __libc_scratch_buffer_set_array_size.
11897 2015-04-06  Richard Henderson  <rth@redhat.com>
11899         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
11900         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11902         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
11903         unsigned int before printing.
11905 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11907         [BZ #17596]
11908         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
11909         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11911 2015-04-02  Florian Weimer  <fweimer@redhat.com>
11913         * include/libc-internal.h (libc_max_align_t): Define.
11915 2015-04-02  Andreas Schwab  <schwab@suse.de>
11917         [BZ #16850]
11918         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
11920 2015-04-02  Mel Gorman  <mgorman@suse.de>
11922         [BZ #17195]
11923         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
11924         as well as the main arena.
11926 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11928         [BZ #18185]
11929         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
11930         sharing L2 cache to 2 for Silvermont/Knights Landing.
11932 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11934         [BZ #17711]
11935         * config.make.in (have-protected-data): New.
11936         * configure.ac: Check linker support for protected data symbol.
11937         * configure: Regenerated.
11938         * elf/Makefile (modules-names): Add tst-protected1moda and
11939         tst-protected1modb if $(have-protected-data) is yes.
11940         (tests): Add tst-protected1a and tst-protected1b if
11941         $(have-protected-data) is yes.
11942         ($(objpfx)tst-protected1a): New.
11943         ($(objpfx)tst-protected1b): Likewise.
11944         (tst-protected1modb.so-no-z-defs): Likewise.
11945         * elf/tst-protected1a.c: New file.
11946         * elf/tst-protected1b.c: Likewise.
11947         * elf/tst-protected1mod.h: Likewise.
11948         * elf/tst-protected1moda.c: Likewise.
11949         * elf/tst-protected1modb.c: Likewise.
11951 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11953         [BZ #17711]
11954         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
11955         indicates it is called from do_lookup_x on relocation against
11956         protected data, skip the data definion in the executable from
11957         copy reloc.
11958         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
11959         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
11960         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
11961         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
11962         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
11963         otherwise to 0.
11964         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11965         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
11966         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
11967         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11968         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
11969         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
11971 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
11973         * sysdeps/nptl/pthread.h: Remove duplicate definition of
11974         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
11976 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
11978         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
11979         THREAD_SETMEM_NC.
11980         * sysdeps/x86_64/nptl/tls.h: Ditto.
11982 2015-03-27  Roland McGrath  <roland@hack.frob.com>
11984         * dlfcn/tststatic.c (main): Converted to ...
11985         (do_test): ... this.
11986         (TEST_FUNCTION): New macro.
11987         Include test-skeleton.c.
11989 2015-03-26  Alan Modra  <amodra@gmail.com>
11991         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
11992         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
11993         zero for undefined weak.
11994         (elf_machine_plt_conflict): Similarly.
11996 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11998         * math/auto-libm-test-in: Add more tests of acosh, asinh and
11999         atanh.
12000         * math/auto-libm-test-out: Regenerated.
12001         * sysdeps/i386/fpu/libm-test-ulps: Update.
12002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12004         * math/auto-libm-test-in: Add another test of asin.
12005         * math/auto-libm-test-out: Regenerated.
12006         * sysdeps/i386/fpu/libm-test-ulps: Update.
12007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12009         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
12010         Remove macro.
12011         (LLL_EBX_REG): Likewise.
12012         (LLL_ENTER_KERNEL): Likewise.
12014         * math/auto-libm-test-in: Add more tests of asin.
12015         * math/auto-libm-test-out: Regenerated.
12016         * sysdeps/i386/fpu/libm-test-ulps: Update.
12017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12019         [BZ #18138]
12020         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
12021         libc_do_syscall_args): New structure.
12022         (INTERNAL_SYSCALL_MAIN_0): New macro.
12023         (INTERNAL_SYSCALL_MAIN_1): Likewise.
12024         (INTERNAL_SYSCALL_MAIN_2): Likewise.
12025         (INTERNAL_SYSCALL_MAIN_3): Likewise.
12026         (INTERNAL_SYSCALL_MAIN_4): Likewise.
12027         (INTERNAL_SYSCALL_MAIN_5): Likewise.
12028         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
12029         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
12030         Replace conditional definitions by conditional definitions of ....
12031         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
12032         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
12033         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
12034         (libpthread-sysdep_routines): Add libc-do-syscall.
12035         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
12036         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
12037         to __NR_futex not 240.
12039 2015-03-25  Alan Modra  <amodra@gmail.com>
12041         * NEWS: Advertise TLS optimization.
12042         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
12043         (DT_PPC_NUM): Increment.
12044         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
12045         (CHECK_STATIC_TLS): Use here.
12046         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
12047         TLS descriptors.
12048         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12049         * sysdeps/powerpc/dl-tls.c: New file.
12050         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
12051         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
12052         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
12053         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
12054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
12055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12058 2015-03-25  Alan Modra  <amodra@gmail.com>
12060         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
12061         for overlapping .opd entries" to "support...".
12062         * sysdeps/powerpc/powerpc64/configure: Regenerate
12064 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12066         * math/auto-libm-test-in: Add more tests of acos.
12067         * math/auto-libm-test-out: Regenerated.
12068         * sysdeps/i386/fpu/libm-test-ulps: Update.
12069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12071         * math/auto-libm-test-in: Add more tests of expm1.
12072         * math/auto-libm-test-out: Regenerated.
12073         * sysdeps/i386/fpu/libm-test-ulps: Update.
12074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12076 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
12078         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12079         * math/auto-libm-test-out: Regenerated.
12080         * sysdeps/i386/fpu/libm-test-ulps: Update.
12081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12083         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12086         * math/auto-libm-test-in: Add more tests of log2.
12087         * math/auto-libm-test-out: Regenerated.
12088         * sysdeps/i386/fpu/libm-test-ulps: Update.
12089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12091 2015-03-23  Roland McGrath  <roland@hack.frob.com>
12093         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
12094         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
12095         _IO_IS_APPENDING bit in READ_WRITE instead.
12097 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12099         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12100         (__determine_cpumask_size): Replace extend_alloca with a
12101         variable-length array.  Do not treat res == 0 as an error.
12103 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12105         [BZ #18100]
12106         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
12107         and integer overflow.
12108         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
12109         (main): Add integer overflow tests.
12110         * manual/pattern.texi (Calling Wordexp): Document additional use
12111         for WRDE_SYNTAX.
12113 2015-03-23  Alan Modra  <amodra@gmail.com>
12115         * config.h.in: Remove HAVE_ASM_PPC_REL16.
12116         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
12117         and false branch of conditional.
12118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12119         Likewise.
12121 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
12123         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12124         libc-modules.h
12125         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
12126         unused declaration of _hurd_intr_rpc_msg_in_trap.
12127         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
12128         defined instead of whether it is non-zero.
12129         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
12130         input constraint instead of both input and output constraint.  Use ecx
12131         clobber instead of %ecx.
12132         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
12133         mutex_unlock): Use a statement expression instead of an expression list.
12134         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
12135         type to vm_size_t instead of vm_address_t.
12136         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
12137         defined instead of whether it is non-zero.
12138         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
12139         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
12140         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
12141         comparisons with mapaddr.
12142         * nscd/nscd-client.h: Include <time.h>.
12143         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
12144         9th parameter to __vm_region instead of int.
12145         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
12146         * scripts/check-local-headers.sh (exclude): Add device/,
12147         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
12148         cthreads.h.
12150 2015-03-19  Roland McGrath  <roland@hack.frob.com>
12152         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
12153         to account for alignment padding.
12154         * sysdeps/arm/memmove.S: Likewise.
12156 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
12158         * sysdeps/unix/sysv/linux/generic/README: New file.
12160 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
12162         [BZ #18138]
12163         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
12164         (futex_abstimed_wait)
12165         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
12166         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
12167         of lll_futex_timed_wait.
12169 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
12171         [BZ #17542]
12172         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
12174 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
12176         [BZ #17090]
12177         [BZ #17620]
12178         [BZ #17621]
12179         [BZ #17628]
12180         * NEWS: Update.
12181         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
12182         entries with Static TLS too.  Skip entries past the end of the
12183         allocated DTV, from Alan Modra.
12184         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
12185         Static TLS DTV entry set up from...
12186         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
12187         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
12188         * nptl/allocatestack.c (init_one_static_tls): ... and here...
12189         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
12190         for Static TLS.
12191         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
12192         that the slot we find is associated with the given map before
12193         using its generation count.
12194         * nptl_db/db_info.c: Include ldsodefs.h.
12195         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
12196         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
12197         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
12198         (link_map::l_tls_offset): New struct field.
12199         (dtv_t::counter): Likewise.
12200         (rtld_global): New struct.
12201         (_rtld_global): New rtld variable.
12202         (dl_tls_dtv_slotinfo_list): New rtld global field.
12203         (dtv_slotinfo_list): New struct.
12204         (dtv_slotinfo): Likewise.
12205         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
12206         (td_lookup): Rename to...
12207         (td_mod_lookup): ... this.  Use new mod parameter instead of
12208         LIBPTHREAD_SO.
12209         * nptl_db/td_thr_tlsbase.c: Include link.h.
12210         (dtv_slotinfo_list, dtv_slotinfo): New functions.
12211         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
12212         addresses even if the DTV is out of date or missing them.
12213         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
12214         index zero-length arrays.
12215         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
12216         (td_lookup): Make it a macro implemented in terms of...
12217         (td_mod_lookup): ... this declaration.
12218         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
12219         (DB_MAIN_VARIABLE): Likewise.
12221 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12223         [BZ #18134]
12224         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12226 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
12228         * stdlib/setenv.c (__add_to_environ): Revert previous change.
12230 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12232         [BZ #18128]
12233         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
12234         (atomic_add, atomic_increment_and_test)
12235         (atomic_decrement_and_test): Fix 64-bit arithmetic.
12237 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
12239         * stdlib/setenv.c (__add_to_environ):
12240         Dump core quickly if setenv (..., NULL, ...) is called.
12242 2015-03-13  Roland McGrath  <roland@hack.frob.com>
12244         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
12245         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
12246         all the necessary asm magic in one place.
12247         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12248         using those.
12250 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
12252         [BZ #14906]
12253         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
12254         traced file mtime. Use consistent log message.
12255         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
12256         (register_traced_file): Call install_watches. Always set mtime.
12257         (invalidate_cache): Iterate over all trace files. Call install_watches.
12258         (inotify_check_files): Don't inline. Handle watching parent
12259         directories and configuration file movement in and out.
12260         (handle_inotify_events): New function.
12261         (main_loop_poll): Call handle_inotify_events.
12262         (main_loop_epoll): Likewise.
12263         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
12264         (struct traced_file): Use array of inotify fds. Add parent directory,
12265         and basename.
12266         (struct database_dyn): Remove unused file_mtime.
12267         (init_traced_file): New inline function.
12268         (define_traced_file): New macro.
12269         * nss/nss_db/db-init.c: Use define_traced_file.
12270         (_nss_db_init): Use init_traced_file.
12271         * nss/nss_files/files-init.c: Use define_traced_file.
12272         (_nss_files_init): Use init_traced_file.
12274 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
12276         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
12277         [_LIBC]: Do not include <stdlib.h>.
12278         [!_LIBC] (abort): Remove declaration.
12279         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
12280         _FP_STATIC_ASSERT instead of conditionally calling abort.
12281         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
12282         (_FP_EXTEND_CNAN): Likewise.
12283         (FP_TRUNC): Likewise.
12284         (__FP_CLZ): Likewise.
12285         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
12287 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
12289         * manual/string.texi (XPG basename): Fix prototype.
12291 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12293         [BZ #18080]
12294         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
12295         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12296         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
12297         (__setcontext): Likewise.
12298         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
12299         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12300         Call rt_sigprocmask syscall one time to set new signal mask
12301         and retrieve the current signal mask instead of two calls.
12302         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
12303         (__swapcontext): Likewise.
12304         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
12305         * stdlib/tst-setcontext2.c: New file.
12307 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12309         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12311 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
12313         [BZ #18093]
12314         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
12315         the wrong size.
12317 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12319         [BZ #18043]
12320         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
12322 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12324         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
12325         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
12326         Remove define.
12327         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
12328         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
12329         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
12330         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
12331         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
12332         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
12333         define.
12334         * nptl_db/td_symbol_list.c (td_lookup): Remove
12335         HAVE_ASM_GLOBAL_DOT_NAME code.
12336         * sysdeps/powerpc/powerpc64/configure.ac: Remove
12337         HAVE_ASM_GLOBAL_DOT_NAME check.
12338         * sysdeps/powerpc/powerpc64/configure: Regenerate.
12339         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
12340         (DOT_LABEL): Remove define.
12341         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
12342         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
12343         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
12344         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
12345         (__TLS_GET_ADDR): Likewise.
12346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
12347         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
12349 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
12351         [BZ #18111]
12352         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
12353         (_FPU_SETCW): Initialize cw from fpsr before storing.
12354         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
12355         (fesetexceptflag): Rewrite using fpu_control.h.
12356         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
12358 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
12360         [BZ #18110]
12361         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
12362         asms.
12363         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12365 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
12367         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
12368         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
12369         abort.
12370         (_FP_FMA): Likewise.
12371         (_FP_DIV): Likewise.
12373 2015-03-10  Roland McGrath  <roland@hack.frob.com>
12375         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
12376         with 0 in that case.
12377         * Makefile (summarize-tests): New canned sequence, factored out of
12378         commands for targets tests and xtests.  Display summary lines that
12379         don't start with PASS: or XFAIL: rather than ones that do start with
12380         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
12381         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
12382         do start with ERROR: or FAIL:.
12383         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
12384         (except for [$(build-shared) = yes]).
12385         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
12386         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
12387         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
12388         * nptl/Makefile: Revert 2015-03-04 changes.
12389         [$(CXX) empty] (tests-unsupported): New variable.
12390         * debug/Makefile: Likewise.
12392         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
12393         gnulib file.  Replace __attribute with __attribute__ throughout.
12395 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
12397         * sysdeps/hppa/fpu/libm-test-ulps: Update.
12399 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12401         [BZ #18104]
12402         * math/auto-libm-test-in: Add another test of pow.
12403         * math/auto-libm-test-out: Regenerated.
12405 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12407         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
12408         $(config-cflags-nofma).
12410 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12412         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
12413         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
12414         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
12415         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
12416         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
12417         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
12418         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
12419         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
12420         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
12421         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
12422         Add comment on closing #endif.
12424 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12426         * posix/wordexp.c (CHAR_IN_SET): New macro.
12427         (parse_param): Use it.
12429 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12431         * sysdeps/powerpc/fpu/libm-test-ulps: update.
12433 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12435         [BZ #18043]
12436         * posix/wordexp.c (parse_param): Fix buffer overflow.
12437         * posix/wordexp-test.c (test_case): Add test case.
12439 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12441         [BZ #18042]
12442         * posix/wordexp.c (parse_backtick): Fix off-by-one.
12443         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
12445 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12447         [BZ #18043]
12448         * posix/wordexp-test.c (test_case): Add test for BZ #18043
12449         (do_bz18043): Delete.
12450         (at_page_end): New.
12451         (testit): Refactor to have words at the edge of unreadable page.
12453 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12455         [BZ #16734]
12456         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
12457         Cleanup read-only streams as well.
12458         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
12460 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12462         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
12463         <bits/libc-lockP.h>
12465 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
12467         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
12468         on [__KERNEL__].
12469         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
12470         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
12471         * soft-fp/op-common.h (_FP_DECL): Likewise.
12473 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12475         * elf/ifuncdep2.c (global): Replace
12476         __attribute__((visibility("protected"))) with
12477         asm (".protected global").
12478         * elf/ifuncmod1.c (global): Likewise.
12479         * elf/ifuncmod5.c (global): Likewise.
12481 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
12483         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
12484         <asm/sfp-machine.h> instead of <sfp-machine.h>.
12486 2015-03-06  Roland McGrath  <roland@hack.frob.com>
12488         * manual/install.texi (Configuring and compiling):
12489         Document test-wrapper-env-only.
12490         * INSTALL: Regenerated.
12492 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12494         [BZ #18043]
12495         * posix/wordexp.c (parse_param): Fix buffer overflow.
12496         * posix/wordexp-test.c (do_bz18043): Add test case.
12498 2015-03-06  Vincent Bernat  <vincent@bernat.im>
12500         * time/tst-strptime2.c (do_test): Ensure failing tests are
12501         reported correctly.
12502         * time/tst-strptime3.c (do_test): Likewise.
12504 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
12506         Fix aio_error thread-safety.
12507         * sysdeps/pthread/aio_error.c: New file
12508         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
12509         synchronization.
12511 2015-03-06  Florian Weimer  <fweimer@redhat.com>
12513         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
12514         (group_number, vfprintf): Use it.
12515         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
12516         (JUMP, REF): Use it.
12517         (WORK_BUFFER_SIZE): New enum constant.
12518         (process_arg, vfprintf): Use it.
12520 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
12522         * manual/errno.texi (Error Messages): Complete example function
12523         by adding missing #define.
12524         (program_invocation_name): Add statement indicating GNU
12525         extension and reference which header file declares the variable.
12526         (program_invocation_short_name): Likewise.
12528 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
12530         * manual/errno.texi (Error Messages): Delete strerror ISO C89
12531         compatibility note.
12533 2015-03-05  Roland McGrath  <roland@hack.frob.com>
12535         * Makeconfig (test-wrapper-env-only): New variable.
12536         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
12537         then use that with $(test-wrapper-env-only) rather than using
12538         $(test-wrapper-env) $(run-program-env) $($*-ENV).
12540 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
12542         [BZ #18082]
12543         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
12544         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
12545         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
12546         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
12547         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
12548         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
12549         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
12550         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
12551         Likewise.
12552         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
12553         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
12554         Likewise.
12555         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
12556         Likewise.
12557         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
12558         Likewise.
12559         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
12560         Likewise.
12561         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
12562         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
12563         Likewise.
12564         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
12565         Likewise.
12566         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
12567         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
12569 2015-03-04  Roland McGrath  <roland@hack.frob.com>
12571         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
12572         (ETH_ALEN): New macro.
12573         (struct ether_addr): Use it for length of ether_addr_octet.
12575         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
12576         (setdb): Don't call __nss_configure_lookup for "rpc".
12577         (do_test): Don't call test_rpc.
12578         (output_rpcent, test_rpc): Functions moved ...
12579         * sunrpc/test-rpcent.c: ... to this new file.
12580         * sunrpc/Makefile (tests): Add it.
12582         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
12583         __xpg_sigpause.
12584         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
12585         * nptl/tst-signal6.c: Likewise.
12586         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
12587         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
12589         * configure.ac (libc_cv_cxx_link_ok): New check.
12590         Reset CXX to empty if it fails to link.
12591         * configure: Regenerated.
12592         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
12593         bug-atexit3-lib only if $(CXX) is nonempty.
12594         * nptl/Makefile (tests): Likewise for tst-cancel24.
12595         (tests, tests-static): Likewise for tst-cancel24-static.
12596         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
12597         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
12598         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
12599         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
12601 2015-03-04  Andreas Schwab  <schwab@suse.de>
12603         [BZ #17631]
12604         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
12605         for non-GCC compilers.
12606         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12607         Likewise.
12609 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12611         [BZ #17776]
12612         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
12613         integer before bitwise and assembly operations.
12614         (feclearexcept): Likewise.
12615         * math/test-fenvinline.c: New file.
12616         * math/Makefile: Add test-fenvinline test.
12618 2015-03-03  Alan Modra  <amodra@gmail.com>
12620         [BZ #16512]
12621         * scripts/localplt.awk: Strip off symbol version.
12622         * NEWS: Mention bug fix.
12624 2015-03-02  Roland McGrath  <roland@hack.frob.com>
12626         * sysdeps/pthread/timer_routines.c
12627         (timer_free_list, thread_free_list, thread_active_list): Make static.
12629 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
12631         [BZ #17779]
12632         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12633         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12634         Undefine.
12635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12636         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12637         Likewise.
12638         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12639         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12640         Likewise.
12642 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
12644         [BZ #18036]
12645         * posix/fnmatch_loop.c (END): Detect invalid pattern.
12646         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
12648 2015-03-02  Andreas Schwab  <schwab@suse.de>
12650         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
12651         variable name.
12653 2015-03-02  Florian Weimer  <fweimer@redhat.com>
12655         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
12656         Return error status.
12658 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
12660         [BZ #15969]
12661         * locale/findlocale.c (_nl_find_locale): Introduce const
12662         version of loc_name and drop unsafe type casts.
12664 2015-02-27  Roland McGrath  <roland@hack.frob.com>
12666         * dlfcn/tststatic2.c (main): Converted to ...
12667         (do_test): ... this.
12668         (TEST_FUNCTION): New macro.
12669         Include test-skeleton.c.
12671 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
12673         [BZ #17711]
12674         * elf/Makefile (tests): Add vismain only if PIE is enabled.
12675         (tests-pie): Add vismain.
12676         (CFLAGS-vismain.c): New.
12677         * elf/vismain.c: Add comments for PIE requirement.
12679 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
12681         [BZ #18046]
12682         [BZ #18047]
12683         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
12684         0x1p-56L as threshold for just returning the argument.
12685         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
12686         0x1p-32L as threshold for just returning the argument.
12687         * math/auto-libm-test-in: Add more tests of atanh.
12688         * math/auto-libm-test-out: Regenerated.
12689         * sysdeps/i386/fpu/libm-test-ulps: Update.
12690         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
12692 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
12694         * string/bcopy.c (bcopy): Call memmove for performance.
12696 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
12698         * string/bzero.c (__bzero): Call memset for performance.
12700 2015-02-27  John David Anglin  <dave.anglin@bell.net>
12702         [BZ #18068]
12703         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
12704         to 00100000.
12706 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
12708         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
12710 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
12712         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
12713         (__kernel_standard): Use CSTR macro when setting exc.name.
12714         * sysdeps/ieee754/Makefile [$(subdir) = math]
12715         (CFLAGS-k_standard.c): Remove variable.
12717         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
12718         setting p and q from "else if" to "else".
12719         (qzero): Likewise.
12720         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
12721         (qone): Likewise.
12722         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
12723         (qzerof): Likewise.
12724         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
12725         (qonef): Likewise.
12726         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
12727         (qzero): Likewise.
12728         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
12729         (qone): Likewise.
12731         [BZ #18038]
12732         [BZ #18039]
12733         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
12734         return pi/2 for arguments below 0x1p-113L.
12735         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
12736         return pi/2 for arguments below 0x1p-106L.
12737         * math/auto-libm-test-in: Add more tests of acos.
12738         * math/auto-libm-test-out: Regenerated.
12740         [BZ #16351]
12741         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
12742         (MO): New macro.
12743         (__ieee754_asin): Force underflow exception for results with small
12744         absolute value.
12745         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
12746         (MO): New macro.
12747         (__ieee754_asinf): Force underflow exception for results with
12748         small absolute value.
12749         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
12750         (__ieee754_asin): Force underflow exception for results with small
12751         absolute value.
12752         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
12753         (__ieee754_asinf): Force underflow exception for results with
12754         small absolute value.
12755         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
12756         (__ieee754_asinl): Force underflow exception for results with
12757         small absolute value.
12758         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
12759         (__ieee754_asinl): Force underflow exception for results with
12760         small absolute value.
12761         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
12762         (__ieee754_asinl): Force underflow exception for results with
12763         small absolute value.
12764         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12765         Include <math.h>.
12766         * math/auto-libm-test-in: Do not mark underflow exceptions as
12767         possibly missing for bug 16351.
12768         * math/auto-libm-test-out: Regenerated.
12770         [BZ #18030]
12771         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
12772         of power of 2 down when low part has opposite sign.
12773         * math/libm-test.inc (logb_test_data): Add more tests.
12775 2015-02-26  Andreas Schwab  <schwab@suse.de>
12777         [BZ #18032]
12778         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
12779         over collating symbol inside a bracket expression.  Minor cleanup.
12780         * posix/tst-fnmatch3.c (do_test): Add test case.
12782 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
12784         [BZ #18029]
12785         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
12786         Adjust exponent of power of 2 down when low part has opposite
12787         sign.
12788         * math/libm-test.inc (ilogb_test_data): Add more tests.
12790 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
12792         [BZ #15969]
12793         * locale/findlocale.c (_nl_find_locale): Fix constness error in
12794         the previous change.
12796         [BZ #15969]
12797         * locale/findlocale.c (_nl_find_locale): Retry archive search
12798         after alias expansion.
12800 2015-02-25  Roland McGrath  <roland@hack.frob.com>
12802         * iconv/tst-iconv3.c (main): Converted to ...
12803         (do_test): ... this.
12804         (TEST_FUNCTION): New macro.
12805         Include test-skeleton.c.
12807         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
12808         (convert): Make function static.
12809         (test_unalign): Likewise.  Add const to argument pointee types.
12810         (main): Replace with static function do_test.
12811         Print "Succeeded." only if RET is zero.
12812         (TEST_FUNCTION): New macro.
12813         Include test-skeleton.c.
12815         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
12816         returns a null pointer.
12818 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12820         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
12821         to __memcpy_ppc only for static builds.
12823 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
12825         [BZ #18020]
12826         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
12827         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
12828         * math/auto-libm-test-in: Add more tests of asinh.
12829         * math/auto-libm-test-out: Regenerated.
12830         * sysdeps/i386/fpu/libm-test-ulps: Update.
12831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12833 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
12835         [BZ #15850]
12836         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
12837         and ip6_mtuinfo definitions here.
12838         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
12839         in this define too.  Update comment.
12841 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
12843         * elf/sprof.c (load_shobj): Tweak error message to match others.
12845 2015-02-24  Kevin Easton  <kevin@guarana.org>
12847         [BZ #16145] (partial fix)
12848         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
12849         to reduce lock contention.
12851 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
12853         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
12854         (struct timex): Update time comment.
12855         (ADJ_SETOFFSET): Define.
12857 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12859         [BZ #18019]
12860         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12861         2**56 not 2**28 as threshold for log (2x) formula.
12862         * math/auto-libm-test-in: Add more tests of acosh.
12863         * math/auto-libm-test-out: Regenerated.
12864         * sysdeps/i386/fpu/libm-test-ulps: Update.
12865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12867 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12869         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
12870         parenthesis around the buf assignment.
12871         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
12873 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12875         [BZ #16783]
12876         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
12877         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
12878         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
12879         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12880         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12881         * math/libm-test.inc (scalb_test_data): Add more tests.
12883 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12885         [BZ #17916]
12886         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
12887         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
12889 2015-02-24  Eric Rannaud  <e@nanocritical.com>
12891         [BZ #17523]
12892         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
12893         * io/bits/fcntl2.h (open): Use it.
12894         (openat): Likewise.
12895         * io/open.c (__libc_open): Likewise.
12896         * io/open64.c (__libc_open64): Likewise.
12897         * io/open64_2.c (__open64_2): Likewise.
12898         * io/open_2.c (__open_2): Likewise.
12899         * io/openat.c (__openat): Likewise.
12900         * io/openat64.c (__openat64): Likewise.
12901         * io/openat64_2.c (__openat64_2): Likewise.
12902         * io/openat_2.c (__openat_2): Likewise.
12903         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
12904         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12905         * sysdeps/posix/open64.c (__libc_open64): Likewise.
12906         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12907         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12908         (__open_nocancel): Likewise.
12909         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12910         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12911         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
12913 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12915         [BZ #14841]
12916         * resolv/gethnamaddr.c (getanswer): Skip logging if
12917         RES_USE_DNSSEC is set.
12918         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12920 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12922         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
12924 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
12926         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12927         201304L, for Unicode 7.
12929 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
12931         [BZ #17836]
12932         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
12933         shared library.  Add gmon-start.os otherwise.
12934         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
12935         $(objpfx)gmon-start.os if builing shared library.
12936         ($(objpfx)g$(static-start-installed-name)): Likewise.
12938 2015-02-23  Andreas Schwab  <schwab@suse.de>
12940         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
12942 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12944         [BZ #17269]
12945         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
12946         (enlarge_userbuf): Likewise.
12948 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
12950         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
12951         * math/atest-exp.c (TIMEOUT): Adjust to 200.
12952         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
12953         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
12955 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
12957         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
12958         expression inside statement expression.
12960 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12962         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
12963         <sysdeps/nptl/lowlevellock.h> and remove macros and
12964         functions that are now defined there.
12965         (SYS_futex): Remove.
12966         (lll_compare_and_swap): Remove.
12967         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
12969 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
12971         [BZ #17999]
12972         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
12973         instead of scandirat.
12974         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
12975         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
12976         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
12977         __scandirat.
12978         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
12979         (__scandirat): Declare.  Use libc_hidden_proto.
12980         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
12981         Remove variable.
12982         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12984 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12986         [BZ #15319]
12987         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
12988         (MO): New macro.
12989         (__ieee754_atan2): For results with small absolute value, force
12990         underflow exception and remove excess range and precision from
12991         return value.
12992         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
12993         (MO): New macro.
12994         (__ieee754_atan2f): For results with small absolute value, force
12995         underflow exception and remove excess range and precision from
12996         return value.
12997         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
12998         (MO): New macro.
12999         (__atan): For results with small absolute value, force underflow
13000         exception and remove excess range and precision from return value.
13001         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
13002         (MO): New macro.
13003         (__atanf): For results with small absolute value, force underflow
13004         exception and remove excess range and precision from return value.
13005         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
13006         <math.h>.
13007         (__ieee754_atan2): Force underflow exception for results with
13008         small absolute value.
13009         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
13010         <math_private.h>.
13011         (atan): Force underflow exception for results with small absolute
13012         value.
13013         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
13014         (__atanf): Force underflow exception for results with small
13015         absolute value.
13016         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
13017         <math.h>.
13018         (__atanl): Force underflow exception for results with small
13019         absolute value.
13020         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
13021         (__atanl): Force underflow exception for results with small
13022         absolute value.
13023         * sysdeps/x86/fpu/bits/mathinline.h
13024         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
13025         (__ieee754_atan2): Only define inline for long double.
13026         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13027         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
13028         * math/auto-libm-test-in: Do not mark underflow exceptions as
13029         possibly missing for bug 15319.  Add more tests of atan2.
13030         * math/auto-libm-test-out: Regenerated.
13031         * math/libm-test.inc (casin_test_data): Do not mark underflow
13032         exceptions as possibly missing for bug 15319.
13033         (casinh_test_data): Likewise.
13034         * sysdeps/i386/fpu/libm-test-ulps: Update.
13036 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
13038         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
13039         * sysdeps/mips/bits/endian.h: Fix comments.
13041 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13043         [BZ #17996]
13044         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
13045         (hdestroy_r): Likewise.
13046         (hsearch_r): Likewise.
13047         (__hcreate_r): Declare and use libc_hidden_proto.
13048         (__hdestroy_r): Likewise.
13049         (__hsearch_r): Likewise.
13050         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
13051         (hcreate): Call __hcreate_r instead of hcreate_r.
13052         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
13053         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
13054         as weak alias of __hcreate_r.
13055         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
13056         __hdestroy_r.
13057         (hsearch_r): Rename to __hsearch_r and define as weak alias of
13058         __hsearch_r.
13059         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
13060         Remove variable.
13061         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13062         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13063         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13064         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13066 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13068         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
13069         arena_lock into a single arena_get.
13071 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
13073         * dl-reloc.c: Inlucde libc-internal.h.
13074         (_dl_try_allocate_static_tls): Call ALIGN_UP.
13075         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
13076         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
13077         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
13078         (grow_heap): Likewise.
13079         * malloc/malloc.c: Include libc-internal.h.
13080         (do_check_malloc): Call powerof2.
13081         (sysmalloc): Use pagesize. Call ALIGN_UP.
13082         (systrim): Use pagesize.
13083         (mremap_chunk): Use pagesize. Call ALIGN_UP.
13084         (__libc_valloc): Use pagesize.
13085         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
13087 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13089         [BZ #17991]
13090         * include/sys/resource.h (__getrlimit64): Declare.  Use
13091         libc_hidden_proto.
13092         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
13093         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
13094         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
13095         getrlimit64.
13096         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
13097         __getrlimit64.
13098         [!getrlimit64] (getrlimit64): Define as weak alias of
13099         __getrlimit64.  Use libc_hidden_weak.
13100         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
13101         using __getrlimit64 not __new_getrlimit64.
13102         (__GI_getrlimit64): Likewise.
13103         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
13104         Likewise.
13105         (__GI_getrlimit64): Likewise.
13106         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
13107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
13108         (getrlimit): Add __getrlimit64 alias.
13109         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
13110         Likewise.
13111         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
13112         Remove variable.
13113         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13114         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13116 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13118         * libio/fileops.c: Add missing sys/mman.h
13119         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
13121 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13123         * manual/math.texi (Errors in Math Functions): Clarify goals
13124         regarding inexact and underflow exceptions.
13126 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13128         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
13129         * sysdeps/mips/memset.S: Ditto.
13131 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13133         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
13135 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13137         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13138         (__v1longjmp): Remove versioned symbol.
13139         (__v1siglongjmp): Remove alias and versioned symbol.
13140         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
13141         (__v2siglongjmp): Likewise.
13143 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13145         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
13147 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
13149         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
13151 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13153         [BZ #17987]
13154         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
13155         zero result does not depend on the sign resulting from
13156         subtraction.
13157         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13158         Likewise.
13159         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13160         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13161         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13162         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13163         * math/libm-test.inc (remquo_test_data): Add more tests.
13165 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
13167         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
13168         Problem reported by J William Piggott.
13170 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13172         [BZ #17978]
13173         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
13174         products 4 * y and 2 * y where those would overflow.
13175         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13176         Likewise.
13177         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13178         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13179         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13180         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13181         * math/libm-test.inc (remquo_test_data): Add more tests.
13183         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
13185         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
13186         [defined _COMPILING_NEWLIB].
13187         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
13188         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
13190         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
13191         [!defined __mips_isa_rev || __mips_isa_rev < 6].
13193 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13195         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
13196         acquired.
13198 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
13200         [BZ #17792]
13201         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
13202         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
13203         HOST_STACK_END_ADDR): Likewise.
13205 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
13207         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
13208         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
13209         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
13211 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13213         * sysdeps/generic/c++-types.data: New file.
13214         * sysdeps/generic/ld.abilist: New file.
13215         * sysdeps/generic/libBrokenLocale.abilist: New file.
13216         * sysdeps/generic/libanl.abilist: New file.
13217         * sysdeps/generic/libc.abilist: New file.
13218         * sysdeps/generic/libcrypt.abilist: New file.
13219         * sysdeps/generic/libdl.abilist: New file.
13220         * sysdeps/generic/libm.abilist: New file.
13221         * sysdeps/generic/libpthread.abilist: New file.
13222         * sysdeps/generic/libresolv.abilist: New file.
13223         * sysdeps/generic/librt.abilist: New file.
13225 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13227         [BZ #17569]
13228         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13229         Compute absolute value of x as modified by fmod, not original
13230         value of x.
13231         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
13232         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
13233         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
13234         RUN_TEST_ffI_f1_mod8.
13235         (remquo_test_data): Add more tests.
13237 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13239         * sysdeps/init_array/pt-crti.S: New file.
13241 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13243         [BZ #17967]
13244         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
13245         __builtin_fmaf instead of relying on contraction of a * b + c.
13247 2015-02-12  J William Piggott  <elseifthen@gmx.com>
13249         [BZ #17969]
13250         * manual/time.texi: correct the zoneinfo path in the TZ Variable
13251         node.
13253 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13255         [BZ #17964]
13256         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
13257         __builtin_fma instead of relying on contraction of a * b + c.
13259 2015-02-12  Roland McGrath  <roland@hack.frob.com>
13261         * Makeconfig (ASFLAGS): Add -Werror=undef.
13262         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
13263         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
13264         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
13266         * Makeconfig (after-link): New variable.
13267         (+link-pie, +link-pie-tests): Use it.
13268         (+link-static, +link-static-tests): Likewise.
13269         (+link, +link-tests): Likewise.
13270         * Makerules (build-module, build-module-asneeded): Likewise.
13271         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
13272         Likewise.
13273         * elf/Makefile ($(objpfx)ld.so): Likewise.
13275 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
13277         [BZ #17965]
13278         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
13279         both struct timeval and struct timespec.
13281 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13283         [BZ #16560]
13284         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13285         and redefine.
13286         (__ieee754_exp2l): Do not multiply small fractional parts by
13287         M_LN2l.
13288         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
13289         small argument.
13290         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13291         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13292         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
13293         * math/auto-libm-test-in: Add more tests of exp2.
13294         * math/auto-libm-test-out: Regenerated.
13296 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13298         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
13299         unaligned path.
13301 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13303         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
13304         little endian.
13306 2015-02-12  Andreas Schwab  <schwab@suse.de>
13308         [BZ #15790]
13309         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13310         Filter out elision flags from value returned in kind.
13311         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
13312         * nptl/tst-pthread-mutexattr.c: New file.
13314 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13316         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
13317         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
13318         into gnu-gnu, and update comment to refer to abi-tags.
13320 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
13322         [BZ #15467]
13323         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
13324         (__sincos): Set errno to EDOM for infinite argument.
13325         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
13326         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
13327         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
13328         (__sincosl): Set errno to EDOM for infinite argument.
13329         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
13330         (__sincosl): Set errno to EDOM for infinite argument.
13331         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
13332         (__sincosl): Set errno to EDOM for infinite argument.
13333         * math/libm-test.inc (sincos_test_data): Test errno setting.
13335 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
13337         * string/strxfrm_l.c: Remove #define STRCMP.
13338         * string/strcoll_l.c: Remove #define STRLEN.
13339         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
13340         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
13342 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
13344         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
13345         * sysdeps/mips/mips32/sfp-machine.h: ... here.
13346         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
13347         * sysdeps/mips/mips64/Makefile: ... here.
13348         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
13349         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
13350         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
13351         * sysdeps/mips/mips64/sfp-machine.h: ... here.
13352         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
13353         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
13354         * sysdeps/mips/mips64/n64/Implies: Likewise.
13356 2015-02-10  Roland McGrath  <roland@hack.frob.com>
13358         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
13359         <sys/time.h>, <string.h>, and <errno.h>.
13360         (dest_offset, dest_address, value, zero): Remove unused variables.
13361         (ldouble): Remove typedef.
13362         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
13363         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
13364         1).  Fix code style.
13365         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
13366         (check): Function removed.
13367         (CHECK): New macro.
13368         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
13369         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
13370         Don't call set_sigaction_FP and remove_sigaction_FP here.
13371         (ldouble_test): Just use 'long double' as macro argument, no need for
13372         the 'ldouble' typedef.
13373         (do_test): Set up SIGFPE handler at start, using plain signal rather
13374         than sigaction.  Fix code style.
13376 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
13378         [BZ #17949]
13379         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
13380         jump label.
13382 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13384         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
13385         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13387         * sysdeps/powerpc/configure.ac: Remove file.
13388         * sysdeps/powerpc/configure: Likewise.
13390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13391         [sysdep_routines]: Remove wordcopy-power6 object.
13392         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13393         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
13394         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
13395         (__memmove_ppc32): Likewise.
13396         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
13397         file.
13398         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
13399         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
13400         Remove preprocessor.
13402         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13403         [sysdep_routines]: Remove wide chars objects.
13404         [wcsmbs]: New rule for wide char objects.
13406         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13407         Remove wordcopy-power6 obejct.
13408         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
13409         Use local call for wordcopy and memcpy symbols.
13410         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
13411         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
13412         implementation for loader.
13413         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
13415         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13416         Remove wordcopy-power7 object.
13417         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
13418         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
13419         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
13420         (_wordcopy_fwd_dest_aligned): Likewise.
13421         (_wordcopy_bwd_aligned): Likewise.
13422         (_wordcopy_bwd_dest_aligned): Likewise.
13424         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
13425         Rewrite to call __memmove_ppc instead of include default
13426         implementation.
13428         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13429         Remove wide chars objects.
13430         [wcsmbs]: New rule for wide char objects.
13432 2015-02-09  Andreas Schwab  <schwab@suse.de>
13434         [BZ #17912]
13435         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13436         in terms of __O_DIRECTORY.
13438 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13440         * time/getdate.c: Include <stdbool.h>.
13441         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
13442         call PTR_MANGLE.
13443         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
13444         PTR_DEMANGLE.
13446 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
13448         Add ersatz _Static_assert on older C hosts
13449         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
13450         pre-C11 C platform that is not known to support _Static_assert.
13452 2015-02-07  Richard Braun  <rbraun@sceen.net>
13454         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
13455         sigstate.
13456         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
13458 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13460         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
13461         priority against unexistent AIO_PRIO_DELTA_MAX.
13462         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
13463         instead of int.
13464         * misc/fchflags.c (fchflags): Likewise.
13465         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
13466         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
13467         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
13468         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
13469         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
13470         Declare macros.
13471         [__USE_MISC] (chflags, fchflags): Declare functions.
13472         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
13473         EINVAL when nfds is greater than FD_SETSIZE.
13474         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
13475         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
13476         45.
13477         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
13478         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
13479         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
13480         MACH_RCV_TIMED_OUT.
13481         * hurd/hurd/signal.h (_hurd_self_sigstate,
13482         _hurd_critical_section_lock, _hurd_critical_section_unlock):
13483         Explicit casts from void *.
13484         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
13485         * abi-tags: Rename gnu-gnu os into gnu.
13487         [BZ #4719]
13488         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
13489         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
13490         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
13491         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
13492         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
13493         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
13495         [BZ #17944]
13496         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
13497         duplicates ADDR->sun_path with sockaddr LEN limitation.
13498         * sysdeps/mach/hurd/connect.c: Include <string.h>
13499         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
13500         * sysdeps/mach/hurd/sendmsg.c: Likewise.
13501         * sysdeps/mach/hurd/sendto.c: Likewise.
13502         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
13503         implementing it by hand.
13505 2015-02-06  Roland McGrath  <roland@hack.frob.com>
13507         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
13508         Use sfi_breg on ldr.
13509         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
13510         Likewise.
13512         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
13513         it's defined.
13514         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
13515         Test SIGSETXID only if it's defined.
13517         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
13519         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
13520         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
13522         * nptl/tst-align2.c: Moved ...
13523         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
13524         * nptl/Makefile (tests): Remove tst-align2.
13525         * sysdeps/unix/sysv/linux/Makefile
13526         [$(subdir) = nptl] (tests): Add tst-align-clone.
13527         * nptl/tst-getpid1.c: Moved ...
13528         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
13529         * nptl/tst-getpid2.c: Moved ...
13530         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
13531         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
13532         * sysdeps/unix/sysv/linux/Makefile
13533         [$(subdir) = nptl] (tests): ... here.
13534         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
13535         * sysdeps/unix/sysv/linux/Makefile
13536         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
13538         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
13539         Drop trailing \n from perror argument.  Use return rather than exit.
13541         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
13542         on [SA_SIGINFO].
13543         * nptl/tst-cancel21.c (do_test): Likewise.
13544         * debug/tst-backtrace6.c: Include <signal.h> first thing.
13545         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
13546         [!SA_SIGINFO]: Make it a stub test.
13548         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
13549         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
13551         * posix/tst-getlogin.c: Move to ...
13552         * login/tst-getlogin.c: ... here.
13553         * posix/Makefile (tests): Move tst-getlogin to ...
13554         * login/Makefile (tests): ... here.
13556         * libio/tst-atime.c (do_test): Move local variables SV and E
13557         inside [ST_NOATIME] conditional.
13559         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
13561         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
13563         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
13564         (wait_code): New function replaces macro.
13565         Call nanosleep rather than syscall.
13567         * nptl/pt-system.c: Rewritten.  Put everything under
13568         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13569         Use IFUNC to redirect when possible.
13571         * nptl/pt-longjmp.c: Rewritten.  Put everything under
13572         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13573         Use IFUNC to redirect when possible.
13575         * nptl/pt-fork.c: Rewritten.  Put everything under
13576         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13577         Use IFUNC to redirect when possible.
13578         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
13580         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
13581         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
13582         unconditionally nowadays.  This included the only reference to
13583         __vdso_clock_gettime that appears outside libc proper.
13584         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
13585         Remove version set (containing only __vdso_clock_gettime).
13586         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13587         Add attribute_hidden.
13588         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13589         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
13590         libc_hidden_data_def.
13591         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13592         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13594         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
13595         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
13596         setrpcent, and getrpcport to ...
13597         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
13598         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
13599         getrpcbynumber_r, and getrpcent_r to ...
13600         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
13601         * inet/getrpcbyname.c: Moved ...
13602         * sunrpc/getrpcbyname.c: ... here.
13603         * inet/getrpcbyname_r.c: Moved ...
13604         * sunrpc/getrpcbyname_r.c: ... here.
13605         * inet/getrpcbynumber.c: Moved ...
13606         * sunrpc/getrpcbynumber.c: ... here.
13607         * inet/getrpcbynumber_r.c: Moved ...
13608         * sunrpc/getrpcbynumber_r.c: ... here.
13609         * inet/getrpcent.c: Moved ...
13610         * sunrpc/getrpcent.c: ... here.
13611         * inet/getrpcent_r.c: Moved ...
13612         * sunrpc/getrpcent_r.c: ... here.
13613         * inet/Makefile (routines): Move those to ...
13614         * sunrpc/Makefile (routines): ... here.
13615         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
13616         the $(subdirs) list.
13617         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
13618         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
13619         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
13620         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
13622         * elf/Makefile (routines): Include $(all-dl-routines), not just
13623         $(dl-routines).
13624         (rtld-routines): Likewise.  Use = rather than :=.
13625         * sysdeps/aarch64/Makefile [$(subdir) = elf]
13626         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
13627         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
13628         * sysdeps/arm/Makefile: Likewise.
13629         * sysdeps/i386/Makefile: Likewise.
13630         * sysdeps/x86_64/Makefile: Likewise.
13631         * sysdeps/hppa/Makefile [$(subdir) = elf]
13632         (sysdep_routines, sysdep-rtld-routines): Don't add
13633         $(sysdep-dl-routines) to these.
13634         * sysdeps/ia64/Makefile: Likewise.
13635         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
13636         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
13637         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
13638         Don't add dl-static to these; sysdep-dl-routines alone is enough.
13639         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
13640         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
13641         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
13642         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
13643         * sysdeps/powerpc/Makefile [$(subdir) = elf]
13644         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
13645         these; sysdep-dl-routines alone is enough.
13647 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
13649         [BZ #17932]
13650         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
13651         where multiplication results in zero and third argument is finite
13652         and nonzero.
13653         * math/auto-libm-test-in: Add more tests of fma.
13654         * math/auto-libm-test-out: Regenerated.
13656         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
13657         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
13658         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
13659         (_FP_CMP_EQ): Likewise.
13660         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
13662         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
13663         extra argument CHECK_NAN.  Redefine as wrapper around
13664         _FP_EXTEND_CNAN.
13666 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
13668         * version.h (RELEASE): Set to "stable".
13669         (VERSION): Set to "2.21"
13670         * include/features.h (__GLIBC_MINOR__): Set to 21.
13672         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
13674 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13675             Paul Eggert  <eggert@cs.ucla.edu>
13677         [BZ #16618]
13678         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
13679         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
13680         size in bytes. Store needed elements in wpmax. Use needed size
13681         in bytes for extend_alloca.
13683 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
13685         * manual/install.texi: Latest tested versions are GCC 4.9.2,
13686         binutls 2.25, and texinfo 5.2.
13687         * INSTALL: Regenerate.
13688         * sysdeps/nios2/configure: Regenerate.
13689         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
13690         * manual/contrib.texi: Update.
13691         * po/be.po: Update.
13692         * po/bg.po: Update.
13693         * po/ca.po: Update.
13694         * po/cs.po: Update.
13695         * po/da.po: Update.
13696         * po/de.po: Update.
13697         * po/el.po: Update.
13698         * po/eo.po: Update.
13699         * po/es.po: Update.
13700         * po/fi.po: Update.
13701         * po/fr.po: Update.
13702         * po/gl.po: Update.
13703         * po/hr.po: Update.
13704         * po/hu.po: Update.
13705         * po/ia.po: Update.
13706         * po/id.po: Update.
13707         * po/it.po: Update.
13708         * po/ja.po: Update.
13709         * po/ko.po: Update.
13710         * po/lt.po: Update.
13711         * po/nb.po: Update.
13712         * po/nl.po: Update.
13713         * po/pl.po: Update.
13714         * po/pt_BR.po: Update.
13715         * po/ru.po: Update.
13716         * po/rw.po: Update.
13717         * po/sk.po: Update.
13718         * po/sl.po: Update.
13719         * po/sv.po: Update.
13720         * po/tr.po: Update.
13721         * po/uk.po: Update.
13722         * po/vi.po: Update.
13723         * po/zh_CN.po: Update.
13724         * po/zh_TW.po: Update.
13726         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
13727         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
13728         * sysdeps/hppa/dl-irel.h: Remove #warning.
13729         * sysdeps/hppa/entry.h: Provide prototype for
13730         __canonicalize_funcptr_for_compare and cast argument.
13731         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
13732         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
13733         * sysdeps/hppa/sotruss-lib.c: New file.
13734         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
13735         (atomic_compare_and_exchange_val_acq): Use __typeof__.
13736         (atomic_compare_and_exchange_bool_acq): Likewise.
13737         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
13738         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
13740         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
13741         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
13742         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
13744 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
13746         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
13747         called function in non-PIC case.
13749 2015-01-31  David S. Miller  <davem@davemloft.net>
13751         * sysdeps/sparc/sparc32/bits/atomic.h
13752         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
13753         unlock not after it.
13754         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
13755         volatile register usage warnings from the compiler.
13757         * sysdeps/sparc/nptl/sem_init.c: Delete.
13758         * sysdeps/sparc/nptl/sem_post.c: Delete.
13759         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
13760         * sysdeps/sparc/nptl/sem_wait.c: Delete.
13761         * sysdeps/sparc/sparc32/sem_init.c: New file.
13762         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
13763         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
13764         padding explicitly initialized.
13765         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
13766         padding for in-semaphore spinlock.
13767         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
13768         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
13769         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
13770         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
13771         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
13772         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
13773         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
13774         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
13775         version.
13776         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
13777         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
13779 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
13781         [BZ #17801]
13782         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13783         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
13784         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
13785         New.
13786         (index_AVX_Fast_Unaligned_Load): Likewise.
13787         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
13788         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
13789         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
13790         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
13791         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
13792         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
13793         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
13794         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
13795         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
13797 2015-01-29  Andreas Schwab  <schwab@suse.de>
13799         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
13801 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
13803         [BZ #17892]
13804         * nscd/nscd_stat.c (send_stats): Initialize DATA.
13806 2015-01-28  Martin Sebor  <msebor@redhat.com>
13808         * math/README.libm-test: Clarify. Add "How to read the test output."
13810 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
13812         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
13813         Define to 0.
13815 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
13817         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
13818         (__HAVE_64B_ATOMICS): Define to 0.
13820 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13822         [BZ #17885]
13823         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
13824         value to set as new flag.
13826         [BZ #16576]
13827         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
13828         and use _ARCH_PPCSQ instead.
13829         (__ieee754_sqrt): Likewise.
13830         (__ieee754_sqrtf): Likewise.
13831         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
13832         _ARCH_PPCSQ is defined.
13833         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
13834         fsqrt instruction.
13835         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
13836         _ARCH_PPCSQ is defined.
13837         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
13838         fsqrts instruction.
13839         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
13841 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13843         * iconv/loop.c: Suppress array out of bound warning caused by GCC
13844         bug (GCC BZ #64739).
13846 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
13848         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
13849         Mark _retval as used.
13850         (lll_futex_wake_unlock): Likewise.
13851         (lll_futex_timed_wait_requeue_pi): Likewise.
13853         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13854         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
13855         register variables.
13857         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
13858         libm_hidden_def.
13860         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
13861         (__bswap_64): Mark as __always_inline.
13863 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
13865         [BZ #15378]
13866         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
13867         when none of the search directories exist.
13869 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13871         [BZ #17869]
13872         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
13873         power8 in .machine directive.
13875         [BZ #17868]
13876         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
13877         set dependency from opd value.
13879 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13882         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
13883         architecture.
13885 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13887         [BZ #17870]
13888         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
13889         with uint64_t.
13890         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
13891         (uint64_t) 1.
13892         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
13893         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
13894         Replace 1UL with (uint64_t) 1.
13895         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
13896         int with uint64_t.
13898 2015-01-23  Roland McGrath  <roland@hack.frob.com>
13900         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
13901         (if_freenameindex): Likewise.
13903         * resource/getrlimit64.c: Add missing libc_hidden_def.
13905 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
13907         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
13908         __label__.
13909         (_FP_FMA): Likewise.
13910         (_FP_TO_INT_ROUND): Likewise.
13911         (_FP_FROM_INT): Likewise.
13913 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13915         [BZ #16418]
13916         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
13917         Make code racy and cancel safe.
13919 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
13921         * sysdeps/arm/unwind-resume.h: Fix copyright year.
13922         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
13923         attribution.
13925         * pwd/tst-getpw.c: Rewrite.
13927         [BZ #17702]
13928         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
13929         (modules-names): Add moddummy1 and moddummy2.
13930         ($(objpfx)tst-rec-dlopen): Define.
13931         * dlfcn/moddummy1.c: New file.
13932         * dlfcn/moddummy2.c: New file.
13933         * dlfcn/tst-rec-dlopen.c: New file.
13934         * elf/dl-cache.c (_dl_load_cache_lookup):
13935         Return char*. Copy result with alloca/strcpy/strdup.
13936         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
13937         returns char*. Free cached. If not saving realname
13938         free cached.
13939         * elf/dl-open.c (dl_open_worker): Do not assert that
13940         _r_debug->r_state is RT_CONSISTENT.
13941         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
13942         returns char*.
13944 2015-01-21  Torvald Riegel  <triegel@redhat.com>
13945             Carlos O'Donell  <carlos@redhat.com>
13947         [BZ #12674]
13948         * nptl/sem_waitcommon.c: New file.
13949         * nptl/sem_wait.c: Include sem_waitcommon.c.
13950         (__sem_wait_cleanup, do_futex_wait): Remove.
13951         (__new_sem_wait): Adapt.
13952         (__new_sem_trywait): New function.
13953         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
13954         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
13955         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
13956         (sem_timedwait): Adapt.
13957         * nptl/sem_post.c (__new_sem_post): Adapt.
13958         (futex_wake): New function.
13959         (__old_sem_post): Add release MO fence.
13960         * nptl/sem_open.c (sem_open): Adapt.
13961         * nptl/sem_init.c (__new_sem_init): Adapt.
13962         (futex_private_if_supported): New function.
13963         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
13964         (__old_sem_getvalue): Add using previous code.
13965         * sysdeps/nptl/internaltypes.h: Adapt.
13966         * nptl/tst-sem13.c (do_test): Adapt.
13967         * nptl/tst-sem11.c (main): Adapt.
13968         * nptl/sem_trywait.c: Remove.
13969         * nptl/DESIGN-sem.txt: Remove.
13970         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
13971         (gen-as-const-headers): Remove structsem.sym.
13972         * nptl/structsem.sym: Remove.
13973         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
13974         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
13975         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
13976         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
13977         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
13978         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
13979         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
13980         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
13981         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
13982         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
13983         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
13984         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
13985         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
13986         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
13987         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
13988         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
13989         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
13990         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
13991         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
13992         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
13993         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
13994         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
13996 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
13998         * INSTALL: Regenerated.
14000         * po/libc.pot: Regenerated.
14002 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
14003             Sandra Loosemore  <sandra@codesourcery.com>
14004             Andrew Jenner  <andrew@codesourcery.com>
14005             Joseph Myers  <joseph@codesourcery.com>
14006             Nathan Sidwell  <nathan@codesourcery.com>
14008         * NEWS: Mention new Nios II port.
14009         * sysdeps/nios2/Implies: New file.
14010         * sysdeps/nios2/Makefile: New file.
14011         * sysdeps/nios2/Subdirs: New file.
14012         * sysdeps/nios2/Versions: New file.
14013         * sysdeps/nios2/__longjmp.S: New file.
14014         * sysdeps/nios2/abort-instr.h: New file.
14015         * sysdeps/nios2/backtrace.c: New file.
14016         * sysdeps/nios2/bits/endian.h: New file.
14017         * sysdeps/nios2/bits/fenv.h: New file.
14018         * sysdeps/nios2/bits/link.h: New file.
14019         * sysdeps/nios2/bits/setjmp.h: New file.
14020         * sysdeps/nios2/bsd-_setjmp.S: New file.
14021         * sysdeps/nios2/bsd-setjmp.S: New file.
14022         * sysdeps/nios2/configure: New generated file.
14023         * sysdeps/nios2/configure.ac: New file.
14024         * sysdeps/nios2/crti.S: New file.
14025         * sysdeps/nios2/crtn.S: New file.
14026         * sysdeps/nios2/dl-init.c: New file.
14027         * sysdeps/nios2/dl-machine.h: New file.
14028         * sysdeps/nios2/dl-sysdep.h: New file.
14029         * sysdeps/nios2/dl-tls.h: New file.
14030         * sysdeps/nios2/dl-trampoline.S: New file.
14031         * sysdeps/nios2/gccframe.h: New file.
14032         * sysdeps/nios2/gmp-mparam.h: New file.
14033         * sysdeps/nios2/jmpbuf-offsets.h: New file.
14034         * sysdeps/nios2/jmpbuf-unwind.h: New file.
14035         * sysdeps/nios2/ldsodefs.h: New file.
14036         * sysdeps/nios2/libc-tls.c: New file.
14037         * sysdeps/nios2/libm-test-ulps: New file.
14038         * sysdeps/nios2/machine-gmon.h: New file.
14039         * sysdeps/nios2/math-tests.h: New file.
14040         * sysdeps/nios2/math_private.h: New file.
14041         * sysdeps/nios2/memusage.h: New file.
14042         * sysdeps/nios2/nptl/Makefile: New file.
14043         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
14044         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
14045         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
14046         * sysdeps/nios2/nptl/pthreaddef.h: New file.
14047         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
14048         * sysdeps/nios2/nptl/tls.h: New file.
14049         * sysdeps/nios2/preconfigure: New file.
14050         * sysdeps/nios2/s_fma.c: New file.
14051         * sysdeps/nios2/s_fmaf.c: New file.
14052         * sysdeps/nios2/setjmp.S: New file.
14053         * sysdeps/nios2/sfp-machine.h: New file.
14054         * sysdeps/nios2/sotruss-lib.c: New file.
14055         * sysdeps/nios2/stackguard-macros.h: New file.
14056         * sysdeps/nios2/stackinfo.h: New file.
14057         * sysdeps/nios2/start.S: New file.
14058         * sysdeps/nios2/sysdep.h: New file.
14059         * sysdeps/nios2/tls-macros.h: New file.
14060         * sysdeps/nios2/tst-audit.h: New file.
14061         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
14062         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
14063         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
14064         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
14065         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
14066         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
14067         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
14068         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
14069         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
14070         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
14071         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
14072         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
14073         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
14074         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
14075         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
14076         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
14077         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
14078         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
14079         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
14080         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
14081         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
14082         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
14083         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
14084         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
14085         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
14086         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
14087         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
14088         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
14089         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
14090         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
14091         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
14092         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
14093         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
14094         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
14095         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
14096         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
14097         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
14098         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
14099         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
14100         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
14101         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
14102         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
14103         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
14104         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
14106 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14108         [BZ #17844]
14109         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
14110         (getutent): Use weak_alias in non SHARED case
14111         and default_symbol_version in SHARED case.
14112         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
14113         (getutent_r, pututline): Likewise.
14114         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
14115         (getutid): Likewise.
14116         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
14117         (getutid_r): Likewise.
14118         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14119         (getutline): Likewise.
14120         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
14121         (getutline_r): Likewise.
14122         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
14123         (updwtmp): Likewise.
14125 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14127         [BZ #17848]
14128         * sysdeps/s390/s390-32/memcmp.S
14129         (memcmp_g5): Rename to __memcmp_g5.
14130         * sysdeps/s390/s390-32/memcpy.S
14131         (memcpy_g5): Rename to __memcpy_g5.
14132         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14133         (memcpy_mvcle) Rename to __memcpy_mvcle.
14134         * sysdeps/s390/s390-32/memset.S
14135         (memset_g5): Rename to __memset_g5.
14136         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14137         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14138         and use prefixed functions.
14139         * sysdeps/s390/s390-32/multiarch/memcmp.S
14140         (memcmp_z196): Rename to __memcmp_z196.
14141         (memcmp_z10): Rename to __memcmp_z10.
14142         (memcmp): Set alias to __memcmp_g5.
14143         (bcmp): Set alias to __memcmp_g5.
14144         * sysdeps/s390/s390-32/multiarch/memcpy.S
14145         (memcpy_z196): Rename to __memcpy_z196.
14146         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14147         (memcpy_z10): Rename to __memcpy_z10.
14148         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14149         (memcpy): Set alias to __memcpy_g5.
14150         * sysdeps/s390/s390-32/multiarch/memset.S
14151         (memset_z196): Rename to __memset_z196.
14152         Jump to __memset_mvcle instead of memset_mvcle.
14153         (memset_z10): Rename to __memset_z10.
14154         Jump to __memset_mvcle instead of memset_mvcle.
14155         (memset_mvcle) Rename to __memset_mvcle.
14156         (memset): Set alias to __memset_g5.
14157         * sysdeps/s390/s390-64/memcmp.S
14158         (memcmp_z900): Rename to __memcmp_z900.
14159         * sysdeps/s390/s390-64/memcpy.S
14160         (memcpy_z900): Rename to __memcpy_z900.
14161         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14162         (memcpy_mvcle) Rename to __memcpy_mvcle.
14163         * sysdeps/s390/s390-64/memset.S
14164         (memset_z900): Rename to __memset_z900.
14165         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
14166         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14167         and use prefixed functions.
14168         * sysdeps/s390/s390-64/multiarch/memcmp.S
14169         (memcmp_z196): Rename to __memcmp_z196.
14170         (memcmp_z10): Rename to __memcmp_z10.
14171         (memcmp): Set alias to __memcmp_z900.
14172         (bcmp): Set alias to __memcmp_z900.
14173         * sysdeps/s390/s390-64/multiarch/memcpy.S
14174         (memcpy_z196): Rename to __memcpy_z196.
14175         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14176         (memcpy_z10): Rename to __memcpy_z10.
14177         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14178         (memcpy): Set alias to __memcpy_z900.
14179         * sysdeps/s390/s390-64/multiarch/memset.S
14180         (memset_z196): Rename to __memset_z196.
14181         Jump to __memset_mvcle instead of memset_mvcle.
14182         (memset_z10): Rename to __memset_z10.
14183         Jump to __memset_mvcle instead of memset_mvcle.
14184         (memset_mvcle) Rename to __memset_mvcle.
14185         (memset): Set alias to __memset_z900.
14187 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
14189         [BZ #17748]
14190         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
14191         __fesetenv instead of fesetenv.
14193 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14195         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
14196         macro.
14198 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14200         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
14201         regression on LE.
14203         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
14204         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
14205         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14206         strncmp-power8 object.
14207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14208         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
14209         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
14210         * NEWS: Update.
14212 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14213             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14215         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
14216         trailing byte check.
14218 2015-01-13  David S. Miller  <davem@davemloft.net>
14220         * include/signal.h (__sigreturn): Guard with __USE_MISC.
14222 2015-01-13  Roland McGrath  <roland@hack.frob.com>
14224         * login/logout.c (logout): Use memset rather than bzero.
14225         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
14226         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
14227         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
14228         (_gethtbyaddr): Likewise.
14229         * locale/programs/simple-hash.c (bcopy): Macro removed.
14231 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14233         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14234         Add strcmp-power8 object.
14235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14236         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
14237         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
14238         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
14239         __strcmp_power8 implementation.
14240         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
14241         * NEWS: Update.
14243         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14244         Add strncpy-power8 and stpncpy-power8 objects.
14245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14246         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
14247         implementations.
14248         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
14249         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
14250         __stpncpy_power8 implementation.
14251         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
14252         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
14253         __strncpy_power8 implementation.
14254         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
14255         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
14256         * NEWS: Update.
14258         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
14259         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
14260         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
14262         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14263         strncat-power8 object.
14264         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
14265         __strcat_power8 implementation.
14266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14267         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
14268         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
14269         optimized strcat for power8.
14271         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14272         strcpy-power8 and stpcpy-power8 objects.
14273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14274         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
14275         implementations.
14276         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
14277         multiarch stpcpy implementation for POWER8.
14278         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
14279         multiarch strcpy implementation for POWER8.
14280         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
14281         __strcpy_power8 function.
14282         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
14283         stpcpy for POWER8.
14284         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
14285         strcpy for POWER8.
14286         * NEWS: Update.
14288 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
14290         [BZ #16009]
14291         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
14292         weights and rules. Use do_xfrm_cached if data fits in cache,
14293         do_xfrm otherwise.  Moved former main loop to...
14294         * (do_xfrm_cached): New function.
14295         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
14296         find_idx, find_position and stack_push.
14297         * (find_idx): New function.
14298         * (find_position): Likewise.
14299         * localedata/sort-test.sh: Added test run for do_xfrm.
14300         * localedata/xfrm-test.c (main): Added command line option
14301         -nocache to run the test with strings that are too large for
14302         the STRXFRM cache.
14304 2015-01-13  Torvald Riegel  <triegel@redhat.com>
14306         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
14307         variable to lll_futex_wake call, not the value itself.
14309 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
14311         [BZ #17803]
14312         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
14313         twom64.  Adjust value to 0x1p-64L.
14314         (__scalblnl): Only return standard underflowing result for K <=
14315         -64 not K <= -63; adjust exponent for underflowing result by 64
14316         not 63.
14317         * math/libm-test.inc (scalbn_test_data): Add more tests.
14318         (scalbln_test_data): Likewise.
14320         [BZ #17834]
14321         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
14322         0x1p63L.
14323         (__scalblnl): Get new exponent of adjusted subnormal value from ES
14324         not HX.
14325         * math/libm-test.inc (scalbn_test_data): Add more tests.
14326         (scalbln_test_data): Likewise.
14328 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14329             Stefani Seibold  <stefani@seibold.net>
14331         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
14332         (sysdep_routines): Add dl-vdso here, ...
14333         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
14334         (sysdep_routines): ... not here.
14335         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
14336         fallback when vDSO is not presented.
14337         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14338         Define with libc_hidden_proto/libc_hidden_data_def definitions.
14339         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
14340         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
14341         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
14342         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
14343         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
14344         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
14345         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
14346         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
14347         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
14348         fallback configurable symbol when vDSO is not available.
14349         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
14350         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
14351         be able to redefine fallback symbol when vDSO is not available.
14352         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
14353         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
14355 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14357         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
14358         (TLS_INIT_TP): Add tm_capable initialization.
14359         (TLS_DEFINE_INIT_TP): Likewise.
14360         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
14361         TCB.
14362         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
14363         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
14364         calculation.
14365         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
14366         transactoion is lock elision is built and TCB tm_capable is set.
14367         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
14368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14369         (INTERNAL_SYSCALL_NCS): Likewise.
14370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14371         (INTERNAL_SYSCALL_NCS): Likewise.
14372         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
14374         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
14375         for powerpc.
14376         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14377         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
14378         and remove it for 32 bits case.
14379         [pthread_rwlock_t] (__rwelision): New field for lock elision.
14380         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
14381         initialization.
14382         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
14383         Disable lock elision with rdlocks if elision is not available.
14385         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
14386         (sysdep_routines): Add lock elision objects.
14387         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14388         [pthread_mutex_t] (__spins): Rework to add lock elision field.
14389         [pthread_mutex_t] (__elision): Add field.
14390         [__PTHREAD_SPINS]: Adjust to init lock elision field.
14391         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
14392         elision definitions for powerpc.
14393         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
14394         implementation of lock elision for powerpc.
14395         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
14396         implementation of timed lock elision for powerpc.
14397         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
14398         implementation of trylock with lock elision for powerpc.
14399         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
14400         implementaion of unlock for lock elision for powerpc.
14401         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
14402         automatic enable lock elision for mutexes.
14403         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
14404         transaction execution definitions for powerpc.
14405         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
14406         definitions.
14407         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
14408         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
14409         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
14410         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
14411         * NEWS: Update.
14413 2015-01-09  Roland McGrath  <roland@hack.frob.com>
14415         * sysdeps/posix/shm-directory.c: Use <> rather than ""
14416         for #include of <shm-directory.h>.
14418 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
14420         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
14421         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
14423 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
14425         [BZ #17791]
14426         * NEWS: Mention bug fix.
14427         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
14428         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
14429         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
14431 2015-01-09  Torvald Riegel <triegel@redhat.com>
14433         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
14435 2015-01-09  Torvald Riegel <triegel@redhat.com>
14437         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
14439 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14441         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
14442         pointer and cast to uintptr_t.
14444 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14446         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
14447         removed.
14448         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
14450 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14452         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
14453         of 0.
14455 2015-01-08  Roland McGrath  <roland@hack.frob.com>
14457         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
14458         <nptl/pthreadP.h> instead.
14459         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
14461         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
14462         already defined.
14463         [__SIGRTMIN] (init): Function removed.
14464         [__SIGRTMIN] (initialized): Variable removed.
14465         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
14466         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
14467         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
14468         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
14469         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
14470         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
14471         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
14472         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
14473         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
14474         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
14475         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
14476         * sysdeps/nptl/allocrtsig.c: New file.
14477         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
14478         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
14479         * sysdeps/generic/testrtsig.h: File removed.
14481         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
14482         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
14484         * nptl/nptl-init.c (pthread_functions): Conditionalize
14485         .ptr__nptl_setxid initialization on [SIGSETXID].
14487         * sysdeps/nptl/sys/procfs.h: New file.
14488         * nptl_db/Makefile (headers): Add it.
14489         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
14491         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
14492         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
14493         * nptl/pthread_attr_setaffinity.c: Include it.
14494         * nptl/pthread_setattr_default_np.c: Likewise.
14495         * nptl/check-cpuset.h: New file.
14497 2015-01-08  Richard Henderson  <rth@redhat.com>
14499         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
14500         (CFLAGS-tst-execstack-prog.c): Likewise.
14501         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
14503 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
14504             Sandra Loosemore  <sandra@codesourcery.com>
14505             Andrew Jenner  <andrew@codesourcery.com>
14506             Joseph Myers  <joseph@codesourcery.com>
14507             Nathan Sidwell  <nathan@codesourcery.com>
14509         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
14510         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
14511         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
14512         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
14513         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
14514         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
14515         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
14516         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
14517         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
14518         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
14519         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
14520         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
14521         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
14522         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
14523         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
14524         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
14525         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
14527 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14529         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
14530         timespec struct member in syscall macro.
14531         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14532         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
14533         first timeval struct member in syscall macro.
14534         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
14536 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
14538         [BZ #17748]
14539         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
14540         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
14541         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
14542         __feupdateenv and define as weak alias of __feupdateenv.  Use
14543         libm_hidden_weak.
14544         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
14545         libm_hidden_def.
14546         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
14547         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
14548         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
14549         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
14550         libm_hidden_def.
14551         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
14552         __feupdateenv and define as weak alias of __feupdateenv.  Use
14553         libm_hidden_weak.
14554         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
14555         libm_hidden_def.
14556         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
14557         __feupdateenv and define as weak alias of __feupdateenv.  Use
14558         libm_hidden_weak.
14559         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
14560         libm_hidden_def.
14561         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14562         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
14563         (__feupdateenv): Likewise.
14564         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
14565         __feupdateenv and define as weak alias of __feupdateenv.  Use
14566         libm_hidden_weak.
14567         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14568         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
14569         libm_hidden_def.
14570         * sysdeps/tile/math_private.h (__feupdateenv): New inline
14571         function.
14572         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
14573         libm_hidden_def.
14574         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
14575         __feupdateenv instead of feupdateenv.
14576         (default_libc_feupdateenv_test): Likewise.
14577         (libc_feresetround_ctx): Likewise.
14579 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14581         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
14582         prototype.
14584 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
14586         * posix/regcomp.c (parse_bracket_exp): Initialize type to
14587         COLL_SYM in a couple of places to avoid uninitialized variable
14588         wanings on tilegx gcc 4.8.2.
14590 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
14592         * sysdeps/aarch64/strcpy.S: New file.
14593         * sysdeps/aarch64/stpcpy.S: New file.
14594         * NEWS: Updated.
14596 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
14598         * sysdeps/aarch64/strrchr.S: New file.
14599         * NEWS: Updated.
14601 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
14603         [BZ #17658]
14604         * stdlib/setenv.c: Fix memory leak when setting large,
14605         duplicate string.
14607 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
14609         [BZ #17273]
14610         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
14611         and tabs from buffer before parsing fstab entry.
14612         * misc/tst-mntent.c (main): Add test for mount entry with
14613         trailing spaces and tabs.
14615 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
14617         [BZ #17748]
14618         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
14619         * math/fesetround.c (fesetround): Rename to __fesetround and
14620         define as weak alias of __fesetround.  Use libm_hidden_weak.
14621         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
14622         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
14623         * sysdeps/arm/fesetround.c (fesetround): Likewise.
14624         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
14625         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
14626         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
14627         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
14628         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
14629         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
14630         __fesetround_inline.
14631         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
14632         __fesetround_inline instead of __fesetround.
14633         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
14634         __fesetround and define as weak alias of __fesetround.  Use
14635         libm_hidden_weak.  Call __fesetround_inline instead of
14636         __fesetround.
14637         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
14638         __fesetround and define as weak alias of __fesetround.  Use
14639         libm_hidden_weak.
14640         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
14641         Likewise.
14642         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
14643         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14644         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
14645         * sysdeps/tile/math_private.h (__fesetround): New inline function.
14646         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
14647         __fesetround and define as weak alias of __fesetround.  Use
14648         libm_hidden_weak.
14649         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
14650         __fesetround instead of fesetround.
14651         (default_libc_feholdexcept_setround): Likewise.
14652         (libc_feholdsetround_ctx): Likewise.
14653         (libc_feholdsetround_noex_ctx): Likewise.
14655         [BZ #17748]
14656         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
14657         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
14658         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
14659         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
14660         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14661         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
14662         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14663         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14664         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14665         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14666         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14667         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14668         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14669         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14670         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
14671         libm_hidden_def.
14672         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
14673         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
14674         Likewise.
14675         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14676         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14677         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14678         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14679         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
14680         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
14681         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
14682         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
14683         __fesetenv instead of fesetenv.
14684         (libc_feresetround_noex_ctx): Likewise.
14685         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
14686         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
14687         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
14688         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
14689         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
14690         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
14691         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14692         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
14693         (__feupdateenv): Likewise.
14694         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14695         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14696         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14697         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
14699 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
14701         [BZ #17806]
14702         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
14703         addresses have been freed.
14705 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
14707         * resolv/res_init.c (__res_vinit): Improve comments about nserv
14708         and nservall.
14710 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
14712         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
14713         Clean up check_pf allocation pattern. addresses
14715 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14717         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
14718         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
14719         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
14720         * nptl/pthread_exit.c (__pthread_exit): Likewise.
14721         * nptl/pthread_join.c (pthread_join): Likewise.
14722         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
14723         * sysdeps/posix/waitid.c (__waitid): Likewise.
14724         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
14725         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
14726         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
14727         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
14728         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
14729         Likewise.
14730         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
14731         (__libc_pread64): Likewise.
14732         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
14733         (__libc_pwrite): Likewise.
14734         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
14735         (__libc_pwrite64): Likewsie.
14736         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
14737         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
14738         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
14739         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
14740         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
14741         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
14742         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
14744         Likewise.
14745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14746         (__libc_pread64): Likewise.
14747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
14748         Likewise.
14749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14750         (__libc_pwrite64): Likewise.
14751         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
14752         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
14753         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
14754         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14755         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14756         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14757         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
14758         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
14759         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
14760         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
14761         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
14762         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
14763         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
14764         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
14765         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
14766         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
14767         Likewise.
14769 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
14771         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
14772         (CFLAGS-test-double.c): Likewise.
14773         (CFLAGS-test-ldouble.c): Likewise.
14774         (CPPFLAGS-test-ifloat.c): Likewise.
14775         (CPPFLAGS-test-idouble.c): Likewise.
14776         (CPPFLAGS-test-ildoubl.c): Likewise.
14777         (CFLAGS-test-test-fenv.c): Remove variable.
14778         (CFLAGS-test-misc.c): Likewise.
14780 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
14782         [BZ #17797]
14783         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
14784         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
14785         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
14786         CLOCKS_PER_SEC == 1000000.
14787         * time/clocktest.c (main): Replace %ld with %jd and cast to
14788         intmax_t.
14790 2015-01-05  Roland McGrath  <roland@hack.frob.com>
14792         * sysdeps/generic/unwind-resume.h: New file.
14793         * sysdeps/gnu/unwind-resume.c: Include it.
14794         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
14795         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
14796         argument list.
14797         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
14798         global rather than static.
14799         (_Unwind_Resume): Update user.
14800         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
14801         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
14802         rather than static.  Add __attribute__ ((cold)).
14803         (_Unwind_Resume, __gcc_personality_v0): Update callers.
14804         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14805         * sysdeps/arm/arm-unwind-resume.S: New file.
14806         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
14807         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
14808         * sysdeps/arm/Makefile [$(subdir) = csu]
14809         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
14810         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14811         Add rt-arm-unwind-resume.
14812         [$(subdir) = nptl]
14813         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14814         Add pt-arm-unwind-resume.
14815         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
14816         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
14818 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14820         [BZ #17748]
14821         * include/fenv.h (__feholdexcept): Declare.  Use
14822         libm_hidden_proto.
14823         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
14824         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
14825         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14826         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
14827         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
14828         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
14829         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
14830         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14831         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
14832         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
14833         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14834         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
14835         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
14836         (feholdexcept): Likewise.
14837         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14838         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14839         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14840         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14841         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
14842         __feholdexcept instead of feholdexcept.
14843         (default_libc_feholdexcept_setround): Likewise.
14845 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14847         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
14848         to avoid using stl/str to align destination.
14850 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14852         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
14854 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14856         [BZ #17796]
14857         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
14858         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
14859         Define as weak alias not strong alias.
14861 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14863         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
14864         bltzal with addiupc.
14865         (RTLD_START): Ditto.
14867 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
14869         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
14870         for __vdso_* functions in declarations.
14871         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
14872         definitions.
14873         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
14874         INTERNAL_VSYSCALL): Use struct return types to check for error.
14876         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
14877         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
14878         function with cast from llround().
14879         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
14880         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14881         Define.
14883 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14885         [BZ #17793]
14886         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
14887         Define as weak alias not strong alias.
14889         [BZ #17635]
14890         * ctype/ctype-c99.c: New file.  isblank implementation moved from
14891         ...
14892         * ctype/ctype-extn.c: ... here.
14893         (__isblank_l): Move to ...
14894         * ctype/ctype-c99_l.c: ... here.  New file.
14895         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
14896         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
14897         Remove variable.
14898         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14899         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14900         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14901         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14902         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14904         [BZ #17777]
14905         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
14906         (posix_fadvise64): Define as weak alias not strong alias.
14907         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14908         (posix_fallocate64): Likewise.
14909         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
14910         Remove variable.
14911         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14912         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14913         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14914         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14915         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14917 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
14919         [BZ #16191]
14920         * NEWS: Mention bug fix.
14921         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
14922         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
14923         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
14924         (HOST_STACK_END_ADDR): Likewise.
14926 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14928         [BZ #17748]
14929         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
14930         * math/fegetround.c (fegetround): Rename to __fegetround and
14931         define as weak alias of __fegetround.  Use libm_hidden_weak.
14932         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
14933         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
14934         * sysdeps/arm/fegetround.c (fegetround): Likewise.
14935         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
14936         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14937         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
14938         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
14939         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
14940         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14941         Undefine after rather than before function definition; use
14942         parentheses around function name in definition.
14943         (__fegetround): Also undefine macro after function definition.
14944         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
14945         __fegetround and define as weak alias of __fegetround.  Use
14946         libm_hidden_weak.  Do not undefine as macro.
14947         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14948         Likewise.
14949         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
14950         __fegetround and define as weak alias of __fegetround.  Use
14951         libm_hidden_weak.
14952         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14953         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14954         * sysdeps/tile/math_private.h (__fegetround): New inline function.
14955         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
14956         __fegetround and define as weak alias of __fegetround.  Use
14957         libm_hidden_weak.
14958         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
14959         __fegetround instead of fegetround.
14961         [BZ #17782]
14962         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
14963         Condition macro definition on [__USE_MISC].
14965         [BZ #17781]
14966         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
14967         (struct sigaction): Change type of sa_flags field to int.
14969         [BZ #17780]
14970         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
14971         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
14972         __glibc_reserved0.
14974         * nptl/version.c (banner): Use single year in copyright notice.
14976         * NEWS: Update copyright dates.
14977         * catgets/gencat.c (print_version): Likewise.
14978         * csu/version.c (banner): Likewise.
14979         * debug/catchsegv.sh: Likewise.
14980         * debug/pcprofiledump.c (print_version): Likewise.
14981         * debug/xtrace.sh (do_version): Likewise.
14982         * elf/ldconfig.c (print_version): Likewise.
14983         * elf/ldd.bash.in: Likewise.
14984         * elf/pldd.c (print_version): Likewise.
14985         * elf/sotruss.sh: Likewise.
14986         * elf/sprof.c (print_version): Likewise.
14987         * iconv/iconv_prog.c (print_version): Likewise.
14988         * iconv/iconvconfig.c (print_version): Likewise.
14989         * locale/programs/locale.c (print_version): Likewise.
14990         * locale/programs/localedef.c (print_version): Likewise.
14991         * login/programs/pt_chown.c (print_version): Likewise.
14992         * malloc/memusage.sh (do_version): Likewise.
14993         * malloc/memusagestat.c (print_version): Likewise.
14994         * malloc/mtrace.pl: Likewise.
14995         * manual/libc.texinfo: Likewise.
14996         * nptl/version.c (banner): Likewise.
14997         * nscd/nscd.c (print_version): Likewise.
14998         * nss/getent.c (print_version): Likewise.
14999         * nss/makedb.c (print_version): Likewise.
15000         * posix/getconf.c (main): Likewise.
15001         * scripts/test-installation.pl: Likewise.
15002         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15004 2015-01-02  Will Newton  <will.newton@linaro.org>
15006         * sysdeps/arm/armv7/configure: Removed.
15007         * sysdeps/arm/armv7/configure.ac: Likewise.
15009 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15011         * All files with FSF copyright notices: Update copyright dates
15012         using scripts/update-copyrights.
15013         * intl/plural.c: Regenerated.
15014         * locale/programs/charmap-kw.h: Likewise.
15015         * locale/programs/locfile-kw.h: Likewise.
15017 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15019         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
15021 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15023         [BZ #17748]
15024         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
15025         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
15026         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15027         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15028         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15029         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
15030         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15031         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
15032         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15033         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15034         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15035         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15036         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15037         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15038         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
15039         libm_hidden_def.
15040         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
15041         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
15042         Likewise.
15043         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15044         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15045         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15046         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15047         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
15048         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15049         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15050         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
15051         __fegetenv instead of fegetenv.
15052         (libc_feholdsetround_noex_ctx): Likewise.
15054 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15056         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
15057         (Elf_MIPS_ABIFlags_v0): New structure.
15058         (EF_MIPS_FP64): Define.
15059         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
15060         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
15061         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
15062         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
15063         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
15064         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
15065         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
15066         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
15067         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
15068         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
15069         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
15070         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
15071         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
15072         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
15073         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
15074         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
15075         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
15076         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
15077         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
15078         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
15079         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
15080         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
15081         field.
15082         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
15083         EF_MIPS_FP64.
15084         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
15085         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
15086         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
15087         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
15088         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
15089         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
15090         * sysdeps/mips/tst-abi-interlink.c: Likewise.
15091         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
15092         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
15093         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
15094         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
15095         record the current FP ABI extension.
15096         (mips-mode-switch): Define to show if kernel headers support mode
15097         switching.
15098         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15099         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
15100         supported SYSV ABI version to 3.
15101         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
15102         feature.
15104 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15105             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15107         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
15108         path.
15109         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
15111 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15113         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
15114         __fegetround and redefine to call __fegetround.  Remove condition
15115         on [!__NO_MATH_INLINES].
15116         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
15117         function.
15118         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
15119         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15120         Remove macro.
15121         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
15122         instead of <fenv_libc.h>.
15123         (__llrintl): Call fegetround instead of __fegetround.
15124         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
15125         instead of <fenv_libc.h>.
15126         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15127         (__lrintl): Call fegetround instead of __fegetround.
15128         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
15129         instead of <fenv_libc.h>.
15130         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15131         (__rintl): Call fegetround instead of __fegetround.
15133 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15135         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
15136         arrays.
15138 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15140         [BZ #17775]
15141         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
15142         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
15143         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
15145 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15147         * sysdeps/i386/tls-macros.h: Include <features.h>.
15148         (TLS_LE): Use non-PIC version for GCC >= 5.0.
15149         (TLS_IE): Likewise.
15150         (TLS_LD): Likewise.
15151         (TLS_GD): Likewise.
15152         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
15153         define for GCC >= 5.0.
15155 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
15157         * math/test-fenv.c (test_single_exception, set_single_exc,
15158         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
15159         feexcp_mask_test, feenable_test, fe_single_test): Add
15160         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
15161         case where they are not used.
15162         * math/libm-test.inc: Likewise.
15163         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
15164         unused in the absence of FP rounding/exception support.
15165         * stdio-common/tst-printf-round.c: Likewise.
15166         * stdlib/tst-strtod-round.c: Likewise.
15167         * stdlib/tst-strtod-underflow.c: Likewise.
15169 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
15171         [BZ #17723]
15172         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
15173         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
15174         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15175         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15176         libm_hidden_weak.
15177         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
15178         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15179         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
15180         libm_hidden_def.
15181         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15182         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15183         libm_hidden_weak.
15184         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
15185         Likewise.
15186         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
15187         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15188         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15189         libm_hidden_weak.
15190         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15191         libm_hidden_def.
15192         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15193         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
15194         (__feraiseexcept): Likewise.
15195         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15196         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15197         libm_hidden_weak.
15198         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15199         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15200         libm_hidden_def.
15201         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
15202         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
15203         Use libm_hidden_def.
15204         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
15205         libm_hidden_def.
15206         (feraiseexcept): Define as weak not strong alias.  Use
15207         libm_hidden_weak.
15208         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
15209         New inline function.  Factored out of ...
15210         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
15211         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
15212         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
15213         feraiseexcept.
15214         * math/w_acos.c (__acos): Likewise.
15215         * math/w_asin.c (__asin): Likewise.
15216         * math/w_ilogb.c (__ilogb): Likewise.
15217         * math/w_j0.c (y0): Likewise.
15218         * math/w_j1.c (y1): Likewise.
15219         * math/w_jn.c (yn): Likewise.
15220         * math/w_log.c (__log): Likewise.
15221         * math/w_log10.c (__log10): Likewise.
15222         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
15223         * sysdeps/aarch64/fpu/math_private.h
15224         (libc_feupdateenv_test_aarch64): Likewise.
15225         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15226         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
15227         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
15228         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15229         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15230         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15231         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
15232         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15233         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15234         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15236 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15238         [BZ #17732]
15239         * io/test-utime.c (main): Replace %ld with %jd and cast to
15240         intmax_t.
15241         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
15242         * nptl/tst-mutex5.c: Include <stdint.h>.
15243         (do_test): Replace %ld with %jd and cast to intmax_t.
15244         * posix/tst-regex.c (run_test): Likewise.
15245         (run_test_backwards): Likewise.
15246         * rt/tst-clock.c: Include <stdint.h>.
15247         (clock_test): Replace %ld with %jd and cast to intmax_t.
15248         * rt/tst-cpuclock1.c: Include <stdint.h>.
15249         (do_test): Replace %lu with %ju and cast to uintmax_t.
15250         * rt/tst-cpuclock2.c: Include <stdint.h>.
15251         (do_test): Replace %lu with %ju and cast to uintmax_t.
15252         * rt/tst-mqueue1.c: Include <stdint.h>.
15253         (check_attrs): Replace %ld with %jd and cast to intmax_t.
15254         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
15255         intmax_t.
15256         * rt/tst-mqueue4.c (do_test): Likewise.
15257         * rt/tst-timer4.c: Include <stdint.h>.
15258         (check_ts): Replace %ld with %jd and cast to intmax_t.
15259         (do_test): Likewise.
15260         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
15261         and cast to intmax_t.
15262         * sysdeps/pthread/tst-timer.c (main): Likewise.
15263         * time/clocktest.c (main): Likewise.
15264         * time/tst-posixtz.c (do_test): Likewise.
15265         * timezone/tst-timezone.c (main): Likewise.
15267 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15268             H.J. Lu  <hongjiu.lu@intel.com>
15270         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
15271         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15272         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
15273         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
15274         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
15275         version if bit_Fast_Unaligned_Load is set.
15276         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15277         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15278         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15279         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15280         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15281         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15282         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15283         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
15284         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
15285         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
15286         to 4.
15287         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
15288         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
15289         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
15290         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
15292 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
15294         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
15295         instead of #if to avoid a Wundef warning.
15296         * stdlib/tst-limits.c (do_test): Likewise.
15298         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
15299         parallel other exception macros.
15300         (fegetenv): Convert from macro to extern inline so that it applies
15301         retroactively to inline functions already seen by the compiler.
15302         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
15304         * posix/Makefile (before-compile): Use $(objpfx) for
15305         posix-conf-vars-def.h.
15307 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15309         * posix/getconf.c (main): Use size_t for type of I.
15310         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
15311         NSPEC.
15313         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
15314         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
15315         * posix/posix-envs.def: Likewise.
15316         * sysdeps/posix/sysconf.c: Likewise.
15317         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
15318         (specs): Remove array.
15319         * scripts/gen-posix-conf-vars.awk: Support generation of specs
15320         array.
15322         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
15323         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
15324         (__sysconf): Use CONF_IS_* macros.
15326         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
15327         ($(objpfx)posix-conf-vars-def.h): New target.
15328         * posix/posix-conf-vars.list: New file.
15329         * posix/posix-conf-vars.h: New file.
15330         * posix/confstr.c: Include posix-conf-vars.h.
15331         (confstr): Use CONF_IS_* macros.
15332         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
15333         CONF_IS_* macros.
15334         * scripts/gen-posix-conf-vars.awk: New file.
15336 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
15338         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
15339         fegetround): Add no-op macros to avoid linknamespace issues.
15341         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
15342         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
15344         * sysdeps/unix/sysv/linux/tile/sysdep.h
15345         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
15346         assembly-specific section to avoid a redefinition warning.
15348         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
15349         long before casting to pointer to avoid a cast warning.
15351 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
15353         * sysdeps/tile/tilegx/Implies: New file.
15355 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
15357         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
15359 2014-12-23  Florian Weimer  <fweimer@redhat.com>
15361         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
15363 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15365         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
15366         not define.
15367         * sysdeps/unix/sysv/linux/utimes.c: Do not include
15368         <kernel-features.h>.
15369         (__utimes) [__NR_utimes]: Make code unconditional.
15370         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
15371         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15372         (__ASSUME_UTIMES): Do not undefine.
15373         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15374         (__ASSUME_UTIMES): Likewise.
15375         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15376         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
15377         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
15378         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
15380 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15382         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
15384 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
15386         [BZ #17747]
15387         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
15388         alias to weak alias for j0l, y0l.
15389         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
15390         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
15392         [BZ #17746]
15393         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
15394         conversion.
15396 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15398         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
15399         to zero if not already defined.
15401 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15403         [BZ #17724]
15404         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
15405         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
15406         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
15407         (char *) casts added.
15408         * sysdeps/ieee754/k_standardf.c: New file.
15409         * sysdeps/ieee754/k_standardl.c: Likewise.
15410         * math/Makefile (libm-support): Remove k_standard.
15411         (libm-calls): Add k_standard.
15413 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15415         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15416         Optimize to avoid an unnecessary FPCR read.
15418 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15420         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15421         Optimize to reduce FPCR/FPSR accesses.
15423 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15425         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
15426         Call libc_fetestexcept_aarch64.
15428 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15430         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
15431         Call libc_fesetround_aarch64.
15433 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15435         [BZ #17733]
15436         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
15437         (__bind): Do not define as weak alias.
15438         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
15439         define.
15440         (__getsockname): Do not define as weak alias.
15442 2014-12-22  Will Newton  <will.newton@linaro.org>
15444         * manual/install.texi: Document that we require bison 2.7
15445         or above.
15446         * INSTALL: Regenerate.
15447         * configure.ac: Use AC_CHECK_PROG_VER instead of
15448         AC_PATH_PROG when checking for bison and check for
15449         version 2.7 or above.
15450         * configure: Regenerate.
15452 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
15454         [BZ #17745]
15455         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
15456         * sysdeps/tile/ffsll.c (ffsll): To here.
15458         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
15460 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
15462         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
15463         if not defined.
15464         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
15465         definition.
15466         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
15467         hidden ___tls_get_addr.
15468         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
15469         hidden __tls_get_addr.
15470         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
15471         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
15472         Likewise.
15474 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
15476         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
15477         _dl_init call.
15479 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
15481         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
15482         from "call _dl_init@PLT".
15483         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
15485 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
15487         * manual/search.texi: (Array Sort Function): Clarify stable sorting
15488         guarantees.
15490 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
15492         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
15494 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
15496         [BZ #17744]
15497         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
15498         strnlen.
15500 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
15502         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
15503         of multu on MIPSr6.
15504         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
15505         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
15506         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
15507         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
15508         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
15510 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
15512         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
15513         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
15514         (PTR_SUBU): Use subu for mips32r6/mips64r6.
15515         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
15516         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
15517         mips32r6/mips64r6.
15518         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
15520 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
15522         * string/strncat.c (STRNCAT): Simplify implementation.
15524 2014-12-19  David S. Miller  <davem@davemloft.net>
15526         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
15527         access the quad as both a long double and as a series of 4 words.
15529         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
15530         link_map->l_info array access.
15532 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
15534         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
15536         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
15537         * math/atest-exp2.c (TIMEOUT): Likewise.
15538         * math/atest-sincos.c (TIMEOUT): Likewise.
15540 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15542         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
15543         -Wno-error with -fno-builtin-lround.
15545 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15547         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
15548         Contains futex constants and functions moved over from ...
15549         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
15550         <lowlevellock-futex.h>.
15551         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
15552         (lll_timedwait_tid): Add comments and parentheses around macro
15553         arguments.
15555 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15557         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
15558         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
15559         (__lll_private_flag): Remove.
15560         (lll_futex_wait): Likewise.
15561         (lll_futex_timed_wait): Likewise.
15562         (lll_futex_wake): Likewise.
15563         (lll_futex_requeue): Likewise.
15564         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
15565         (__lll_timedwait_tid): Spell out argument names.
15566         (lll_timedwait_tid): Add comments and parentheses around macro
15567         arguments.
15568         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
15569         LLL_SHARED and LLL_PRIVATE usable from assembly code.
15571 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15573         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
15574         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
15575         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15576         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
15577         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
15578         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
15579         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
15580         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
15581         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
15582         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
15583         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
15584         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
15585         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
15586         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
15587         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
15588         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
15589         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
15590         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
15591         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
15593 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15595         * sysdeps/x86_64/x32/Makefile: New file.
15597 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15599         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
15600         1L with (mp_limb_t) 1.
15602 2014-12-17  Roland McGrath  <roland@hack.frob.com>
15604         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
15605         * nptl/libc_pthread_init.c: ... here.
15606         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
15607         * nptl/register-atfork.c: ... here.
15609         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
15610         Use pthread_sigmask rather than INTERNAL_SYSCALL.
15611         Use assert_perror to check its return value.
15612         (__gai_create_helper_thread): Likewise.
15614         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
15616         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
15618 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
15620         [BZ #17725]
15621         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
15622         __profil_counter.
15623         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
15624         Likewise.
15625         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
15626         Likewise.
15627         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
15628         Likewise.
15629         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
15630         (profil_counter): Likewise.
15631         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
15632         (profil_counter): Likewise.
15633         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
15634         Likewise.
15635         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
15636         Likewise.
15637         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
15638         (profil_counter): Likewise.
15639         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
15640         Likewise.
15641         [!__profil_counter] (profil_counter): Define as weak alias of
15642         __profil_counter.
15643         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
15644         (profil_counter): Rename to __profil_counter.
15645         [!__profil_counter] (profil_counter): Define as weak alias of
15646         __profil_counter.
15647         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
15648         (profil_counter): Rename to __profil_counter.
15649         [!__profil_counter] (profil_counter): Define as weak alias of
15650         __profil_counter.
15651         * sysdeps/posix/profil.c: Update comment referring to
15652         profil_counter.
15653         (__profil): Use __profil_counter instead of profil_counter.
15654         * sysdeps/posix/sprofil.c (profil_counter): Rename to
15655         __profil_counter.  Use __profil_counter_ushort and
15656         __profil_counter_uint in definitions.
15657         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
15658         instead of profil_counter_uint and profil_counter_ushort.
15660         [BZ #17722]
15661         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
15662         define as weak alias of __inet_makeaddr.
15663         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
15664         as weak alias of __inet_addr.
15665         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
15666         as weak alias of __inet_pton.  Use libc_hidden_weak.
15667         * include/arpa/inet.h (__inet_pton): Declare.  Use
15668         libc_hidden_proto.
15669         (inet_makeaddr): Don't use libc_hidden_proto.
15670         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
15671         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
15672         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
15673         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
15674         Remove variable.
15675         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
15676         (test-xfail-POSIX/time.h/linknamespace): Likewise.
15678 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
15680         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
15682 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15684         * stdio-common/bug-vfprintf-nargs.c (do_test):
15685         Cast value to intptr_t to avoid format warning
15686         for usage with PRIdPTR printing macro.
15688 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15690         * libio/tst-widetext.c (do_test):
15691         Use format type %td instead of %Zd for ptrdiff_t
15692         in order to avoid format warning.
15694 2014-12-17  Andreas Schwab  <schwab@suse.de>
15696         * nscd/mem.c (gc): Add size_t cast to match printf format.
15698 2014-12-16  Roland McGrath  <roland@hack.frob.com>
15700         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
15701         (init): Apply PTR_MANGLE to pointers before storing them.
15702         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
15703         before using them.
15705 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
15707         [BZ #17719]
15708         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
15709         define as weak alias of __memrchr.
15710         (__memrchr): Do not define as strong alias of memrchr.
15711         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
15712         Remove variable.
15713         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
15714         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
15715         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
15717         [BZ #17717]
15718         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
15719         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
15720         (if_indextoname): Rename to __if_indextoname and define as weak
15721         alias of __if_indextoname.  Use libc_hidden_weak.
15722         (if_freenameindex): Rename to __if_freenameindex and define as
15723         weak alias of __if_freenameindex.
15724         (if_nameindex): Rename to __if_nameindex and define as weak alias
15725         of __if_nameindex.
15726         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
15727         __if_nametoindex and define as weak alias of __if_nametoindex.
15728         Use libc_hidden_weak.
15729         (if_freenameindex): Rename to __if_freenameindex and define as
15730         weak alias of __if_freenameindex.
15731         (if_nameindex): Rename to __if_nameindex and define as weak alias
15732         of __if_nameindex.
15733         (if_indextoname): Rename to __if_indextoname and define as weak
15734         alias of __if_indextoname.  Use libc_hidden_weak.
15735         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
15736         __if_nametoindex and define as weak alias of __if_nametoindex.
15737         Use libc_hidden_weak.
15738         (if_freenameindex): Rename to __if_freenameindex and define as
15739         weak alias of __if_freenameindex.  Use libc_hidden_weak.
15740         (if_nameindex_netlink): Use __if_freenameindex instead of
15741         if_freenameindex.
15742         (if_nameindex): Rename to __if_nameindex and define as weak alias
15743         of __if_nameindex.  Use libc_hidden_weak.
15744         (if_indextoname): Rename to __if_indextoname and define as weak
15745         alias of __if_indextoname.  Use libc_hidden_weak.
15746         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
15747         libc_hidden_proto.
15748         [!_ISOMAC] (__if_freenameindex): Likewise.
15749         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
15750         if_nametoindex.
15751         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
15752         variable.
15753         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
15754         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
15755         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
15756         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
15757         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
15758         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
15759         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
15761         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
15762         Remove variable.
15763         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
15764         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
15766 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15768         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
15769         subscript above bounds'
15771         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
15772         bounds.
15774 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
15776         * libio/tst-fopenloc.c: Use test-skeleton.c.
15778         * stdlib/tst-bsearch.c: Use test-skeleton.c.
15779         (entry): Rename to ITEM.
15780         (do_test, comp): Adjust.
15782         * stdio-common/tst-fseek.c: Use test-skeleton.c.
15784 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15786         * string/tester.c: Include <libc-internal.h>.
15787         (test_memset): Ignore -Wmemset-transposed-args.
15789 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15791         * misc/tst-mntent2.c (do_test): Fix warning.
15793 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15795         * elf/tst-unique4lib.cc(a): Mark as used.
15797 2014-12-16  Florian Weimer  <fweimer@redhat.com>
15799         [BZ #17630]
15800         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
15801         names.
15803 2014-12-16  Allan McRae  <allan@archlinux.org>
15805         * stdio-common/Makefile (tests): Re-add bug26.
15807 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
15809         [BZ #17657]
15810         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
15811         static array.
15813 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
15815         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
15816         (__lll_lock_wait): Likewise.
15817         (__lll_timedlock_wait): Likewise.
15818         (__lll_timedwait_tid): Likewise.
15819         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
15820         (__lll_robust_timedlock_wait): Likewise.
15821         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
15822         (lll_cond_trylock): Likewise.
15823         (__lll_lock): Likewise.
15824         (__lll_robust_lock): Likewise.
15825         (__lll_cond_lock): Likewise.
15826         (lll_robust_cond_lock): Likewise.
15827         (__lll_timedlock): Likewise.
15828         (__lll_robust_timedlock): Likewise.
15829         (__lll_unlock): Likewise.
15830         (__lll_robust_unlock): Likewise.
15831         (lll_wait_tid): Likewise.
15832         (lll_timedwait_tid): Likewise.
15834 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15836         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
15838 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15840         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
15842 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15844         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
15845         * stdio-common/tst-sprintf.c: Likewise.
15847 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15849         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
15851 2014-12-15  Jeff Law  <law@redhat.com>
15853         [BZ #16617]
15854         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
15855         on the heap.  (CVE-2012-3406)
15856         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
15857         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
15858         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
15860 2014-12-15  Will Newton  <will.newton@linaro.org>
15862         * manual/install.texi: Bump required version of texinfo
15863         to 4.7 from 4.5.
15864         * INSTALL: Regenerated.
15865         * configure.ac: Check for makeinfo version 4.7 and above.
15866         * configure: Regenerated.
15868 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15870         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
15871         PREFIX, string constant to insert between directory and name.
15872         * sysdeps/posix/shm_open.c: Update caller.
15873         * sysdeps/posix/shm_unlink.c: Likewise.
15874         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
15875         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
15876         (SEM_SHM_PREFIX): New macro.
15877         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
15878         [$(have-thread-library) = no].
15879         * nptl/Makefile (libpthread-routines): Add shm-directory.
15880         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
15881         * sysdeps/nptl/shm-directory.h: New file.
15882         * sysdeps/posix/shm-directory.c
15883         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
15884         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15885         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
15886         INTERNAL_SYSCALL.
15887         (__where_is_shmfs): Function removed.
15888         (mountpoint, defaultmount, defaultdir, __namedsem_once):
15889         Variables removed.
15890         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
15891         Use SHM_GET_NAME.
15892         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
15894         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
15895         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
15896         unconditional for use inside libpthread.
15897         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
15899 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15901         * nptl/pthread_getaffinity.c: New file.
15902         * nptl/pthread_setaffinity.c: New file.
15903         * nptl/pthread_getname.c: New file.
15904         * nptl/pthread_setname.c: New file.
15906         * nptl/pthread_create.c (START_THREAD_DEFN)
15907         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
15909 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15910             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15912         * resolv/res_send.c (send_vc): Disable warning resplen may
15913         be used uninitialized.
15915 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15917         * nptl/tst-mutex6.c
15918         (ATTR_NULL): New define checks ATTR against NULL.
15919         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
15920         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
15922 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
15924         [BZ #17581]
15925         * malloc/hooks.c
15926         (mem2mem_check): Revert my previous change.
15927         (malloc_check_get_size): Revert my previous change.
15928         (mem2chunk_check): Revert my previous change.
15930 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15932         * sysdeps/posix/shm-directory.c: New file.
15933         * sysdeps/posix/shm-directory.h: New file.
15934         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
15935         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
15936         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
15937         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
15938         Transmute EPERM to EACCES.
15939         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
15940         from ...
15941         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
15942         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
15944 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15946         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
15947         pointer and cast to uintptr_t.
15948         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
15949         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
15950         Add cast to avoid warning.
15951         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
15953 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15955         * nptl/semaphore.h: Move to ...
15956         * sysdeps/pthread/semaphore.h: ... here.
15957         * Makefile (installed-headers): Change nptl/semaphore.h to
15958         sysdeps/pthread/semaphore.h.
15960 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15962         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
15963         generated error format strings.
15965         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
15966         -Wformat-extra-args warnings for scanf formats.
15967         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
15968         test of zero-length format (duh).
15969         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
15970         corner-case scanf format test.
15971         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
15972         generated fprintf format string.
15973         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
15974         corner-case sprintf format tests.
15975         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
15976         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
15977         -Wformat-extra-args warnings throughout.
15978         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
15979         (CFLAGS-scanf4.c): Likewise.
15980         (CFLAGS-scanf7.c): Likewise.
15981         (CFLAGS-tst-sprintf.c): Likewise.
15982         (CFLAGS-tst-printf.c): Likewise.
15983         (CFLAGS-tst-printfsz.c): Likewise.
15985 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15987         * include/cpio.h: New file.
15988         * include/fmtmsg.h: Likewise.
15990         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
15991         corresponding format argument to size_t.
15992         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
15993         arguments.
15994         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
15995         corresponding format argument to size_t.
15996         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
15997         arguments.
15998         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
15999         corresponding format argument to size_t.
16000         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
16001         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
16002         (CFLAGS-tst-mbswcs2.c): Likewise.
16003         (CFLAGS-tst-mbswcs3.c): Likewise.
16004         (CFLAGS-tst-mbswcs4.c): Likewise.
16005         (CFLAGS-tst-mbswcs5.c): Likewise.
16006         (CFLAGS-tst-trans.c): Likewise
16008 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16010         * posix/regexbug1.c (main): Use "%s" format with regerror results,
16011         rather than assuming they won't contain any '%'s.
16013 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
16015         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
16016         inhibit_loop_to_libcall to avoid recursive calls.
16017         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
16018         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
16020 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16022         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
16023         prototype.
16025 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16027         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
16028         integer value instead of boolean.
16030 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16032         * malloc/malloc.c: Fix powerof2 check.
16034 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16036         * locale/programs/locfile.h (maybe_swap_uint32):
16037         Remove inline and add unused attribute.
16039 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16041         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16042         Truncating assembler expression to a .long expression.
16044 2014-12-11  Andreas Schwab  <schwab@suse.de>
16046         * elf/rtld.c (struct map_args): Constify str member.
16047         (do_preload): Constify fname argument.
16049 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16051         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
16052         constants definition.
16054 2014-12-11  Andreas Schwab  <schwab@suse.de>
16056         [BZ #16657]
16057         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
16058         FORCE_ELISION instead of DO_ELISION.
16059         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
16060         Remove.
16061         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
16062         Likewise.
16064         * iconvdata/gconv-modules: Remove duplicate entry.
16066 2014-12-11  Will Newton  <will.newton@linaro.org>
16068         Merge gettext 0.19.3 into intl/.
16070         This involves a number of cosmetic changes to comments
16071         and ANSI function definitions and prototypes throughout
16072         all the files. The gettext copyright header is used but
16073         with the date ranges taken from the glibc copy.
16075         * NEWS: Add gettext merge to 2.21.
16076         * intl/bindtextdom.c: Switch to gettext copyright.
16077         Use ANSI definitions and prototypes.
16078         Use gl_* locking primitives rather than __libc_* ones.
16079         Use __builtin_expect rather than __glibc_likely/unlikely.
16080         * intl/dcgettext.c: Switch to gettext copyright.
16081         Use ANSI definitions and prototypes.
16082         * intl/dcigettext.c: Switch to gettext copyright.
16083         Use ANSI definitions and prototypes.
16084         (INTDIV0_RAISES_SIGFPE): New define.
16085         Use gl_* locking primitives rather than __libc_* ones.
16086         Include eval-plural.h instead of plural-eval.c.
16087         Use __builtin_expect rather than __glibc_likely/unlikely.
16088         * intl/dcngettext.c: Switch to gettext copyright.
16089         Use ANSI definitions and prototypes.
16090         * intl/dgettext.c: Likewise.
16091         * intl/dngettext.c: Likewise.
16092         * intl/plural-eval.c: Renamed to...
16093         * intl/eval-plural.h: ...this.
16094         * intl/explodename.c: Switch to gettext copyright.
16095         Use ANSI definitions and prototypes.
16096         (_nl_explode_name): Use strchr instead of __rawmemchr.
16097         * intl/finddomain.c: Switch to gettext copyright.
16098         Use ANSI definitions and prototypes.
16099         Use gl_* locking primitives rather than __libc_* ones.
16100         (_nl_find_domain): Use malloc rather than alloca for
16101         allocation of temporary locale name.
16102         * intl/gettext.c: Switch to gettext copyright.
16103         Use ANSI definitions and prototypes.
16104         * intl/gettextP.h: Switch to gettext copyright.
16105         Use ANSI definitions and prototypes.
16106         Use gl_* locking primitives rather than __libc_* ones.
16107         * intl/gmo.h: Switch to gettext copyright.
16108         (struct sysdep_string): Move struct segment_pair outside of
16109         struct definition.
16110         * intl/hash-string.c: Use ANSI definitions and prototypes.
16111         * intl/hash-string.h: Switch to gettext copyright.
16112         Use ANSI definitions and prototypes.
16113         * intl/l10nflist.c: Switch to gettext copyright.
16114         Use ANSI definitions and prototypes.
16115         (_nl_normalize_codeset): Avoid integer overflow.
16116         * intl/loadinfo.h: Switch to gettext copyright.
16117         Use ANSI definitions and prototypes.
16118         (LIBINTL_DLL_EXPORTED): New define.
16119         (PATH_SEPARATOR): New define.
16120         * intl/loadmsgcat.c: Switch to gettext copyright.
16121         * intl/localealias.c: Switch to gettext copyright.
16122         Use ANSI definitions and prototypes.
16123         (_nl_expand_alias): Use PATH_SEPARATOR.
16124         * intl/ngettext.c: Switch to gettext copyright.
16125         Use ANSI definitions and prototypes.
16126         * intl/plural-exp.c: Likewise.
16127         * intl/plural-exp.h: Switch to gettext copyright.
16128         Use ANSI definitions and prototypes.
16129         (struct expression): Move definition of enum operator outside
16130         of struct definition.
16131         * intl/plural.c: Regenerate.
16132         * intl/plural.y: Switch to gettext copyright.
16133         Use ANSI definitions and prototypes.
16134         Port to bison 3.0.
16135         * intl/textdomain.c: Switch to gettext copyright.
16136         Use ANSI definitions and prototypes.
16137         Use gl_* locking primitives rather than __libc_* ones.
16139 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
16141         * debug/warning-nop.c: Add used atrribute.
16143 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16145         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
16147         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
16148         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
16149         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
16151 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16152             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16154         [BZ #17634]
16155         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
16156         Undefine after defining function.  Define as weak alias of
16157         __wcschr.  Use libc_hidden_weak.
16158         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
16159         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16160         (libc_hidden_def): Also define __GI___wcschr alias.
16161         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
16162         __wcschr and define as weak alias of __wcschr.
16163         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
16164         __wcschr.
16165         [!WCSCHR] (DEFAULT_WCSCHR): Define.
16166         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
16167         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
16168         libc_hidden_weak.  Do not use libc_hidden_def.
16169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
16170         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
16171         __GI___wcschr alias.
16172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
16173         [IS_IN (libc)] (wcschr): Define as macro expanding to
16174         __redirect_wcschr.
16175         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
16176         [IS_IN (libc)] (__wcschr_power6): Likewise.
16177         [IS_IN (libc)] (__wcschr_power7): Likewise.
16178         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
16179         instead of wcschr.
16180         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
16181         __libc_wcschr.
16182         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
16183         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
16184         __wcschr and define as weak alias of __wcschr.  Use
16185         libc_hidden_builtin_def.
16186         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
16187         as weak alias of __wcschr.  Use libc_hidden_weak.
16188         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
16189         wcschr.
16190         * time/era.c (_nl_init_era_entries): Likewise.
16191         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
16192         variable.
16193         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16194         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16196 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16198         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
16199         format for long int variable.
16201 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
16203         [BZ #10672]
16204         * manual/search.texi: (Array Sort Function): Remove claim how to make
16205         qsort stable.
16207 2014-12-10  Andreas Schwab  <schwab@suse.de>
16209         [BZ #12847]
16210         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
16211         user-controlled locks.
16213 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
16215         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
16216         register.
16218 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16220         * configure.ac (--disable-werror): New configure option.
16221         (enable_werror): New AC_SUBST.
16222         * configure: Regenerated.
16223         * config.make.in (enable-werror): New variable.
16224         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
16225         -Wno-error=undef.
16226         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
16227         * manual/install.texi (Configuring and compiling): Document
16228         --disable-werror.
16229         * INSTALL: Regenerated.
16230         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
16231         (CFLAGS-tst-chk2.c): Likewise.
16232         (CFLAGS-tst-chk3.c): Likewise.
16233         (CFLAGS-tst-chk4.cc): Likewise.
16234         (CFLAGS-tst-chk5.cc): Likewise.
16235         (CFLAGS-tst-chk6.cc): Likewise.
16236         (CFLAGS-tst-lfschk1.c): Likewise.
16237         (CFLAGS-tst-lfschk2.c): Likewise.
16238         (CFLAGS-tst-lfschk3.c): Likewise.
16239         (CFLAGS-tst-lfschk4.cc): Likewise.
16240         (CFLAGS-tst-lfschk5.cc): Likewise.
16241         (CFLAGS-tst-lfschk6.cc): Likewise.
16243         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
16244         (main): Disable -Wdeprecated-declarations around calls to
16245         register_printf_function.
16247         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
16248         (do_test): Disable -Wdiv-by-zero around some calls to
16249         fwrite_unlocked and fread_unlocked.
16251         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
16252         (DIAG_POP_NEEDS_COMMENT): Likewise.
16253         (_DIAG_STR1): Likewise.
16254         (_DIAG_STR): Likewise.
16255         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16256         * stdio-common/bug21.c: Include <libc-internal.h>.
16257         (do_test): Disable -Wformat around call to sscanf.
16258         * stdio-common/scanf14.c: Include <libc-internal.h>.
16259         (main): Disable -Wformat around some calls to scanf functions.
16261 2014-12-09  Torvald Riegel  <triegel@redhat.com>
16263         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16265 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16267         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
16268         stack variable alignment.
16270 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
16272         [BZ #17682]
16273         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
16274         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
16275         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
16276         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
16277         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
16278         __getrlimit instead of getrlimit.
16279         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
16280         __gettimeofday instead of gettimeofday.
16281         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16282         Likewise.
16283         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16284         Likewise.
16285         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16286         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
16287         Remove variable.
16288         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16289         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16291 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16293         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
16294         for wide-character tests.
16296 2014-12-04  Roland McGrath  <roland@hack.frob.com>
16298         * io/openat64.c: #include <libc-internal.h>
16299         (__openat64): Prototypify.  Use ignore_value on MODE.
16300         * io/openat.c: Likewise.
16301         * misc/reboot.c: #include <libc-internal.h>
16302         (reboot): Prototypify.  Use ignore_value on HOWTO.
16303         * misc/ptrace.c: #include <libc-internal.h>
16304         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
16306 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
16308         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
16309         XPG4, UNIX98 and XOPEN2K.
16310         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
16311         Remove variable.
16312         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16314 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16316         * libio/fileops.c: Use ISO C style for function definitions.
16317         * libio/iofopen.c: Likewise.
16318         * libio/wfileops.c: Likewise.
16320         [BZ #17653]
16321         * libio/fileops.c (_IO_new_file_underflow): Unset cached
16322         offset on EOF.
16323         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16324         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
16325         (fgets_func): Function pointer to fgets and fgetws.
16326         (do_ftell_test): Add test to verify ftell value after read
16327         EOF.
16328         (do_test): Set fgets_func.
16330         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
16331         O_TRUNC flag for w and w+ modes.
16332         (do_rewind_test): Likewise.
16333         (do_ftell_test): Likewise.
16334         (do_write_test): Likewise.
16336         [BZ #17647]
16337         * libio/fileops.c (do_ftell): Seek only when there are
16338         unflushed writes.
16339         * libio/wfileops.c (do_ftell_wide): Likewise.
16340         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
16341         test case.
16342         (do_one_test): Call it.
16344 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
16346         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
16347         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
16348         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
16349         Remove variable.
16350         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16351         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16352         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16354 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16356         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
16357         Remove variable.
16358         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16360         [BZ #17668]
16361         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
16362         as weak alias of __getifaddrs.  Use libc_hidden_weak.
16363         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16364         __freeifaddrs.  Use libc_hidden_weak.
16365         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
16366         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
16367         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16368         __freeifaddrs.  Use libc_hidden_weak.
16369         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
16370         __getifaddrs and define as weak alias of __getifaddrs.  Use
16371         libc_hidden_weak.
16372         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16373         __freeifaddrs.  Use libc_hidden_weak.
16374         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
16375         Remove variable.
16376         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16377         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16379 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16381         [BZ #17601]
16382         * sysdeps/mips/start.S (__start): Use indirect jump to call
16383         __libc_start_main.
16385 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16387         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
16389         * nptl/tst-mutex1.c: Include <stdbool.h>.
16390         [!ATTR] (ATTR_NULL): New macro.
16391         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
16392         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
16393         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
16395         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
16396         to char *.
16398         [BZ #17665]
16399         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
16400         Change conditional to [__USE_MISC].
16402         [BZ #17664]
16403         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
16404         fgets_unlocked.
16405         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
16406         __fgets_unlocked.
16407         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
16408         fgets_unlocked.
16409         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
16410         Remove variable.
16411         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16412         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16413         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16414         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16415         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16416         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16417         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16418         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16419         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16421         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
16423 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16425         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16426         Remove strpbrk objects.
16427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16428         (__libc_ifunc_impl_list): Remove strpbrk implementation.
16429         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
16430         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
16431         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
16432         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
16434         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16435         Remove strcspn objects.
16436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16437         (__libc_ifunc_impl_list): Remove strcspn implementation.
16438         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
16439         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
16440         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
16441         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
16443         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16444         Remove strspn objetcs.
16445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16446         (__libc_ifunc_impl_list): Remove strspn implementation.
16447         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
16448         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16449         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
16450         * sysdeps/powerpc/powerpc64/strspn.S: New file.
16452 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
16454         [BZ #17581]
16455         * malloc/hooks.c
16456         (mem2mem_check): Add a terminator to the chain of checking blocks.
16457         (malloc_check_get_size): Use it here.
16458         (mem2chunk_check): Ditto.
16460 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16462         * sysdeps/powerpc/powerpc64/strtok.S: New file.
16463         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
16465 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
16467         * bits/ioctl-types.h: Indent preprocessor directives correctly.
16469         * nptl/nptl-init.c: Include libc-internal.h.
16470         (__pthread_initialize_minimal_internal): Use ROUND_UP.
16472         * elf/ldconfig.c (search_dir): Expand comment.
16474 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
16476         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
16477         variable.
16478         (linknamespace-symlist-stdlibs-tests): Likewise.
16479         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
16480         instead of $(objpfx)symlist-stdlibs.
16481         (linknamespace-libs-isoc): New variable.
16482         (linknamespace-libs): Use $(linknamespace-libs-isoc).
16483         (linknamespace-libs-ISO): New variable.
16484         (linknamespace-libs-ISO99): Likewise.
16485         (linknamespace-libs-ISO11): Likewise.
16486         (linknamespace-libs-XPG3): Likewise.
16487         (linknamespace-libs-XPG4): Likewise.
16488         (linknamespace-libs-POSIX): Likewise.
16489         (linknamespace-libs-UNIX98): Likewise.
16490         (linknamespace-libs-XOPEN2K): Likewise.
16491         (linknamespace-libs-POSIX2008): Likewise.
16492         (linknamespace-libs-XOPEN2K8): Likewise.
16493         ($(objpfx)symlist-stdlibs): Replace by
16494         $(linknamespace-symlist-stdlibs-tests).  Use
16495         $(linknamespace-libs-$*) as set of libraries.
16496         ($(linknamespace-header-tests)): Update dependencies.  Use
16497         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
16498         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
16499         * conform/linknamespace.pl: Remove comment about considering
16500         definitions of symbols from irrelevant libraries.
16502 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
16504         [BZ #13862]
16505         * elf/dl-tls.c: Include <atomic.h>.
16506         (oom): Remove #ifdef SHARED/#endif.
16507         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
16508         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
16509         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
16510         big enough.
16511         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
16512         * nptl/Makefile (tests): Add tst-stack4.
16513         (modules-names): Add tst-stack4mod.
16514         ($(objpfx)tst-stack4): New.
16515         (tst-stack4mod.sos): Likewise.
16516         ($(objpfx)tst-stack4.out): Likewise.
16517         ($(tst-stack4mod.sos)): Likewise.
16518         (clean): Likewise.
16519         * nptl/tst-stack4.c: New file.
16520         * nptl/tst-stack4mod.c: Likewise.
16522 2014-11-27  J. Brown  <jb999@gmx.de>
16524         * sysdeps/x86/bits/string.h: Add recent CPUs.
16526 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
16528         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
16529         sigblock.
16531         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
16532         feof.
16534         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
16535         variable.
16537 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16539         * nscd/connections.c: Include libc-internal.h because of macro
16540         usage ignore_value.
16542 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16544         * string/bits/string3.h (__warn_memset_zero_len): Don't
16545         declare for gcc newer than 5.0.
16546         (memset): Don't test for zero-length __LEN for gcc newer than
16547         5.0.
16549 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
16551         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
16552         size_t for %zu format.
16554         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
16555         difference, not %ju.
16557 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
16559         * include/libc-internal.h (ignore_value): New macro.
16560         * nscd/connections.c (restart): Wrap calls to setuid and setgid
16561         with ignore_value.
16563         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
16564         definition.
16566         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
16567         pthread_cleanup_push to void *.
16569         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
16570         Undefine.
16572         [BZ #16619]
16573         [BZ #16740]
16574         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
16575         instead of 1L << 52.
16577         * libio/bug-rewind.c (do_test): Check fwscanf return values.
16578         * libio/bug-rewind2.c (do_test): Likewise.
16580         * debug/test-stpcpy_chk-ifunc.c: Remove file.
16581         * debug/test-strcpy_chk-ifunc.c: Likewise.
16582         * wcsmbs/test-wcschr-ifunc.c: Likewise.
16583         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16584         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16585         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16586         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16587         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16588         * Rules [$(multi-arch) = no] (tests): Do not filter out
16589         $(tests-ifunc).
16590         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
16591         * debug/Makefile (tests-ifunc): Remove variable.
16592         (tests): Do not add $(tests-ifunc).
16593         * wcsmbs/Makefile (tests-ifunc): Remove variable.
16594         (tests): Do not add $(tests-ifunc).
16595         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
16596         [TEST_IFUNC]: Remove conditionals.
16597         * string/test-string.h (TEST_IFUNC): Remove macro.
16598         [TEST_IFUNC]: Remove conditionals.
16600         * string/test-strchr.c [!WIDE] (L): New macro.
16601         [WIDE] (L): Likewise.
16602         (check1): Use CHAR instead of char.  Use L on string and character
16603         constants.
16605 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
16607         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
16608         tests.
16609         * sysdeps/powerpc/bits/atomic.h
16610         (__arch_atomic_exchange_and_add_32_acq): Add definition.
16611         (__arch_atomic_exchange_and_add_32_rel): Likewise.
16612         (atomic_exchange_and_add_acq): Likewise.
16613         (atomic_exchange_and_add_rel): Likewise.
16614         * sysdeps/powerpc/powerpc32/bits/atomic.h
16615         (__arch_atomic_exchange_and_add_64_acq): Add definition.
16616         (__arch_atomic_exchange_and_add_64_rel): Likewise.
16617         * sysdeps/powerpc/powerpc64/bits/atomic.h
16618         (__arch_atomic_exchange_and_add_64_acq): Add definition.
16619         (__arch_atomic_exchange_and_add_64_rel): Likewise.
16621 2014-11-26  Torvald Riegel  <triegel@redhat.com>
16623         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
16624         Change synchronization of __sched_fifo_min_prio and
16625         __sched_fifo_max_prio.
16626         * nptl/pthread_mutexattr_getprioceiling.c
16627         (pthread_mutexattr_getprioceiling): Likewise.
16628         * nptl/pthread_mutexattr_setprioceiling.c
16629         (pthread_mutexattr_setprioceiling): Likewise.
16630         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
16631         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
16632         Likewise.
16634 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
16636         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
16637         void.
16639 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
16641         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
16642         third argument const.
16644 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
16646         fnmatch: work around GCC compiler warning bug with uninit var
16647         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
16648         This works around a bug with x86-64 GCC 4.9.2 and earlier
16649         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
16650         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
16651         used uninitialized in this function [-Wmaybe-uninitialized]".
16653 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
16655         * posix/bug-regex31.c (main): Return RES not 0.
16657 2014-11-25  Anton Blanchard <anton@samba.org>
16659         * sysdeps/powerpc/bits/atomic.h
16660         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
16662 2014-11-24  Sterling Augustine  <saugustine@google.com>
16664         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
16666 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
16668         [BZ #17608]
16669         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
16671 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
16673         [BZ #17633]
16674         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
16675         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
16676         variable.
16677         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
16678         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
16680 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
16682         * string/strncpy.c (strncpy): Improve performance by using memset.
16684 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
16686         * string/strcpy.c (strcpy):
16687         Improve performance by using strlen and memcpy.
16689 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
16691         * string/strcoll_l.c (get_next_seq): __always_inline.
16692         * string/strcoll_l.c (do_compare): __always_inline.
16694 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16696         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
16697         defined.
16698         * include/mqueue.h: Likewise.
16699         * include/stdlib.h: Likewise.
16701         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
16702         (get_null_defines): Adjust.
16703         * sunrpc/Makefile: Adjust comment.
16704         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
16705         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
16706         (CFLAGS-interp.c): Likewise.
16707         (CFLAGS-ldconfig.c): Likewise.
16708         (CPPFLAGS-.os): Likewise.
16709         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16710         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
16711         * extra-modules.mk (extra-modules.mk): Likewise.
16712         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
16713         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
16714         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
16715         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
16716         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
16717         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
16718         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
16719         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
16720         * iconvdata/Makefile (CPPFLAGS): Likewise.
16721         (cpp-srcs-left): Add libof for all iconvdata routines.
16722         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
16723         * include/assert.h: Likewise.
16724         * include/ctype.h: Likewise.
16725         * include/errno.h: Likewise.
16726         * include/libc-symbols.h: Likewise.
16727         * include/math.h: Likewise.
16728         * include/netdb.h: Likewise.
16729         * include/resolv.h: Likewise.
16730         * include/stdio.h: Likewise.
16731         * include/stdlib.h: Likewise.
16732         * include/string.h: Likewise.
16733         * include/sys/stat.h: Likewise.
16734         * include/wctype.h: Likewise.
16735         * intl/l10nflist.c: Likewise.
16736         * libidn/idn-stub.c: Likewise.
16737         * libio/libioP.h: Likewise.
16738         * nptl/libc_multiple_threads.c: Likewise.
16739         * nptl/pthreadP.h: Likewise.
16740         * posix/regex_internal.h: Likewise.
16741         * resolv/res_hconf.c: Likewise.
16742         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
16743         * sysdeps/arm/memmove.S: Likewise.
16744         * sysdeps/arm/sysdep.h: Likewise.
16745         * sysdeps/generic/_itoa.h: Likewise.
16746         * sysdeps/generic/symbol-hacks.h: Likewise.
16747         * sysdeps/gnu/errlist.awk: Likewise.
16748         * sysdeps/gnu/errlist.c: Likewise.
16749         * sysdeps/i386/i586/memcpy.S: Likewise.
16750         * sysdeps/i386/i586/memset.S: Likewise.
16751         * sysdeps/i386/i686/memcpy.S: Likewise.
16752         * sysdeps/i386/i686/memmove.S: Likewise.
16753         * sysdeps/i386/i686/mempcpy.S: Likewise.
16754         * sysdeps/i386/i686/memset.S: Likewise.
16755         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16756         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16757         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
16758         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
16759         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16760         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16761         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
16762         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16763         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16764         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16765         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16766         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16767         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16768         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16769         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16770         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16771         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
16772         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
16773         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
16774         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16775         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16776         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16777         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16778         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16779         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16780         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16781         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
16782         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16783         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
16784         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16785         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16786         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16787         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16788         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16789         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16790         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16791         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16792         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16793         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16794         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16795         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16796         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16797         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16798         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16799         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16800         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16801         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
16802         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
16803         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16804         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16805         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16806         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
16807         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
16808         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16809         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16810         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
16811         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16812         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
16813         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
16814         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16815         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16816         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16817         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
16818         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16819         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16820         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
16821         * sysdeps/posix/closedir.c: Likewise.
16822         * sysdeps/posix/opendir.c: Likewise.
16823         * sysdeps/posix/readdir.c: Likewise.
16824         * sysdeps/posix/rewinddir.c: Likewise.
16825         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
16826         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
16827         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16828         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16829         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16830         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
16831         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
16832         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
16833         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16834         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
16835         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16836         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16837         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16838         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
16839         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
16840         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
16841         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16842         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16843         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
16844         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
16845         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16846         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
16847         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
16848         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16849         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
16850         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
16851         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
16852         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16853         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16854         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
16855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
16856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
16857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
16858         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
16859         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
16860         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
16861         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16862         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16863         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
16864         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
16865         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
16866         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
16867         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16868         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
16869         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
16870         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
16871         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
16872         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16873         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
16874         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
16875         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
16876         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16877         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16878         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16879         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16880         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
16881         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
16882         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16883         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16884         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
16885         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
16886         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16887         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16888         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16889         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
16890         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
16891         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
16892         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
16893         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
16894         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
16895         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
16896         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16897         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
16898         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16899         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16900         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
16901         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
16902         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16903         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16904         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
16905         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16906         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16907         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
16908         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
16909         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16910         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
16911         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
16912         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16913         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16914         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16915         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
16916         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
16917         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
16918         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16919         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16920         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
16921         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16922         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16923         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
16924         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
16925         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16926         * sysdeps/unix/alpha/sysdep.S: Likewise.
16927         * sysdeps/unix/alpha/sysdep.h: Likewise.
16928         * sysdeps/unix/make-syscalls.sh: Likewise.
16929         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16930         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16931         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16932         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
16933         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16934         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16935         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
16936         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16937         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16938         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
16939         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16940         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16941         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16942         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16943         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16944         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16945         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16946         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16947         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16948         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16949         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16950         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16951         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16952         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16953         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16954         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16955         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16958         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
16959         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16960         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16961         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16962         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16963         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16964         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16965         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16966         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16967         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16968         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16969         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16970         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16971         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16972         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16973         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16974         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16975         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16976         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16977         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16978         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16979         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16980         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16981         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16982         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16983         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16984         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16985         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16987         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
16988         * sysdeps/x86_64/memcpy.S: Likewise.
16989         * sysdeps/x86_64/memmove.c: Likewise.
16990         * sysdeps/x86_64/memset.S: Likewise.
16991         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
16992         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16993         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16994         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
16995         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16996         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16997         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16998         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16999         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17000         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17001         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17002         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17003         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
17004         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17005         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17006         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
17007         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17008         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17009         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17010         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17011         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
17012         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17013         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17014         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17015         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17016         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17017         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17018         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
17019         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17020         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17021         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
17022         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17023         * sysdeps/x86_64/strcmp.S: Likewise.
17025         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
17027         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
17028         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
17029         * elf/rtld-Rules: Likewise.
17030         * elf/setup-vdso.h: Likewise.
17031         * include/assert.h: Likewise.
17032         * include/bits/stdlib-float.h: Likewise.
17033         * include/errno.h: Likewise.
17034         * include/sys/stat.h: Likewise.
17035         * include/unistd.h: Likewise.
17036         * sysdeps/aarch64/setjmp.S: Likewise.
17037         * sysdeps/alpha/setjmp.S: Likewise.
17038         * sysdeps/arm/__longjmp.S: Likewise.
17039         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
17040         * sysdeps/arm/setjmp.S: Likewise.
17041         * sysdeps/arm/sysdep.h: Likewise.
17042         * sysdeps/generic/_itoa.h: Likewise.
17043         * sysdeps/generic/dl-sysdep.h: Likewise.
17044         * sysdeps/generic/ldsodefs.h: Likewise.
17045         * sysdeps/i386/dl-tls.h: Likewise.
17046         * sysdeps/i386/setjmp.S: Likewise.
17047         * sysdeps/m68k/setjmp.c: Likewise.
17048         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
17049         * sysdeps/mach/hurd/opendir.c: Likewise.
17050         * sysdeps/posix/getcwd.c: Likewise.
17051         * sysdeps/posix/opendir.c: Likewise.
17052         * sysdeps/posix/profil.c: Likewise.
17053         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17054         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17055         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17056         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17057         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17058         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
17059         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17060         * sysdeps/s390/dl-tls.h: Likewise.
17061         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17062         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17063         * sysdeps/sh/sh3/setjmp.S: Likewise.
17064         * sysdeps/sh/sh4/setjmp.S: Likewise.
17065         * sysdeps/unix/alpha/sysdep.h: Likewise.
17066         * sysdeps/unix/arm/sysdep.S: Likewise.
17067         * sysdeps/unix/i386/sysdep.S: Likewise.
17068         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17069         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17070         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17071         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17072         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17073         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17074         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17075         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17076         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17077         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17078         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17079         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17080         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17083         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17084         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17085         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17086         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17087         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17088         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17089         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17091         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17092         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17093         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17094         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17095         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17096         * sysdeps/x86_64/setjmp.S: Likewise.
17098         * include/math.h: Use IS_IN instead of IS_IN_libm.
17099         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
17100         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17101         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17102         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17103         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17104         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17105         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17106         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17107         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17108         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17109         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
17110         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
17111         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
17112         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
17113         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
17114         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
17115         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
17116         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
17117         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
17118         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
17119         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
17120         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
17121         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
17122         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
17123         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
17124         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17125         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
17126         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
17127         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
17128         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
17129         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
17130         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17131         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17133         Likewise.
17134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
17135         Likewise.
17136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
17137         Likewise.
17138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
17139         Likewise.
17140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
17141         Likewise.
17142         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17143         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
17144         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17145         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17146         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17147         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
17149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
17150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
17151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
17152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
17153         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
17154         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
17155         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17156         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17157         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17158         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17159         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17160         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17161         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17162         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
17163         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
17164         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
17165         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
17166         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
17167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17168         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
17170         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
17171         * nptl/pthreadP.h: Likewise.
17172         * nptl_db/structs.def: Likewise.
17173         * sysdeps/arm/sysdep.h: Likewise.
17174         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17175         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17176         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
17177         * sysdeps/unix/alpha/sysdep.h: Likewise.
17178         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17179         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17180         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17181         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17182         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17183         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17184         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17185         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17186         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17187         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17188         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17189         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17190         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17191         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17194         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17195         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17196         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17197         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17198         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17199         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17200         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17201         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17202         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17203         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17205         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
17206         * nptl/pthreadP.h: Likewise.
17207         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17208         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17209         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17210         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17211         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17212         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17213         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17214         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17215         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17216         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17217         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17218         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17220         Likewise.
17221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17222         Likewise.
17223         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17224         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17225         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17226         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17227         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17228         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17229         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17230         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17232         * dlfcn/dladdr.c: Use IS_IN.
17233         * dlfcn/dladdr1.c: Likewise.
17234         * dlfcn/dlclose.c: Likewise.
17235         * dlfcn/dlerror.c: Likewise.
17236         * dlfcn/dlinfo.c: Likewise.
17237         * dlfcn/dlmopen.c: Likewise.
17238         * dlfcn/dlopen.c: Likewise.
17239         * dlfcn/dlsym.c: Likewise.
17240         * dlfcn/dlvsym.c: Likewise.
17242         * include/ifaddrs.h: Use IS_IN.
17243         * inet/check_pf.c: Likewise.
17244         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17245         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17247         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
17248         IS_IN_ldconfig.
17249         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
17250         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
17252         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
17253         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
17254         IS_IN (libc).
17256         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
17258         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
17259         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17260         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17261         * include/libc-symbols.h (IS_IN_LIB): New macro.
17262         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
17263         * include/netdb.h: Likewise.
17264         * include/stap-probe.h: Remove all uses of IN_LIB.
17266         * Makeconfig (module-cppflags-real): Define MODULE_NAME
17267         instead of IN_MODULE.
17268         * include/libc-symbols.h (IN_MODULE): Define using
17269         MODULE_NAME.
17270         (PASTE_NAME, PASTE_NAME1): New macros.
17271         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
17272         of IN_LIB.
17273         (STAP_PROBE_ASM): Likewise.
17275 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17277         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
17278         __mach_init in dlopened libc.
17280 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
17282         * sysdeps/arm/preconfigure.ac: Delete EABI check.
17283         * sysdeps/arm/preconfigure: Regenerate.
17285 2014-11-21  Roland McGrath  <roland@hack.frob.com>
17287         * nptl/pthread_create.c (__pthread_create_2_1): Set
17288         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
17289         when copying values from IATTR into PD.
17291 2014-11-21  Will Newton  <will.newton@linaro.org>
17292             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
17294         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
17295         Refactor inline-asm.  Also add comment.
17297         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
17298         ElfW macro instead of hardcoded Elf64 types.
17299         (la_aarch64_gnu_pltenter): Likewise.
17300         * sysdeps/aarch64/dl-machine.h
17301         (elf_machine_runtime_setup): Use ElfW(Addr).
17303         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
17304         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
17305         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
17306         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
17307         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
17308         (R_AARCH64_TLS_DTPMOD64): Rename to ..
17309         (R_AARCH64_TLS_DTPMOD): This.
17310         (R_AARCH64_TLS_DTPREL64): Rename to ...
17311         (R_AARCH64_TLS_DTPREL): This.
17312         (R_AARCH64_TLS_TPREL64): Rename to ...
17313         (R_AARCH64_TLS_TPREL): This.
17314         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
17315         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
17316         R_AARCH64_TLS_TPREL64.
17317         (elf_machine_rela): Likewise.
17319 2014-11-21  Torvald Riegel  <triegel@redhat.com>
17321         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
17322         by setting it to 0.  64b atomics are not supported currently.
17324 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17326         [BZ #16469]
17327         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
17328         search domain names.
17330 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17332         [BZ #16469]
17333         * NEWS: Update.
17334         * resolv/res_query.c (__libc_res_nquerydomain): Retain
17335         trailing dot.
17336         * posix/tst-getaddrinfo5.c: New.
17337         * posix/Makefile (tests): Add it.
17339 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17341         [BZ #14498]
17342         * NEWS: Fixed.
17343         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
17344         after parsing line but before break_if_match.
17345         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
17346         if there is a protocol mismatch.
17348 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
17350         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
17351         because the potential race is on the user-supplied stream.
17353 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17355         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
17356         string literal if not passed a buffer.
17357         * manual/job.texi (ctermid): Update reasoning, note deviation
17358         from posix, suggest mtasurace when not passed a buffer, for
17359         future non-preliminary safety notes.
17361 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17363         * manual/users.texi (cuserid): Fix MT-Safety note for the case
17364         of not passing it a buffer.
17365         Reported by Peng Haitao.
17367 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17369         * manual/Makefile ($(objpfx)stamp-summary): Require
17370         check-safety.sh to pass.
17371         * manual/check-safety.sh: Wish for verification that every
17372         @deftypefn and @deftypefun is followed by a @safety remark.
17374 2014-11-20  Roland McGrath  <roland@hack.frob.com>
17376         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
17378         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
17379         PTHREAD_CANCEL_ASYNCHRONOUS.
17380         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
17381         send SIGCANCEL.
17383         * nptl/default-sched.h: New file.
17384         * sysdeps/unix/sysv/linux/default-sched.h: New file.
17385         * nptl/pthread_create.c: Include it.
17386         (__pthread_create_2_1): Use collect_default_sched instead of making
17387         Linux syscalls here directly.
17389 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17391         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
17392         __pthread_once): Use C11 atomics.
17394 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17396         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
17398 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17400         * include/atomic.h (__atomic_link_error, __atomic_check_size,
17401         atomic_thread_fence_acquire, atomic_thread_fence_release,
17402         atomic_thread_fence_seq_cst, atomic_load_relaxed,
17403         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
17404         atomic_compare_exchange_weak_relaxed,
17405         atomic_compare_exchange_weak_acquire,
17406         atomic_compare_exchange_weak_release,
17407         atomic_exchange_acquire, atomic_exchange_release,
17408         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
17409         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
17410         atomic_fetch_and_acquire,
17411         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
17413 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17415         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
17416         USE_ATOMIC_COMPILER_BUILTINS): Define.
17417         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
17418         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17419         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
17420         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17421         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
17422         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17423         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
17424         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17425         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
17426         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17427         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
17428         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17429         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
17430         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17431         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
17432         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17433         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17434         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17435         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17436         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17437         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
17438         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17439         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17440         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17441         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
17442         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17443         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17444         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17445         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
17446         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17447         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
17448         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17449         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
17450         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17451         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17452         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17453         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
17454         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17455         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
17456         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17458 2014-11-19  Roland McGrath  <roland@hack.frob.com>
17460         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
17461         the sched_priority value here.  It was already checked when the user
17462         called pthread_attr_setschedparam.
17464         * nptl/tst-bad-schedattr.c: New file.
17465         * nptl/Makefile (tests): Add it.
17467 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
17468             Florian Weimer  <fweimer@redhat.com>
17469             Joseph Myers  <joseph@codesourcery.com>
17470             Adam Conrad  <adconrad@0c3.net>
17471             Andreas Schwab  <schwab@suse.de>
17472             Brooks  <bmoses@google.com>
17474         [BZ #17625]
17475         * wordexp-test.c (__dso_handle): Add prototype.
17476         (__register_atfork): Likewise.
17477         (__app_register_atfork): New function.
17478         (registered_forks): New global.
17479         (register_fork): New function.
17480         (test_case): Add 3 new tests for WRDE_CMDSUB.
17481         (main): Call __app_register_atfork.
17482         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
17483         fork count is non-zero fail the test.
17484         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
17485         is set.
17486         (parse_dollars): Remove check for WRDE_NOCMD.
17487         (parse_dquote): Likewise.
17489 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17491         * Makeconfig (built-modules): List non-library modules to be
17492         built.
17493         (module-cppflags): Include libc-modules.h for
17494         everything except shlib-versions.v.i.
17495         (CPPFLAGS): Use it.
17496         (before-compile): Add libc-modules.h.
17497         ($(common-objpfx)libc-modules.h,
17498         $(common-objpfx)libc-modules.stmp): New targets.
17499         (common-generated): Add libc-modules.h and libc-modules.stmp.
17500         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
17501         * include/libc-symbols.h: Don't include libc-modules.h.
17502         * include/libc-modules.h: Remove file.
17503         * scripts/gen-libc-modules.awk: New script to generate
17504         libc-modules.h.
17505         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
17506         Depend on libc-modules.stmp.
17508         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
17510         * Makeconfig (in-module): Get value of libof set for the
17511         translation unit.
17512         (CPPFLAGS): Use $(in-module).
17513         * Makerules: Don't suffix routine names for nonlib.
17514         * include/libc-modules.h: New file.
17515         * include/libc-symbols.h: Include libc-modules.h
17516         (IS_IN): New macro to replace IS_IN_* macros.
17517         * elf/Makefile: Set libof-* for each routine.
17518         * elf/rtld-Rules: Likewise.
17519         * extra-modules.mk: Likewise.
17520         * iconv/Makefile: Likewise.
17521         * iconvdata/Makefile: Likewise.
17522         * locale/Makefile: Likewise.
17523         * malloc/Makefile: Likewise.
17524         * nss/Makefile: Likewise.
17525         * sysdeps/gnu/Makefile: Likewise.
17526         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
17527         * sysdeps/unix/sysv/linux/Makefile: Likewise.
17528         * sysdeps/s390/s390-64/Makefile: Likewise.
17529         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
17530         CPPFLAGS for nscd instead of nonlib.
17532 2014-11-18  Roland McGrath  <roland@hack.frob.com>
17534         * nptl/createthread.c: New file.
17536         * nptl/createthread.c: Moved ...
17537         * sysdeps/unix/sysv/linux/createthread.c: ... here.
17539         * nptl/createthread.c: Add proper top-line comment.
17540         (do_clone): Folded into ...
17541         (create_thread): ... here.  Take new arguments STOPPED_START and
17542         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
17543         increment __nptl_threads, do event-reporting logic, do
17544         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
17545         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
17546         resource cleanup if sched_setaffinity or sched_setscheduler fails,
17547         just send SIGCANCEL.
17548         * nptl/pthread_create.c: Forward-declare create_thread before
17549         including createthread.c.
17550         (start_thread): Use new macro START_THREAD_DEFN to replace defining
17551         declaration, and new macro START_THREAD_SELF to replace argument.
17552         Remove return statement.
17553         (report_thread_creation): New function.
17554         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
17555         synchronization logic, and __nptl_nthreads increment here, around
17556         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
17557         PD->parent_cancelhandling here, before create_thread.  When
17558         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
17559         __deallocate_stack, and ENOMEM translation here.
17561 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
17563         [BZ #17616]
17564         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
17565         (mptwo): Rename to __mptwo.
17566         (__inv): Use __mptwo instead of mptwo.
17567         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
17568         (mptwo): Rename to __mptwo.
17569         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
17570         of mpone and __mptwo instead of mptwo.
17571         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
17572         instead of mpone.
17573         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17574         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
17575         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
17576         of mpone and __mptwo instead of mptwo.
17577         (__mpranred): Use __mpone instead of mpone.
17578         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
17579         variable.
17580         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
17581         (test-xfail-ISO99/math.h/linknamespace): Likewise.
17582         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
17583         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
17584         (test-xfail-ISO11/math.h/linknamespace): Likewise.
17585         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17586         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17587         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17588         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17589         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17590         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17591         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17592         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17593         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17594         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17595         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17596         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17597         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
17598         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
17600 2014-11-18  Tom de Vries  <tom@codesoucery.com>
17602         * manual/signal.texi (Primitives Interrupted by Signals): In section,
17603         replace BSD Handler xref with BSD Signal Handling.
17605 2014-11-17  Richard Henderson  <rth@redhat.com>
17607         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
17608         (_FP_PACK_RAW_2): Remove.
17609         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
17610         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
17611         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
17612         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
17613         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
17614         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
17615         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
17616         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
17617         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
17618         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
17619         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
17620         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
17621         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
17622         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
17623         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
17624         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
17626 2014-11-14  Roland McGrath  <roland@hack.frob.com>
17628         * signal/signal.h [__USE_MISC]
17629         (struct sigvec): Remove type.
17630         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
17631         (sigvec): Remove declaration.
17632         * sysdeps/posix/sigvec.c: Moved ...
17633         * signal/sigvec.c: ... here, replacing old file.
17634         (struct sigvec): New type, copied from old signal.h definition.
17635         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
17636         (__sigvec): Convert definition to prototype.
17637         (sigvec): Replace weak_alias with compat_symbol.
17638         * signal/Versions (libc: GLIBC_2.21): New version set.
17639         * include/signal.h: Remove __sigvec declaration.
17640         * sysdeps/unix/bsd/sigvec.c: Remove file.
17641         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
17642         * manual/signal.texi (BSD Handler): Remove subsection.
17643         Move siginterrupt up to ...
17644         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
17645         (Blocking in BSD): Fold subsection into its parent.
17646         * NEWS: Mention sigvec removal.
17648 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
17650         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
17651         (DLA_FMS): Make definition conditional only on [__FMA4__].
17652         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
17653         definition.
17655         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
17656         Make definition conditional only on [PROF].
17657         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
17658         definition.
17659         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
17660         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
17662         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
17663         !__GNUC__].
17664         * include/signal.h (__sigpause): Move declaration above call to
17665         libc_hidden_proto.
17666         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
17667         variable.
17668         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
17669         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
17671 2014-11-14  David S. Miller  <davem@davemloft.net>
17673         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
17674         Define before including <string/memcpy.c> and <string/mempcpy.c>.
17676 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
17678         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
17679         * configure: Regenerated.
17680         * manual/install.texi (Tools for Compilation): Document a
17681         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
17682         compiler verified to work.
17683         * INSTALL: Regenerated.
17685         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
17686         redeclare with asm name.
17687         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
17688         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
17689         including <string.h>.
17690         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17691         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
17692         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17693         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
17694         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17695         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17696         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17698 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
17700         * stdlib/strtol.c (__strtol): Use prototype definition.
17702         [BZ #17594]
17703         * stdlib/strtol.c (SYM__): New macro.
17704         (SYM__1): Likewise.
17705         (__strtol): Likewise.
17706         (strtol): Rename to __strtol and define as weak alias of
17707         __strtol.  Use libc_hidden_weak.
17709 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17711         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
17712         Use numbered labels in inline assembly.
17714 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17716         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
17717         Add setjmp LIBC_PROBE.
17718         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
17719         Likewise.
17720         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
17721         Add longjmp, longjmp_target LIBC_PROBE.
17722         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
17723         Likewise.
17725 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17727         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17728         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
17729         to get rid of unused variable warning.
17731 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17733         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
17734         Check for unwind_backtrace ==  NULL only in SHARED case.
17735         (__backchain_backtrace): Compile only in SHARED case.
17736         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
17737         Likewise.
17738         (__backchain_backtrace): Declare as static.
17740 2014-11-12  Roland McGrath  <roland@hack.frob.com>
17742         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
17743         (__libc_multiple_threads_ptr): Variable moved ...
17744         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
17746 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
17748         * conform/GlibcConform.pm: New file.
17749         * conform/conformtest.pl: Use GlibcConform module.
17750         * conform/linknamespace.pl: New file.
17751         * conform/list-header-symbols.pl: Likewise.
17752         * conform/Makefile (linknamespace-symlists-base): New variable.
17753         (linknamespace-symlists-tests): Likewise.
17754         (linknamespace-header-base): Likewise.
17755         (linknamespace-header-tests): Likewise.
17756         (tests-special): Add new tests.
17757         ($(linknamespace-symlists-tests)): New rule.
17758         (linknamespace-libs): New variable.
17759         ($(objpfx)symlist-stdlibs): New rule.
17760         ($(linknamespace-header-tests)): Likewise.
17761         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
17762         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
17763         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
17764         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
17765         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
17766         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
17767         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
17768         (test-xfail-ISO/math.h/linknamespace): Likewise.
17769         (test-xfail-ISO/signal.h/linknamespace): Likewise.
17770         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
17771         (test-xfail-ISO/time.h/linknamespace): Likewise.
17772         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
17773         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
17774         (test-xfail-ISO99/math.h/linknamespace): Likewise.
17775         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
17776         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17777         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
17778         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
17779         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17780         (test-xfail-ISO11/math.h/linknamespace): Likewise.
17781         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
17782         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17783         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17784         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17785         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
17786         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
17787         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17788         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
17789         (test-xfail-XPG3/search.h/linknamespace): Likewise.
17790         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
17791         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17792         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
17793         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17794         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17795         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
17796         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17797         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17798         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
17799         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
17800         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17801         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
17802         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17803         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17804         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17805         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17806         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
17807         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
17808         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
17809         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
17810         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17811         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
17812         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17813         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
17814         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17815         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17816         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17817         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
17818         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
17819         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17820         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17821         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
17822         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17823         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17824         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
17825         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17826         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17827         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17828         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17829         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17830         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17831         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17832         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17833         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17834         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
17835         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17836         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17837         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17838         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
17839         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17840         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17841         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
17842         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17843         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17844         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17845         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17846         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17847         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17848         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
17849         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
17850         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17851         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
17852         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17853         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
17854         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17855         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17856         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17857         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
17858         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17859         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17860         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17861         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
17862         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
17863         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
17864         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17865         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17866         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17867         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17868         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
17869         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
17870         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17871         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17872         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17873         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17874         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17875         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17876         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17877         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17878         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17879         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17880         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
17881         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17882         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17883         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
17884         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17885         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17886         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17887         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17888         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17889         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17890         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17891         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17892         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17893         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17894         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17895         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17896         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17897         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17898         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
17899         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17900         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17901         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17902         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17903         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17904         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
17905         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17906         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
17907         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17908         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17909         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17910         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17911         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17912         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17913         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17914         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17915         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17916         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17917         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17918         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
17919         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
17920         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17921         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17923         [BZ #17589]
17924         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
17925         of fgets_unlocked.
17927         [BZ #17585]
17928         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
17929         (memmem): Rename to __memmem and define as weak alias of
17930         __memmem.  Use libc_hidden_weak.
17931         (__memmem): Use libc_hidden_def.
17932         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
17933         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
17934         memmem.
17936         [BZ #17582]
17937         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
17938         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
17939         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
17940         and define as weak alias of __fgets_unlocked.  Use
17941         libc_hidden_weak.
17942         (__fgets_unlocked): Use libc_hidden_def.
17943         * include/stdio.h (__fgets_unlocked): Declare.  Use
17944         libc_hidden_proto.
17945         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
17946         __fgets_unlocked instead of fgets_unlocked.
17947         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
17948         (GET_NPROCS_CONF_PARSER): Likewise.
17949         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
17950         (GET_NPROCS_CONF_PARSER): Likewise.
17952         [BZ #17574]
17953         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
17954         weak alias of __wmemset.  Use libc_hidden_weak.
17955         (__wmemset): Use libc_hidden_def.
17956         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
17957         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
17958         of wmemset.
17960         [BZ #17573]
17961         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
17962         with asm name __mempcpy.
17963         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
17965         [BZ #17572]
17966         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
17967         and define as weak alias of __rawmemchr.
17968         (__rawmemchr): Do not define as strong alias of rawmemchr.
17970         [BZ #17571]
17971         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
17972         alias of __qsort_r.
17973         (qsort): Call __qsort_r instead of qsort_r.
17974         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
17975         (__qsort_r): Declare.  Call libc_hidden_proto.
17976         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
17977         instead of qsort_r.
17978         * nscd/gai.c (__qsort_r): Define to qsort_r.
17979         * posix/tst-rfc3484.c (__qsort_r): Likewise.
17980         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
17981         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
17983         [BZ #17570]
17984         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
17985         define as weak alias of __malloc_info.
17987         [BZ #17584]
17988         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
17989         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17990         (__rewinddir): Use libc_hidden_def.
17991         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
17992         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17993         (__rewinddir): Use libc_hidden_def.
17994         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
17995         weak alias of __rewinddir.  Don't use libc_hidden_def.
17996         (__rewinddir): Use libc_hidden_def.
17997         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
17998         (__rewinddir): Use libc_hidden_proto.
17999         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
18000         rewinddir.
18001         (__getcwd): Use __rewinddir instead of rewinddir.
18003         [BZ #17583]
18004         * libio/fileno.c (fileno): Rename to __fileno and define as weak
18005         alias of __fileno.  Use libc_hidden_weak.
18006         (__fileno): Use libc_hidden_def.
18007         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
18008         * libio/ftello.c (ftello): Rename to __ftello and define as weak
18009         alias of __ftello.
18010         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
18011         __ftello.
18012         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
18013         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
18014         libc_hidden_def.
18015         (fread_unlocked): Don't use libc_hidden_ver.
18016         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
18017         and define as weak alias of __fread_unlocked.  Don't use
18018         libc_hidden_def.
18019         (__fread_unlocked): Use libc_hidden_def.
18020         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
18021         (ftello): Don't use libc_hidden_proto.
18022         (__ftello): Declare.  Use libc_hidden_proto.
18023         (fread_unlocked): Don't use libc_hidden_proto.
18024         (__fread_unlocked): Declare.  Use libc_hidden_proto.
18025         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
18026         and __ftello instead of fileno, fread_unlocked and ftello.
18028 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18030         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
18031         GOT12.
18032         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18033         Likewise.
18034         (_dl_start_user): Likewise.
18035         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
18037 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
18038             Siddhesh Poyarekar  <siddhesh@redhat.com>
18040         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
18041         Move argv and envp down instead of moving argc up.
18042         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
18044 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
18046         [BZ #17506]
18047         * test-skeleton.c (main): Return successful if one of
18048         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
18049         * string/tst-strcoll-overflow.c: Define expected status.
18051 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
18053         [BZ #17475]
18054         * locale/iso-639.def: Define Bhili and Tulu language codes.
18056 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
18058         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
18060 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
18062         [BZ #17555]
18063         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
18065 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18067         * configure.ac: Updated check of minimal required version to
18068         2.22.
18069         * manual/install.texi (Tools for Compilation): Updated version
18070         number.
18071         * configure: Regenerated.
18072         * INSTALL: Likewise.
18074 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
18076         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
18077         __tls_get_addr.
18079 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
18081         * include/sys/wait.h (__libc_waitpid): Remove declaration.
18082         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
18083         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18084         libc_hidden_weak.
18085         (waitpid): Define as alias of __waitpid.
18086         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
18087         __waitpid.
18088         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18089         libc_hidden_weak.
18090         (waitpid): Define as alias of __waitpid.
18091         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
18092         __libc_waitpid alias.
18093         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
18094         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
18095         Likewise.
18096         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
18097         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
18098         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
18099         alias.
18100         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
18101         __waitpid.
18102         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18103         libc_hidden_weak.
18104         (waitpid): Define as alias of __waitpid.
18106 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
18108         * manual/llio.texi: Add comment that write safety has been
18109         fixed in Linux.
18111         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
18112         (localplt-build-dso): Add elf/ld.so.
18113         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
18114         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
18115         and free for ld.so.
18116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
18117         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
18118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
18119         Likewise.
18120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18121         Likewise.
18122         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18123         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
18124         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
18125         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18126         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18127         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
18128         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
18129         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
18130         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18131         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
18132         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18134 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
18136         [BZ #14132]
18137         * include/libc-symbols.h (INTUSE): Remove macro.
18138         (INTDEF): Likewise.
18139         (INTVARDEF): Likewise.
18140         (_INTVARDEF): Likewise.
18141         (INTDEF2): Likewise.
18142         (INTVARDEF2): Likewise.
18143         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
18144         rtld_hidden_def instead of INTVARDEF.
18145         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
18146         (_dl_starting_up_internal): Remove declaration.
18147         (_dl_starting_up): Use rtld_hidden_proto.
18148         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
18149         declaration.
18150         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
18151         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
18152         _dl_starting_up.
18153         * elf/dl-writev.h (_dl_writev): Likewise.
18154         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
18155         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
18156         _dl_starting_up_internal.
18158 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18160         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18161         test-skeleton.c.
18163 2014-11-05  Will Newton  <will.newton@linaro.org>
18165         * benchtests/Makefile: (bench-malloc): Add malloc thread
18166         scalability benchmark.
18167         * benchtests/bench-malloc-threads.c: New file.
18169 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
18171         * sysdeps/aarch64/strchrnul.S: New file.
18173 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18175         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
18176         definition.
18177         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18178         Likwise.
18179         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18180         Likewise.
18181         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18182         Likewise.
18183         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18184         Likewise.
18185         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18186         Likewise.
18188 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
18190         * catgets/test-gencat.c: Use test-skeleton.c.
18191         * catgets/tst-catgets.c: Likewise.
18192         * csu/tst-empty.c: Likewise.
18193         * elf/tst-audit2.c: Likewise.
18194         * elf/tst-global1.c: Likewise.
18195         * elf/tst-pathopt.c: Likewise.
18196         * elf/tst-piemod1.c: Likewise.
18197         * elf/tst-tls10.c: Likewise.
18198         * elf/tst-tls11.c: Likewise.
18199         * elf/tst-tls12.c: Likewise.
18200         * gnulib/tst-gcc.c: Likewise.
18201         * iconvdata/tst-e2big.c: Likewise.
18202         * iconvdata/tst-loading.c: Likewise.
18203         * iconv/tst-iconv1.c: Likewise.
18204         * iconv/tst-iconv2.c: Likewise.
18205         * inet/test-inet6_opt.c: Likewise.
18206         * inet/tst-gethnm.c: Likewise.
18207         * inet/tst-network.c: Likewise.
18208         * inet/tst-ntoa.c: Likewise.
18209         * intl/tst-codeset.c: Likewise.
18210         * intl/tst-gettext2.c: Likewise.
18211         * intl/tst-gettext3.c: Likewise.
18212         * intl/tst-ngettext.c: Likewise.
18213         * intl/tst-translit.c: Likewise.
18214         * io/test-stat.c: Likewise.
18215         * libio/test-fmemopen.c: Likewise.
18216         * libio/tst-freopen.c: Likewise.
18217         * libio/tst-sscanf.c: Likewise.
18218         * libio/tst-ungetwc1.c: Likewise.
18219         * libio/tst-ungetwc2.c: Likewise.
18220         * libio/tst-widetext.c: Likewise.
18221         * localedata/tst-ctype.c: Likewise.
18222         * localedata/tst-digits.c: Likewise.
18223         * localedata/tst-leaks.c: Likewise.
18224         * localedata/tst-mbswcs1.c: Likewise.
18225         * localedata/tst-mbswcs2.c: Likewise.
18226         * localedata/tst-mbswcs3.c: Likewise.
18227         * localedata/tst-mbswcs4.c: Likewise.
18228         * localedata/tst-mbswcs5.c: Likewise.
18229         * localedata/tst-setlocale.c: Likewise.
18230         * localedata/tst-trans.c: Likewise.
18231         * localedata/tst-wctype.c: Likewise.
18232         * localedata/tst-xlocale1.c: Likewise.
18233         * login/tst-grantpt.c: Likewise.
18234         * malloc/tst-calloc.c: Likewise.
18235         * malloc/tst-malloc.c: Likewise.
18236         * malloc/tst-mallocstate.c: Likewise.
18237         * malloc/tst-mcheck.c: Likewise.
18238         * malloc/tst-mtrace.c: Likewise.
18239         * malloc/tst-obstack.c: Likewise.
18240         * math/atest-exp2.c: Likewise.
18241         * math/atest-exp.c: Likewise.
18242         * math/atest-sincos.c: Likewise.
18243         * math/test-matherr.c: Likewise.
18244         * math/test-misc.c: Likewise.
18245         * math/test-powl.c: Likewise.
18246         * math/tst-definitions.c: Likewise.
18247         * misc/tst-dirname.c: Likewise.
18248         * misc/tst-efgcvt.c: Likewise.
18249         * misc/tst-fdset.c: Likewise.
18250         * misc/tst-hsearch.c: Likewise.
18251         * misc/tst-mntent2.c: Likewise.
18252         * nptl/tst-sem7.c: Likewise.
18253         * nptl/tst-sem8.c: Likewise.
18254         * nptl/tst-sem9.c: Likewise.
18255         * nss/test-netdb.c: Likewise.
18256         * posix/tst-fnmatch.c: Likewise.
18257         * posix/tst-getlogin.c: Likewise.
18258         * posix/tst-gnuglob.c: Likewise.
18259         * posix/tst-mmap.c: Likewise.
18260         * pwd/tst-getpw.c: Likewise.
18261         * resolv/tst-inet_ntop.c: Likewise.
18262         * rt/tst-timer.c: Likewise.
18263         * stdio-common/test-fseek.c: Likewise.
18264         * stdio-common/test-popen.c: Likewise.
18265         * stdio-common/test-vfprintf.c: Likewise.
18266         * stdio-common/tst-cookie.c: Likewise.
18267         * stdio-common/tst-fileno.c: Likewise.
18268         * stdio-common/tst-gets.c: Likewise.
18269         * stdio-common/tst-obprintf.c: Likewise.
18270         * stdio-common/tst-perror.c: Likewise.
18271         * stdio-common/tst-sprintf2.c: Likewise.
18272         * stdio-common/tst-sprintf3.c: Likewise.
18273         * stdio-common/tst-sprintf.c: Likewise.
18274         * stdio-common/tst-swprintf.c: Likewise.
18275         * stdio-common/tst-tmpnam.c: Likewise.
18276         * stdio-common/tst-unbputc.c: Likewise.
18277         * stdio-common/tst-wc-printf.c: Likewise.
18278         * stdlib/tst-environ.c: Likewise.
18279         * stdlib/tst-fmtmsg.c: Likewise.
18280         * stdlib/tst-limits.c: Likewise.
18281         * stdlib/tst-rand48-2.c: Likewise.
18282         * stdlib/tst-rand48.c: Likewise.
18283         * stdlib/tst-random2.c: Likewise.
18284         * stdlib/tst-random.c: Likewise.
18285         * stdlib/tst-strtol.c: Likewise.
18286         * stdlib/tst-strtoll.c: Likewise.
18287         * stdlib/tst-tls-atexit.c: Likewise.
18288         * stdlib/tst-xpg-basename.c: Likewise.
18289         * string/test-ffs.c: Likewise.
18290         * string/tst-bswap.c: Likewise.
18291         * string/tst-inlcall.c: Likewise.
18292         * string/tst-strtok.c: Likewise.
18293         * string/tst-strxfrm.c: Likewise.
18294         * sysdeps/x86_64/tst-audit10.c: Likewise.
18295         * sysdeps/x86_64/tst-audit3.c: Likewise.
18296         * sysdeps/x86_64/tst-audit4.c: Likewise.
18297         * sysdeps/x86_64/tst-audit5.c: Likewise.
18298         * time/tst-ftime_l.c: Likewise.
18299         * time/tst-getdate.c: Likewise.
18300         * time/tst-mktime3.c: Likewise.
18301         * time/tst-mktime.c: Likewise.
18302         * time/tst-posixtz.c: Likewise.
18303         * time/tst-strptime2.c: Likewise.
18304         * time/tst-strptime3.c: Likewise.
18305         * wcsmbs/tst-btowc.c: Likewise.
18306         * wcsmbs/tst-mbrtowc.c: Likewise.
18307         * wcsmbs/tst-mbsrtowcs.c: Likewise.
18308         * wcsmbs/tst-wchar-h.c: Likewise.
18309         * wcsmbs/tst-wcpncpy.c: Likewise.
18310         * wcsmbs/tst-wcrtomb.c: Likewise.
18311         * wcsmbs/tst-wcsnlen.c: Likewise.
18312         * wcsmbs/tst-wcstof.c: Likewise.
18314 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
18316         [BZ #14132]
18317         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
18318         INTDEF.
18319         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
18320         declaration.
18321         (_dl_mcount): Use rtld_hidden_proto.
18322         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
18323         _dl_mcount.
18324         * elf/rtld.c (_rtld_global_ro): Likewise.
18326         [BZ #14132]
18327         * elf/dl-init.c (_dl_init): Don't use INTDEF.
18328         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
18329         of _dl_init_internal.
18330         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18331         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
18332         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
18333         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
18334         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
18335         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
18336         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
18337         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
18338         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
18339         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
18340         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
18341         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
18342         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18343         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18344         * sysdeps/tile/dl-start.S (_start): Likewise.
18345         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
18346         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
18348         [BZ #14132]
18349         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
18350         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
18351         (rtld_progname): Make macro definition unconditional.
18352         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
18353         INTDEF.
18354         (dlmopen_doit): Do not use INTUSE with _dl_argv.
18355         (dl_main): Likewise.
18356         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18357         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
18358         instead of _dl_argv_internal.
18359         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18360         __GI__dl_argv instead of INTUSE(_dl_argv).
18361         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
18362         __GI__dl_argv instead of _dl_argv_internal.
18364         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
18365         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
18366         macro.
18367         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
18368         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
18369         New macro.
18370         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
18371         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
18372         macro.
18373         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
18374         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
18376 2014-11-04  Andreas Schwab  <schwab@suse.de>
18378         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
18380 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18382         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
18383         mtvsrd instruction in binary form.
18385 2014-11-03  Andreas Schwab  <schwab@suse.de>
18387         [BZ #17522]
18388         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
18389         for less than MB_LEN_MAX use a local buffer of that size.
18390         * libio/tst-fputws.c: New file.
18391         * libio/Makefile (tests): Add tst-fputws.
18393 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
18395         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
18396         the size of the fpu_fr.fpu_dregs[] array.
18398 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
18400         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
18401         (__nanosleep): Do not define as alias.
18402         (nanosleep): Define as alias of __nanosleep.
18403         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
18404         __libc_nanosleep name.
18406 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18408         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
18409         install.texi in comment.
18411 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18413         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
18414         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
18415         ... add here and use lwsync or sync ...
18416         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
18417         ... and add here using lwsync.
18419 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18421         * elf/dl-machine-reject-phdr.h: New file.
18422         * elf/dl-load.c: #include that.
18423         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
18424         if that returned true.
18426 2014-10-31  Roland McGrath  <roland@hack.frob.com>
18428         [BZ #17496]
18429         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
18430         gen-as-const-headers chunk.  Add a big scare comment after the last
18431         safe place to touch before-compile.
18433 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18435         * manual/install.texi (Tools for Compilation): Update autoconf
18436         version requirements.
18437         * INSTALL: Regenerated.
18439         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
18440         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
18441         (__libc_pselect): Likewise.
18443         [BZ #14138]
18444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
18445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18449 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18451         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
18452         correct barrier instruction.
18453         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
18454         Likewise.
18455         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
18456         Likewise.
18458 2014-10-30  Roland McGrath  <roland@hack.frob.com>
18460         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
18461         after defining inlines.  Instead, just use parens to defeat macro
18462         expansion of __isctype in its declaration.
18464 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
18466         * include/sys/uio.h (__libc_readv): Remove declaration.
18467         (__libc_writev): Likewise.
18468         * misc/readv.c (__libc_readv): Rename to __readv.
18469         (__readv): Do not define as alias.
18470         (readv): Define as alias of __readv.
18471         * misc/writev.c (__libc_writev): Rename to __writev.
18472         (__writev): Do not define as alias.
18473         (writev): Define as alias of __writev.
18474         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
18475         (__readv): Do not define as alias.
18476         (readv): Define unconditionally as alias of __readv.
18477         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
18478         (__writev): Do not define as alias.
18479         (writev): Define unconditionally as alias of __writev.
18480         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
18481         name.
18482         (writev): Do not define __libc_writev name.
18484 2014-10-30  Roland McGrath  <roland@hack.frob.com>
18486         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
18487         (convert_charseq): New function, broken out of ...
18488         (use_from_charmap): ... here.  Call it.
18489         (use_to_charmap): Use convert_charseq and free instead of duplicating
18490         its code with a variable-length stack struct.
18492 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
18494         * include/fcntl.h (__libc_creat): Remove declaration.
18495         * io/creat.c (__libc_creat): Rename to creat.
18496         (creat): Do not define as alias.
18497         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
18498         of creat instead of __libc_creat.
18499         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
18500         to creat.
18501         (creat): Do not define as alias.
18502         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
18503         __libc_creat.
18504         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
18505         __libc_creat name.
18506         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
18507         Likewise.
18509 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
18511         * manual/llio.texi: Add comments discussing why write() may be
18512         considered MT-unsafe on Linux.
18514 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
18516         * dl-load.c (local_strdup): Remove.
18517         (expand_dynamic_string_token): Use __strdup.
18518         (decompose_rpath): Likewise.
18519         (_dl_map_object): Likewise.
18521 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
18523         [BZ #14132]
18524         * sysdeps/generic/unwind-dw2-fde.c
18525         (__register_frame_info_bases_internal): Do not declare.
18526         (__register_frame_info_table_bases_internal): Likewise.
18527         (__deregister_frame_info_bases_internal): Likewise.
18528         (__register_frame_info_bases): Declare and use hidden_proto before
18529         definition.  Use hidden_def instead of INTDEF.
18530         (__register_frame_info_table_bases): Likewise.
18531         (__deregister_frame_info_bases): Likewise.
18532         (__register_frame_info): Do not use INTUSE.
18533         (__register_frame): Likewise.
18534         (__register_frame_info_table): Likewise.
18535         (__register_frame_table): Likewise.
18536         (__deregister_frame_info): Likewise.
18537         (__deregister_frame): Likewise.
18539 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
18541         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18542         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
18543         not undefine.
18544         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
18545         Likewise.
18546         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
18547         Likewise.
18549 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
18551         [BZ #14138]
18552         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
18553         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
18554         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
18555         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
18556         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
18557         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
18558         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
18559         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
18560         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
18561         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
18562         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
18563         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
18564         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
18565         syscall.
18566         (setfsuid): Likewise.
18567         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
18568         (setfsuid): Likewise.
18569         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
18570         (setfsuid): Likewise.
18571         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
18572         Likewise.
18573         (setfsuid): Likewise.
18574         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
18575         (setfsuid): Likewise.
18576         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
18577         Likewise.
18578         (setfsuid): Likewise.
18580 2014-10-27  Andreas Schwab  <schwab@suse.de>
18582         [BZ #17501]
18583         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
18584         check for Slow_SSE4_2 feature bit.
18585         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
18586         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18587         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
18588         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
18590 2014-10-24  Roland McGrath  <roland@hack.frob.com>
18592         * configure.ac: Validate compiler version with a empirical test of
18593         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
18594         $CC -v output.
18595         * configure: Regenerated.
18597         * inet/htons.c (htons): Prototypify.
18598         * inet/htonl.c (htonl): Likewise.
18600 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18602         * string/strncat.c (strncat): Improve performance by using strlen.
18604 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18606         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
18608 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18610         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
18611         Call libc_fetestexcept_aarch64.
18613 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18615         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
18616         Call libc_feholdexcept_aarch64.
18618 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18620         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
18621         Call get_rounding_mode.
18623 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18625         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18626         Simplify logic.
18628 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18630         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
18631         Simplify logic.
18633 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
18635         [BZ #14138]
18636         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
18637         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
18638         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
18639         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
18640         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
18641         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
18642         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
18643         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
18644         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
18645         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
18646         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18647         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
18648         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
18649         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
18650         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
18651         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
18652         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
18653         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
18654         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
18655         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
18656         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
18657         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
18658         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
18659         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
18660         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
18661         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
18662         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
18663         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
18664         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
18665         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
18666         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
18667         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
18668         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
18669         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
18670         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
18671         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
18672         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
18673         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
18674         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
18675         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
18676         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
18677         syscall.
18678         (geteuid): Likewise.
18679         (getgid): Likewise.
18680         (getuid): Likewise.
18681         (getresgid): Likewise.
18682         (getresuid): Likewise.
18683         (getgroups): Likewise.
18684         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
18685         (geteuid): Likewise.
18686         (getgid): Likewise.
18687         (getuid): Likewise.
18688         (getresgid): Likewise.
18689         (getresuid): Likewise.
18690         (getgroups): Likewise.
18691         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
18692         (geteuid): Likewise.
18693         (getgid): Likewise.
18694         (getuid): Likewise.
18695         (getresgid): Likewise.
18696         (getresuid): Likewise.
18697         (getgroups): Likewise.
18698         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
18699         Likewise.
18700         (geteuid): Likewise.
18701         (getgid): Likewise.
18702         (getuid): Likewise.
18703         (getresgid): Likewise.
18704         (getresuid): Likewise.
18705         (getgroups): Likewise.
18706         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
18707         (geteuid): Likewise.
18708         (getgid): Likewise.
18709         (getuid): Likewise.
18710         (getresgid): Likewise.
18711         (getresuid): Likewise.
18712         (getgroups): Likewise.
18713         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
18714         Likewise.
18715         (geteuid): Likewise.
18716         (getgid): Likewise.
18717         (getuid): Likewise.
18718         (getgroups): Likewise.
18720         [BZ #14138]
18721         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
18722         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
18723         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
18724         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18725         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
18726         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
18727         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
18728         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
18729         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
18730         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
18731         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
18732         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
18733         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
18734         __chown.
18735         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
18736         (lchown): Likewise.
18737         (fchown): Likewise.
18738         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
18739         Likewise.
18740         (lchown): Likewise.
18741         (fchown): Likewise.
18742         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
18743         (lchown): Likewise.
18744         (fchown): Likewise.
18745         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
18746         Likewise.
18747         (lchown): Likewise.
18748         (fchown): Likewise.
18750 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18752         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
18753         Simplify logic.
18755 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18757         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
18758         Cleanup logic.
18760 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18762         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
18763         Remove unused include.
18765 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18767         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
18768         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
18769         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
18770         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
18772 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
18773             Helge Deller <deller@gmx.de>
18775         [BZ #17508]
18776         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
18777         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
18778         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
18780 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
18782         [BZ #14132]
18783         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
18784         Remove macro definition.
18785         (__ashrdi3_v_glibc20): Likewise.
18786         (__lshrdi3_v_glibc20): Likewise.
18787         (__cmpdi2_v_glibc20): Likewise.
18788         (__ucmpdi2_v_glibc20): Likewise.
18789         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
18790         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18791         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18792         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18793         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18794         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
18796 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18798         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
18799         old GNU extension [0] syntax.
18800         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
18801         alloca rather than an array member with variable length.
18802         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
18803         * nscd/nscd.c (invalidate_db): New function, broken out of ...
18804         (parse_opt): ... here.  Likewise use alloca there.
18805         Validate the -i argument before checking for rootness.
18806         (send_shutdown): New function, broken out of ...
18807         (parse_opt): ... here.
18809 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18811         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
18812         macro to get at the _rt_local_ro field.
18813         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
18814         ([PIC] case) or _dl_hwcap ([!PIC] case).
18815         * sysdeps/arm/setjmp.S: Likewise.
18817         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
18818         * sysdeps/arm/configure.ac: New check to define it.
18819         * sysdeps/arm/configure: Regenerated.
18820         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
18821         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
18822         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
18823         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
18824         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
18825         Use move/movt pair instead of a load.
18826         (LDST_GLOBAL): Macro removed.
18827         (LDR_GLOBAL): New macro replaces it.
18828         (LDR_HIDDEN): New macro.
18829         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
18830         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
18832         * setjmp/tst-setjmp-static.c: New file.
18833         * setjmp/Makefile (tests): Add it.
18834         (tests-static): New variable.
18836 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
18838         [BZ #17485]
18839         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
18841 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
18843         [BZ #14132]
18844         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
18846 2014-10-21  Roland McGrath  <roland@hack.frob.com>
18848         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
18850 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18852         * io/fts.c (dirent_not_directory): New function.
18853         (fts_build): Call it.
18855 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18857         * nptl/version.c (__nptl_main): Use normal __write rather than
18858         INTERNAL_SYSCALL.
18859         (banner): Update copyright years.
18861         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
18862         gettimeofday.
18863         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18864         * nptl/pthread_cond_timedwait.c: Likewise.
18865         * nptl/pthread_mutex_timedlock.c: Likewise.
18866         * nptl/sem_timedwait.c: Likewise.
18868         * sysdeps/nptl/bits/libc-lock.h
18869         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18870         (__libc_lock_init_recursive): Return void, not 0.
18871         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
18872         (__libc_rwlock_init): Likewise.
18873         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
18875 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18877         [BZ #15215]
18878         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
18879         (__pthread_once_slow): ... here.
18880         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
18881         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
18883 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18885         [BZ #15215]
18886         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
18887         __PTHREAD_ONCE_FORK_GEN_INCR): New.
18888         * sysdeps/nptl/fork.c (__libc_fork): Use them.
18889         * nptl/pthread_once.c (__pthread_once): Likewise.
18890         Update comments.
18892 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
18894         [BZ #14138]
18895         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
18896         name.
18897         (writev): Use __libc_writev as strong name.
18898         * sysdeps/unix/sysv/linux/readv.c: Remove file.
18899         * sysdeps/unix/sysv/linux/writev.c: Likewise.
18901 2014-10-17  Roland McGrath  <roland@hack.frob.com>
18903         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
18905         * sysdeps/i386/nptl/tls.h
18906         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
18907         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
18908         New macros.
18909         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
18910         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
18911         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
18912         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
18913         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
18914         Call CHECK_THREAD_SYSINFO instead of doing an assert.
18916         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18917         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
18918         on [__NR_futex].
18919         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
18920         broken out of ...
18921         (__pthread_mutex_init): ... here.  Call it.
18922         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
18923         Conditionalize PI cases on [__NR_futex].
18924         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
18925         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
18926         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18928         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
18929         conditional on [SIGSETXID].
18930         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
18931         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
18932         is defined.  Likewise for SIGSETXID.
18933         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
18934         Conditionalize definitions on [SIGSETXID].
18935         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
18936         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
18937         unblocking on [SIGCANCEL].
18939         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
18940         [__NR_set_robust_list].
18942 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18944         * string/strcoll_l.c (get_next_seq): Fix up formatting.
18945         (do_compare): Likewise.
18947 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
18949         [BZ #15884]
18950         * string/strcoll_l.c: Don't include stdio.h.
18951         (coll_seq): Remove members idxarr and rulearr.
18952         (get_next_seq_cached): Remove function.
18953         (get_next_seq): Likewise.
18954         (get_next_seq_nocache): Rename to get_next_seq.
18955         (do_compare): Remove function.
18956         (do_compare_nocache): Rename to do_compare.
18957         (STRCOLL): Remove weight and rules cache.
18959 2014-10-16  Roland McGrath  <roland@hack.frob.com>
18961         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
18962         * sysdeps/arm/sfp-machine.h: ... to here.
18963         * sysdeps/arm/Implies: Remove arm/soft-fp.
18965 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
18967         * conform/data/sys/utsname.h-data (*_t): Allow.
18968         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
18969         [POSIX] (WEXITED): Do not expect constant.
18970         [POSIX] (WSTOPPED): Likewise.
18971         [POSIX] (WNOHANG): Likewise.
18972         [POSIX] (WNOWAIT): Likewise.
18973         [POSIX] (siginfo_t): Do not expect type or elements.
18974         [POSIX] (pid_t): Do not expect type.
18975         [POSIX] (signal.h): Do not allow header.
18976         [POSIX] (sys/resource.h): Likewise.
18977         [POSIX] (si_*): Do not allow pattern.
18978         [POSIX] (W*): Likewise.
18979         [POSIX] (P_*): Likewise.
18980         [POSIX] (BUS_*): Likewise.
18981         [POSIX] (CLD_*): Likewise.
18982         [POSIX] (FPE_*): Likewise.
18983         [POSIX] (ILL_*): Likewise.
18984         [POSIX] (POLL_*): Likewise.
18985         [POSIX] (SEGV_*): Likewise.
18986         [POSIX] (SI_*): Likewise.
18987         [POSIX] (TRAP_*): Likewise.
18988         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
18989         variable.
18991 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18993         [BZ #12926]
18994         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
18995         infinite loop when __recvmsg returns 0.
18997 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
18999         * CANCEL-FCT-WAIVE: Remove file.
19000         * CANCEL-FILE-WAIVE: Likewise.
19002         [BZ #14132]
19003         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
19004         instead of INTVARDEF.
19005         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19006         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
19007         rtld_hidden_data_def instead of INTVARDEF.
19008         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19009         * elf/dl-deps.c (expand_dst): Likewise.
19010         * elf/dl-load.c (_dl_dst_count): Likewise.
19011         (_dl_dst_substitute): Likewise.
19012         (decompose_rpath): Likewise.
19013         (_dl_init_paths): Likewise.
19014         (open_path): Likewise.
19015         (_dl_map_object): Likewise.
19016         * elf/rtld.c (dl_main): Likewise.
19017         (process_dl_audit): Likewise.
19018         (process_envvars): Likewise.
19019         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
19020         Remove declaration.
19021         (__libc_enable_secure): Use rtld_hidden_proto.
19023 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19025         * elf/dl-load.c
19026         (add_path): New function broken out of _dl_rtld_di_serinfo.
19027         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
19029 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19031         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
19032         parentheses around macro arguments.
19033         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
19034         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
19035         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
19036         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
19037         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
19038         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19039         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19040         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
19041         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
19042         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
19043         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
19044         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
19045         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
19046         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
19047         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
19048         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
19049         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
19050         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
19051         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
19052         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
19053         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
19054         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
19055         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
19056         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19057         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19058         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
19059         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
19060         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
19061         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
19062         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
19063         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
19064         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
19065         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
19066         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
19067         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
19068         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
19069         Likewise.
19070         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
19071         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19072         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19073         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
19074         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
19075         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
19076         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
19077         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
19078         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
19079         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
19080         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
19081         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
19082         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
19083         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
19084         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
19085         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19086         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19087         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
19088         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
19089         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
19090         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
19091         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
19092         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
19093         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
19094         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
19095         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
19096         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
19097         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
19098         (_FP_FRAC_SRS_1): Likewise.
19099         (_FP_FRAC_CLZ_1): Likewise.
19100         (_FP_MUL_MEAT_1_imm): Likewise.
19101         (_FP_MUL_MEAT_1_wide): Likewise.
19102         (_FP_MUL_MEAT_1_hard): Likewise.
19103         (_FP_SQRT_MEAT_1): Likewise.
19104         (_FP_FRAC_ASSEMBLE_1): Likewise.
19105         (_FP_FRAC_DISASSEMBLE_1): Likewise.
19106         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
19107         (__FP_CLZ_2): Likewise.
19108         (_FP_MUL_MEAT_2_wide): Likewise.
19109         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19110         (_FP_MUL_MEAT_2_gmp): Likewise.
19111         (_FP_MUL_MEAT_2_120_240_double): Likewise.
19112         (_FP_SQRT_MEAT_2): Likewise.
19113         (_FP_FRAC_ASSEMBLE_2): Likewise.
19114         (_FP_FRAC_DISASSEMBLE_2): Likewise.
19115         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
19116         (_FP_FRAC_CLZ_4): Likewise.
19117         (_FP_MUL_MEAT_4_wide): Likewise.
19118         (_FP_MUL_MEAT_4_gmp): Likewise.
19119         (_FP_SQRT_MEAT_4): Likewise.
19120         (_FP_FRAC_ASSEMBLE_4): Likewise.
19121         (_FP_FRAC_DISASSEMBLE_4): Likewise.
19122         * soft-fp/op-common.h (_FP_CMP): Likewise.
19123         (_FP_CMP_EQ): Likewise.
19124         (_FP_CMP_UNORD): Likewise.
19125         (_FP_TO_INT): Likewise.
19126         (_FP_FROM_INT): Likewise.
19127         [!__FP_CLZ] (__FP_CLZ): Likewise.
19128         (_FP_DIV_HELP_imm): Likewise.
19129         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
19130         Likewise.
19131         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
19132         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
19133         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
19134         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
19135         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
19136         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19137         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19138         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
19139         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
19140         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
19141         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
19142         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
19143         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
19144         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
19145         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
19146         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
19147         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
19148         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
19149         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
19150         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
19151         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
19152         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
19153         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
19154         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19155         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19156         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
19157         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
19158         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
19159         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
19160         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
19161         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
19162         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
19163         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
19164         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
19165         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
19166         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
19167         (FP_UNPACK_RAW_SP): Likewise.
19168         (FP_PACK_RAW_S): Likewise.
19169         (FP_PACK_RAW_SP): Likewise.
19170         (FP_UNPACK_S): Likewise.
19171         (FP_UNPACK_SP): Likewise.
19172         (FP_UNPACK_SEMIRAW_S): Likewise.
19173         (FP_UNPACK_SEMIRAW_SP): Likewise.
19174         (FP_PACK_S): Likewise.
19175         (FP_PACK_SP): Likewise.
19176         (FP_PACK_SEMIRAW_S): Likewise.
19177         (FP_PACK_SEMIRAW_SP): Likewise.
19178         (_FP_SQRT_MEAT_S): Likewise.
19179         (FP_CMP_S): Likewise.
19180         (FP_CMP_EQ_S): Likewise.
19181         (FP_CMP_UNORD_S): Likewise.
19182         (FP_TO_INT_S): Likewise.
19183         (FP_FROM_INT_S): Likewise.
19185         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
19187         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
19188         (FP_EX_INVALID_IMZ): Likewise.
19189         (FP_EX_INVALID_IMZ_FMA): Likewise.
19190         (FP_EX_INVALID_ISI): Likewise.
19191         (FP_EX_INVALID_ZDZ): Likewise.
19192         (FP_EX_INVALID_IDI): Likewise.
19193         (FP_EX_INVALID_SQRT): Likewise.
19194         (FP_EX_INVALID_CVI): Likewise.
19195         (FP_EX_INVALID_VC): Likewise.
19196         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
19197         "invalid" exceptions.
19198         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
19199         (_FP_ADD_INTERNAL): Likewise.
19200         (_FP_MUL): Likewise.
19201         (_FP_FMA): Likewise.
19202         (_FP_DIV): Likewise.
19203         (_FP_CMP_CHECK_NAN): Likewise.
19204         (_FP_SQRT): Likewise.
19205         (_FP_TO_INT): Likewise.
19206         (FP_EXTEND): Likewise.
19208 2014-10-09  Allan McRae  <allan@archlinux.org>
19210         * po/fr.po: Update French translation from translation project.
19212 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19214         [BZ #14132]
19215         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
19216         of INTDEF.
19217         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
19218         (__cxa_atexit): Use libc_hidden_proto.
19219         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
19221         [BZ #14132]
19222         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
19223         declaration.
19224         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
19225         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19226         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
19227         [!_ISOMAC] (__iswctype_internal): Likewise.
19228         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
19229         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19230         alias.
19231         (fcntl): Remove __fcntl_internal alias.
19232         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
19233         __connect_internal alias.
19234         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
19235         Likewise.
19237         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
19238         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
19239         FP_DENORM_ZERO.
19240         (_FP_CHECK_FLUSH_ZERO): New macro.
19241         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
19242         (_FP_CMP): Likewise.
19243         (_FP_CMP_EQ): Likewise.
19244         (_FP_TO_INT): Do not set inexact for subnormal arguments if
19245         FP_DENORM_ZERO.
19246         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
19247         (FP_TRUNC): Likewise.
19249         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
19250         treated as invalid conversion, not as normal exponent.
19252         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19253         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
19254         (_FP_CMP_EQ): Likewise.
19255         (_FP_CMP_UNORD): Likewise.
19256         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
19257         (FP_CMP_EQ_D): Likewise.
19258         (FP_CMP_UNORD_D): Likewise.
19259         * soft-fp/extended.h (FP_CMP_E): Likewise.
19260         (FP_CMP_EQ_E): Likewise.
19261         (FP_CMP_UNORD_E): Likewise.
19262         * soft-fp/quad.h (FP_CMP_Q): Likewise.
19263         (FP_CMP_EQ_Q): Likewise.
19264         (FP_CMP_UNORD_Q): Likewise.
19265         * soft-fp/single.h (FP_CMP_S): Likewise.
19266         (FP_CMP_EQ_S): Likewise.
19267         (FP_CMP_UNORD_S): Likewise.
19268         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
19269         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
19270         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
19271         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
19272         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
19273         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
19274         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
19275         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
19276         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
19277         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
19278         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
19279         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
19280         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
19281         to FP_CMP_Q.
19282         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
19283         FP_CMP_Q.
19284         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
19285         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
19286         FP_CMP_EQ_Q.
19287         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
19288         FP_CMP_Q.
19289         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
19290         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
19291         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
19292         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
19293         FP_CMP_EQ_Q.
19294         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
19295         FP_CMP_Q.
19296         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
19297         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
19298         FP_CMP_EQ_Q.
19299         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
19300         FP_CMP_Q.
19301         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
19302         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
19303         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
19304         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
19305         FP_CMP_EQ_Q.
19307         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
19308         a subnormal result, set the underflow exception if trapping on
19309         underflow is enabled.
19310         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
19311         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
19312         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
19313         redefine to 0.
19314         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
19315         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19316         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19317         * soft-fp/extendxftf2.c (__extendxftf2): Use
19318         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
19320         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
19321         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
19322         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19323         FP_HANDLE_EXCEPTIONS.
19324         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
19325         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19326         FP_HANDLE_EXCEPTIONS.
19327         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
19328         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19329         FP_HANDLE_EXCEPTIONS.
19330         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
19331         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19332         FP_HANDLE_EXCEPTIONS.
19334 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
19336         [BZ #14132]
19337         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
19338         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
19339         use INTUSE.
19340         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
19341         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
19342         Remove alias.
19343         (__adjtimex): Define using libc_hidden_ver.
19344         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
19345         Remove declaration.
19346         (ntp_gettime): Call __adjtimex directly.
19347         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
19348         Remove declaration.
19349         (ntp_gettimex): Call __adjtimex directly.
19350         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
19351         __adjtimex_internal alias.
19353 2014-10-08  Roland McGrath  <roland@hack.frob.com>
19355         [BZ #17460]
19356         * nscd/nscd.c (more_help): Rewrite list of tables collection
19357         using xstrdup and asprintf.
19359         * nscd/nscd_conf.c: Remove local xstrdup declaration.
19361 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19362             Roland McGrath  <roland@hack.frob.com>
19364         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
19365         (do_lookup_unique): ... local function 'enter' here; update callers.
19367 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
19369         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
19370         compat_symbol calls on [SHARED].
19371         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
19372         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
19373         Remove.
19374         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19375         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
19376         (oldsetrlimit): Remove.
19377         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19379         (lchown): New syscall entry.
19380         (oldsetrlimit): Remove.
19381         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19382         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
19383         (oldsetrlimit): Remove.
19384         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19386         [BZ #14138]
19387         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
19388         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
19389         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
19390         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
19391         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19392         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
19393         (fchown): Likewise.
19394         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
19395         (fchown): Likewise.
19396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
19397         Likewise.
19399 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19401         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
19402         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
19403         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
19404         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
19405         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
19406         Likewise.
19407         (__old_sem_post): Likewise.
19409 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
19411         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
19412         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
19413         HAVE_CLOCK_GETTIME_VSYSCALL macros.
19414         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
19415         Use INLINE_VSYSCALL macro.
19416         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
19417         __vdso_clock_gettime.
19418         * sysdeps/unix/sysv/linux/tile/init-first.c
19419         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
19420         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
19421         __vdso_clock_gettime.
19423         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
19424         to set up frame more cleanly.
19426         * sysdeps/tile/memcmp.c: New file.
19428         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
19430         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
19431         * sysdeps/tile/tilegx/strcasestr.c: New file.
19432         * sysdeps/tile/tilegx/strnlen.c: New file.
19433         * sysdeps/tile/tilegx/strstr.c: New file.
19435         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
19437 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
19439         * nptl/tst-setuid3.c: Write errors to stdout.
19441 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19443         * elf/dl-deps.c
19444         (preload): New functions broken out of _dl_map_object_deps.
19445         (_dl_map_object_deps):  Remove a nested function. Update call sites.
19447 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
19449         [BZ #14138]
19450         * sysdeps/unix/sysv/linux/execve.c: Remove file.
19451         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
19453 2014-10-01  Steve Ellcey  <sellcey@mips.com>
19455         * sysdeps/mips/strcmp.S: New.
19457 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
19459         [BZ #14138]
19460         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
19461         (linkat): Likewise.
19462         (mkdirat): Likewise.
19463         (readlinkat): Likewise.
19464         (renameat): Likewise.
19465         (symlinkat): Likewise.
19466         (unlinkat): Likewise.
19467         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
19468         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
19469         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
19470         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
19471         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
19472         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
19473         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
19475 2014-09-30  Will Newton  <will.newton@linaro.org>
19477         * math/math.h: Define long double math functions if
19478         _LIBC_TEST is defined.
19479         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
19481         * localedata/Makefile: Move assignment to tests-special
19482         into an ifdef testing run-built-tests.
19483         * timezone/Makefile: Likewise.
19485 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
19487         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
19488         with $(BASH) not $(SHELL).
19490 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
19491             Matthew LeGendre  <legendre1@llnl.gov>
19493         [BZ #17411]
19494         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
19495         l_reloc_result.
19497 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19499         * stdio-common/printf_fp.c
19500         (hack_digit): New function, broken out of ...
19501         (__printf_fp): ... local function here.  Update call sites.
19502         hack_digit now takes an additional parameter that is a pointer
19503         to a struct of the referenced locals.  Those locals moved inside
19504         the struct and references updated.
19506 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
19508         * aclocal.m4: Require autoconf 2.69.
19509         * configure: Regenerated.
19510         * sysdeps/aarch64/configure: Likewise.
19511         * sysdeps/alpha/configure: Likewise.
19512         * sysdeps/arm/armv7/configure: Likewise.
19513         * sysdeps/arm/configure: Likewise.
19514         * sysdeps/ia64/configure: Likewise.
19515         * sysdeps/mach/configure: Likewise.
19516         * sysdeps/mips/configure: Likewise.
19517         * sysdeps/s390/configure: Likewise.
19518         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
19519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
19521         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
19522         file.
19523         * sysdeps/ia64/configure.ac: Likewise.
19525 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
19527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
19528         specify symbol version for ld.so.  Do not include entry for
19529         libpthread.
19530         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19531         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19532         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19534         [BZ #14171]
19535         * Makeconfig [$(build-shared) = yes]
19536         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
19537         makefiles.
19538         [$(build-shared) = yes && $(soversions.mk-done) = t]
19539         ($(common-objpfx)gnu/lib-names.h): Remove rule.
19540         [$(build-shared) = yes && $(soversions.mk-done) = t]
19541         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
19542         to Makerules.
19543         [$(build-shared) = yes && $(soversions.mk-done) = t]
19544         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
19545         here.
19546         [$(build-shared) = yes && $(soversions.mk-done) = t]
19547         (common-generated): Don't append gnu/lib-names.h and
19548         gnu/lib-names.stmp here.
19549         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
19550         (lib-names-h-abi): New variable.
19551         [$(build-shared) = yes && $(soversions.mk-done) = t]
19552         (lib-names-stmp-abi): Likewise.
19553         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19554         abi-variants] (before-compile): Append
19555         $(common-objpfx)$(lib-names-h-abi).
19556         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19557         abi-variants] (common-generated): Append gnu/lib-names.h.
19558         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19559         abi-variants] (install-others-nosubdir): Depend on
19560         $(inst_includedir)/$(lib-names-h-abi).
19561         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19562         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
19563         [$(build-shared) = yes && $(soversions.mk-done) = t]
19564         ($(common-objpfx)$(lib-names-h-abi)): New rule.
19565         [$(build-shared) = yes && $(soversions.mk-done) = t]
19566         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
19567         [$(build-shared) = yes && $(soversions.mk-done) = t]
19568         (common-generated): Append $(lib-names-h-abi) and
19569         $(lib-names-stmp-abi).
19570         * scripts/lib-names.awk: Do not handle multi being set.
19571         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
19572         Remove variable.
19573         (abi-lp64_be-ld-soname): Likewise.
19574         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
19575         Likewise.
19576         (abi-hard-ld-soname): Likewise.
19577         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
19578         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
19579         Remove variable.
19580         (abi-o32_hard-ld-soname): Likewise.
19581         (abi-o32_soft_2008-ld-soname): Likewise.
19582         (abi-o32_hard_2008-ld-soname): Likewise.
19583         (abi-n32_soft-ld-soname): Likewise.
19584         (abi-n32_hard-ld-soname): Likewise.
19585         (abi-n32_soft_2008-ld-soname): Likewise.
19586         (abi-n32_hard_2008-ld-soname): Likewise.
19587         (abi-n64_soft-ld-soname): Likewise.
19588         (abi-n64_hard-ld-soname): Likewise.
19589         (abi-n64_soft_2008-ld-soname): Likewise.
19590         (abi-n64_hard_2008-ld-soname): Likewise.
19591         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
19592         Likewise.
19593         (abi-64-v2-ld-soname): Likewise.
19594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
19595         ld.so entries.
19596         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
19597         variable.
19598         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
19599         entry.
19600         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
19601         variable.
19602         (abi-64-ld-soname): Likewise.
19603         (abi-x32-ld-soname): Likewise.
19604         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
19605         entry.
19606         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19608 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
19610         [BZ #14138]
19611         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
19612         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
19613         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
19614         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
19615         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
19616         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
19617         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
19618         syscall entry for GLIBC_2.2 symbol version.
19619         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
19620         Likewise.
19621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19622         (setrlimit): Likewise.
19623         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
19624         Likewise.
19626 2014-09-23  Will Newton  <will.newton@linaro.org>
19628         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
19629         _LINUX_ARM_SYSDEP_H include guard too.
19630         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
19631         define.
19633 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19635         * sysdeps/unix/sysv/linux/eventfd.c:
19636         Make first argument unsigned.
19637         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
19638         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
19640 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
19642         * socket/recvmmsg.c (recvmmsg): Drop const argument.
19643         * socket/sys/socket.h: Likewise
19644         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
19646 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19648         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
19650 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
19652         * time/tst-ftime.c: New test.
19653         * time/Makefile (tests): Add tst-ftime.
19655 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
19657         * soft-fp/extended.h: Fix comment formatting.
19658         * soft-fp/op-1.h: Likewise.
19659         * soft-fp/op-2.h: Likewise.
19660         * soft-fp/op-4.h: Likewise.
19661         * soft-fp/op-8.h: Likewise.
19662         * soft-fp/op-common.h: Likewise.
19663         * soft-fp/soft-fp.h: Likewise.
19665         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
19667 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
19669         [BZ #6652]
19670         * Makeconfig (soversions-default-setname): Remove variable.
19671         ($(common-objpfx)soversions.i): Don't pass default_setname to
19672         soversions.awk.
19673         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
19674         oldest_abi to abi-versions.awk.
19675         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
19676         * config.make.in (oldest-abi): Remove variable.
19677         * configure.ac (--enable-oldest-abi): Remove configure option.
19678         * configure: Regenerated.
19679         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
19680         text.
19681         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
19682         * scripts/soversions.awk: Do not handle default_setname variable.
19683         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
19684         variable.
19685         * sysdeps/mach/hurd/configure: Regenerated.
19686         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
19687         variable.
19688         * sysdeps/unix/sysv/linux/configure: Regenerated.
19690 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19692         * elf/Makefile (CFLAGS-interp.c): Remove.
19693         ($(elf-objpfx)runtime-linker.h): Generate header with linker
19694         path string.
19695         * elf/interp.c: Include generated runtime-linker.h
19697         * Makerules (lib%.so): Don't include $(+interp) in
19698         prerequisites.
19699         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
19700         * dlfcn/eval.c: Remove file.
19702         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
19703         macros.
19705         [BZ #17266]
19706         * misc/sys/cdefs.h: Define __extern_always_inline for clang
19707         4.2 and newer.
19709         [BZ #17370]
19710         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
19712 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19713             Jakub Jelinek  <jakub@redhat.com>
19715         [BZ #17266]
19716         * libio/stdio.h: Check definition of __fortify_function
19717         instead of __extern_always_inline to include bits/stdio2.h.
19718         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
19719         check if __extern_always_inline is defined.
19720         [__USE_MISC || __USE_XOPEN]: Likewise.
19721         [__USE_ISOC99] Likewise.
19722         * misc/sys/cdefs.h (__fortify_function): Define only if
19723         __extern_always_inline is defined.
19724         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
19725         __extern_always_inline and __extern_inline only for g++-4.3
19726         and newer or a compatible gcc.
19728 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
19730         [BZ #17371]
19731         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19732         last change to handle zero prefix length.
19734 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19736         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
19737         _SC_REGEX_VERSION.
19739         * posix/getconf.c (vars): Add _POSIX_IPV6 and
19740         _POSIX_RAW_SOCKETS.
19742 2014-09-13  Allan McRae  <allan@archlinux.org>
19744         * po/ru.po: Update Russian translation from translation project.
19746 2014-09-12  Roland McGrath  <roland@hack.frob.com>
19748         * locale/programs/locale.c (show_locale_vars): Inline local function
19749         into its sole call site.  Clean up some style nits.
19750         (print_item): New function, broken out of ...
19751         (show_info): ... local function here.  Clean up style nits.
19753         * locale/programs/ld-ctype.c (set_one_default): New function, broken
19754         out of ...
19755         (set_class_defaults): ... local function set_default here.
19756         Define set_default as a macro locally to pass constant parameters.
19757         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
19758         rather than a shared local.
19760         * stdlib/rpmatch.c (try): New function, broken out of ...
19761         (rpmatch): ... local function here.  Also, prototypify definition.
19763 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
19765         * scripts/soversions.awk: Do not handle configuration names.
19766         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
19767         vendor and os variables to soversions.awk.
19768         * configure.ac: Do not modify gnu-* host_os.
19769         * configure: Regenerated
19770         * shlib-versions: Remove first column with configuration names.
19771         * nptl/shlib-versions: Likewise.
19772         * nptl_db/shlib-versions: Likewise.
19773         * sysdeps/hppa/shlib-versions: Likewise.
19774         * sysdeps/m68k/shlib-versions: Likewise.
19775         * sysdeps/mach/hurd/shlib-versions: Likewise.
19776         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
19777         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
19778         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
19779         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
19780         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
19781         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
19782         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
19783         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
19784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19785         Likewise.
19786         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19787         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19788         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19789         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19790         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19791         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
19792         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19793         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19796         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
19797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19798         Regenerated.
19799         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
19800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19801         Condition symbol version definitions on [HAVE_ELFV2_ABI].
19803         * shlib-versions: Remove OS-specific entries.  Moved to files in
19804         sysdeps.
19805         * sysdeps/mach/hurd/shlib-versions: New file.
19806         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19808         * nptl/shlib-versions: Remove architecture-specific entries.
19809         Moved to files in sysdeps.
19810         * shlib-versions: Likewise.
19811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
19812         file.
19813         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19814         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19815         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19816         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19818         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
19819         (UDP_NO_CHECK6_RX): Likewise.
19821 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19823         * sysdeps/posix/sysconf.c (__sysconf): Spell
19824         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
19826 2014-08-12  Florian Weimer  <fweimer@redhat.com>
19828         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
19829         loading.
19830         * iconv/Versions (__gconv_transliterate): Export for use from
19831         gconv modules.
19832         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
19833         (struct __gconv_trans_data, __gconv_trans_fct,
19834         __gconv_trans_context_fct, __gconv_trans_query_fct,
19835         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
19836         definitions.
19837         (struct __gconv_step_data): Remove __trans member.
19838         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
19839         longer hidden.  Remove unused trans_data argument.
19840         * iconv/gconv_int.h (struct trans_struct): Remove definition.
19841         (__gconv_translit_find): Remove declaration.
19842         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
19843         prototype.
19844         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
19845         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
19846         trans_data argument.  Add hidden definition.
19847         (__gconv_translit_find): Remove.
19848         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
19849         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
19850         * iconv/skeleton.c: Remove transliteration initialization.
19851         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
19852         __gconv_step_data initialization.
19853         * libio/iofwide.c (__libio_translit_): Remove.
19854         (_IO_fwide): Adjust struct __gconv_step_data initialization.
19855         * wcsmbs/btowc.c (__btowc): Likewise.
19856         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19857         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19858         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19859         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19860         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
19861         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19862         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19863         * wcsmbs/wctob.c (wctob): Likewise.
19865 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19867         [BZ #16194]
19868         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
19869         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
19870         register usage.
19871         * sysdeps/x86/Makefile: Adjust.
19873 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19874             Roland McGrath  <roland@hack.frob.com>
19876         * locale/weight.h: Add include guard.
19877         (findidx): Make static rather than auto; take new parameters
19878         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
19879         * locale/weightwc.h: Likewise.
19880         * posix/fnmatch_loop.c
19881         (FCT): Change type of EXTRA from int32_t to wint_t.
19882         Don't include either header inside the function.
19883         Call FINDIDX rather than findidx, and pass new arguments.
19884         #undef FINDIDX at the end of the file.
19885         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
19886         FINDIDX before including fnmatch_loop.c for the non-wide version.
19887         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
19888         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
19889         for the wide version.
19890         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
19891         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
19892         Pass new arguments to findidx.
19893         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
19894         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
19895         Don't #include it inside the function.  Pass new arguments to findidx.
19896         * posix/regex_internal.h
19897         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
19898         (re_string_elem_size_at): Don't #include it inside the function.
19899         Pass new arguments to findidx.
19900         * string/strcoll_l.c: #include WEIGHT_H at top level.
19901         (get_next_seq): Don't #include it inside the function.
19902         Pass new arguments to findidx.
19903         (get_next_seq_nocache): Likewise.
19904         * string/strxfrm_l.c: #include WEIGHT_H at top level.
19905         (STRXFRM): Don't #include it inside the function.
19906         Pass new arguments to findidx.
19908 2014-09-11  Florian Weimer  <fweimer@redhat.com>
19910         [BZ #17344]
19911         * malloc/malloc.c (unlink): Turn asserts into a call to
19912         malloc_printerr.
19914 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
19916         [BZ #17370]
19917         * libio/wfileops (do_ftell_wide): Free OUT.
19919 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
19921         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
19923 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19925         [BZ #17363]
19926         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
19927         group if the current group is empty.
19929 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19931         * benchtests/bench-memset.c (test_main): Add more test from size
19932         from 32 to 512 bytes.
19933         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19934         Add POWER8 memset object.
19935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19936         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
19937         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
19938         implementation.
19939         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
19940         Likewise.
19941         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
19942         multiarch POWER8 memset optimization.
19943         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
19944         POWER8 memset optimization.
19946         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19947         Remove bzero multiarch objects.
19948         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
19949         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
19950         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
19951         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
19952         Remove define.
19953         [__bzero]: Redefine to specific name.
19954         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
19955         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
19956         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
19957         define.
19958         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19959         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19961 2014-09-10  Florian Weimer  <fweimer@redhat.com>
19963         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
19964         warnings into errors.
19966         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
19967         __cxa_thread_atexit_impl prototype.
19969 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19971         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
19972         Fix capitalization of error message.
19974 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19976         * sysdeps/mips/preconfigure: Modify ABI tests.
19978 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
19980         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
19982 2014-09-07  Roland McGrath  <roland@hack.frob.com>
19983             Carlos O'Donell  <carlos@systemhalted.org>
19985         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
19986         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
19987         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
19988         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
19989         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
19990         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
19991         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
19992         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
19993         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
19994         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
19995         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
19996         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
19997         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
19998         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
19999         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
20000         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
20001         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
20002         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
20003         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
20004         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
20005         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
20006         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
20007         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
20008         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
20009         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
20010         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
20011         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
20012         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
20013         Deconditionalize the code that was previously under [RESET_PID].
20014         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
20015         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
20016         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
20017         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
20018         include sysdep.h.
20020 2014-09-08  Allan McRae  <allan@archlinux.org>
20022         * version.h (RELEASE): Set to "development".
20023         (VERSION): Set to "2.20.90"
20025 2014-09-07  Allan McRae  <allan@archlinux.org
20027         * version.h (RELEASE): Set to "stable".
20028         (VERSION): Set to "2.20"
20029         * include/features.h (__GLIBC_MINOR__): Set to 20.
20031         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
20032         Liebler.
20034         * po/ko.po: Update Korean translation from translation project.
20036 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
20038         [BZ #17354]
20039         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
20040         macro for handling signed relocations.
20042 2014-09-03  Florian Weimer  <fweimer@redhat.com>
20044         [BZ #17325]
20045         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
20046         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
20047         assert.
20048         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
20049         * iconvdata/ibm935.c (BODY): Likewise.
20050         * iconvdata/ibm937.c (BODY): Likewise.
20051         * iconvdata/ibm939.c (BODY): Likewise.
20052         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
20053         assert.
20054         * iconvdata/Makefile (iconv-test.out): Pass module list to test
20055         script.
20056         * iconvdata/run-iconv-test.sh: New test loop for checking for
20057         decoder crashers.
20059 2014-09-02  Khem Raj  <raj.khem@gmail.com>
20061         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
20062         libm_hidden_ver.
20064 2014-09-01  Allan McRae  <allan@archlinux.org>
20066         * po/eo.po: Update Esperanto translation from translation project.
20068         * po/ca.po: Update Catalan translation from translation project.
20070 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20072         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
20073         __proc_dostop call.
20075 2014-08-27  Mark Wielaard  <mjw@redhat.com>
20077         [BZ #17319]
20078         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
20079         to call set_thread_area instead of hand written asm.
20080         (__NR_set_thread_area): Removed define.
20081         (TLS_FLAG_WRITABLE): Likewise.
20082         (__ASSUME_SET_THREAD_AREA): Remove check.
20083         (TLS_EBX_ARG): Remove define.
20084         (TLS_LOAD_EBX): Likewise.
20086 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20088         Simplify atomicity of socket creation in bind.
20090         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
20091         looking up the name after linking the file.
20093 2014-08-27  Allan McRae  <allan@archlinux.org>
20095         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20097 2014-08-26  Florian Weimer  <fweimer@redhat.com>
20099         [BZ #17187]
20100         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
20101         trans_compare, open_translit, __gconv_translit_find):
20102         Remove module loading code.
20104 2014-08-26  Allan McRae  <allan@archlinux.org>
20106         * po/vi.po: Update Vietnamese translation from translation project.
20108         * po/uk.po: Update Ukrainian translation from translation project.
20110         * po/fr.po: Update French translation from translation project.
20112         * po/ru.po: Update Russian translation from translation project.
20114         * po/pl.po: Update Polish translation from translation project.
20116         * po/cs.po: Update Czech translation from translation project.
20118         * po/de.po: Update German translation from translation project.
20120         * po/bg.po: Update Bulgarian translation from translation project.
20122         * po/sv.po: Update Sweedish translation from translation project.
20124         * po/nl.po: Update Dutch translation from translation project.
20126         * po/es.po: Update Spanish translation from translation project.
20128 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20130         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
20132         * catgets/Makefile (CPPFLAGS-gencat): Remove.
20133         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
20134         (CPPFLAGS-iconvconfig): Likewise.
20135         * timezone/Makefile (CPPFLAGS-zic): Likewise.
20137         * include/libc-symbols.h: Remove unnecessary check for
20138         NOT_IN_libc.
20139         * nptl/pthreadP.h: Likewise.
20140         * sysdeps/aarch64/setjmp.S: Likewise.
20141         * sysdeps/alpha/setjmp.S: Likewise.
20142         * sysdeps/arm/sysdep.h: Likewise.
20143         * sysdeps/i386/setjmp.S: Likewise.
20144         * sysdeps/m68k/setjmp.c: Likewise.
20145         * sysdeps/posix/getcwd.c: Likewise.
20146         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20147         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20148         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20149         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20150         * sysdeps/sh/sh3/setjmp.S: Likewise.
20151         * sysdeps/sh/sh4/setjmp.S: Likewise.
20152         * sysdeps/unix/alpha/sysdep.h: Likewise.
20153         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20154         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20155         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20156         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20159         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20160         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20161         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20162         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20163         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20164         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20165         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20166         * sysdeps/x86_64/setjmp.S: Likewise.
20168 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
20170         [BZ #17263]
20171         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
20172         <stdint.h>.
20173         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
20174         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
20176 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20178         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
20180         [BZ #17262]
20181         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
20182         and __x86_64__ when disabling x87 inline functions.
20184 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20186         [BZ #17259]
20187         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
20188         asm statement with __cpuid_count.
20190 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
20192         * configure.ac: Change __ehdr_start code to dereference the struct.
20193         Run readelf on the output to look for relocations.
20194         * configure: Regenerated.
20196 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
20198         [BZ #17261]
20199         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
20200         value to 0.
20201         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
20203 2014-08-12  Roland McGrath  <roland@hack.frob.com>
20205         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
20207 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
20209         [BZ #16892]
20210         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
20211         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
20213 2014-08-12  Sean Anderson  <seanga2@gmail.com>
20215         * malloc/malloc.c: Fix typo in comment.
20217 2014-08-09  Allan McRae  <allan@archlinux.org>
20219         * Regenerate libc.po.
20221 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
20223         * intl/tst-gettext2.sh: Check every lang file for creation.
20225 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20227         * sysdeps/aarch64/fpu/math_private.h
20228         (libc_feholdsetround_noex_aarch64_ctx): New function.
20230 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20232         * sysdeps/arm/armv6/strcpy.S (strcpy):
20233         Fix performance issue in misaligned cases.
20235 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20237         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
20238         Move definition from termios.h.
20239         (struct termio): Likewise.
20240         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20241         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20242         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20243         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20244         Likewise.
20245         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
20246         Move definition to ioctl-types.h
20247         (struct termio): Likewise.
20248         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20249         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20250         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20251         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20252         Likewise.
20254 2014-08-05  Richard Henderson  <rth@redhat.com>
20256         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
20257         exceptions.
20258         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
20259         Add fraiseexcpt.
20260         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
20261         Use __feraiseexcept.
20262         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
20263         Protect libm symbols with IS_IN_libm.
20265         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
20267 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
20269         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
20271 2014-08-04  Will Newton  <will.newton@linaro.org>
20273         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
20274         file.
20276 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
20278         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
20279         variants for each function.
20281 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20283         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
20284         appended ...
20285         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
20286         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
20287         appended ...
20288         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
20289         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
20290         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
20291         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
20292         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
20293         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
20294         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
20295         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
20296         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
20297         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
20298         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
20299         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
20300         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
20301         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
20302         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
20303         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
20304         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
20305         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
20306         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
20307         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
20308         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
20309         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
20310         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
20311         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
20312         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
20313         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
20314         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
20315         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
20316         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
20317         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
20318         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
20319         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
20320         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
20321         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
20322         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
20323         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
20324         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
20325         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
20326         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
20327         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
20328         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
20329         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
20330         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
20331         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
20332         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
20333         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
20334         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
20335         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
20336         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
20337         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
20338         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
20339         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
20340         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
20341         Update #include.
20342         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
20343         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
20345 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20347         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
20348         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
20349         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
20350         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
20351         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
20352         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
20354 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20356         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
20357         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
20358         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20359         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
20361 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20363         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
20364         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
20365         (__libc_vfork): Define function under this name.
20366         (__vfork): Define as an alias.
20367         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
20368         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
20370 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20372         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
20373         that was previously under [RESET_PID].
20374         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
20376 2014-08-04  Andreas Schwab  <schwab@suse.de>
20378         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
20380 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
20382         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
20383         (main): Likewise.
20385 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20387         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
20389 2014-08-01  Richard Henderon  <rth@redhat.com>
20391         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
20392         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
20393         typo in exact zero test.
20394         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20395         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20396         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20398 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20400         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
20401         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
20402         * sysdeps/arm/sysdep.h: ... here.
20403         [!__ASSEMBLER__]: Include <stdint.h>.
20405 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20407         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
20408         (HAVE_WCTYPE_H): Likewise.
20409         (HAVE_ISWCTYPE): Likewise.
20410         (ENABLE_NLS): Likewise.
20411         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
20412         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
20414         * posix/regex_internal.c: Check if DEBUG is defined and is
20415         set.
20417         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
20418         (HAVE_MBSRTOWCS): Likewise.
20419         * posix/fnmatch.c: Include string.h unconditionally.
20421 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20423         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
20424         reversal.
20426 2014-07-31  Roland McGrath  <roland@hack.frob.com>
20428         * sysdeps/generic/safe-fatal.h: New file.
20429         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
20430         * nptl/forward.c: Include it.
20431         (__pthread_unwind): Use __safe_fatal as default action, rather
20432         than a bogus use of INTERNAL_SYSCALL that could never work.
20434         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
20435         * configure.ac (libc_cv_builtin_trap): New test.
20436         * configure: Regenerated.
20437         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
20438         (ABORT_INSTRUCTION): Define using __builtin_trap.
20440         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
20441         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
20442         * sysdeps/nptl/nptl-signals.h: New file.
20443         * nptl/pthreadP.h: Include <nptl-signals.h>.
20445 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20447         * sysdeps/s390/s390-64/utf16-utf32-z9.c
20448         (ONE_DIRECTION): Define.
20449         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20450         (ONE_DIRECTION): Define.
20451         * sysdeps/s390/s390-64/utf8-utf32-z9.c
20452         (ONE_DIRECTION): Define.
20454 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20456         * sysdeps/s390/Makefile: Delete file.
20457         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
20458         * sysdeps/s390/__longjmp.c: Delete file.
20459         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
20460         Remove fields __flags and __reserved.
20461         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
20462         and add versioning.
20463         * sysdeps/s390/rtld-__longjmp.c: Delete file.
20464         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
20465         * sysdeps/s390/rtld-setjmp.S: Likewise.
20466         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
20467         * sysdeps/s390/s390-32/__longjmp.c: ... here.
20468         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
20469         * sysdeps/s390/s390-32/setjmp.S: ... here.
20470         Add versioning.
20471         (__sigsetjmp): Remove setting __flags field.
20472         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
20473         * sysdeps/s390/s390-64/__longjmp.c: ... here.
20474         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
20475         * sysdeps/s390/s390-64/setjmp.S: ... here.
20476         Add versioning.
20477         (__sigsetjmp): Remove setting __flags field.
20478         * sysdeps/s390/setjmp.S: Delete file.
20479         * sysdeps/s390/sigjmp.c: Likewise.
20480         * sysdeps/s390/v1-longjmp.c: Likewise.
20481         * sysdeps/s390/v1-setjmp.h: Likewise.
20482         * sysdeps/s390/v1-sigjmp.c: Likewise.
20483         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
20484         Remove v1-longjmp_chk.
20485         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
20486         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
20487         Include debug/longjmp_chk.c and add versioning.
20488         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
20489         Include nptl/pt-longjmp.c and add versioning.
20490         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
20491         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
20492         Include __longjmp.c.
20493         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20494         Move to ...
20495         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
20496         (__getcontext): Remove setting __flags field.
20497         Add versioning.
20498         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20499         Don't restore upper high grps.
20500         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
20501         Likewise.
20502         (__swapcontext): Remove setting uc_flags field.
20503         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
20504         Delete file.
20505         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20506         Include __longjmp.c.
20507         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20508         Move to ...
20509         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
20510         (__getcontext): Remove setting __flags field.
20511         Add versioning.
20512         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
20513         (__swapcontext): Remove setting uc_flags field.
20514         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
20515         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
20516         Remove fields uc_high_gprs and __reserved.
20517         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
20518         New file with reverted content.
20519         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
20520         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
20521         Regenerated.
20522         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
20523         Regenerated.
20525 2014-07-31  Andreas Schwab  <schwab@suse.de>
20527         * config.h.in (HAVE_IFUNC): Define to 0.
20528         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
20529         definedness.
20531 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
20533         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20534         memmove-avx-unaligned, memcpy-avx-unaligned and
20535         mempcpy-avx-unaligned.
20536         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20537         Add tests for AVX memcpy functions.
20538         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
20539         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
20540         memcpy_chk.
20541         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
20542         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
20543         memmove_chk.
20544         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
20545         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
20546         mempcpy_chk.
20547         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
20548         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
20549         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
20551 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20553         [BZ #17213]
20554         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
20555         powerpc64le.
20557 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
20559         [BZ #16839]
20560         * manual/llio.texi: Add section about open file description locks.
20561         * manual/examples/ofdlocks.c: Example of open file description
20562         lock usage.
20563         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
20564         F_OFD_SETLK, and F_OFD_SETLKW.
20566 2014-07-23  Allan McRae  <allan@archlinux.org>
20568         * po/es.po: Update Spanish translation from translation project.
20570 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
20572         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
20574 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
20576         [BZ #17078]
20577         * sysdeps/arm/dl-machine.h (elf_machine_rela)
20578         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
20579         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
20581 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
20583         [BZ #17088]
20584         * math/fesetenv.c (__fesetenv)
20585         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
20586         * math/feupdateenv.c (__feupdateenv)
20587         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
20589         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
20590         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20591         (__ASSUME_SOCKETCALL): Do not define.
20593         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
20594         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
20595         (__ASSUME_SOCKETCALL): Do not define.
20596         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
20597         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
20598         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20599         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
20600         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20601         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
20602         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20603         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20605         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
20606         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
20607         (__ASSUME_SOCKETCALL): Do not define.
20608         (__ASSUME_IPC64): Define unconditionally.
20609         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
20610         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20611         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
20612         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20613         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
20614         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20615         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
20616         Likewise.
20618         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
20619         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
20620         (__ASSUME_SOCKETCALL): Do not define.
20621         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
20622         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20623         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20624         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20625         (__ASSUME_REQUEUE_PI): Define unconditionally.
20626         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
20627         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20628         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20629         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
20630         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20631         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20633         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
20634         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
20635         (__ASSUME_SOCKETCALL): Do not define.
20636         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
20637         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20638         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20639         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
20640         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20641         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20643         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
20644         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
20645         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20646         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
20647         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20648         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
20649         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20650         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
20651         (__ASSUME_GETCPU_SYSCALL): Likewise.
20653         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
20654         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
20655         cases for individual architectures.
20656         * sysdeps/gnu/configure: Regenerated.
20657         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
20658         LIBC_SLIBDIR_RTLDDIR.
20659         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
20660         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
20661         LIBC_SLIBDIR_RTLDDIR.
20662         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
20663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
20664         LIBC_SLIBDIR_RTLDDIR.
20665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20666         Regenerated.
20667         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
20668         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
20669         file.
20670         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
20671         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
20672         file.
20673         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
20674         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
20675         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
20676         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
20678         * sysdeps/aarch64/shlib-versions: Move to ...
20679         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
20680         * sysdeps/alpha/shlib-versions: Move to ...
20681         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
20682         * sysdeps/arm/shlib-versions: Move to ...
20683         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
20684         * sysdeps/hppa/shlib-versions: Move all contents except for
20685         libgcc_s entry to ...
20686         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
20687         entry from ...
20688         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
20689         * sysdeps/ia64/shlib-versions: Move to ...
20690         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
20691         entry from ...
20692         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
20693         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
20694         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
20695         * sysdeps/microblaze/shlib-versions: Move to ...
20696         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
20697         * sysdeps/mips/shlib-versions: Move to ...
20698         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
20699         entry from ...
20700         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
20701         * sysdeps/tile/shlib-versions: Move to ...
20702         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
20703         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
20704         from ...
20705         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
20706         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
20707         entry from ...
20708         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
20710 2014-07-17  Will Newton  <will.newton@linaro.org>
20712         * sysdeps/arm/bits/atomic.h
20713         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
20714         (__arch_compare_and_exchange_bool_16_int): Likewise.
20715         (__arch_compare_and_exchange_bool_64_int): Likewise.
20717         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
20718         into an #else block.
20720 2014-07-16  Roland McGrath  <roland@hack.frob.com>
20722         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
20723         just Linux configurations.  Test empirically that the compiler sets
20724         __ARM_EABI__, rather than using the tuple to decide.
20725         * sysdeps/arm/preconfigure: Regenerated.
20726         * sysdeps/unix/sysv/linux/arm/configure: File removed.
20727         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
20728         contents appended ...
20729         * sysdeps/arm/configure.ac: ... here.
20730         * sysdeps/arm/configure: Regenerated.
20732 2014-07-15  Roland McGrath  <roland@hack.frob.com>
20734         * nptl/pthread_kill.c: New file.
20735         * nptl/pthread_sigmask.c: New file.
20736         * nptl/pthread_sigqueue.c: New file.
20738         * sysdeps/nptl/lowlevellock.h: New file.
20739         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
20740         * sysdeps/nptl/lowlevellock-futex.h: New file.
20742         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
20743         Remove dead declarations.
20745 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
20747         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
20748         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
20749         config-cflags-avx2.
20750         * sysdeps/x86_64/configure.ac: Likewise.
20751         * sysdeps/i386/configure: Regenerated.
20752         * sysdeps/x86_64/configure: Likewise.
20753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20754         memset-avx2 only if config-cflags-avx2 is yes.
20755         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20756         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
20757         defined.
20758         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
20759         only if HAVE_AVX2_SUPPORT is defined.
20760         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20762 2014-07-14  Alan Modra  <amodra@gmail.com>
20764         [BZ #17153]
20765         * elf/elf.h (DT_PPC64_NUM): Correct value.
20766         * NEWS: Add to fixed bug list.
20768 2014-07-13  Jim Meyering  <meyering@fb.com>
20770         [BZ 17150]
20771         regex: don't deref NULL upon heap allocation failure
20772         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
20773         failure in one more place.
20774         To trigger the segfault, configure grep -with-included-regex,
20775         build it, and run these commands:
20776         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
20778 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
20780         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20782 2014-07-11  Richard Henderson  <rth@redhat.com>
20784         * sysdeps/aarch64/libm-test-ulps: Update.
20786 2014-07-10  Florian Weimer  <fweimer@redhat.com>
20788         [BZ #17135]
20789         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
20790         * nptl/allocatestack.c (__nptl_setxid_error): New function.
20791         (__nptl_setxid): Initialize error member.  Call
20792         __nptl_setxid_error.
20793         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
20794         * nptl/descr.h (struct xid_command): Add error member.
20795         * nptl/tst-setuid3.c: New file.
20796         * nptl/Makefile (tests): Add it.
20798 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20800         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
20801         New define.
20802         (__lll_trylock): Use __lll_base_trylock.
20803         (__lll_cond_trylock): Likewise.
20805 2014-07-10  Roland McGrath  <roland@hack.frob.com>
20807         * nptl/pthread_create.c (start_thread): Use atomic_or and
20808         lll_futex_wake directly rather than lll_robust_dead.
20809         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20810         (lll_robust_dead): Macro removed.
20811         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
20812         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20813         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20814         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20815         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20816         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20817         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20818         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20819         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20820         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20821         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20822         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20823         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20824         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20825         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20827         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20828         Use atomic_compare_and_exchange_val_acq directly rather than
20829         lll_robust_trylock.
20830         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20831         (__lll_robust_trylock, lll_robust_trylock): Removed.
20832         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20833         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20834         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20835         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20836         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20837         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20838         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20839         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20840         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20841         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20842         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20843         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20844         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20845         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20847 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20849         * manual/locale.texi (Locale Names): New section documenting
20850         locale name syntax.  Adjust menu and node chaining accordingly.
20851         (Choosing Locale): Reference Locale Names, Locale Categories.
20852         Mention setting LC_ALL=C.  Reflect that name syntax is now
20853         documented.
20854         (Locale Categories): New section title.  Reference Locale Names.
20855         LC_ALL is an environment variable, but not a category.
20856         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
20857         description, now in Locale Name.  Reference that section.  Locale
20858         name syntax is now documented.
20860 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20862         [BZ #17137]
20863         * locale/findlocale.c (name_present, valid_locale_name): New
20864         functions.
20865         (_nl_find_locale): Use the loc_name variable to store name
20866         candidates.  Call name_present and valid_locale_name to check and
20867         validate locale names.  Return an error if the locale is invalid.
20869 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20871         * locale/setlocale.c (setlocale): Use strdup for allocating
20872         composite name copy.
20874 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20876         Sync up with gnulib.
20877         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
20878         [!_LIBC && ENABLE_NLS]: Include gettext.h.
20879         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
20880         and _GL_ARG_NONNULL.
20881         [USE_UNLOCKED_IO]: Include unlocked-io.h.
20882         [!_LIBC]: Include code for Windows and Cygwin.
20883         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
20884         Include prototype for int strerror_r.
20885         [!_LIBC] (is_open): New function.
20886         (flush_stdout): New function.
20887         (print_errno_message): Use it.
20888         (error): Likewise.
20889         (error_at_line): Likewise.
20890         (error_tail) Add function attribute macros.  Use
20891         __builtin_expect.
20893         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
20895         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
20897         * io/ftw.c: Include sys/param.h unconditionally.
20899         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
20901         [BZ #17125]
20902         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
20903         libc_freeres_ptr.
20904         (freecache): New function to free CACHE on exit.
20906         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
20907         initialization.
20909 2014-07-09  David S. Miller  <davem@davemloft.net>
20911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20913         * sysdeps/sparc/nptl/internaltypes.h: Delete.
20914         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
20915         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
20916         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
20917         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
20918         * sysdeps/sparc/nptl/sem_init.c: Likewise.
20919         * sysdeps/sparc/nptl/sem_post.c: Likewise.
20920         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
20921         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
20922         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
20923         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
20924         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
20925         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
20927 2014-07-09  Andreas Schwab  <schwab@suse.de>
20929         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
20930         output.
20931         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
20932         (do_test): Likewise.
20934         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20936 2014-07-09  Will Newton  <will.newton@linaro.org>
20938         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
20939         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
20940         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
20941         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
20942         * sysdeps/hppa/start.S (_start): Likewise.
20944 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20946         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
20948         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
20949         defined.
20951 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20953         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
20954         after checking that it is non-NULL.
20956         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
20958 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20960         * sysdeps/powerpc/memmove.c: Remove file.
20961         * sysdeps/powerpc/powerpc32/power4/memcopy.h
20962         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
20963         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20964         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
20965         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
20966         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
20967         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
20968         string memmove instead of removed powerpc one.
20970         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20971         [weak_alias]: Fix compiler warning due trailing data.
20972         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
20973         [weak_alias]: Likewise.
20974         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
20975         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
20977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20978         (__libc_ifunc_impl_list): Add memmove functions.
20980 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20982         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
20983         Remove code.
20984         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
20985         Likewise
20986         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
20987         Likewise
20988         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
20989         Likewise
20990         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
20991         Likewise
20992         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
20993         Likewise
20994         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
20995         Likewise
20996         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
20997         Likewise
20998         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
20999         Likewise
21000         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
21001         Likewise
21002         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
21003         Likewise
21004         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
21005         Likewise
21006         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
21007         Likewise
21008         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
21009         Likewise
21010         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
21011         Likewise
21012         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
21013         Likewise
21014         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
21015         Likewise
21017 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21019         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
21020         to avoid alignment traps in non-cacheable memory.
21021         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
21024         multiarch objects.
21025         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
21026         file: multiarch power7 memmove.
21027         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
21028         multiarch default memmove.
21029         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
21030         multiarch memove for powerpc32/power4.
21032         * string/bcopy.c: Use full path to include memmove.c.
21033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
21034         multiarch objects.
21035         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
21036         bcopy for powerpc64.
21037         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
21038         bcopy for powerpc64.
21039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
21040         and memmove implementations.
21041         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
21042         optimized multiarch memmove for POWER7/powerpc64.
21043         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
21044         default multiarch memmove for powerpc64.
21045         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
21046         multiarch for powerpc64.
21047         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
21048         for POWER7/powerpc64.
21049         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
21050         memmove for POWER7/powerpc64.
21052         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
21053         glibc default one.
21055         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
21056         __ELF_NATIVE_CLASS equal to 64.
21058 2014-07-07  Roland McGrath  <roland@hack.frob.com>
21060         * sysdeps/nptl/lowlevellock.h: File removed.
21062         * NEWS: NPTL is no longer an add-on!
21063         * nptl/internaltypes.h: Moved ...
21064         * sysdeps/nptl/internaltypes.h: ... here.
21065         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
21066         * sysdeps/nptl/fork.c: Likewise.
21067         * sysdeps/nptl/gai_misc.h: Likewise.
21068         * sysdeps/nptl/librt-cancellation.c: Likewise.
21069         * sysdeps/nptl/jmp-unwind.c: Likewise.
21070         * sysdeps/nptl/setxid.h: Likewise.
21071         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
21072         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
21073         * sysdeps/unix/sysv/linux/arm/Implies: New file.
21074         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
21075         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
21076         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
21077         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
21078         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
21079         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
21080         * sysdeps/unix/sysv/linux/mips/Implies: New file.
21081         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
21082         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
21083         * sysdeps/unix/sysv/linux/sh/Implies: New file.
21084         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
21085         * sysdeps/unix/sysv/linux/tile/Implies: New file.
21086         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
21087         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
21088         * nptl/Makeconfig: Moved ...
21089         * sysdeps/nptl/Makeconfig: ... here.
21090         * nptl/configure: File removed.
21091         * nptl/ANNOUNCE: File removed.
21092         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
21093         * sysdeps/unix/sysv/linux/configure: Regenerated.
21095         * nptl/Makefile (routines): Add libc_pthread_init,
21096         libc_multiple_threads, register-atfork and unregister-atfork.
21097         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
21098         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
21099         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
21100         pthread-pi-defines.sym, structsem.sym.
21101         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
21102         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
21103         [$(subdir) = nptl] (tests): Add tst-setgetname.
21104         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
21105         * sysdeps/unix/sysv/linux/sigaction.c: Just include
21106         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
21107         [!LIBC_SIGACTION]: Remove aliases.
21108         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21109         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21110         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21111         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
21112         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21113         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
21114         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21115         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21116         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21117         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
21118         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
21119         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
21120         __libc_allocate_rtsig_private.
21121         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
21122         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
21123         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21124         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21125         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
21126         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
21127         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
21128         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
21129         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
21130         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
21131         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
21132         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
21133         * nptl/internaltypes.h: ... here.
21134         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
21135         * sysdeps/nptl/jmp-unwind.c: ... here.
21136         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
21137         * nptl/libc-lowlevellock.c: ... here.
21138         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
21139         * nptl/libc_multiple_threads.c: ... here.
21140         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
21141         * nptl/libc_pthread_init.c: ... here.
21142         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
21143         * nptl/lowlevelbarrier.sym: ... here.
21144         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
21145         * nptl/lowlevelcond.sym: ... here.
21146         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
21147         * nptl/lowlevellock.c: ... here.
21148         * nptl/lowlevellock.h: Moved ...
21149         * sysdeps/nptl/lowlevellock.h: ... here.
21150         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
21151         * nptl/lowlevelrobustlock.c: ... here.
21152         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
21153         * nptl/lowlevelrobustlock.sym: ... here.
21154         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
21155         * nptl/lowlevelrwlock.sym: ... here.
21156         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
21157         * nptl/pt-fork.c: ... here.
21158         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
21159         * nptl/pthread-pi-defines.sym: ... here.
21160         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
21161         * nptl/pthread_attr_getaffinity.c: ... here.
21162         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
21163         * nptl/pthread_attr_setaffinity.c: ... here.
21164         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
21165         * nptl/pthread_mutex_cond_lock.c: ... here.
21166         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21167         Update #include.
21168         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
21169         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
21170         * nptl/pthread_once.c: ... here, replacing old file.
21171         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
21172         * nptl/pthread_yield.c: ... here.
21173         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
21174         * nptl/register-atfork.c: ... here.
21175         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
21176         * nptl/sem_post.c: ... here.
21177         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
21178         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
21179         * nptl/sem_timedwait.c: ... here.
21180         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
21181         * nptl/sem_trywait.c: ... here.
21182         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
21183         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
21184         * nptl/sem_wait.c: ... here.
21185         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
21186         * nptl/structsem.sym: ... here.
21187         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
21188         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
21189         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
21190         * nptl/unregister-atfork.c: ... here.
21191         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
21192         * nptl/unwindbuf.sym: ... here.
21193         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
21194         * sysdeps/nptl/fork.c: ... here.
21195         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
21196         * sysdeps/nptl/fork.h: ... here.
21197         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
21198         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
21199         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
21200         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
21201         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
21202         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
21203         * sysdeps/unix/sysv/linux/getpid.c: ... here.
21204         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
21205         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
21206         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
21207         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
21208         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
21209         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
21210         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
21211         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
21212         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
21213         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
21214         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
21215         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
21216         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
21217         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
21218         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
21219         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
21220         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
21221         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
21222         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
21223         * sysdeps/unix/sysv/linux/raise.c: ... here.
21224         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
21225         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
21226         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
21227         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
21228         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
21229         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
21230         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
21231         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
21232         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
21233         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
21234         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
21235         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
21236         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
21237         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
21238         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
21240 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21242         * sysdeps/generic/memcopy.h: Add comment for
21243         MEMCPY_OK_FOR_FWD_MEMMOVE.
21245 2014-07-04  Will Newton  <will.newton@linaro.org>
21247         * string/memchr.c: Merge from gnulib.
21248         [_LIBC]: Remove conditionals.
21249         (__ptr_t): Remove define.
21250         (LONG_MAX_32_BITS): Likewise.
21251         (LONG_MAX): Likewise.
21252         (MEMCHR): Use ANSI prototype and optimize algorithm.
21254         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
21256 2014-07-03  Roland McGrath  <roland@hack.frob.com>
21258         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
21259         (lll_futex_timed_wait_bitset): Fix syscall argument count.
21261         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
21262         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
21263         in a bare environment with no <stdlib.h> installed.
21264         * sysdeps/nptl/configure: Regenerated.
21266         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
21268         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
21269         AC_EGREP_CPP for kernel header checks, so they only succeed if
21270         including <linux/version.h> actually works right.
21271         * sysdeps/unix/sysv/linux/configure: Regenerated.
21273         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
21274         value so it's not diagnosed as unused.
21276         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
21277         thing) with "ifeq ($(subdir),rt)".
21279 2014-07-03  Richard Henderson  <rth@redhat.com>
21281         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
21282         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
21283         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
21285         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
21286         (math_force_eval): New.
21288         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
21289         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
21291         * sysdeps/alpha/fpu/s_round.c: Remove file.
21292         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
21294         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
21295         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
21296         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
21297         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
21298         (_dl_start, print_statistics): Likewise.
21299         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
21300         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
21302         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21303         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21304         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21305         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21306         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21307         (HP_SMALL_TIMING_AVAIL): Define.
21308         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21309         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21310         (HP_SMALL_TIMING_AVAIL): Define.
21311         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21312         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21314         * sysdeps/aarch64/hp-timing.h: New file.
21316         * sysdeps/generic/hp-timing.h: Remove dead comment.
21317         * sysdeps/generic/hp-timing-common.h: New file.
21318         * sysdeps/alpha/hp-timing.h: Include it.
21319         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
21320         * sysdeps/i386/i686/hp-timing.h: Likewise.
21321         * sysdeps/ia64/hp-timing.h: Likewise.
21322         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21323         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21324         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21325         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21326         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
21327         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
21328         (hp_timing_t): New.
21330         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
21331         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
21332         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
21333         * elf/rtld.c (_dl_start_final): Likewise.
21334         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
21335         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21336         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21337         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21338         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21339         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21340         (HP_TIMING_DIFF_INIT): Remove.
21341         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21342         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21343         (HP_TIMING_DIFF_INIT): Remove.
21344         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21345         * sysdeps/i386/i686/hp-timing.c: Remove file.
21346         * sysdeps/x86_64/hp-timing.c: Remove file.
21347         * sysdeps/ia64/hp-timing.c: Remove file.
21348         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
21349         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
21350         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
21351         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
21353         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
21354         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
21355         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
21356         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21357         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21358         (HP_TIMING_ACCUM): Remove.
21359         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21360         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
21361         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21363         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
21364         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
21365         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
21366         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
21367         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
21368         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21369         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
21370         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21372         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
21374 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
21376         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
21378 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21380         Sync up with gettext.
21381         * intl/loadmsgcat.c: Define O_BINARY if not defined.
21382         [_MSC_VER]: Include malloc.h
21383         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
21384         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
21385         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
21386         TEMP_FAILURE_RETRY.  Cast return of alloca.
21387         [!_LIBC] Call gl_rwlock_init.
21388         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
21390 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21392         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
21393         before checking its value.
21395 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21397         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
21399         * debug/memcpy_chk.c: Don't include pagecopy.h.
21400         * debug/mempcpy_chk.c: Likewise.
21401         * string/memcpy.c: Likewise.
21402         * string/memmove.c: Likewise.
21403         * sysdeps/powerpc/memmove.c: Likewise.
21404         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
21405         definition of PAGE_COPY_FWD_MAYBE here...
21406         * sysdeps/generic/pagecopy.h: ... from here.
21407         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
21409 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21410             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21412         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
21413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
21414         optimizations.
21415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21416         (__libc_ifunc_impl_list): Likewise.
21417         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
21418         multiarch strcat for PPC64.
21419         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
21420         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
21422 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21424         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
21426 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21428         * intl/loadmsgcat.c: Remove declaration of
21429         get_sysdep_segment_value.
21430         (get_sysdep_segment_value): Use ISO C style.
21431         (_nl_load_domain): Use ISO C style.  Get rid of redundant
21432         semicolon.  Fix typo and formatting in comment.
21433         (_nl_unload_domain): Use ISO C style.
21435         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
21437 2014-07-02  Will Newton  <will.newton@linaro.org>
21439         * malloc/obstack.c: Merge from gnulib master.
21440         [HAVE_CONFIG_H]: Remove conditional code.
21441         [!_LIBC]: Include config.h.
21442         [!ELIDE_CODE]: Don't include inttypes.h, include
21443         stdint.h unconditionally.
21444         (print_and_abort): Mark as _Noreturn.
21445         (_obstack_allocated_p): Mark as __attribute_pure__.
21446         (obstack_free): Rename to __obstack_free.
21447         [!__attribute__]: Remove conditional code.
21448         * malloc/obstack.h: Merge from gnulib master.
21449         [__cplusplus]: Move conditional down.
21450         [!__attribute_pure__]: Define __attribute_pure__ here
21451         if it is not already defined.
21452         (_obstack_memory_used): Mark as __attribute_pure__.
21453         [!__obstack_free]: Define as obstack_free.
21454         [__GNUC__]: Remove check for ancient NeXT gcc.
21456 2014-07-02  Will Newton  <will.newton@linaro.org>
21457             Paul Eggert  <eggert@cs.ucla.edu>
21459         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
21461 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21463         * resolv/gethnamaddr.c: Add comment warning that the file is
21464         not maintained.
21466 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
21468         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
21469         entries.
21471         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
21472         entry for aio_cancel and aio_cancel64.
21473         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
21474         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
21475         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
21476         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
21477         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
21478         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
21479         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
21480         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
21481         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
21482         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
21483         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
21484         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
21485         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
21487 2014-07-01  Roland McGrath  <roland@hack.frob.com>
21489         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
21490         * nptl/pthread_mutex_lock.c: Likewise.
21491         * nptl/pthread_mutex_timedlock.c: Likewise.
21492         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
21494 2014-07-01  Richard henderson  <rth@redhat.com>
21496         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
21497         (__isnan, __isnanl): Remove.
21498         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
21500         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21502 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21504         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21506 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21508         * resolv/nss_dns/dns-host.c (getanswer_r)
21509         [MULTI_PTRS_ARE_ALIASES]: Remove code.
21511 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
21513         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21514         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
21515         undefine.
21516         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
21517         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
21519 2014-07-01  Roland McGrath <roland@hack.frob.com>
21521         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
21522         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
21524         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
21525         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
21527         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
21528         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
21529         ... here.
21530         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
21531         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
21533         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
21534         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
21535         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
21536         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
21538         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
21539         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
21540         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
21541         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
21542         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
21543         Moved ...
21544         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
21545         ... here.
21546         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
21547         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
21548         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
21549         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
21550         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
21551         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
21552         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
21553         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
21554         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
21555         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
21556         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
21557         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
21558         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
21559         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
21560         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
21561         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
21562         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
21563         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
21564         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
21565         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
21566         ... here.
21567         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
21568         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
21569         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
21570         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
21571         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
21572         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
21573         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
21574         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
21576 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
21578         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
21579         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
21580         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
21581         Add sysdep.
21583 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21587 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
21589         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21590         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21592         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21594         * sysdeps/arm/libm-test-ulps: Regenerated.
21596 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
21597             Roland McGrath <roland@hack.frob.com>
21599         * test-skeleton.c (signal_handler): Kill the whole process group
21600         before killing the child individually.
21601         (main): Report any failure on `setpgid'.
21603 2014-06-30  Roland McGrath  <roland@hack.frob.com>
21605         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
21606         from _TLS_H to _ARM_NPTL_TLS_H.
21607         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
21608         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
21610 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
21612         [BZ #16539]
21613         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
21614         (__expm1l): Return argument unchanged when small but not
21615         subnormal.
21617         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
21618         include macro name.
21619         (_FP_UNPACK_RAW_1_P): Likewise.
21620         (_FP_PACK_RAW_1): Likewise.
21621         (_FP_PACK_RAW_1_P): Likewise.
21622         (_FP_MUL_MEAT_1_wide): Likewise.
21623         (_FP_MUL_MEAT_DW_1_hard): Likewise.
21624         (_FP_MUL_MEAT_1_hard): Likewise.
21625         (_FP_DIV_MEAT_1_imm): Likewise.
21626         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
21627         (_FP_DIV_MEAT_1_udiv): Likewise.
21628         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
21629         (_FP_UNPACK_RAW_2): Likewise.
21630         (_FP_UNPACK_RAW_2_P): Likewise.
21631         (_FP_PACK_RAW_2): Likewise.
21632         (_FP_PACK_RAW_2_P): Likewise.
21633         (_FP_MUL_MEAT_DW_2_wide): Likewise.
21634         (_FP_MUL_MEAT_2_wide): Likewise.
21635         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
21636         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21637         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
21638         (_FP_MUL_MEAT_2_gmp): Likewise.
21639         (_FP_DIV_MEAT_2_udiv): Likewise.
21640         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
21641         (_FP_FRAC_SRL_4): Likewise.
21642         (_FP_FRAC_SRST_4): Likewise.
21643         (_FP_FRAC_SRS_4): Likewise.
21644         (_FP_UNPACK_RAW_4): Likewise.
21645         (_FP_UNPACK_RAW_4_P): Likewise.
21646         (_FP_PACK_RAW_4): Likewise.
21647         (_FP_PACK_RAW_4_P): Likewise.
21648         (_FP_MUL_MEAT_DW_4_wide): Likewise.
21649         (_FP_MUL_MEAT_4_wide): Likewise.
21650         (_FP_MUL_MEAT_4_gmp): Likewise.
21651         (umul_ppppmnnn): Likewise.
21652         (_FP_DIV_MEAT_4_udiv): Likewise.
21653         (__FP_FRAC_ADD_4): Likewise.
21654         (__FP_FRAC_SUB_3): Likewise.
21655         (__FP_FRAC_SUB_4): Likewise.
21656         (__FP_FRAC_DEC_3): Likewise.
21657         (__FP_FRAC_DEC_4): Likewise.
21658         (__FP_FRAC_ADDI_4): Likewise.
21659         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
21660         (_FP_FRAC_SRL_8): Likewise.
21661         (_FP_FRAC_SRS_8): Likewise.
21663         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
21664         include macro name.
21665         (FP_UNPACK_RAW_EP): Likewise.
21666         (FP_PACK_RAW_E): Likewise.
21667         (FP_PACK_RAW_EP): Likewise.
21668         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
21669         (_FP_ISSIGNAN): Likewise.
21670         (_FP_ADD_INTERNAL): Likewise.
21671         (_FP_FMA): Likewise.
21672         (_FP_CMP): Likewise.
21673         (_FP_SQRT): Likewise.
21674         (_FP_TO_INT): Likewise.
21675         (_FP_FROM_INT): Likewise.
21676         (FP_EXTEND): Likewise.
21677         (_FP_DIV_MEAT_N_loop): Likewise.
21679 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
21681         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
21682         throughout.
21684 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
21686         [BZ #17097]
21687         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
21688         result with correct sign in case of exponents that produce
21689         overflow except for X very close to 1.
21691 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
21693         mktime: merge #if/#ifdef usage from glibc
21694         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
21695         as that works with both Glibc's and Gnulib's style.
21696         See thread starting at Siddhesh Poyarekar's bug report at:
21697         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
21699 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21701         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
21702         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
21703         * sysdeps/tile/tilegx/memmove.c: Remove file.
21705 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
21707         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
21708         abi-name definition.
21709         * scripts/soversions.awk: Do not handle or generate ABI lines.
21710         * shlib-versions: Remove ABI entries.
21711         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
21712         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
21714 2014-06-27  Roland McGrath  <roland@hack.frob.com>
21716         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
21717         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
21718         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
21719         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
21720         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
21721         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
21722         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
21723         Moved ...
21724         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
21725         ... here.
21726         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
21727         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
21728         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
21729         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
21730         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
21731         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
21732         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
21733         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
21734         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
21735         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
21736         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
21737         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
21738         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
21739         Moved ...
21740         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
21741         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
21742         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
21743         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
21744         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
21745         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
21746         Moved ...
21747         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
21748         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
21749         Moved ...
21750         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
21751         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
21752         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
21753         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
21754         Moved ...
21755         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
21756         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
21757         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
21758         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
21759         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
21760         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
21761         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
21762         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
21763         Moved ...
21764         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
21765         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
21766         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
21767         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
21768         Moved ...
21769         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
21770         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
21771         Moved ...
21772         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
21773         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
21774         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
21775         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
21776         Moved ...
21777         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
21778         ... here.
21779         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
21780         Identical file removed.
21781         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
21782         Moved ...
21783         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
21784         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
21785         Identical file removed.
21786         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
21787         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
21788         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
21789         Moved ...
21790         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
21791         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
21792         Identical file removed.
21793         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
21794         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
21795         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
21796         Identical file removed.
21797         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
21798         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
21799         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
21800         Identical file removed.
21801         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
21802         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
21803         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
21804         Identical file removed.
21805         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
21806         Moved ...
21807         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
21808         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
21809         Identical file removed.
21810         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
21811         Moved ...
21812         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
21813         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
21814         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
21815         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
21816         Identical file removed.
21817         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
21818         Moved ...
21819         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
21820         ... here.
21821         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
21822         Identical file removed.
21823         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
21824         Moved ...
21825         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
21826         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
21827         Identical file removed.
21828         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
21829         Moved ...
21830         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
21831         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
21832         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
21833         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
21834         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
21835         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
21836         Moved ...
21837         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
21838         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
21839         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
21841         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
21842         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
21843         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
21844         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
21845         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
21847 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
21849         [BZ #17092]
21850         * nscd/nscd.c (monitor_child): Return exit status of child
21851         instead of return value from wait syscall.
21853 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
21855         * configure.ac (libc_commonpagesize): Remove variable.
21856         (libc_relro_required): Likewise.
21857         (libc_cv_z_relro): Remove configure test.
21858         * configure: Regenerated.
21859         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
21860         variable.
21861         (libc_relro_required): Likewise.
21862         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
21863         (libc_relro_required): Likewise.
21864         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
21865         (libc_relro_required): Likewise.
21866         * sysdeps/arm/preconfigure: Regenerated.
21867         * sysdeps/ia64/preconfigure: Remove file.
21868         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
21869         variable.
21870         (libc_relro_required): Likewise.
21872         [BZ #16561]
21873         [BZ #16562]
21874         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
21875         (__ieee754_yn): Set FE_TONEAREST mode internally and then
21876         recompute overflowing results in original rounding mode.
21877         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
21878         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
21879         recompute overflowing results in original rounding mode.
21880         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
21881         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21882         recompute overflowing results in original rounding mode.
21883         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
21884         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21885         recompute overflowing results in original rounding mode.
21886         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
21887         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21888         recompute overflowing results in original rounding mode.
21889         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
21890         (libc_feholdsetround_ctx): New macro.
21891         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
21892         * sysdeps/i386/fpu/libm-test-ulps: Update.
21893         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
21895 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21897         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
21898         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
21899         corresponding .cpsetup call.
21901 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21903         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
21904         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
21905         * sysdeps/arm/Makefile [$(subdir) = csu]
21906         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
21907         (static-only-routines): Add aeabi_read_tp here.
21908         (shared-only-routines): Add libc-aeabi_read_tp here.
21909         (CFLAGS-libc-start.c): Add -fexceptions here.
21910         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
21911         (sysdep_routines, static-only-routines, shared-only-routines):
21912         Don't add to these here.
21913         (CFLAGS-libc-start.c): Likewise.
21915         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
21916         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21917         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
21918         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21919         * sysdeps/arm/Makefile [$(subdir) = rt]
21920         (librt-sysdep_routines, librt-shared-only-routines):
21921         Append rt-aeabi_unwind_cpp_pr1 here.
21922         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
21923         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
21924         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
21925         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21926         Append nptl-aeabi_unwind_cpp_pr1 here.
21927         (tests): Filter out tst-cleanupx4 here.
21928         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
21929         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
21930         Don't do those here.
21932 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21934         * scripts/list-sources.sh: Do not handle ports specially.
21936 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21938         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
21939         * sysdeps/arm/feupdateenv.c: Likewise.
21941         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
21943 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21945         * manual/texinfo.tex: Update to version 2014-05-05.10 with
21946         trailing whitespace removed.
21947         * scripts/config.guess: Update to version 2014-03-23.
21948         * scripts/config.sub: Update to version 2014-05-01
21949         * scripts/install-sh: Update to version 2013-12-25.23.
21950         * scripts/move-if-change: Update from gnulib.
21952 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21954         * debug/memmove_chk.c: Remove pagecopy.h include.
21956 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
21958         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
21959         identical to gnulib mktime.
21961 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21963         * configure.ac: Do not test for machine being rs6000.  Do not test
21964         for powerpc*-*soft.
21965         * configure: Regenerated.
21967         [BZ #11505]
21968         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
21969         test.
21970         * configure: Regenerated.
21971         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
21972         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
21973         Remove configure test.
21974         * sysdeps/arm/configure: Regenerated.
21975         * sysdeps/nptl/configure.ac: Do not check
21976         libc_cv_asm_cfi_directives.
21977         * sysdeps/nptl/configure: Regenerated.
21978         * sysdeps/x86_64/nptl/configure.ac: Remove file.
21979         * sysdeps/x86_64/nptl/configure: Remove generated file.
21980         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
21981         unconditional.
21982         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
21984 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21986         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
21987         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
21988         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
21989         it is defined.
21991         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
21992         instead of whether it is defined.
21993         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
21994         * sysdeps/hppa/dl-machine.h: Likewise.
21995         * sysdeps/ia64/dl-machine.h: Likewise.
21996         * sysdeps/m68k/dl-machine.h: Likewise.
21997         * sysdeps/microblaze/dl-machine.h: Likewise.
21998         * sysdeps/mips/dl-machine.: Likewise.
21999         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22000         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22001         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22002         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22003         * sysdeps/sh/dl-machine.h: Likewise.
22004         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22005         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22006         * sysdeps/tile/dl-machine.h: Likewise.
22007         * sysdeps/x86_64/dl-machine.h: Likewise.
22009         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
22010         code.
22011         (verify_persistent_db): Likewise.
22013 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
22016         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
22017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
22018         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
22019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22020         Moved ...
22021         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
22022         ... here.
22023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
22024         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
22025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
22026         Identical file removed.
22027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
22028         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
22029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
22030         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
22031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
22032         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
22033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
22034         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
22035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
22036         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
22037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22038         Moved ...
22039         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
22040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
22041         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
22042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
22043         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
22044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22045         Moved ...
22046         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
22047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
22048         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
22049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
22050         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
22051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22052         Identical file removed.
22053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
22054         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
22055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
22056         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
22057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22058         Moved ...
22059         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
22060         ... here.
22061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
22062         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
22063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
22064         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
22065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
22066         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
22067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
22068         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
22069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
22070         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
22071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22072         Moved ...
22073         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
22074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
22075         Moved ...
22076         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
22077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
22078         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
22079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22080         Moved ...
22081         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
22082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
22083         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
22085         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
22086         folded into ...
22087         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
22088         * sysdeps/unix/sysv/linux/s390/Versions
22089         (libpthread: GLIBC_2.19): New version set.
22090         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
22091         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
22092         (librt: GLIBC_2.3.3): New version set.
22093         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
22094         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
22095         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
22096         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
22097         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
22098         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
22099         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
22100         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
22101         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
22102         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
22103         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
22104         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
22105         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
22106         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
22107         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
22108         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
22109         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
22110         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
22111         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
22112         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
22113         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
22114         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
22115         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
22116         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
22117         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
22118         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
22119         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
22120         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
22121         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
22122         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
22123         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
22124         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
22125         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
22126         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
22127         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
22128         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
22129         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
22130         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
22131         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
22132         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
22133         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
22134         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
22135         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
22136         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
22137         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
22139         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
22140         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
22141         (__libc_vfork): Define the function under this name.
22142         [!NOT_IN_libc] (__vfork): Make this an alias.
22143         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22144         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
22145         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
22146         (__libc_vfork): Define the function under this name.
22147         [!NOT_IN_libc] (__vfork): Make this an alias.
22148         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22149         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
22150         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
22151         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
22152         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
22153         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22155         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
22156         code that was previously under [RESET_PID].
22157         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22158         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
22159         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
22161         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
22162         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
22163         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
22164         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
22165         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
22166         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
22167         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
22168         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
22169         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
22170         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
22171         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
22172         Moved ...
22173         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22174         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
22175         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
22176         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
22177         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
22178         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
22179         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
22180         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
22181         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
22182         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
22183         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
22184         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
22185         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
22186         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
22187         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
22188         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
22189         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
22190         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
22191         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
22192         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
22193         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
22194         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
22195         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
22196         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
22197         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
22198         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
22199         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
22200         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
22201         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
22203 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22205         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
22206         that was previously under [RESET_PID].
22207         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
22209 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22211         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
22212         not undefine and redefine.
22213         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
22214         [O_CLOEXEC]: Make code unconditional.
22215         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
22216         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
22217         <kernel-features.h>.
22218         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
22219         conditional variable definition.
22220         (shm_open) [O_CLOEXEC]: Make code unconditional.
22221         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
22222         code.
22224         * configure.ac (USE_REGPARMS): Don't define here.
22225         * configure: Regenerated.
22226         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
22227         * sysdeps/i386/configure: Regenerated.
22229         * nptl/createthread.c: Don't include kernel-features.h.
22230         * nptl/pthread_cancel.c: Likewise.
22231         * nptl/pthread_condattr_setclock.c: Likewise.
22232         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
22233         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
22234         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
22235         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
22236         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
22237         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
22238         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22239         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
22240         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22241         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
22242         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22243         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
22244         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
22245         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
22246         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
22247         * nscd/gai.c: Likewise.
22248         * nss/nss_db/db-open.c: Likewise.
22249         * sysdeps/generic/ldsodefs.h: Likewise.
22250         * sysdeps/sh/nptl/tls.h: Likewise.
22251         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22252         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
22253         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
22254         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
22255         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
22256         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22257         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
22258         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22259         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22260         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22261         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22262         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22263         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
22264         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
22265         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
22266         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
22267         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
22268         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
22269         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
22270         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
22271         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22272         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22273         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
22274         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
22275         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22276         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22277         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
22278         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
22279         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22280         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
22281         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
22282         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
22283         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
22284         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22285         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22286         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22287         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22288         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
22289         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
22290         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22291         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22292         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
22293         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
22294         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22295         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
22296         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
22297         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
22298         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
22299         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
22300         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22301         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22302         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22303         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22304         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22305         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
22306         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22307         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22308         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
22309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
22311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
22312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
22313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
22314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
22320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
22321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
22322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
22323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
22329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
22330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
22331         * sysdeps/unix/sysv/linux/pread.c: Likewise.
22332         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
22333         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
22334         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
22335         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
22336         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
22337         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
22338         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
22339         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
22340         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22341         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
22342         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22343         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
22344         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
22345         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
22346         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
22347         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22348         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
22349         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
22350         * sysdeps/unix/sysv/linux/system.c: Likewise.
22351         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
22352         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22353         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22354         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22355         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22356         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22357         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22359         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
22360         * configure: Regenerated.
22361         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
22363         * configure.ac (base_machine): Do not set specially for particular
22364         machines here.
22365         * configure: Regenerated.
22366         * sysdeps/powerpc/preconfigure: Move machine and base_machine
22367         settings from configure.ac.
22368         * sysdeps/i386/preconfigure: New file.
22369         * sysdeps/s390/preconfigure: Likewise.
22370         * sysdeps/sh/preconfigure: Likewise.
22371         * sysdeps/sparc/preconfigure: Likewise.
22373 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22375         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
22376         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
22377         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
22378         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
22379         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
22380         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
22381         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
22382         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
22383         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
22384         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
22385         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
22386         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
22387         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
22388         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
22389         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
22390         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
22391         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
22392         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
22393         * sysdeps/sparc/sparc64/Makefile: ... appended here.
22395         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
22396         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
22397         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
22398         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
22399         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
22400         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
22401         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
22402         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
22403         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
22404         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
22405         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
22406         * sysdeps/sparc/sparc32/sem_post.c: ... here.
22407         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
22408         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
22409         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
22410         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
22411         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
22412         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
22413         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
22414         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
22415         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
22416         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
22417         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
22418         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
22419         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
22420         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
22421         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
22422         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
22423         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
22424         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
22425         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
22426         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
22427         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
22428         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
22429         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
22430         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
22431         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
22432         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
22434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
22435         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
22436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
22437         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
22438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22439         Moved ...
22440         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
22441         ... here.
22442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
22443         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
22444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
22445         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
22446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
22447         Moved ...
22448         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
22449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
22450         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
22451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
22452         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
22453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
22454         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
22455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22456         Moved ...
22457         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
22458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22459         Moved ...
22460         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
22461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
22462         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
22463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22464         Moved ...
22465         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
22466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
22467         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
22468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
22469         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
22470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
22471         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
22472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
22473         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
22474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22475         Moved ...
22476         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
22477         ... here.
22478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
22479         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
22480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
22481         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
22482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
22483         Moved ...
22484         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
22485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
22486         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
22487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
22488         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
22489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
22490         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
22491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22492         Moved ...
22493         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
22494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22495         Moved ...
22496         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
22497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
22498         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
22499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22500         Moved ...
22501         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
22502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
22503         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
22504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
22505         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
22507 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22509         * timezone/checktab.awk: Update from tzcode 2014e.
22510         * timezone/private.h: Likewise.
22511         * timezone/tzfile.h: Likewise.
22512         * timezone/zdump.c: Likewise.
22513         * timezone/zic.c: Likewise.
22515         * sysdeps/unix/sysv/linux/kernel-features.h
22516         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
22517         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
22518         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
22519         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22520         Remove conditional code.
22522 2014-06-25  Will Newton  <will.newton@linaro.org>
22524         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
22525         (_dl_arm_cap_flags): Add HWCAP2 values.
22526         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
22527         (_DL_HWCAP_COUNT): Increase to 37.
22528         (_DL_HWCAP_LAST): New define.
22529         (_DL_HWCAP2_LAST): New define.
22530         (_dl_procinfo): Add support for printing
22531         AT_HWCAP2 entries.
22532         (_dl_string_hwcap): Use _dl_hwcap_string.
22534 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22538 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22540         * README: Do not mention ports directory.
22542         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
22543         Remove macro.
22544         * sysdeps/unix/sysv/linux/futimes.c: Do not include
22545         <kernel-features.h>.
22546         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
22547         conditional variable definition.
22548         (__futimes): Update comment.
22549         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
22550         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
22552         [BZ #16560]
22553         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
22554         arguments close to 0.
22555         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
22556         Likewise.
22557         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
22558         Likewise.
22559         * math/auto-libm-test-in: Add more tests of exp10.
22560         * math/auto-libm-test-out: Regenerated.
22561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22563         * sysdeps/unix/sysv/linux/kernel-features.h
22564         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
22565         * sysdeps/unix/sysv/linux/readv.c: Do not include
22566         <kernel-features.h>.
22567         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
22568         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
22569         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
22570         unconditional.
22571         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
22572         conditional code.
22573         * sysdeps/unix/sysv/linux/writev.c: Do not include
22574         <kernel-features.h>.
22575         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
22576         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
22577         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
22578         unconditional.
22579         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
22580         conditional code.
22582 2014-06-25  Will Newton  <will.newton@linaro.org>
22584         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
22585         comment changes throughout the file.  Remove checks
22586         for HAVE_*_H definitions that are not required.
22587         (__gen_tempname): Call abort if an unknown kind value is
22588         passed.
22590 2014-06-25  Andreas Schwab  <schwab@suse.de>
22592         [BZ #17086]
22593         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
22594         scalbln, scalblnf, scalblnl in libc.
22596 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22598         [BZ #17086]
22599         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
22600         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22601         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22603 2014-06-24  Roland McGrath  <roland@hack.frob.com>
22605         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
22606         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
22607         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
22608         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
22609         Update #include.
22610         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
22611         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
22612         Update #include.
22613         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
22614         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
22615         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
22616         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
22617         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
22618         * sysdeps/x86/bits/pthreadtypes.h: ... here.
22619         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
22620         * sysdeps/x86/bits/semaphore.h: ... here.
22621         * sysdeps/x86/nptl/elide.h: Moved ...
22622         * sysdeps/x86/elide.h: ... here.
22623         * sysdeps/x86_64/nptl/Implies: File removed.
22624         * sysdeps/i386/nptl/Implies: File removed.
22626 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
22628         [BZ #16539]
22629         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
22630         return the argument for normal arguments with exponent below -64.
22631         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22632         Likewise.
22633         * math/auto-libm-test-in: Add another test of expm1.
22634         * math/auto-libm-test-out: Regenerated.
22636         [BZ #16287]
22637         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
22638         calling __erfcl for arguments at least 16.
22639         * math/auto-libm-test-in: Add more tests of erf.
22640         * math/auto-libm-test-out: Regenerated.
22642         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
22643         individual architectures.
22644         * sysdeps/unix/sysv/linux/configure: Regenerated.
22645         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
22646         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
22647         * sysdeps/unix/sysv/linux/powerpc/configure.ac
22648         (ldd_rewrite_script): Define variable.
22649         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
22651         file.
22652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
22653         generated file.
22654         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
22655         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
22656         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
22657         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
22658         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
22659         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
22660         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
22661         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
22663 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22665         [BZ #17084]
22666         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
22667         Rename member __data.d to __data.__elision_data.
22669 2014-06-24  Wilco  <wdijkstr@arm.com>
22671         * NEWS: Add 16918 to fixed bug list.
22673 2014-06-24  Wilco  <wdijkstr@arm.com>
22675         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
22677 2014-06-24  Wilco  <wdijkstr@arm.com>
22679         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
22680         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
22681         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
22682         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
22683         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
22684         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
22685         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
22686         Use _FPU_MASK_RM.
22688 2014-06-24  Wilco  <wdijkstr@arm.com>
22690         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
22692 2014-06-24  Wilco  <wdijkstr@arm.com>
22694         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
22695         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
22696         * sysdeps/arm/fesetround.c (fesetround): Remove space.
22697         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
22699 2014-06-24  Wilco  <wdijkstr@arm.com>
22701         [BZ #16918]
22702         * sysdeps/arm/feupdateenv.c (feupdateenv):
22703         Rewrite to reduce FPSCR accesses and fix return value.
22705 2014-06-24  Wilco  <wdijkstr@arm.com>
22707         * sysdeps/arm/fclrexcpt.c (feclearexcept):
22708         Optimize to avoid unnecessary FPSCR writes.
22709         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
22710         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
22711         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
22712         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
22714 2014-06-24  Wilco  <wdijkstr@arm.com>
22716         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
22717         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
22718         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
22719         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
22720         Call libc_fetestexcept_vfp.
22721         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
22722         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
22723         __SOFTFP__ ifdef so that they can be built for softfp.
22725 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22727         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
22728         argument type signed char.
22730         * Makerules (check-abi): Dump diff of symlist if the test
22731         fails.
22733 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22735         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
22736         using abort.
22738         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
22739         Remove unused variable ST.
22741 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
22743         [BZ #16354]
22744         [BZ #17061]
22745         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
22746         small arguments before calling __expm1.
22747         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
22748         small arguments before calling __expm1f.
22749         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
22750         small arguments before calling __expm1l.
22751         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22752         Likewise.
22753         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
22754         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
22755         spurious underflow for some cosh tests.
22756         * math/auto-libm-test-out: Regenerated.
22757         * sysdeps/i386/fpu/libm-test-ulps: Update.
22759         [BZ #17050]
22760         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
22761         (__ieee754_y1): Set errno if return value overflows.
22762         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
22763         (__ieee754_y1f): Set errno if return value overflows.
22764         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
22765         (__ieee754_y1l): Set errno if return value overflows.
22766         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
22767         (__ieee754_y1l): Set errno if return value overflows.
22768         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
22769         * math/auto-libm-test-out: Regenerated.
22771         * math/gen-auto-libm-tests.c: Document use of
22772         ignore-zero-inf-sign.
22773         (input_flag_type): Add value flag_ignore_zero_inf_sign.
22774         (input_flags): Add ignore-zero-inf-sign.
22775         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
22776         * math/gen-libm-test.pl (generate_testfile): Handle
22777         ignore-zero-inf-sign.
22778         * math/auto-libm-test-in: Mark some cpow tests with
22779         ignore-zero-inf-sign and some with xfail-rounding.
22780         * math/auto-libm-test-out: Regenerated.
22781         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
22782         * sysdeps/i386/fpu/libm-test-ulps: Update.
22783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22785         [BZ #16315]
22786         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
22787         overflowing or underflowing operations take place with sign of
22788         result.
22789         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22790         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22791         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
22792         (__ieee754_pow): Recompute overflowing and underflowing results in
22793         original rounding mode.
22794         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
22795         (__powl_helper): Allow negative argument X and scale negated value
22796         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
22797         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
22798         overflowing or underflowing operations take place with sign of
22799         result.
22800         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
22801         Include <math.h>.
22802         * math/auto-libm-test-in: Add more tests of pow.
22803         * math/auto-libm-test-out: Regenerated.
22804         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
22805         (pow_tonearest_test_data): Remove.
22806         (pow_test_tonearest): Likewise.
22807         (pow_towardzero_test_data): Likewise.
22808         (pow_test_towardzero): Likewise.
22809         (pow_downward_test_data): Likewise.
22810         (pow_test_downward): Likewise.
22811         (pow_upward_test_data): Likewise.
22812         (pow_test_upward): Likewise.
22813         (main): Don't call removed functions.
22814         * sysdeps/i386/fpu/libm-test-ulps: Update.
22815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22817 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
22820         Moved ...
22821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
22822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22823         Moved ...
22824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
22825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22826         Moved ...
22827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
22828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22829         Moved ...
22830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
22831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22832         File removed.
22833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22834         File removed.
22835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
22836         File removed.
22837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
22838         File removed.
22839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
22840         File removed.
22841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
22842         File removed.
22843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
22844         File removed.
22845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22846         File removed.
22847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
22848         File removed.
22849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22850         File removed.
22851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
22852         File removed.
22853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
22854         File removed.
22855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
22856         Moved ...
22857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
22858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
22859         Moved ...
22860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
22861         ... here.
22862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
22863         Moved ...
22864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
22865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
22866         Moved ...
22867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
22868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
22869         Moved ...
22870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
22871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
22872         Moved ...
22873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
22874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
22875         Moved ...
22876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
22877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
22878         Moved ...
22879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
22880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
22881         Moved ...
22882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
22883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
22884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
22885         ... here.
22886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
22887         Moved ...
22888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
22889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22890         Moved ...
22891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22892         ... here.
22893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
22894         Moved ...
22895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22896         ... here.
22897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22898         Moved ...
22899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22900         ... here.
22901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22902         Moved ...
22903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
22904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22905         Moved ...
22906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
22907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
22908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
22909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22910         Moved ...
22911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
22912         ... here.
22913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22914         Moved ...
22915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
22916         ... here.
22917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22918         Moved ...
22919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
22920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22921         Moved ...
22922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
22923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22924         Moved ...
22925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
22926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22927         Moved ...
22928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
22929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22930         Moved ...
22931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
22932         ... here.
22933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22934         Moved ...
22935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
22936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22937         Moved ...
22938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
22939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22940         Moved ...
22941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
22942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22943         Moved ...
22944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
22945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
22946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
22947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22948         Moved ...
22949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
22950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22951         Moved ...
22952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
22953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22954         Moved ...
22955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
22956         ... here.
22957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22958         Moved ...
22959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
22960         ... here.
22961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22962         Moved ...
22963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
22964         ... here.
22965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22966         Moved ...
22967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
22968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22969         Moved ...
22970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
22971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22972         Moved ...
22973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
22974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22975         Moved ...
22976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
22977         ... here.
22978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22979         Moved ...
22980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
22981         ... here.
22982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22983         Moved ...
22984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
22985         ... here.
22986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22987         Moved ...
22988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
22989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22990         Moved ...
22991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
22993 2014-06-23  Will Newton  <will.newton@linaro.org>
22994             Wilco  <wdijkstr@arm.com>
22996         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
22997         implementation.  Include get-rounding-mode.h.
22998         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
22999         [!libc_feholdsetround_noex_ctx]: Define
23000         libc_feholdsetround_noex_ctx.
23001         [!libc_feholdsetround_noexf_ctx]: Define
23002         libc_feholdsetround_noexf_ctx.
23003         [!libc_feholdsetround_noexl_ctx]: Define
23004         libc_feholdsetround_noexl_ctx.
23005         (libc_feholdsetround_ctx): New function.
23006         (libc_feresetround_ctx): New function.
23007         (libc_feholdsetround_noex_ctx): New function.
23008         (libc_feresetround_noex_ctx): New function.
23010 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23012         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
23013         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
23014         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
23015         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
23016         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
23017         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
23019         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
23020         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
23021         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
23022         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
23023         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
23024         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
23025         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
23026         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
23027         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
23028         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
23029         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
23030         Moved ...
23031         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
23032         ... here.
23033         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
23034         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
23035         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
23036         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
23037         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
23038         Moved ...
23039         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
23040         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
23041         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
23042         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
23043         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
23044         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
23045         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
23046         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
23047         Moved ...
23048         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
23049         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
23050         Moved ...
23051         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
23052         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
23053         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
23054         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
23055         Moved ...
23056         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
23057         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
23058         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
23059         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
23060         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
23061         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
23062         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
23063         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
23064         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
23065         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
23066         Moved ...
23067         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
23068         ... here.
23069         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
23070         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
23071         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
23072         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
23073         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
23074         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
23075         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
23076         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
23077         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
23078         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
23079         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
23080         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
23081         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
23082         Moved ...
23083         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
23084         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
23085         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
23086         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
23087         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
23088         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
23089         Moved ...
23090         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
23091         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
23092         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
23093         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
23094         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
23096         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
23097         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
23098         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
23099         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
23100         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
23101         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
23102         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
23103         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
23104         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
23105         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
23106         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
23107         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
23108         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
23109         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
23110         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
23111         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
23112         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
23113         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
23114         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
23115         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23116         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
23117         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
23118         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
23119         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
23120         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
23121         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
23122         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
23123         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
23125 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23127         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23128         (FALLOC_FL_COLLAPSE_RANGE): New macro.
23129         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
23130         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
23131         (IPV6_PMTUDISC_INTERFACE): Likewise.
23132         (IPV6_PMTUDISC_OMIT): Likewise.
23134 2014-06-23  Andreas Schwab  <schwab@suse.de>
23136         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
23137         Remove unused errout label.
23139 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23141         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
23142         macro: hardware supports Vector Crypto instructions.
23144 2014-06-23  Will Newton  <will.newton@linaro.org>
23146         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
23147         rather than __builtin_expect.
23149         * elf/dl-lookup.c (undefined_msg): Remove variable.
23150         (_dl_lookup_symbol_x): Replace undefined_msg with string
23151         literal.
23153         * elf/dl-lookup.c (do_lookup_unique): New function.
23154         (do_lookup_x): Move STB_GNU_UNIQUE handling code
23155         to a separate function.
23157 2014-06-23  Andreas Schwab  <schwab@suse.de>
23159         [BZ #17079]
23160         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23161         before reading the next line.
23163 2014-06-23  Will Newton  <will.newton@linaro.org>
23165         * test-skeleton.c (signal_handler): Use printf and %m
23166         rather than perror.  Use printf rather than fprintf to
23167         stderr.  Use puts rather than fputs to stderr.
23168         (main): Likewise.
23170 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
23172         * nscd/nscd.c (thread_info_t): Remove typedef.
23173         (thread_info): Remove variable.
23175 2014-06-21  Allan McRae  <allan@archlinux.org>
23177         * NEWS: Mention CVE-2014-4043.
23179 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23181         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
23182         * nptl/smp.h: ... here.
23184         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23186         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
23187         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
23188         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
23189         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
23191         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23192         * nptl/stack-aliasing.h: New file.
23193         * sysdeps/i386/i686/stack-aliasing.h: New file.
23194         * sysdeps/i386/i686/nptl/Makefile: File removed.
23195         * sysdeps/x86_64/stack-aliasing.h: New file.
23196         * sysdeps/x86_64/nptl/Makefile
23197         (CFLAGS-pthread_create.c): Variable removed.
23199         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
23200         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
23201         old file.
23202         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
23203         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23204         old file.
23206 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
23208         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23209         (__ASSUME_SIGFRAME_V2): Remove macro.
23210         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23211         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
23212         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
23213         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
23214         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
23215         Declare as function.  Remove conditional macro definitions.
23216         (__default_rt_sa_restorer): Likewise.
23217         (__default_sa_restorer_v1): Remove declaration.
23218         (__default_sa_restorer_v2): Likewise.
23219         (__default_rt_sa_restorer_v1): Likewise.
23220         (__default_rt_sa_restorer_v2): Likewise.
23221         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
23222         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
23223         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
23225 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23227         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23228         (libpthread-routines): Add sysdep.
23229         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
23230         * sysdeps/unix/sysv/linux/sparc/Versions
23231         (libpthread: GLIBC_2.3.3): New version set.
23232         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
23233         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
23234         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
23235         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
23236         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
23237         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
23238         Moved ...
23239         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
23240         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
23241         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
23242         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
23243         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
23244         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
23245         * sysdeps/sparc/nptl/sem_init.c: ... here.
23246         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23247         * sysdeps/sparc/nptl/sem_post.c: ... here.
23248         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
23249         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
23250         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
23251         * sysdeps/sparc/nptl/sem_wait.c: ... here.
23252         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
23253         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
23254         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
23255         (libpthread-routines): Add cpu_relax.
23256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
23257         File removed.
23258         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
23259         (librt: GLIBC_2.3.3): New version set.
23260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
23261         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
23262         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
23263         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
23264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
23265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
23266         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
23267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
23268         Moved ...
23269         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
23270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
23271         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
23272         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
23273         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
23274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
23275         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
23276         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
23277         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
23278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
23279         Moved ...
23280         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
23281         Update #include.
23282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
23283         Moved ...
23284         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
23285         Update #include.
23286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
23287         Moved ...
23288         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
23289         Update #include.
23290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
23291         Moved ...
23292         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
23293         Update #include.
23294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
23295         Moved ...
23296         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
23297         Update #include.
23298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
23299         Moved ...
23300         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
23301         Update #include.
23302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
23303         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
23304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
23305         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
23306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
23307         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
23308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
23309         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
23310         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
23311         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
23312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23313         Moved ...
23314         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
23315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
23316         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
23317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
23318         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
23320 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23322         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
23323         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
23324         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23325         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
23326         * nscd/nscd.c: Likewise.
23327         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
23328         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
23329         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
23330         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
23332         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
23333         <kernel-features.h>.
23334         (init_mq_netlink): Remove conditional have_sock_cloexec
23335         definitions.  Remove code conditional on have_sock_cloexec < 0.
23336         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
23337         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
23338         * sysdeps/unix/sysv/linux/opensock.c: Do not include
23339         <kernel-features.h>.
23340         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
23341         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
23343 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23345         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23346         Add tests for memset_chk and memset.
23348         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
23349         with AVX2_Usable.
23351 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23353         [BZ #16046]
23354         * elf/tst-dl-iter-static.c: New file.
23355         * elf/Makefile (tests-static): Add tst-dl-iter-static.
23357         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
23358         error.
23360 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23362         * sysdeps/unix/sysv/linux/kernel-features.h
23363         (__ASSUME_F_GETOWN_EX): Remove macro.
23364         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
23365         <kernel-features.h>.
23366         (miss_F_GETOWN_EX): Remove variable or macro.
23367         (do_fcntl): Do not check miss_F_GETOWN_EX.
23368         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
23370         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
23371         Remove macro.
23372         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
23373         [!__ASSUME_AT_RANDOM]: Remove conditional code.
23374         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
23376         * sysdeps/unix/sysv/linux/kernel-features.h
23377         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
23378         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
23379         [ADJ_OFFSET_SS_READ]: Make code unconditional.
23380         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
23382 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23384         [BZ #17075]
23385         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
23386         Fix calculation of the symbol's value.
23387         * sysdeps/arm/tst-armtlsdescloc.c: New file.
23388         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
23389         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
23390         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
23391         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
23392         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
23393         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
23394         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
23395         (modules-names): Add `tst-armtlsdescmod',
23396         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
23397         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
23398         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23399         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
23400         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
23401         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23402         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
23403         ($(objpfx)tst-armtlsdescloc): New dependency.
23404         ($(objpfx)tst-armtlsdescextnow): Likewise.
23405         ($(objpfx)tst-armtlsdescextlazy): Likewise.
23406         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
23407         TLS scheme support.
23408         * sysdeps/arm/configure: Regenerate.
23410 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23412         * include/fcntl.h (__atfct_seterrno): Remove prototype.
23413         (__atfct_seterrno_2): Likewise.
23414         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
23415         <kernel-features.h>.
23416         (__ASSUME_ATFCTS): Do not undefine and redefine.
23417         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
23418         (__have_atfcts): Remove conditional definition.
23419         (__fxstatat([__NR_fstatat64]: Make code unconditional.
23420         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
23421         unreachable if [__ASSUME_ATFCTS].
23422         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
23423         not undefine and redefine.
23424         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
23425         <kernel-features.h>.
23426         (faccessat) [__NR_faccessat]: Make code unconditional.
23427         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
23428         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
23429         <kernel-features.h>.
23430         (fchmodat) [__NR_fchmodat]: Make code unconditional.
23431         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
23432         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
23433         <kernel-features.h>.
23434         (fchownat) [__NR_fchownat]: Make code unconditional.
23435         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
23436         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
23437         <kernel-features.h>.
23438         (futimesat) [__NR_futimesat]: Make code unconditional.
23439         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
23440         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23441         <kernel-features.h>.
23442         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23443         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23444         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23445         <kernel-features.h>.
23446         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
23447         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
23448         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
23449         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23450         <kernel-features.h>.
23451         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
23452         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23453         * sysdeps/unix/sysv/linux/linkat.c: Do not include
23454         <kernel-features.h>.
23455         (linkat) [__NR_linkat]: Make code unconditional.
23456         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23457         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
23458         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
23459         <kernel-features.h>.
23460         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
23461         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
23462         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
23463         <kernel-features.h>.
23464         (mkdirat) [__NR_mkdirat]: Make code unconditional.
23465         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
23466         * sysdeps/unix/sysv/linux/openat.c: Do not include
23467         <kernel-features.h>.
23468         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
23469         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
23470         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
23471         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
23472         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
23473         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
23474         <kernel-features.h>.
23475         (readlinkat) [__NR_readlinkat]: Make code unconditional.
23476         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
23477         result of INLINE_SYSCALL directly, not via int variable.
23478         * sysdeps/unix/sysv/linux/renameat.c: Do not include
23479         <kernel-features.h>.
23480         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
23481         (renameat) [__NR_renameat]: Make code unconditional.
23482         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
23483         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
23484         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
23485         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
23486         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
23487         (__ASSUME_ATFCTS): Do not undefine and redefine.
23488         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
23489         <kernel-features.h>.
23490         (symlinkat) [__NR_symlinkat]: Make code unconditional.
23491         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23492         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
23493         <kernel-features.h>.
23494         (unlinkat) [__NR_unlinkat]: Make code unconditional.
23495         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23496         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
23497         (__ASSUME_ATFCTS): Do not undefine and redefine.
23498         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23499         <kernel-features.h>.
23500         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23501         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23502         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23503         <kernel-features.h>.
23504         (__xmknodat) [__NR_mknodat]: Make code unconditional.
23505         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
23507 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23509         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
23511 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
23513         [BZ #17069]
23514         * posix/regcomp.c (parse_reg_exp): Deallocate partially
23515         constructed tree before returning error.
23516         * posix/bug-regexp36.c: Expand test case.
23518 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23520         [BZ #6803]
23521         * math/libm-test.inc (scalbln_test_date):
23522         Add errno expectations.
23523         * math/w_scalblnf.c: New File.
23524         Add wrapper which checks for setting errno to ERANGE.
23525         Add weak_alias for corresponding scalbln function.
23526         * math/w_scalbln.c: Likewise.
23527         * math/w_scalblnl.c: Likewise.
23528         * math/Makefile (libm-calls): Add w_scalbln.
23529         * sysdeps/ieee754/flt-32/s_scalblnf.c:
23530         Remove weak_alias for corresponding scalbln function.
23531         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23532         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23533         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23534         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23535         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23536         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23537         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
23538         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23539         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
23540         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
23541         Remove long_double_symbol for scalblnl function in libm, libc.
23542         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
23543         Add wrapper which checks for setting errno to ERANGE.
23544         Add long_double_symbol for scalblnl function in libm, libc.
23545         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
23546         Remove long_double_symbol for scalblnl in libm.
23547         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
23548         Add wrapper which checks for setting errno to ERANGE.
23549         Add long_double_symbol for scalblnl function in libm.
23550         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
23551         Do not use wrapper because of own implementation.
23553 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
23555         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
23556         3 bytes for __pad1 for x32.
23557         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
23559 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
23560             H.J. Lu  <hongjiu.lu@intel.com>
23562         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
23563         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
23564         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23565         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23566         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23568 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
23570         [BZ #17069]
23571         * posix/regcomp.c (parse_expression): Deallocate partially
23572         constructed tree before returning error.
23573         * posix/Makefile.c (tests): Add bug-regex36.
23574         (generated): Add bug-regex36.mtrace.
23575         (tests-special): Add $(objpfx)bug-regex36-mem.out
23576         (bug-regex36-ENV): New variable.
23577         ($(objpfx)bug-regex36-mem.out): New rule.
23578         * posix/bug-regex36.c: New file.
23580 2014-06-19  Will Newton  <will.newton@linaro.org>
23582         * malloc/malloc.c (systrim): If extra is zero then return
23583         early.
23585 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23587         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
23589 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
23591         * sysdeps/aarch64/strchr.S: New file.
23593 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
23595         [BZ #17022]
23596         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
23597         from arguments -2 or below.
23598         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23599         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
23601 2014-06-18  Andreas Schwab  <schwab@suse.de>
23603         [BZ #17062]
23604         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
23605         of a bracket expr not to run off the end of the string.
23606         * posix/Makefile (tests): Add tst-fnmatch3.
23607         * posix/tst-fnmatch3.c: New file.
23609 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
23611         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
23612         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23613         [$(cross-compiling) = no]: Likewise.
23614         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23615         [$(cross-compiling) = no]: Likewise.
23617 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23619         [BZ #17031]
23620         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
23621         double, adjusted for any remainder from the high double.
23622         * math/libm-test.inc (nearbyint): Add tests.
23623         (rint): Likewise.
23625 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23627         * nptl/sysdeps/powerpc/Makefile: Moved ...
23628         * sysdeps/powerpc/nptl/Makefile: ... here.
23629         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
23630         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
23631         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
23632         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
23633         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
23634         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
23635         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
23636         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
23637         * nptl/sysdeps/powerpc/tls.h: Moved ...
23638         * sysdeps/powerpc/nptl/tls.h: ... here.
23640 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
23642         [BZ #16681]
23643         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
23644         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
23645         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
23646         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
23647         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
23648         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
23649         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
23650         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
23651         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
23653 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
23655         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23657 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
23659         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
23660         defined operator.
23662         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
23663         $TIMEOUTFACTOR.
23665 2014-06-16  Florian Weimer  <fweimer@redhat.com>
23667         [BZ #17058]
23668         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
23669         non-executed part of the test.
23671 2014-06-16  Andreas Schwab  <schwab@suse.de>
23673         * string/bits/string2.h (strdup, strndup): Update feature guard.
23675 2014-06-14  David S. Miller  <davem@davemloft.net>
23677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23679 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
23681         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
23682         that was previously under [RESET_PID].
23683         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
23685         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
23686         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
23687         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
23688         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23689         (__libc_vfork): New strong alias.
23690         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
23692 2014-06-14 Andi Kleen  <ak@linux.intel.com>
23694         * sysdeps/generic/elide.h: New file.
23696 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23698         * Makefile (installed-headers): Adjust path of pthread.h header.
23700 2014-06-13  Roland McGrath  <roland@hack.frob.com>
23702         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
23703         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
23704         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
23705         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
23707         * nptl/sysdeps/s390/Makefile: Moved ...
23708         * sysdeps/s390/nptl/Makefile: ... here.
23709         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
23710         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
23711         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
23712         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
23713         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
23714         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
23715         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
23716         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
23717         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
23718         * sysdeps/s390/nptl/pthreaddef.h: ... here.
23719         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
23720         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
23721         * nptl/sysdeps/s390/tls.h: Moved ...
23722         * sysdeps/s390/nptl/tls.h: ... here.
23724         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
23725         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
23727 2014-06-13  David S. Miller  <davem@davemloft.net>
23729         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
23730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
23731         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
23732         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
23733         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
23734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
23735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
23736         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
23737         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
23738         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
23739         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
23740         Remove RESET_PID cpp guards.
23741         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
23742         Remove RESET_PID cpp guards.
23743         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
23745 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
23747         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
23748         __sp to uintptr_t.
23750 2014-06-13  Andi Kleen  <ak@linux.intel.com>
23752         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
23753         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
23754         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
23755         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
23756         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
23757         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
23758         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
23759         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
23760         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
23761         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
23762         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
23763         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
23764         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
23765         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
23766         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
23767         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
23768         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
23769         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
23770         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
23771         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
23773         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
23774         (pthread_rwlock_rdlock): Add elision.
23775         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
23776         (pthread_rwlock_wrlock): Add elision.
23777         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
23778         (pthread_rwlock_trywrlock): Add elision.
23779         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
23780         (pthread_rwlock_tryrdlock): Add elision.
23781         * nptl/pthread_rwlock_unlock.c: Include elide.h.
23782         (pthread_rwlock_tryrdlock): Add elision unlock.
23783         * nptl/sysdeps/pthread/pthread.h:
23784         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
23785         (PTHREAD_RWLOCK_INITIALIZER,
23786         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
23787         Handle new elision field.
23788         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
23789         * sysdeps/arm/nptl/bits/pthreadtypes.h
23790         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23791         * sysdeps/sh/nptl/bits/pthreadtypes.h
23792         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23793         * sysdeps/tile/nptl/bits/pthreadtypes.h
23794         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23795         * sysdeps/a/nptl/bits/pthreadtypes.h
23796         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23797         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23798         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23799         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23800         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23801         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
23802         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23803         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23804         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23805         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23806         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23807         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23808         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23809         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23810         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23811         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
23812         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23813         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
23814         (elision_init): Set try_xbegin to zero when no RTM.
23815         * sysdeps/x86/nptl/bits/pthreadtypes.h
23816         (pthread_rwlock_t): Change __pad1 to __rwelision.
23817         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23819 2014-06-13  Andi Kleen  <ak@linux.intel.com>
23821         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
23822         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
23823         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
23824         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
23826 2014-06-13  Meador Inge  <meadori@codesourcery.com>
23828         [BZ #16996]
23829         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
23830         that the cached result has been set before returning it.
23832 2014-06-12  Roland McGrath  <roland@hack.frob.com>
23834         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
23835         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
23836         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
23837         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
23838         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
23839         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
23841         * nptl/sysdeps/sparc/Makefile: Moved ...
23842         * sysdeps/sparc/nptl/Makefile: ... here.
23843         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
23844         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
23845         * nptl/sysdeps/sparc/tls.h: Moved ...
23846         * sysdeps/sparc/nptl/tls.h: ... here.
23847         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
23848         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
23849         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
23850         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
23851         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
23852         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
23853         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
23854         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
23855         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
23856         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
23857         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
23858         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
23859         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
23860         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
23861         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
23862         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
23863         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
23864         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
23865         Update #include.
23866         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
23867         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
23868         Update #include.
23869         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
23870         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
23871         Update #include.
23872         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
23873         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
23874         Update #include.
23876         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23878         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
23879         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
23881         * sysdeps/pthread/posix-timer.h: Include <list.h>.
23882         (struct list_links): Type removed.
23883         (struct thread_node, struct timer_node): Replace struct list_links
23884         with struct list_head.
23885         (list_unlink_ip): Likewise.
23886         * sysdeps/pthread/timer_routines.c
23887         (timer_free_list, thread_free_list, thread_active_list): Likewise.
23888         (list_append, list_insbefore): Likewise.
23889         (list_init): Function removed.
23890         (thread_init, init_module): Use INIT_LIST_HEAD instead.
23891         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
23892         * sysdeps/pthread/Makefile: ... here, new file.
23894         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
23895         * sysdeps/nptl/Implies: ... here.
23896         * sysdeps/unix/sysv/linux/Implies: Add nptl.
23897         * nptl/sysdeps/pthread/list.h: Moved ...
23898         * include/list.h: ... here.
23899         * nptl/sysdeps/pthread/createthread.c: Moved ...
23900         * nptl/createthread.c: ... here.
23901         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
23902         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
23903         * nptl/pt-longjmp.c: ... here.
23904         * nptl/sysdeps/pthread/Makefile: Moved ...
23905         * sysdeps/nptl/Makefile: ... here.
23906         * nptl/sysdeps/pthread/Subdirs: Moved ...
23907         * sysdeps/nptl/Subdirs: ... here.
23908         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
23909         * sysdeps/nptl/aio_misc.h: ... here.
23910         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
23911         * sysdeps/nptl/bits/libc-lock.h: ... here.
23912         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
23913         * sysdeps/nptl/bits/libc-lockP.h: ... here.
23914         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
23915         * sysdeps/nptl/bits/stdio-lock.h: ... here.
23916         * nptl/sysdeps/pthread/configure: Moved ...
23917         * sysdeps/nptl/configure: ... here.
23918         * nptl/sysdeps/pthread/configure.ac: Moved ...
23919         * sysdeps/nptl/configure.ac: ... here.
23920         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
23921         * sysdeps/nptl/gai_misc.h: ... here.
23922         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
23923         * sysdeps/nptl/librt-cancellation.c: ... here.
23924         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
23925         * sysdeps/nptl/malloc-machine.h: ... here.
23926         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
23927         * sysdeps/nptl/pthread-functions.h: ... here.
23928         * nptl/sysdeps/pthread/pthread.h: Moved ...
23929         * sysdeps/nptl/pthread.h: ... here.
23930         * nptl/sysdeps/pthread/setxid.h: Moved ...
23931         * sysdeps/nptl/setxid.h: ... here.
23932         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
23933         * sysdeps/nptl/sigfillset.c: ... here.
23934         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
23935         * sysdeps/nptl/tcb-offsets.h: ... here.
23936         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
23937         * sysdeps/nptl/tst-mqueue8x.c: ... here.
23938         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
23939         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
23940         * nptl/sysdeps/pthread/allocalim.h: Moved ...
23941         * sysdeps/pthread/allocalim.h: ... here.
23942         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
23943         * sysdeps/pthread/bits/sigthread.h: ... here.
23944         * nptl/sysdeps/pthread/flockfile.c: Moved ...
23945         * sysdeps/pthread/flockfile.c: ... here.
23946         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
23947         * sysdeps/pthread/ftrylockfile.c: ... here.
23948         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
23949         * sysdeps/pthread/funlockfile.c: ... here.
23950         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
23951         * sysdeps/pthread/posix-timer.h: ... here.
23952         * nptl/sysdeps/pthread/timer_create.c: Moved ...
23953         * sysdeps/pthread/timer_create.c: ... here.
23954         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
23955         * sysdeps/pthread/timer_delete.c: ... here.
23956         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
23957         * sysdeps/pthread/timer_getoverr.c: ... here.
23958         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
23959         * sysdeps/pthread/timer_gettime.c: ... here.
23960         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
23961         * sysdeps/pthread/timer_routines.c: ... here.
23962         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
23963         * sysdeps/pthread/timer_settime.c: ... here.
23964         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
23965         * sysdeps/pthread/tst-timer.c: ... here.
23966         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
23967         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
23969         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
23970         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
23972         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
23973         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
23974         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
23975         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
23976         Update #include target.
23977         * nptl/sysdeps/i386/i686/Makefile: Moved ...
23978         * sysdeps/i386/i686/nptl/Makefile: ... here.
23979         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
23980         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
23981         Update #include target.
23982         * nptl/sysdeps/i386/i686/tls.h: Moved ...
23983         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
23984         * nptl/sysdeps/i386/Makefile: Moved ...
23985         * sysdeps/i386/nptl/Makefile: ... here.
23986         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
23987         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
23988         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
23989         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
23990         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
23991         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
23992         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
23993         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
23994         * sysdeps/i386/nptl/pthreaddef.h: ... here.
23995         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
23996         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
23997         * nptl/sysdeps/i386/tls.h: Moved ...
23998         * sysdeps/i386/nptl/tls.h: ... here.
24000         * sysdeps/sh/Makefile [$(subdir) = csu]
24001         (gen-as-const-headers): Add tcb-offsets.sym.
24002         * nptl/sysdeps/sh/Makefile: File removed.
24003         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
24004         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
24005         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
24006         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
24007         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
24008         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
24009         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
24010         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
24011         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
24012         * sysdeps/sh/nptl/pthreaddef.h: ... here.
24013         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
24014         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
24015         * nptl/sysdeps/sh/tls.h: Moved ...
24016         * sysdeps/sh/nptl/tls.h: ... here.
24017         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
24018         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
24019         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
24020         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
24021         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
24022         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
24023         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
24024         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
24025         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
24026         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
24027         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
24028         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
24029         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
24030         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
24031         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
24032         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
24033         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
24034         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
24035         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
24036         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
24037         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
24038         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
24039         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
24040         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
24041         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
24042         Moved ...
24043         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
24044         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
24045         Moved ...
24046         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
24047         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
24048         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
24049         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
24050         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
24051         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
24052         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
24053         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
24054         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
24055         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
24056         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
24057         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
24058         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
24059         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
24060         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
24061         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
24062         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
24063         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
24064         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
24066 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24068         * posix/spawn_faction_addopen.c: Include string.h.
24070 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24072         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
24073         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
24074         * nptl/sysdeps/x86_64/Makefile: Moved ...
24075         * sysdeps/x86_64/nptl/Makefile: ... here.
24076         * nptl/sysdeps/x86_64/configure: Moved ...
24077         * sysdeps/x86_64/nptl/configure: ... here.
24078         * nptl/sysdeps/x86_64/configure.ac: Moved ...
24079         * sysdeps/x86_64/nptl/configure.ac: ... here.
24080         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
24081         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
24082         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
24083         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
24084         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
24085         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
24086         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
24087         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
24088         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
24089         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
24090         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
24091         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
24092         * nptl/sysdeps/x86_64/tls.h: Moved ...
24093         * sysdeps/x86_64/nptl/tls.h: ... here.
24094         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
24095         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
24096         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
24097         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
24099         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
24101 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24105 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
24107         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
24108         type.
24109         [POSIX] (off_t): Likewise.
24110         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
24111         [POSIX] (S_ISBLK): Require macro.
24112         [POSIX] (S_ISCHR): Likewise.
24113         [POSIX] (S_ISDIR): Likewise.
24114         [POSIX] (S_ISFIFO): Likewise.
24115         [POSIX] (S_ISREG): Likewise.
24116         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
24117         optional-macro.
24118         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
24119         type.
24120         [POSIX] (time_t): Likewise.
24121         [POSIX] (timer_t): Likewise.
24123 2014-06-11  Florian Weimer  <fweimer@redhat.com>
24125         [BZ #17048]
24126         * posix/spawn_int.h (struct __spawn_action): Make the path string
24127         non-const to support deallocation.
24128         * posix/spawn_faction_addopen.c
24129         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
24130         * posix/spawn_faction_destroy.c
24131         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
24132         path in all spawn_do_open actions.
24133         * posix/tst-spawn.c (do_test): Exercise the copy operation in
24134         posix_spawn_file_actions_addopen.
24136 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
24138         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
24139         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
24140         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
24141         conditional code always true.
24142         (__libc_vfork): New alias.
24144 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24146         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24147         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
24149         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
24151         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24152         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
24154         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24155         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
24157         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24158         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
24160 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24162         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
24163         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
24164         multiarch strcmp for PPC64.
24165         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
24166         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
24168         multiarch optimizations.
24169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24170         (__libc_ifunc_impl_list): Likewise.
24172 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24174         * benchtests/scripts/validate_benchout.py: New script.
24175         * benchtests/Makefile (bench-func): Call it.
24176         * benchtests/scripts/benchout.schema.json: New file.
24178 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
24180         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
24181         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
24182         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24183         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
24184         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
24185         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24186         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
24187         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
24188         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
24189         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
24190         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
24191         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
24192         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
24193         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
24194         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24195         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
24196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
24197         Moved ...
24198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
24199         ... here.
24200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
24201         Moved ...
24202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
24203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
24204         Moved ...
24205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
24206         ... here.
24207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
24208         Moved ...
24209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
24210         ... here.
24211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
24212         Moved ...
24213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
24214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
24215         Moved ...
24216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
24217         ... here.
24218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
24219         Moved ...
24220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
24221         ... here.
24222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
24223         Moved ...
24224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
24225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
24226         Moved ...
24227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
24228         ... here.
24229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
24230         Moved ...
24231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
24232         ... here.
24233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
24234         Moved ...
24235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
24236         ... here.
24237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
24238         Moved ...
24239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
24240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
24241         Moved ...
24242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
24243         ... here.
24244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
24245         Moved ...
24246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
24247         ... here.
24248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
24249         Moved ...
24250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
24251         ... here.
24252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
24253         Moved ...
24254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
24255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
24256         Moved ...
24257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
24258         ... here.
24259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
24260         Moved ...
24261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
24262         ... here.
24263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
24264         Moved ...
24265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
24266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
24267         Moved ...
24268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
24269         ... here.
24270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
24271         Moved ...
24272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
24273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
24274         Moved ...
24275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
24276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
24277         Moved ...
24278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
24279         ... here.
24280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
24281         Moved ...
24282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
24283         ... here.
24284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
24285         Moved ...
24286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
24287         ... here.
24288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
24289         Moved ...
24290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
24291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
24292         Moved ...
24293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
24294         ... here.
24295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
24296         Moved ...
24297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
24298         ... here.
24299         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
24300         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
24301         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
24302         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
24303         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
24304         Moved ...
24305         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24306         ... here.
24307         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
24308         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
24309         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
24310         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
24311         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
24312         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
24313         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
24314         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
24315         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
24316         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
24317         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
24318         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
24319         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
24320         Moved ...
24321         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
24322         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
24323         Moved ...
24324         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
24325         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
24326         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
24327         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
24328         Moved ...
24329         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
24330         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
24331         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
24332         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
24333         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
24334         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
24335         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
24337 2014-06-10  Wilco  <wdijkstr@arm.com>
24339         * math/test-fenv-return.c: New file.
24340         * math/Makefile: Add new test test-fenv-return.
24342 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
24344         [BZ #17042]
24345         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
24346         when x - 1 is zero.
24347         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
24348         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
24349         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
24350         0.0L for an argument of 1.0L.
24351         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24352         Likewise.
24353         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
24354         value when x - 1 is zero.
24355         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
24356         * sysdeps/i386/fpu/libm-test-ulps: Update.
24357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24359 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
24361         [BZ #15119]
24362         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
24364 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24366         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
24367         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
24369 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24371         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24372         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
24374         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24375         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
24377         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24378         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
24380         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24381         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
24383         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
24384         if not already defined.
24385         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
24386         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
24387         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
24388         (TLS_INIT_TP): Use it.
24389         (TLS_DEFINE_INIT_TP): New macro.
24390         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
24392 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
24394         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
24395         constant.
24396         [POSIX] (IXANY): Likewise.
24397         [POSIX] (OLCUC): Likewise.
24398         [POSIX || POSIX2008] (CBAUD): Do not allow.
24399         [POSIX || POSIX2008] (DEFECHO): Likewise.
24400         [POSIX || POSIX2008] (ECHOCTL): Likewise.
24401         [POSIX || POSIX2008] (ECHOKE): Likewise.
24402         [POSIX || POSIX2008] (ECHOPRT): Likewise.
24403         [POSIX || POSIX2008] (EXTA): Likewise.
24404         [POSIX || POSIX2008] (EXTB): Likewise.
24405         [POSIX || POSIX2008] (FLUSHO): Likewise.
24406         [POSIX || POSIX2008] (LOBLK): Likewise.
24407         [POSIX || POSIX2008] (PENDIN): Likewise.
24408         [POSIX || POSIX2008] (SWTCH): Likewise.
24409         [POSIX || POSIX2008] (VDISCARD): Likewise.
24410         [POSIX || POSIX2008] (VDSUSP): Likewise.
24411         [POSIX || POSIX2008] (VLNEXT): Likewise.
24412         [POSIX || POSIX2008] (VREPRINT): Likewise.
24413         [POSIX || POSIX2008] (VSTATUS): Likewise.
24414         [POSIX || POSIX2008] (VWERASE): Likewise.
24415         (B*): Change to B[0123456789]*.
24416         * conform/data/time.h-data [POSIX || UNIX98]
24417         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
24418         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24419         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
24420         [POSIX] (tm_*): Do not allow.
24422 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
24424         * Makefile (install): Don't set LANGUAGE.
24425         * Makefile.in (install): Likewise.
24426         * assert/Makefile (test-assert-ENV): Remove variable.
24427         (test-assert-perr-ENV): Likewise.
24428         * elf/Makefile (neededtest4-ENV): Likewise.
24429         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24430         [$(cross-compiling) = no]: Don't set LANGUAGE.
24431         * io/ftwtest-sh (LANG): Remove variable.
24432         * libio/Makefile (tst-widetext-ENV): Likewise.
24433         * manual/install.texi (Running make install): Don't refer to
24434         environment settings for make install.
24435         * INSTALL: Regenerated.
24436         * nptl/tst-tls6.sh: Don't set LANG.
24437         * posix/globtest.sh (LANG): Remove variable.
24438         * string/Makefile (tester-ENV): Likewise.
24439         (inl-tester-ENV): Likewise.
24440         (noinl-tester-ENV): Likewise.
24441         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24442         [$(cross-compiling) = no]: Don't set LANGUAGE.
24443         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
24444         without explicit environment settings.
24446 2014-06-06  Roland McGrath  <roland@hack.frob.com>
24448         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
24449         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
24450         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
24451         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
24453 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
24455         * crypt/crypt-private.h [DOS]: Add some includes taken from the
24456         other files in the crypt directory.
24457         * crypt/crypt.c: Remove duplicate includes.
24458         * crypt/crypt-entry.c: Likewise.
24459         * crypt/crypt_util.c: Likewise.
24461 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
24463         * Makeconfig (run-program-env): New variable.
24464         (run-program-prefix-before-env): Likewise.
24465         (run-program-prefix-after-env): Likewise.
24466         (run-program-prefix): Define in terms of new variables.
24467         (built-program-cmd-before-env): New variable.
24468         (built-program-cmd-after-env): Likewise.
24469         (built-program-cmd): Define in terms of new variables.
24470         (test-program-prefix-before-env): New variable.
24471         (test-program-prefix-after-env): Likewise.
24472         (test-program-prefix): Define in terms of new variables.
24473         (test-program-cmd-before-env): New variable.
24474         (test-program-cmd-after-env): Likewise.
24475         (test-program-cmd): Define in terms of new variables.
24476         * Rules (make-test-out): Use $(run-program-env).
24477         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
24478         (help): Do not mention environment variables.  Mention
24479         --timeoutfactor option.
24480         (timeoutfactor): New variable.
24481         (blacklist_exports): Remove function.
24482         (exports): Remove variable.
24483         (command): Do not include ${exports}.
24484         * manual/install.texi (Configuring and compiling): Do not mention
24485         test wrappers preserving environment variables.  Mention that last
24486         assignment to a variable must take precedence.
24487         * INSTALL: Regenerated.
24488         * benchtests/Makefile (run-bench): Use $(run-program-env).
24489         * catgets/Makefile ($(objpfx)test1.cat): Use
24490         $(built-program-cmd-before-env), $(run-program-env) and
24491         $(built-program-cmd-after-env).
24492         ($(objpfx)test2.cat): Do not specify environment variables
24493         explicitly.
24494         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
24495         $(run-program-env) and $(built-program-cmd-after-env).
24496         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
24497         $(run-program-env) and $(test-program-cmd-after-env).
24498         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
24499         explicitly.
24500         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
24501         run_program_env and test_program_cmd_after_env arguments.
24502         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
24503         * elf/tst-pathopt.sh: Use run_program_env argument.
24504         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
24505         $(test-wrapper-env) and $(run-program-env).
24506         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
24507         run_program_env arguments.
24508         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
24509         * intl/Makefile ($(objpfx)tst-gettext.out): Use
24510         $(test-program-prefix-before-env), $(run-program-env) and
24511         $(test-program-prefix-after-env).
24512         ($(objpfx)tst-gettext2.out): Likewise.
24513         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
24514         run_program_env and test_program_prefix_after_env arguments.
24515         * intl/tst-gettext2.sh: Likewise.
24516         * intl/tst-gettext4.sh: Do not set environment variables
24517         explicitly.
24518         * intl/tst-gettext6.sh: Likewise.
24519         * intl/tst-translit.sh: Likewise.
24520         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
24521         $(test-program-prefix-before-env), $(run-program-env) and
24522         $(test-program-prefix-after-env).
24523         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
24524         run_program_env and test_program_prefix_after_env arguments.
24525         * math/Makefile (run-regen-ulps): Use $(run-program-env).
24526         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
24527         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
24528         explicitly with each use of ${test_wrapper_env}.
24529         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
24530         $(test-program-prefix-before-env), $(run-program-env) and
24531         $(test-program-prefix-after-env).
24532         * posix/tst-getconf.sh: Do not set environment variables
24533         explicitly.
24534         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
24535         run_program_env and test_program_prefix_after_env arguments.
24536         * stdio-common/tst-printf.sh: Do not set environment variables
24537         explicitly.
24538         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
24539         $(test-program-prefix-before-env), $(run-program-env) and
24540         $(test-program-prefix-after-env).
24541         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
24542         run_program_env and test_program_prefix_after_env arguments.
24543         Split $test calls into $test_pre and $test.
24544         * timezone/Makefile (build-testdata): Use
24545         $(built-program-cmd-before-env), $(run-program-env) and
24546         $(built-program-cmd-after-env).
24548 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24550         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
24551         strlen for non SHARED builds.
24553 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24555         * nptl/allocatestack.c (check_list): Inlined function...
24556         (__reclaim_stacks): ... here.
24558 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
24560         [BZ #15698]
24561         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24562         memory overrun.
24564 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
24566         * Rules (make-test-out): Include
24567         LOCPATH=$(common-objpfx)localedata in default environment.
24568         * debug/Makefile (tst-chk1-ENV): Remove variable.
24569         (tst-chk2-ENV): Likewise.
24570         (tst-chk3-ENV): Likewise.
24571         (tst-chk4-ENV): Likewise.
24572         (tst-chk5-ENV): Likewise.
24573         (tst-chk6-ENV): Likewise.
24574         (tst-lfschk1-ENV): Likewise.
24575         (tst-lfschk2-ENV): Likewise.
24576         (tst-lfschk3-ENV): Likewise.
24577         (tst-lfschk4-ENV): Likewise.
24578         (tst-lfschk5-ENV): Likewise.
24579         (tst-lfschk6-ENV): Likewise.
24580         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
24581         (tst-iconv7-ENV): Likewise.
24582         * intl/Makefile (LOCPATH-ENV): Likewise.
24583         (tst-codeset-ENV): Likewise.
24584         (tst-gettext3-ENV): Likewise.
24585         (tst-gettext5-ENV): Likewise.
24586         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
24587         (tst-fopenloc-ENV): Likewise.
24588         (tst-fgetws-ENV): Remove variable.
24589         (tst-ungetwc1-ENV): Likewise.
24590         (tst-ungetwc2-ENV): Likewise.
24591         (bug-ungetwc2-ENV): Likewise.
24592         (tst-swscanf-ENV): Likewise.
24593         (bug-ftell-ENV): Likewise.
24594         (tst-fgetwc-ENV): Likewise.
24595         (tst-fseek-ENV): Likewise.
24596         (tst-ftell-partial-wide-ENV): Likewise.
24597         (tst-ftell-active-handler-ENV): Likewise.
24598         (tst-ftell-append-ENV): Likewise.
24599         * posix/Makefile (tst-fnmatch-ENV): Likewise.
24600         (tst-regexloc-ENV): Likewise.
24601         (bug-regex1-ENV): Likewise.
24602         (tst-regex-ENV): Likewise.
24603         (tst-regex2-ENV): Likewise.
24604         (bug-regex5-ENV): Likewise.
24605         (bug-regex6-ENV): Likewise.
24606         (bug-regex17-ENV): Likewise.
24607         (bug-regex18-ENV): Likewise.
24608         (bug-regex19-ENV): Likewise.
24609         (bug-regex20-ENV): Likewise.
24610         (bug-regex22-ENV): Likewise.
24611         (bug-regex23-ENV): Likewise.
24612         (bug-regex25-ENV): Likewise.
24613         (bug-regex26-ENV): Likewise.
24614         (bug-regex30-ENV): Likewise.
24615         (bug-regex32-ENV): Likewise.
24616         (bug-regex33-ENV): Likewise.
24617         (bug-regex34-ENV): Likewise.
24618         (bug-regex35-ENV): Likewise.
24619         (tst-rxspencer-ENV): Likewise.
24620         (tst-rxspencer-no-utf8-ENV): Likewise.
24621         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
24622         (tst-sscanf-ENV): Likewise.
24623         (tst-swprintf-ENV): Likewise.
24624         (tst-swscanf-ENV): Likewise.
24625         (test-vfprintf-ENV): Likewise.
24626         (scanf13-ENV): Likewise.
24627         (bug14-ENV): Likewise.
24628         (tst-grouping-ENV): Likewise.
24629         * stdlib/Makefile (tst-strtod-ENV): Likewise.
24630         (tst-strtod3-ENV): Likewise.
24631         (tst-strtod4-ENV): Likewise.
24632         (tst-strtod5-ENV): Likewise.
24633         (testmb2-ENV): Likewise./
24634         * string/Makefile (tst-strxfrm-ENV): Likewise.
24635         (tst-strxfrm2-ENV): Likewise.
24636         (bug-strcoll1-ENV): Likewise.
24637         (test-strcasecmp-ENV): Likewise.
24638         (test-strncasecmp-ENV): Likewise.
24639         * time/Makefile (tst-strptime-ENV): Likewise.
24640         (tst-ftime_l-ENV): Likewise.
24641         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
24642         (tst-mbrtowc-ENV): Likewise.
24643         (tst-wcrtomb-ENV): Likewise.
24644         (tst-mbrtowc2-ENV): Likewise.
24645         (tst-c16c32-1-ENV): Likewise.
24646         (tst-mbsnrtowcs-ENV): Likewise.
24648 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
24650         * manual/resource.texi (How to get information about the memory
24651         subsystem?): Fix typo.
24652         Reported by Peon de la Parra Ivan <peon@keba.com>
24654 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
24656         [BZ #16882]
24657         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
24658         (pthread_spin_lock): Branch out of spin loop to proper location.
24659         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
24660         (pthread_spin_lock): Likewise.
24662         * nptl/tst-spin4.c: New test.
24663         * nptl/Makefile (tests): Add tst-spin4.
24665 2014-06-03  Andreas Schwab  <schwab@suse.de>
24667         [BZ #15946]
24668         * resolv/res_send.c (send_dg): Reload file descriptor after
24669         calling reopen.
24671 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
24673         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24675 2014-06-03  Richard Henderson  <rth@redhat.com>
24677         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
24678         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
24679         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
24680         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
24681         in the SAVE_PID block.
24682         (__libc_vfork): New alias.
24683         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
24685         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
24686         child in registers, not on the stack.  Remove RESET_PID conditionals.
24687         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
24689 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24691         * sysdeps/aarch64/libm-test-ulps: Regenerate.
24693 2014-06-03  Wilco  <wdijkstr@arm.com>
24695         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
24696         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
24697         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
24698         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
24699         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
24700         Likewise.
24702 2014-06-03  Wilco  <wdijkstr@arm.com>
24704         * sysdeps/aarch64/fpu/math_private.h
24705         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
24706         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
24707         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
24708         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
24709         Fix declarations.
24711 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24713         * crypt/crypt-private.h: Include ufc-crypt.h.
24714         (__b64_from_24bit): Declare extern.
24715         * crypt/crypt_util.c(__b64_from_24bit): New function.
24716         (b64t): New static const variable.
24717         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
24718         (b64t): Remove variable.
24719         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
24720         * crypt/sha256-crypt.c: Include crypt-private.h.
24721         (b64t): Remove variable.
24722         (__sha256_crypt_r): Remove b64_from_24bit and replace
24723         with __b64_from_24bit.
24724         * crypt/sha512-crypt.c: Likewise.
24726 2014-06-02  Roland McGrath  <roland@hack.frob.com>
24728         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
24729         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
24730         Label the code __libc_vfork rather than __vfork.
24731         [!NOT_IN_libc] (vfork): Define as weak alias.
24732         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
24733         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
24734         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
24736 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24738         * malloc/malloc.c (malloc_info): Fix format specifier for
24739         n_mmaps.
24741 2014-06-02  Wilco  <wdijkstr@arm.com>
24743         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
24744         FPCR write.
24746 2014-06-02  Wilco  <wdijkstr@arm.com>
24748         [BZ #17009]
24749         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
24750         Rewrite to reduce FPCR/FPSR accesses.
24752 2014-06-01  David S. Miller  <davem@davemloft.net>
24754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24756 2014-05-31  David S. Miller  <davem@davemloft.net>
24758         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
24759         to occur in round to nearest mode when |x| >= 2.0
24761 2014-05-30  Richard Henderson  <rth@twiddle.net>
24763         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
24764         (PSEUDO_RET_NOERRNO): Remove.
24765         (ret): Don't redefine.
24766         (ret_NOERRNO): Define in terms of ret.
24767         (ret_ERRVAL): Likewise.
24769         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
24770         use of PSEUDO_RET; perform the error check directly.
24772 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
24774         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
24775         with __int128_t.
24777 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24779         * malloc/malloc (malloc_info): Fix formatting.
24781 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24782             Roland McGrath  <roland@hack.frob.com>
24784         * malloc/malloc (malloc_info): Also print mmapped statistics.
24786 2014-05-30  Roland McGrath  <roland@hack.frob.com>
24788         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
24789         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
24791 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
24793         * malloc/malloc.c (malloc_info): Inline mi_arena.
24795 2014-05-29  Richard Henderson  <rth@twiddle.net>
24797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
24798         Remove comma before expanding ASM_ARGS_##nr.
24799         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
24800         Make _x0 a strict output; make _x8 a strict input; adjust expansion
24801         of ASM_ARGS_##nr.
24802         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
24803         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
24804         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
24805         (ASM_ARGS_1): Add leading comma.
24807         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
24808         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
24809         to __errno_location.
24810         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
24811         Remove the expected plt for __errno_location.
24813         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24814         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
24815         call to __read_tp.
24817         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24818         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
24819         it and break it down.
24820         (DOCARGS_0, DOCARGS_1): Do nothing.
24821         (DOCARGS_2): Update to store into the new stack frame.
24822         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
24823         (UNDOCARGS_1): Update to restore from the new stack frame.
24824         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
24825         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
24827         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24828         (SINGLE_THREAD_P): New parameter for result regno.
24829         (PSEUDO): Update to match; use cbz instead of beq.
24831         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24832         Use ENTRY to define the _nocancel entry point.  Share the syscall
24833         and syscall error check paths with the cancel path.
24834         (PSEUDO_END): New.
24836         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
24837         whitespace; tabs before and after asm mnemonics.
24839 2014-05-29  Eric Wong  <normalperson@yhbt.net>
24841         [BZ #15132]
24842         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24843         Call fstat64 or stat64 internally, depending on arguments passed.
24844         Replace stat buffer argument with file descriptor argument.
24845         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
24846         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24847         Pass fd to __internal_statvfs instead of calling fstat64.
24848         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
24849         Pass fd to __internal_statvfs64 instead of calling fstat64.
24850         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
24851         Pass -1 to __internal_statvfs instead of calling stat64.
24852         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
24853         Pass -1 to __internal_statvfs64 instead of calling stat64.
24855 2014-05-28  Roland McGrath  <roland@hack.frob.com>
24857         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
24858         that was previously under [RESET_PID].
24859         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
24861         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
24862         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
24864 2014-05-27  Roland McGrath  <roland@hack.frob.com>
24866         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
24868         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
24869         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
24871 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
24873         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
24875 2014-05-27  Andreas Schwab  <schwab@suse.de>
24877         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
24878         TLS_INIT_TP macro.
24879         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
24880         * elf/rtld.c (init_tls, dl_main): Likewise.
24881         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
24882         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
24883         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
24884         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
24885         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
24886         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
24887         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
24888         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
24889         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
24890         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
24891         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
24892         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
24893         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
24894         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
24895         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
24896         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
24897         * sysdeps/generic/tls.h: Update description.
24899 2014-05-27  Will Newton  <will.newton@linaro.org>
24901         [BZ #16990]
24902         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
24903         and restore r2 rather than just restoring.
24905 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24907         [BZ #16724]
24908         * libio/tst-ftell-append.c: New test case.
24909         * libio/Makefile (tests): Add test case.
24910         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
24911         append mode.
24912         * libio/wfileops.c (do_ftell_wide): Likewise.
24914 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24918         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
24919         ...
24920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
24921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24922         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
24923         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
24924         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
24925         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
24926         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
24927         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
24928         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24929         Moved ...
24930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
24931         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24932         Moved ...
24933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
24934         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
24935         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
24936         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
24937         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
24938         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
24939         ...
24940         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
24941         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
24942         Moved ...
24943         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
24944         here.
24945         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
24946         ...
24947         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
24948         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
24949         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
24951         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
24952         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
24953         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
24954         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
24956         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
24957         merge into ...
24958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
24959         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
24960         ...
24961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
24962         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
24963         ...
24964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
24965         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24966         Moved ...
24967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
24968         here.
24969         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24970         Moved ...
24971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
24972         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24973         Moved ...
24974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
24976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
24977         conditional [RESET_PID].
24978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
24979         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
24980         removed.
24981         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
24982         removed.
24984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
24985         <tcb-offsets.h>.
24986         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24987         (__libc_vfork): New strong alias.
24988         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
24989         removed.
24990         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
24991         Removed.
24993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
24994         <tcb-offsets.h>.
24995         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
24996         (__libc_vfork): New strong alias.
24997         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
24998         removed.
24999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
25000         removed.
25002 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
25004         * malloc/malloc.c (mi_arena): New function.
25005         (malloc_info): Remove nested function mi_arena. Call non-nosted
25006         function mi_arena.
25008 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25010         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
25011         by insrwi.
25012         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
25013         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
25014         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
25015         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
25016         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
25017         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
25018         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
25020 2014-05-26  Andreas Schwab  <schwab@suse.de>
25022         [BZ #16984]
25023         * locale/programs/repertoire.c (repertoire_read): Add slash
25024         between I18NPATH element and file name.
25025         * locale/programs/locfile.c (locfile_read): Likewise.
25027 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25029         * nptl/pthread_mutexattr_settype.c
25030         (__pthread_mutexattr_settype):
25031         Disable lock elision for PTHREAD_MUTEX_NORMAL.
25033 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25035         * nptl/tst-mutex5 (do_test):
25036         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
25038 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25040         * benchtests/README: Document 'init' directive.
25041         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
25042         BENCH_INIT.
25043         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
25044         (parse_file): Recognize 'init' directive.
25046 2014-05-26  Kyle McMartin  <kyle@redhat.com>
25048         [BZ #16796]
25049         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
25050         alignment of struct pthread.
25052 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25054         [BZ #16878]
25055         * nscd/netgroupcache.c (addgetnetgrentX): Look for
25056         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25057         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
25058         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25060 2014-05-25  Richard Henderson  <rth@twiddle.net>
25062         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25063         (SINGLE_THREAD_P_PIC): Remove.
25064         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
25065         (SINGLE_THREAD_P_PIC): Remove.
25067         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
25068         branch to syscall error ...
25069         (PSEUDO): ... here.
25070         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
25071         from __local_syscall_error to .Lsyscall_error.
25072         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
25073         (SYSCALL_ERROR): Update label name.
25075         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25076         Do not use DOARGS/UNDOARGS.
25077         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
25078         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
25079         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
25080         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
25081         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
25083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
25084         block comment.
25086         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
25087         define if !NOT_IN_libc.
25088         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
25089         define with non-default symbol versions.
25091 2014-05-23  Richard Henderson  <rth@twiddle.net>
25093         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
25094         (vfork, __vfork): Define via compat_symbol.
25096         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
25097         [!HAVE_IFUNC] (vfork_compat): Remove.
25098         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
25100 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25102         [BZ #16978]
25103         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
25104         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
25105         variable.
25107 2014-05-23  Richard Henderson  <rth@twiddle.net>
25109         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
25110         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
25111         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
25112         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
25114         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
25115         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
25116         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
25117         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25118         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
25119         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
25120         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
25121         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
25122         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
25123         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
25124         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
25125         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
25126         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
25127         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
25128         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
25129         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
25130         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25131         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
25132         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
25133         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
25134         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
25135         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
25136         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
25137         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
25138         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
25139         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
25140         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
25141         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
25142         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
25143         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
25144         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
25145         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
25146         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
25147         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
25148         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
25149         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
25150         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
25151         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
25152         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
25153         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
25154         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
25155         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
25156         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
25157         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
25158         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
25159         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
25160         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
25161         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
25162         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
25163         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
25164         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
25165         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
25166         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
25167         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
25168         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
25169         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
25171         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
25172         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
25173         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
25174         before exiting on error.
25175         (__libc_vfork): New strong alias.
25176         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
25177         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
25179         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
25180         that was previously under [RESET_PID].
25181         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
25183         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
25185 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25187         [BZ #16977]
25188         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
25189         value when x - 1 is zero.
25190         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
25191         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
25192         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
25193         0.0L for an argument of 1.0L.
25194         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
25195         Likewise.
25196         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
25197         value when x - 1 is zero.
25198         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
25199         * sysdeps/i386/fpu/libm-test-ulps: Update.
25200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25202 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25204         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25205         alphasort and versionsort.
25207 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25209         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
25210         macro.
25211         [copysignf]: Likewise.
25213 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25215         * crypt/md5-crypt.c: Fix formatting.
25217 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25219         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
25220         (b64_from_24bit): New function.
25222 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25224         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
25225         libc_hidden_builtin_def to ifunc.
25226         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25227         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
25229 2014-05-21  Roland McGrath  <roland@hack.frob.com>
25231         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
25232         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
25234 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
25236         * nscd/Depend (linuxthreads): Remove.
25237         (nptl): Add.
25238         * resolv/Depend (linuxthreads): Remove.
25239         * rt/Depend (linuxthreads): Remove.
25241         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
25242         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
25243         $(common-objpfx)elf/.
25244         (link-libc-before-gnulib): Likewise.
25245         (elfobjdir): Remove variable.
25246         * Makefile (install): Use $(elf-objpfx) instead of
25247         $(common-objpfx)elf/.
25248         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
25249         $(elfobjdir)/.
25250         (link-libc-deps): Likewise.
25251         ($(common-objpfx)libc.so): Likewise.
25252         ($(common-objpfx)linkobj/libc.so): Likewise.
25253         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
25254         instead of $(common-objpfx)elf/.
25255         (symbolic-link-list): Likewise.
25256         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25257         [$(cross-compiling) = no]: Likewise.
25258         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
25259         $(elfobjdir)/.
25260         (static-gnulib-arch): Likewise.
25261         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25262         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
25263         $(common-objpfx)elf/.
25265 2014-05-21  Richard Henderson  <rth@redhat.com>
25267         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25268         (SINGLE_THREAD_P): Use the correct width load.  Fold
25269         into the ldr offset.
25271         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
25272         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
25274 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
25276         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
25277         (libgcc_s_resume): Use __attribute_used__.
25278         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
25279         Likewise.
25281 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25283         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
25284         optimization when used with float constants.
25286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25288 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
25290         [BZ #16915]
25291         * locale/nl_langinfo_l.c: Make direct reference to every
25292         _nl_current_CATEGORY symbol.
25293         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
25294         (tests-static): Add tst-langinfo-static.
25295         (tests-special): Add tst-langinfo-static.out.
25296         ($(objpfx)tst-langinfo.out): Redirect output.
25297         ($(objpfx)tst-langinfo-static.out): New.
25298         * localedata/tst-langinfo.sh: Send output to stdout.
25299         * localedata/tst-langinfo-static.c: New file.
25301         [BZ #16965]
25302         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
25303         when the shift amount is modulo the limb size.
25305 2014-05-20  Richard Henderson  <rth@redhat.com>
25307         [BZ #16967]
25308         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
25309         Change type of sa_flags from unsigned int to int.
25311         [BZ #16966]
25312         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
25314         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
25316 2014-05-20  Will Newton  <will.newton@linaro.org>
25318         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25319         Test the return value of the system call in the nocancel case.
25321 2014-05-20  Will Newton  <will.newton@linaro.org>
25322             Yvan Roux  <yvan.roux@linaro.org>
25324         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
25325         #include of asm/ptrace.h.
25326         (PTRACE_GET_THREAD_AREA): Remove #undef.
25327         (PTRACE_GETHBPREGS): Likewise.
25328         (PTRACE_SETHBPREGS): Likewise.
25329         (struct user_regs_struct): New structure.
25330         (struct user_fpsimd_struct): New structure.
25331         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
25332         #include of asm/ptrace.h and second #include of sys/user.h.
25333         (PTRACE_GET_THREAD_AREA): Remove #undef.
25334         (PTRACE_GETHBPREGS): Likewise.
25335         (PTRACE_SETHBPREGS): Likewise.
25336         (ELF_NGREG): Use new struct user_regs_struct.
25337         (elf_fpregset_t): Use new struct user_fpsimd_struct.
25339 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25341         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
25342         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
25344 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
25346         [BZ #16958]
25347         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
25348         membar to avoid block loads/stores to overlap previous stores.
25350 2014-05-17  Richard Henderson  <rth@redhat.com>
25352         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
25353         Create the __##syscall_name##_nocancel entry point.
25354         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
25355         Remove; let the sysdep-cancel.h code create it.
25357 2014-05-17  David S. Miller  <davem@davemloft.net>
25359         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
25360         Protect with __USE_GNU.
25361         (TIOCSET_TEMPT): Likewise.
25362         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25363         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
25364         these are already provided in bits/ioctl-types.h
25366 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25368         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
25369         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
25371         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
25372         Use wait4 regardless of [__NR_waitpid].
25374 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25376         PR libgcc/60166
25377         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25378         (_FP_NANSIGN_Q): Set the quiet bit.
25380 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
25382         * benchtests/Makefile
25383         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
25384         not $(common-objpfx)math/libm.so.
25385         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
25386         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
25387         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
25388         $(common-objpfx)dlfcn/libdl.so.
25389         ($(objpfx)tst-audit8): Depend on $(libm), not
25390         $(common-objpfx)math/libm.so.
25391         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
25392         not $(common-objpfx)dlfcn/libdl.so.
25393         * math/Makefile
25394         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25395         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
25396         [$(build-shared) = yes].
25397         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
25398         $(common-objpfx)nptl/libpthread.so.
25399         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
25400         $(common-objpfx)math/libm.so$(libm.so-version) or
25401         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
25402         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
25403         $(common-objpfx)dlfcn/libdl.so.
25404         * setjmp/Makefile (link-libm): Remove variable.
25405         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
25406         * stdio-common/Makefile (link-libm): Remove variable.
25407         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
25408         * stdlib/Makefile (link-libm): Remove variable.
25409         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
25410         ($(objpfx)tst-strtod-round): Likewise.
25411         ($(objpfx)tst-tininess): Likewise.
25412         ($(objpfx)tst-strtod-underflow): Likewise.
25413         ($(objpfx)tst-strtod6): Likewise.
25414         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
25415         $(libdl), not $(common-objpfx)nptl/libpthread.so and
25416         $(common-objpfx)dlfcn/libdl.so.
25418 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25420         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
25421         BSD terminal modes definitions.
25423 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25425         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
25426         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
25428         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
25429         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
25430         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
25431         Don't do #include_next.
25432         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
25433         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
25434         Don't do #include_next.
25435         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
25436         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
25437         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
25438         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
25440 2014-05-16  Allan McRae  <allan@archlinux.org>
25442         * po/sv.po: Update Swedish translation from translation project.
25444         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
25445         in sed expression.
25447 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
25449         [BZ #16917]
25450         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
25451         errno if the TIOCGPTN ioctl fails with an error different than
25452         EINVAL.
25453         * login/tst-ptsname.c: New file.
25454         * login/Makefile (tests): Add tst-ptsname.
25456         [BZ #16943]
25457         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
25458         and prlimit64.
25460 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25462         [BZ #16849]
25463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
25464         herrno to return EAI_AGAIN.
25466 2014-05-14  Roland McGrath  <roland@hack.frob.com>
25468         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
25469         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
25470         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
25471         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
25472         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
25473         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
25474         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
25475         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
25476         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
25477         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
25478         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
25479         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
25480         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
25481         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
25482         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
25483         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
25484         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
25485         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
25486         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
25487         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
25488         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
25489         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
25490         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
25491         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
25492         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
25493         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
25494         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
25495         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
25496         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
25497         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
25498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
25499         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
25500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
25501         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
25502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25503         Moved ...
25504         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
25505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
25506         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
25507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
25508         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
25509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
25510         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
25511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
25512         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
25513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
25514         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
25515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
25516         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
25517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
25518         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
25519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
25520         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
25521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
25522         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
25523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
25524         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
25525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
25526         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
25527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
25528         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
25529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
25530         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
25531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25532         Moved ...
25533         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
25534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
25535         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
25536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
25537         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
25538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
25539         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
25540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
25541         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
25542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
25543         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
25544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
25545         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
25546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
25547         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
25548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
25549         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
25550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
25551         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
25552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25553         Moved ...
25554         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
25555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
25556         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
25558         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
25559         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
25560         (libpthread-sysdep_routines): Add elision-related stuff here instead.
25561         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
25562         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
25563         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
25564         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
25565         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
25566         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
25567         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
25568         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
25569         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
25570         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
25571         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
25572         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
25573         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
25574         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
25575         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
25576         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
25577         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
25578         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
25579         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
25580         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
25581         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
25582         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
25583         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
25584         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
25585         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
25586         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
25587         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
25588         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
25590         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
25591         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
25593         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
25594         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
25595         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
25596         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
25597         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
25598         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
25599         Moved ...
25600         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
25601         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
25602         Moved ...
25603         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
25604         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
25605         Moved ...
25606         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
25607         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
25608         Moved ...
25609         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
25610         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
25611         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
25612         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
25613         Moved ...
25614         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
25615         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
25616         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
25617         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
25618         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
25619         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
25620         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
25621         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
25622         Moved ...
25623         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
25624         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
25625         Moved ...
25626         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
25627         ... here.
25628         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
25629         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
25630         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
25631         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
25632         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
25633         Moved ...
25634         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
25635         ... here.
25636         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
25637         Moved ...
25638         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
25639         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
25640         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
25641         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
25642         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
25643         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
25644         Moved ...
25645         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
25646         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
25647         Moved ...
25648         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
25649         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
25650         Moved ...
25651         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
25652         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
25653         Moved ...
25654         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
25655         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
25656         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
25657         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
25658         Moved ...
25659         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
25660         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
25661         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
25662         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
25663         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
25664         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
25665         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
25666         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
25667         Moved ...
25668         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
25669         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
25670         Moved ...
25671         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
25672         ... here.
25673         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
25674         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
25675         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
25676         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
25677         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
25678         Moved ...
25679         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
25680         ... here.
25681         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
25682         Moved ...
25683         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
25684         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
25685         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
25686         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
25687         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
25688         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
25689         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
25690         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
25691         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
25692         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
25693         Moved ...
25694         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
25695         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
25696         Moved ...
25697         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
25698         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
25699         Moved ...
25700         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
25701         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
25702         Moved ...
25703         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
25704         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
25705         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
25706         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
25707         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
25708         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
25709         Moved ...
25710         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
25711         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
25712         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
25713         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
25714         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
25715         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
25716         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
25717         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
25718         Moved ...
25719         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
25720         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
25721         Moved ...
25722         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
25723         ... here.
25724         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
25725         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
25726         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
25727         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
25728         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
25729         Moved ...
25730         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
25731         ... here.
25732         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
25733         Moved ...
25734         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
25735         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
25736         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
25737         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
25738         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
25739         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
25740         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
25741         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
25742         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
25743         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
25744         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
25746         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
25747         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
25749         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
25750         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
25752         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
25753         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
25754         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
25755         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
25756         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
25757         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
25758         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
25759         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
25760         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
25761         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
25762         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
25763         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
25764         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
25765         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
25766         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
25767         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
25768         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
25769         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
25770         Moved ...
25771         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
25772         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
25773         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
25774         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
25775         Moved ...
25776         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
25777         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
25778         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
25779         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
25780         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
25781         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
25782         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
25783         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
25784         Moved ...
25785         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
25786         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
25787         Moved ...
25788         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
25789         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
25790         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
25791         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
25792         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
25793         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
25794         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
25795         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
25796         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
25797         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
25798         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
25799         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
25800         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
25801         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
25802         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
25803         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
25804         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
25806         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
25807         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
25808         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
25809         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
25810         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
25812         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
25813         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
25814         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
25815         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
25816         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
25817         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
25818         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
25819         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
25820         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
25821         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
25823         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
25824         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
25826         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
25827         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
25828         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
25829         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
25830         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
25831         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
25832         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
25833         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
25834         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
25835         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
25836         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
25837         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
25838         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
25839         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
25840         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
25841         Update #include.
25842         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
25843         Likewise.
25844         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25845         Likewise.
25846         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25847         Likewise.
25848         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25849         Likewise.
25850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
25851         Likewise.
25852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
25853         Likewise.
25854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25855         Likewise.
25856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
25857         Likewise.
25858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
25859         Likewise.
25860         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
25861         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
25862         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
25863         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
25864         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
25865         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
25866         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
25867         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
25868         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
25869         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
25870         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
25871         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
25872         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
25873         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
25874         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
25876         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
25877         that was previously under [RESET_PID].
25878         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25879         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
25880         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
25882         * sysdeps/i386/nptl/Implies: New file.
25883         * sysdeps/x86_64/nptl/Implies: New file.
25884         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
25885         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
25886         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
25887         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
25889         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
25890         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25891         (__libc_vfork): New strong alias.
25892         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
25893         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
25895         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
25896         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25897         (__libc_vfork): New strong alias.
25898         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
25899         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
25901         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
25902         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25903         (__libc_vfork): New strong alias.
25904         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
25905         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
25906         * nptl/pt-vfork.c: New file.
25907         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
25908         (libpthread: GLIBC_2.20): New version set (empty).
25910 2014-05-14  Will Newton  <will.newton@linaro.org>
25912         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
25913         rather than #if.
25915 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25917         [BZ #16564]
25918         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
25919         arguments with exponent 65 or above.
25920         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
25921         arguments 0x1p113L or above.
25922         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
25923         to arguments 0x1p107L or above.
25924         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
25925         positive arguments with exponent 65 or above.
25926         * math/auto-libm-test-in: Add more tests of log1p.
25927         * math/auto-libm-test-out: Regenerated.
25929         [BZ #16928]
25930         * math/s_cacos.c (__cacos): Ensure zero real part of result from
25931         non-finite arguments is +0.
25932         * math/s_cacosf.c (__cacosf): Likewise.
25933         * math/s_cacosl.c (__cacosl): Likewise.
25934         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
25935         * sysdeps/i386/fpu/libm-test-ulps: Update.
25936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25938         [BZ #16927]
25939         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
25940         value.
25941         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
25942         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
25943         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
25944         for explicit high bit of mantissa when testing for argument equal
25945         to 1.
25946         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
25947         * sysdeps/i386/fpu/libm-test-ulps: Update.
25948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25950         [BZ #16516]
25951         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
25952         (__erf): Scale by 16 instead of 8 in potentially underflowing
25953         case.  Ensure exception if result actually underflows.
25954         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
25955         (__erff): Scale by 16 instead of 8 in potentially underflowing
25956         case.  Ensure exception if result actually underflows.
25957         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
25958         (efx8): Remove variable.
25959         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25960         case.  Ensure exception if result actually underflows.
25961         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
25962         (efx8): Remove variable.
25963         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25964         case.  Ensure exception if result actually underflows.
25965         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
25966         (efx8): Remove variable.
25967         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25968         case.  Ensure exception if result actually underflows.
25969         * math/auto-libm-test-in: Add more tests of erf.
25970         * math/auto-libm-test-out: Regenerated.
25972 2014-05-14  Andreas Schwab  <schwab@suse.de>
25974         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
25975         Remove code conditionalized on USE___THREAD.
25977         * config.h.in (HAVE_PT_CHOWN): Define as 0.
25978         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
25979         not definedness.
25981 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25983         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
25984         Define unconditionally.
25985         (__ASSUME_O_CLOEXEC): Likewise.
25986         (__ASSUME_SOCK_CLOEXEC): Likewise.
25987         (__ASSUME_IN_NONBLOCK): Likewise.
25988         (__ASSUME_PIPE2): Likewise.
25989         (__ASSUME_EVENTFD2): Likewise.
25990         (__ASSUME_SIGNALFD4): Likewise.
25991         (__ASSUME_DUP3): Likewise.
25992         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25993         (__ASSUME_DUP3): Do not define.
25994         (__ASSUME_EVENTFD2): Likewise.
25995         (__ASSUME_IN_NONBLOCK): Likewise.
25996         (__ASSUME_O_CLOEXEC): Likewise.
25997         (__ASSUME_PIPE2): Likewise.
25998         (__ASSUME_SIGNALFD4): Likewise.
25999         (__ASSUME_SOCK_CLOEXEC): Likewise.
26000         (__ASSUME_UTIMES): Undefine.
26001         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26002         (__ASSUME_UTIMES): Do not define.
26003         (__ASSUME_O_CLOEXEC): Likewise.
26004         (__ASSUME_SOCK_CLOEXEC): Likewise.
26005         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
26006         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
26007         0x020621].
26008         (__ASSUME_PIPE2): Likewise.
26009         (__ASSUME_EVENTFD2): Likewise.
26010         (__ASSUME_SIGNALFD4): Likewise.
26011         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
26012         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
26013         Do not define.
26014         (__ASSUME_EVENTFD2): Likewise.
26015         (__ASSUME_SIGNALFD4): Likewise.
26016         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26017         (__ASSUME_32BITUIDS): Likewise.
26018         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26019         (__ASSUME_IPC64): Likewise.
26020         (__ASSUME_ST_INO_64_BIT): Likewise.
26021         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
26022         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
26023         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26024         (__ASSUME_UTIMES): Do not define.
26025         (__ASSUME_PSELECT): Likewise.
26026         (__ASSUME_PPOLL): Likewise.
26027         (__ASSUME_O_CLOEXEC): Likewise.
26028         (__ASSUME_SOCK_CLOEXEC): Likewise.
26029         (__ASSUME_IN_NONBLOCK): Likewise.
26030         (__ASSUME_PIPE2): Likewise.
26031         (__ASSUME_EVENTFD2): Likewise.
26032         (__ASSUME_SIGNALFD4): Likewise.
26033         (__ASSUME_DUP3): Likewise.
26034         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26035         (__ASSUME_UTIMES): Likewise.
26036         (__ASSUME_O_CLOEXEC): Likewise.
26037         (__ASSUME_SOCK_CLOEXEC): Likewise.
26038         (__ASSUME_IN_NONBLOCK): Likewise.
26039         (__ASSUME_PIPE2): Likewise.
26040         (__ASSUME_EVENTFD2): Likewise.
26041         (__ASSUME_SIGNALFD4): Likewise.
26042         (__ASSUME_DUP3): Likewise.
26043         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26044         (__ASSUME_UTIMES): Likewise.
26045         (__ASSUME_O_CLOEXEC): Likewise.
26046         (__ASSUME_SOCK_CLOEXEC): Likewise.
26047         (__ASSUME_IN_NONBLOCK): Likewise.
26048         (__ASSUME_PIPE2): Likewise.
26049         (__ASSUME_EVENTFD2): Likewise.
26050         (__ASSUME_SIGNALFD4): Likewise.
26051         (__ASSUME_DUP3): Likewise.
26052         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
26053         Likewise.
26054         (__ASSUME_UTIMES): Likewise.
26055         (__ASSUME_EVENTFD2): Likewise.
26056         (__ASSUME_SIGNALFD4): Likewise.
26057         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26058         (__ASSUME_O_CLOEXEC): Likewise.
26059         (__ASSUME_SOCK_CLOEXEC): Likewise.
26060         (__ASSUME_IN_NONBLOCK): Likewise.
26061         (__ASSUME_PIPE2): Likewise.
26062         (__ASSUME_EVENTFD2): Likewise.
26063         (__ASSUME_SIGNALFD4): Likewise.
26064         (__ASSUME_DUP3): Likewise.
26065         (__ASSUME_UTIMES): Undefine.
26067         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
26068         feclearexcept.  Remove symbol versioning code.
26069         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
26070         symbol versioning code.
26071         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
26072         symbol versioning code.
26073         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
26074         feupdateenv.  Remove symbol versioning code.
26075         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
26076         fegetexceptflag.  Remove symbol versioning code.
26077         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
26078         fesetexceptflag.  Remove symbol versioning code.
26079         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
26080         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
26081         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
26082         (__posix_fadvise64_l32): Remove prototype.
26083         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
26084         code.
26086 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26088         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
26089         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
26090         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
26091         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
26093 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
26095         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
26096         current working directory
26098 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26100         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
26101         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
26102         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
26103         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
26104         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
26105         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
26106         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
26107         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
26108         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
26109         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
26110         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26111         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
26112         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
26113         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
26114         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
26115         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
26116         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
26117         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
26118         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
26119         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
26120         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
26121         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
26122         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
26123         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
26124         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
26125         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
26126         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
26127         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
26128         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
26129         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
26130         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
26131         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
26132         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
26133         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
26134         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
26135         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
26136         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
26137         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
26138         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
26139         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
26140         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
26141         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
26143         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
26144         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
26146         * sysdeps/unix/sysv/linux/arm/Makefile
26147         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26148         Add rt-aeabi_unwind_cpp_pr1.
26149         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
26150         Add nptl-aeabi_unwind_cpp_pr1.
26151         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
26152         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
26153         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
26154         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26155         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
26156         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26158         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
26159         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
26160         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
26161         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
26163         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
26164         Deconditionalize the code that was previously under [RESET_PID].
26165         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
26167         * sysdeps/generic/exit-thread.h: New file.
26168         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
26169         * include/unistd.h (__exit_thread): Remove declaration.
26170         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
26171         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
26172         * csu/libc-start.c: Include <exit-thread.h>.
26173         (LIBC_START_MAIN): Pass no argument to __exit_thread.
26174         * nptl/pthread_create.c: Include <exit-thread.h>.
26175         (start_thread): Call __exit_thread in place of __exit_thread_inline.
26176         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
26177         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
26178         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
26179         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
26180         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
26181         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
26182         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
26183         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
26184         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
26185         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26186         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
26187         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
26188         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
26189         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
26190         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
26191         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
26193 2014-05-13  Andreas Schwab  <schwab@suse.de>
26195         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
26197 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
26199         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26200         (__ASSUME_UTIMES): Do not condition on kernel version.
26201         (__ASSUME_PSELECT): Define unconditionally.
26202         (__ASSUME_PPOLL): Likewise.
26203         (__ASSUME_ATFCTS): Likewise.
26204         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
26205         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
26206         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
26207         (__ASSUME_UTIMENSAT): Define unconditionally.
26208         (__ASSUME_PRIVATE_FUTEX): Likewise.
26209         (__ASSUME_FALLOCATE): Likewise.
26210         (__ASSUME_O_CLOEXEC): Likewise.
26211         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
26212         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
26213         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
26214         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
26215         (__ASSUME_IN_NONBLOCK): Likewise.
26216         (__ASSUME_PIPE2): Likewise.
26217         (__ASSUME_EVENTFD2): Likewise.
26218         (__ASSUME_SIGNALFD4): Likewise.
26219         (__ASSUME_DUP3): Likewise.
26220         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26221         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
26222         (__ASSUME_AT_RANDOM): Likewise.
26223         (__ASSUME_PREADV): Likewise.
26224         (__ASSUME_PWRITEV): Likewise.
26225         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
26226         (__ASSUME_F_GETOWN_EX): Define unconditionally.
26227         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
26228         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26229         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
26230         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26231         (__ASSUME_O_CLOEXEC): Define unconditionally.
26232         (__ASSUME_PSELECT): Do not undefine conditionally.
26233         (__ASSUME_PPOLL): Likewise.
26234         (__ASSUME_ATFCTS): Likewise.
26235         (__ASSUME_SET_ROBUST_LIST): Likewise.
26236         (__ASSUME_UTIMENSAT): Likewise.
26237         (__ASSUME_FDATASYNC): Define unconditionally.
26238         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26239         (__ASSUME_SIGFRAME_V2): Likewise.
26240         )__ASSUME_EVENTFD2): Likewise.
26241         (__ASSUME_SIGNALFD4): Likewise.
26242         (__ASSUME_PSELECT): Do not undefine conditionally.
26243         (__ASSUME_PPOLL): Likewise.
26244         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26245         (__ASSUME_PSELECT): Define unconditionally.
26246         (__ASSUME_PPOLL): Likewise.
26247         (__ASSUME_O_CLOEXEC): Likewise.
26248         (__ASSUME_SOCK_CLOEXEC): Likewise.
26249         (__ASSUME_IN_NONBLOCK): Likewise.
26250         (__ASSUME_PIPE2): Likewise.
26251         (__ASSUME_EVENTFD2): Likewise.
26252         (__ASSUME_SIGNALFD4): Likewise.
26253         (__ASSUME_DUP3): Likewise.
26254         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26255         (__ASSUME_O_CLOEXEC): Likewise.
26256         (__ASSUME_SOCK_CLOEXEC): Likewise.
26257         (__ASSUME_IN_NONBLOCK): Likewise.
26258         (__ASSUME_PIPE2): Likewise.
26259         (__ASSUME_EVENTFD2): Likewise.
26260         (__ASSUME_SIGNALFD4): Likewise.
26261         (__ASSUME_DUP3): Likewise.
26262         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26263         (__ASSUME_EVENTFD2): Likewise.
26264         (__ASSUME_SIGNALFD4): Likewise.
26265         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26267 2014-05-12  Andreas Schwab  <schwab@suse.de>
26269         [BZ #16932]
26270         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
26271         (_nss_nis_gethostbyname4_r): Return error if item length is larger
26272         than maximum RPC packet size.
26273         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
26274         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
26275         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
26276         (_nss_nis_getservbyport_r): Likewise.
26278 2014-05-12  Will Newton  <will.newton@linaro.org>
26280         * malloc/Makefile (tests): Add tst-mallopt.
26281         * malloc/tst-mallopt.c: New file.
26283 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26285         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
26286         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
26288 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26290         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
26291         (tst-tlsmod6.so): Likewise.
26293 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26295         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
26297 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
26299         [BZ #16064]
26300         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
26301         and <dl-procinfo.h>.
26302         (__fegetenv): Save SSE state in envp->__eip if supported.
26303         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
26304         envp->__eip if supported.
26305         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
26306         and <dl-procinfo.h>.
26307         (__fesetenv): Always set __eip, __cs_selector, __opcode,
26308         __data_offset and __data_selector in environment to 0.  Set SSE
26309         state if supported.
26310         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26311         test-fenv-sse.
26312         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
26313         -mfpmath=sse.
26314         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
26316 2014-05-09  Will Newton  <will.newton@linaro.org>
26318         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
26319         and libc_relro_required for ARM.
26320         * sysdeps/arm/preconfigure: Regenerate.
26322 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
26323             Stefan Liebler  <stli@linux.vnet.ibm.com>
26325         * config.make.in (enable-lock-elision): New Makefile variable.
26326         * configure.ac: Likewise.
26327         * configure: Regenerate.
26328         * sysdeps/s390/configure.ac:
26329         Add check for gcc transactions support.
26330         * sysdeps/s390/configure: Regenerate.
26331         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
26332         Build elision files if enabled.
26333         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
26334         Add lock elision support for s390.
26335         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
26336         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
26337         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
26338         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26339         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
26340         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
26341         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26342         Likewise.
26343         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
26344         Likewise.
26345         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
26346         Likewise.
26347         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
26348         Likewise.
26349         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
26350         (__lll_timedlock_elision, __lll_lock_elision)
26351         (__lll_unlock_elision, __lll_trylock_elision)
26352         (lll_timedlock_elision, lll_lock_elision)
26353         (lll_unlock_elision, lll_trylock_elision): Add.
26354         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26355         (pthread_mutex_t): Add lock elision support for s390.
26357 2014-05-14  Wilco  <wdijkstr@arm.com>
26359         * sysdeps/arm/fclrexcpt.c: Cleanup.
26360         * sysdeps/arm/fedisblxcpt.c: Cleanup.
26361         * sysdeps/arm/feenablxcpt.c: Cleanup.
26362         * sysdeps/arm/fegetenv.c: Cleanup.
26363         * sysdeps/arm/fegetexcept.c: Cleanup.
26364         * sysdeps/arm/fegetround.c: Cleanup.
26365         * sysdeps/arm/feholdexcpt.c: Cleanup.
26366         * sysdeps/arm/fesetenv.c: Cleanup.
26367         * sysdeps/arm/fesetround.c: Cleanup.
26368         * sysdeps/arm/feupdateenv.c: Cleanup.
26369         * sysdeps/arm/fgetexcptflg.c: Cleanup.
26370         * sysdeps/arm/fraiseexcpt.c: Cleanup.
26371         * sysdeps/arm/fsetexcptflg.c: Cleanup.
26372         * sysdeps/arm/ftestexcept.c: Cleanup.
26373         * sysdeps/arm/get-rounding-mode.h: Cleanup.
26374         * sysdeps/arm/setfpucw.c: Cleanup.
26376 2014-05-09  Will Newton  <will.newton@linaro.org>
26378         * sysdeps/arm/armv7/strcmp.S: New file.
26379         * NEWS: Mention addition of ARMv7 optimized strcmp.
26381 2014-05-08  Roland McGrath  <roland@hack.frob.com>
26383         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
26384         look for %.ac rather than %.in.
26386         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
26387         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
26388         * sysdeps/mach/hurd/configure: Regenerated.
26389         * sysdeps/unix/sysv/linux/configure: Regenerated.
26391         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
26393 2014-05-07  Steve Ellcey  <sellcey@mips.com>
26395         [BZ# 16922]
26396         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
26397         (LONG_SUB): Ditto.
26398         (PTR_SUB): Ditto.
26400 2014-05-07  Andreas Schwab  <schwab@suse.de>
26402         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
26403         when skipping over non-matching result from nscd.
26405 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
26407         [BZ #16876]
26408         * nptl/sockperf.c (client): Check socket return value.
26410         [BZ #16877]
26411         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
26412         nscd security class.
26414 2014-05-06  Roland McGrath  <roland@hack.frob.com>
26416         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
26417         * sysdeps/arm/unwind.h: ... here.
26419 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
26421         [BZ# 16916]
26422         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
26423         Define.
26425 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26427         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
26428         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
26429         multiarch strncpy for PPC64.
26430         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
26431         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
26432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
26433         multiarch optimizations.
26434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26435         (__libc_ifunc_impl_list): Likewise.
26436         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
26437         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
26438         multiarch stpncpy for PPC64.
26439         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
26440         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
26442 2014-05-06  Andreas Schwab  <schwab@suse.de>
26444         [BZ #16912]
26445         * gmon/mcount.c (_MCOUNT_DECL): Use
26446         atomic_compare_and_exchange_bool_acq instead of
26447         catomic_compare_and_exchange_bool_acq.
26449 2014-05-05  Roland McGrath  <roland@hack.frob.com>
26451         * elf/Makefile (others, install-bin): Remove pldd.
26452         (pldd-modules): Variable removed.
26453         ($(objpfx)pldd): Target removed.
26454         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
26455         (others, install-bin): Append pldd here.
26456         ($(objpfx)pldd): New target.
26458         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
26459         to 0, so the first #if test emitted later doesn't see it undefined.
26460         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
26461         * sysdeps/gnu/errlist.c: Regenerated.
26463 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26465         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26466         [libc_hidden_builtin_def]: Define to empty value.
26467         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
26468         [libc_hidden_builtin_def]: Likewise.
26469         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
26470         [libc_hidden_builtin_def]: Likewise.
26471         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
26472         [libc_hidden_builtin_def]: Likewise.
26473         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
26474         __redirect_memcpy and define ifunc as default hidden symbol.
26475         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
26476         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
26478 2014-05-04  Adam Conrad  <adconrad@0c3.net>
26480         * locale/iso-4217.def: Reintroduce XDR currency.
26482 2014-05-04  Allan McRae  <allan@archlinux.org>
26484         * po/eo.po: Update Esperanto translation from translation project.
26486 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
26488         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
26489         and FEATURE_INDEX_MAX to 1.
26490         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
26492 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26494         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
26495         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
26496         * iconvdata/big5.c (ONE_DIRECTION): Define.
26497         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
26498         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
26499         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
26500         * iconvdata/cp932.c (ONE_DIRECTION): Define.
26501         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
26502         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
26503         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
26504         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
26505         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
26506         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
26507         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
26508         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
26509         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
26510         * iconvdata/gbk.c (ONE_DIRECTION): Define.
26511         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
26512         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
26513         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
26514         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
26515         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
26516         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
26517         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
26518         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
26519         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
26520         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
26521         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
26522         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
26523         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
26524         * iconvdata/iso646.c (ONE_DIRECTION): Define.
26525         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
26526         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
26527         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
26528         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
26529         * iconvdata/johab.c (ONE_DIRECTION): Define.
26530         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
26531         * iconvdata/sjis.c (ONE_DIRECTION): Define.
26532         * iconvdata/t.61.c (ONE_DIRECTION): Define.
26533         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
26534         * iconvdata/tscii.c (ONE_DIRECTION): Define.
26535         * iconvdata/uhc.c (ONE_DIRECTION): Define.
26536         * iconvdata/unicode.c (ONE_DIRECTION): Define.
26537         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
26538         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
26539         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
26541 2014-05-01  Roland McGrath  <roland@hack.frob.com>
26543         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
26544         (_IO_JUMPS_OFFSET): Define to 0.
26546         * nptl/sysdeps/pthread/bits/libc-lock.h
26547         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26548         (__libc_lock_define_initialized_recursive): Always define using
26549         initializer.  Modern compilers treat uninitialized (implicit zero) and
26550         explicit zero initializers the same (i.e. put the datum in bss).
26552 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26554         * nscd/nscd-client.h: Include <string.h>.
26556 2014-05-01  David S. Miller  <davem@davemloft.net>
26558         [BZ #16885]
26559         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
26560         multiple zero bytes exist at the end of a string.
26561         Reported by Aurelien Jarno <aurelien@aurel32.net>
26563         * string/test-strcmp.c (check): Add explicit test for situations where
26564         there are multiple zero bytes after the first.
26566 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26568         [BZ #16890]
26569         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
26570         when compiling wprintf.
26571         * stdio-common/tstdiomisc.c (t3): New function.
26572         (main): Call it.
26574 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26576         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
26577         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
26578         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
26579         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
26581 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26583         * stdlib/longlong.h: Updated from GCC.
26585 2014-05-01  Will Newton  <will.newton@linaro.org>
26586             Bernard Ogden  <bernie.ogden@linaro.org>
26588         * NEWS: Update fixed bug list.
26590         [BZ #15119]
26591         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
26593 2014-04-30  David S. Miller  <davem@davemloft.net>
26595         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
26596         (libc_feholdexcept_setround_sparc_ctx): New function.
26597         (libc_fesetenv_sparc_ctx): Likewise.
26598         (libc_feupdateenv_sparc_ctx): Likewise.
26599         (libc_feholdsetround_sparc_ctx): Likewise.
26600         (libc_feholdexcept_setround_ctx): Define.
26601         (libc_feholdexcept_setroundf_ctx): Likewise.
26602         (libc_feholdexcept_setroundl_ctx): Likewise.
26603         (libc_fesetenv_ctx): Likewise.
26604         (libc_fesetenvf_ctx): Likewise.
26605         (libc_fesetenvl_ctx): Likewise.
26606         (libc_feupdateenv_ctx): Likewise.
26607         (libc_feupdateenvf_ctx): Likewise.
26608         (libc_feupdateenvl_ctx): Likewise.
26609         (libc_feresetround_ctx): Likewise.
26610         (libc_feresetroundf_ctx): Likewise.
26611         (libc_feresetroundl_ctx): Likewise.
26612         (libc_feholdsetround_ctx): Likewise.
26613         (libc_feholdsetroundf_ctx): Likewise.
26614         (libc_feholdsetroundl_ctx): Likewise.
26616         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
26617         with __USE_GNU instead of XOPEN cpp guards.
26619         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
26620         0.
26622         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
26623         with XOPEN cpp guards.
26625 2014-04-30  Julian Brown  <julian@codesourcery.com>
26627         [BZ #16888]
26628         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
26629         handling.
26631 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
26633         [BZ #9894]
26634         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
26635         Change to 2.6.32.
26636         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
26637         * sysdeps/unix/sysv/linux/configure: Regenerated.
26638         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
26639         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
26640         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
26641         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
26642         * README: Update reference to required Linux kernel version.
26643         * manual/install.texi (Linux): Update reference to required Linux
26644         kernel headers version.
26645         * INSTALL: Regenerated.
26647         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
26648         header inclusion.
26649         [POSIX] (limits.h): Likewise.
26650         [POSIX] (math.h): Likewise.
26651         [POSIX] (sys/wait.h): Likewise.
26652         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
26653         function.
26654         [POSIX] (stddef.h): Do not allow header inclusion.
26656 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26658         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
26660 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
26662         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
26663         Return immediately after lll_futex_wake.
26665 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26667         [BZ #16791]
26668         * nscd/nscd-client.h (datahead_init_common): Initialize entire
26669         structure.
26670         (datahead_init_pos): Call datahead_init_common early.
26671         (datahead_init_neg): Likewise.
26673         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
26674         datahead_init_neg): New functions.
26675         * nscd/aicache.c (addhstaiX): Use them.
26676         * nscd/grpcache.c (cache_addgr): Likewise.
26677         * nscd/hstcache.c (cache_addhst): Likewise.
26678         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26679         * nscd/netgroupcache.c (do_notfound): Likewise.
26680         (addgetnetgrentX): Likewise.
26681         (addinnetgrX): Likewise.
26682         * nscd/pwdcache.c (cache_addpw): Likewise.
26683         * nscd/servicescache.c (cache_addserv): Likewise.
26685 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26686             Atsushi Onoe  <atsushi@onoe.org>
26688         [BZ #14308]
26689         [BZ #12994]
26690         [BZ #13651]
26691         * resolv/res_query.c (__libc_res_nsearch): Return if at least
26692         one response is valid.
26693         * resolv/res_send.c (send_dg): Check for validity of other
26694         response if the current response is a referral.
26696 2014-04-29  Steve Ellcey  <sellcey@mips.com>
26698         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
26700 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
26702         [BZ #16823]
26703         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
26704         Always divide by positive zero when computing -Inf result.
26705         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26706         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
26708 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26710         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
26711         FPSCR if value do not change.
26712         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26713         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
26714         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26715         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26716         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
26717         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
26718         function.
26720 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
26722         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
26723         * sysdeps/unix/sysv/linux/hppa: Move directory from
26724         ports/systeps/unix/sysv/linux/hppa.
26725         * README: Update listing for hppa-*-linux-gnu.
26727 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
26729         [BZ #16754]
26730         * manual/stdio.texi (Hook functions): Fix types of stream hook
26731         functions.
26732         [BZ #16854]
26733         * socket/sys/socket.h: Fix typo in comment.
26735 2014-04-28  Wilco  <wdijkstr@arm.com>
26737         * sysdeps/arm/fenv_private.h: New file.
26738         * sysdeps/arm/math_private.h: New file.
26739         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
26741 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
26743         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
26744         with __int128_t.
26745         (La_x86_64_retval): Likewise.
26747 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
26749         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
26750         fpsr if value didn't change.
26751         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
26752         to fpcr if value didn't change.
26753         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
26754         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
26755         fpsr or fpcr if value didn't change.
26756         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
26757         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
26758         fpcr if value didn't change.
26759         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
26760         to fpsr if value didn't change.
26762 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26764         * nptl/tst-sem3.c: Use test-skeleton.c
26765         (main): Rename to do_test.  Use return instead of
26766         exit.
26767         * nptl/tst-sem4.c: Use test-skeleton.c
26768         (main): Rename to do_test.
26770 2014-04-22  David S. Miller  <davem@davemloft.net>
26772         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
26773         (struct sigaction): New struct member __glibc_reserved0, change
26774         type of sa_flags to int.
26776 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
26778         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
26779         (COUNT_LEADING_ZEROS_0): Define for AArch64.
26781 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26783         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
26784         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
26786 2014-04-22  Will Newton  <will.newton@linaro.org>
26787             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
26789         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
26790         (__longjmp): Add longjmp and longjmp_target SystemTap
26791         probes.
26792         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
26793         (__sigsetjmp): Add setjmp SystemTap probe.
26795 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
26797         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
26798         match manual order.
26800 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26802         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
26804         * sysdeps/powerpc/fpu/fenv_private.h
26805         (libc_feholdexcept_setroundl_ctx): Define to
26806         libc_feholdexcept_setround_ppc_ctx.
26807         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
26808         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
26809         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
26810         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
26812 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26814         * sysdeps/aarch64/math-tests.h: New file.
26816 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
26818         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
26819         New.
26820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26821         Check and set bit_AVX2_Usable.
26822         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
26823         macro.
26824         (bit_AVX2): Likewise.
26825         (index_AVX2_Usable): Likewise.
26826         (CPUID_AVX2): Likewise.
26827         (HAS_AVX2): Likewise.
26829 2014-04-17  Will Newton  <will.newton@linaro.org>
26831         * manual/setjmp.texi (System V contexts): Add note that
26832         calling setcontext on a context created by a call to a
26833         signal handler is undefined.  Update text to note that
26834         setcontext from a signal handler is possible but not
26835         recommended.
26837         [BZ #16629]
26838         * stdlib/tst-setcontext.c: Include signal.h.
26839         (main): Check that the signal stack before and
26840         after swapcontext is the same.
26842         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
26843         Re-implement to restore registers in user code and avoid
26844         rt_sigreturn system call.
26846 2014-04-17  Wilco  <wdijkstr@arm.com>
26848         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
26849         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
26850         * math/test-fenv.c: Skip exception trap tests on targets which only
26851         support non-stop mode.
26853 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26854             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26856         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
26857         (libc_feholdsetround_aarch64_ctx)
26858         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
26859         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
26860         (libc_feresetround_ctx, libc_feresetroundf_ctx)
26861         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
26862         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
26863         (libc_feresetround_noexl_ctx): Define.
26865 2014-04-16  Richard Henderson  <rth@redhat.com>
26867         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
26869         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
26870         unwind tables.
26872         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
26873         const from the non-libc, non-ldso copy.
26875         * sysdeps/alpha/libm-test-ulps: Regenerate.
26877 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
26878             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26880         * sysdeps/aarch64/fpu/math_private.h: New file.
26882 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26884         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26886 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
26888         [BZ #16275]
26889         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
26890         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
26891         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
26892         Intel MPX bound registers before _dl_profile_fixup.
26893         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
26894         registers after _dl_profile_fixup.  Save and restore bound
26895         registers bnd0/bnd1 when calling _dl_call_pltexit.
26896         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
26897         (LR_BND_OFFSET): Likewise.
26898         (LRV_BND0_OFFSET): Likewise.
26899         (LRV_BND1_OFFSET): Likewise.
26901 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26903         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
26904         to...
26905         * sysdeps/mach/hurd/i386/tls.h: ... here.
26906         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
26907         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
26908         fields.
26910 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26912         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
26914 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26916         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26918 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26920         [BZ #14770]
26921         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
26922         * sysdeps/s390/configure: Regenerate.
26924         [BZ #16824]
26925         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
26926         Set round-to-nearest internally to reduce error accumulation.
26928 2014-04-16  Alan Modra  <amodra@gmail.com>
26930         [BZ #16740]
26931         [BZ #16619]
26932         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
26933         * math/libm-test.inc (frexp_test_data): Add tests.
26934         * NEWS: Update fixed bug list.
26936 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26938         * benchtests/Makefile: Depend on libraries in build directory.
26939         (bench-math): Separate out math tests.
26940         (bench-pthread): Separate out pthread tests.
26941         (bench): Include math and pthread tests.
26943 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
26945         [BZ #16831]
26946         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
26947         _dl_debug_initialize.
26949         * configure.ac: Remove SELinux header check.
26950         * configure: Regenerate.
26951         * nscd/selinux.c (perms): Array of const char* to permission names.
26952         (nscd_request_avc_has_perm): Call security_deny_unknown to find
26953         default policy. Call string_to_security_class and string_to_av_perm to
26954         translate strings. Enforce default policy and call avs_has_perm with
26955         results of translated strings.
26957 2014-04-13  David S. Miller  <davem@davemloft.net>
26959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26961 2014-04-12  Allan McRae  <allan@archlinux.org>
26963         [BZ #16838]
26964         * manual/string.texi (Collation Functions): Fix qsort argument
26965         order in example.
26966         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26968 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
26970         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
26971         Make the test a no-op if there are no exceptions defined.
26973 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26975         * elf/Makefile (tests): make tst-dlopen-aout conditional on
26976         enable-hardcoded-path-in-tests
26978 2014-04-11  Will Newton  <will.newton@linaro.org>
26980         * benchtests/Makefile (extra-objs): Add json-lib.o.
26981         (bench-func): Tidy up JSON output.
26982         * benchtests/bench-skeleton.c: Include json-lib.h.
26983         (main): Use JSON library functions to do output of
26984         benchmark results.
26985         * benchtests/bench-timing-type.c (main): Output the
26986         timing type simply, leaving formatting to the user.
26987         * benchtests/json-lib.c: New file.
26988         * benchtests/json-lib.h: Likewise.
26990 2014-04-11  Torvald Riegel  <triegel@redhat.com>
26992         [BZ #15215]
26993         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
26994         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
26995         memory barriers.  Add comments.
26996         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
26997         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
26998         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
26999         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
27000         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
27001         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
27003 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27005         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
27006         * sysdeps/s390/s390-64/configure.ac: ... this ...
27007         * sysdeps/s390/configure.ac: ... to here.
27008         * sysdeps/s390/s390-32/configure: Delete file.
27009         * sysdeps/s390/s390-64/configure: Delete file.
27010         * sysdeps/s390/configure: Regenerate.
27012 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
27014         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
27016 2014-04-11  Will Newton  <will.newton@linaro.org>
27018         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
27019         to zero if it is not defined elsewhere.  (mtrim): Test
27020         the value of MALLOC_DEBUG with #if rather than #ifdef.
27022 2014-04-10 Torvald Riegel  <triegel@redhat.com>
27024         * benchtests/pthread_once-inputs: New file.
27025         * benchtests/pthread_once-source.c: New file.
27026         * benchtests/README: Update documentation.
27028 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27029             H.J. Lu  <hongjiu.lu@intel.com>
27031         [BZ #16275]
27032         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
27033         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
27034         * sysdeps/x86_64/configure: Regenerated.
27035         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
27036         macro.
27037         (REGISTER_SAVE_RAX): Likewise.
27038         (REGISTER_SAVE_RCX): Likewise.
27039         (REGISTER_SAVE_RDX): Likewise.
27040         (REGISTER_SAVE_RSI): Likewise.
27041         (REGISTER_SAVE_RDI): Likewise.
27042         (REGISTER_SAVE_R8): Likewise.
27043         (REGISTER_SAVE_R9): Likewise.
27044         (REGISTER_SAVE_BND0): Likewise.
27045         (REGISTER_SAVE_BND1): Likewise.
27046         (REGISTER_SAVE_BND2): Likewise.
27047         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
27048         bound registers when calling _dl_fixup.
27050 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27052         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
27053         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
27054         of its definition.
27055         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
27056         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
27057         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
27058         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
27059         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
27060         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
27061         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
27063 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
27065         [BZ #15514]
27066         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
27067         pathconf(_PC_NAME_MAX).
27069 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27071         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
27072         Remove macro usage.
27073         (__PTHREAD_SPINS): Move definition to ...
27074         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27075         (__PTHREAD_SPINS): ... here.
27076         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27077         (__PTHREAD_SPIN): Likewise.
27078         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
27079         (__PTHREAD_SPIN): Likewise.
27080         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
27081         (__PTHREAD_SPIN): Likewise.
27082         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
27083         (__PTHREAD_SPIN): Likewise.
27084         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27085         (__PTHREAD_SPIN): Likewise.
27086         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27087         (__PTHREAD_SPIN): Likewise.
27088         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
27089         (__PTHREAD_SPIN): Likewise.
27090         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27091         (__PTHREAD_SPIN): Likewise.
27092         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27093         (__PTHREAD_SPIN): Likewise.
27094         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27095         (__PTHREAD_SPIN): Likewise.
27096         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27097         (__PTHREAD_SPIN): Likewise.
27098         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
27099         (__PTHREAD_SPIN): Likewise.
27101         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
27102         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
27103         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
27104         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
27105         imply folder.
27106         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
27107         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
27108         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
27109         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
27110         correct imply path.
27111         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
27112         strlen symbol for non multi-arch builds.
27113         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
27114         missing hidden_def and weak_alias.
27116 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
27118         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
27120 2014-04-07  Will Newton  <will.newton@linaro.org>
27122         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
27123         and contents.  [!_LIBC] Remove #ifndef and contents.
27124         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
27125         * string/memccpy.c (__memccpy): Use ANSI prototype.
27126         * string/memfrob.c (memfrob): Likewise.
27127         * string/strcoll.c (STRCOLL): Likewise.
27128         * string/strlen.c (strlen): Likewise.
27129         * string/strtok.c (STRTOK): Likewise.
27130         * string/strcat.c: Remove unused #include of memcopy.h.
27131         (strcat): Use ANSI prototype.
27132         * string/strchr.c: Remove unused #include of memcopy.h.
27133         (strchr): Use ANSI prototype.
27134         * string/strcmp.c: Remove unused #include of memcopy.h.
27135         (strcmp): Use ANSI prototype.
27136         * string/strcpy.c: Remove unused #include of memcopy.h.
27137         (strcpy): Use ANSI prototype.
27139 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27141         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
27142         * config.make.in (config-extra-cppflags): Set it from
27143         libc_extra_cppflags.
27144         * configure.ac (libc_extra_cflags): Make it accumulate over
27145         configure fragments.
27146         (libc_extra_cppflags): New flag.
27147         * configure. Regenerate.
27148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27149         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
27150         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
27151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
27153         [BZ #16815]
27154         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
27155         result for FE_DOWNWARD rounding mode.
27156         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
27157         Likewise.
27158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27160 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
27162         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27163         in function argument name.
27165 2014-04-03  David Svoboda  <svoboda@cert.org>
27167         [BZ #5666]
27168         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
27169         explicitly.
27171 2014-04-03  Roland McGrath  <roland@hack.frob.com>
27173         * elf/dl-unmap-segments.h: New file.
27174         * sysdeps/generic/ldsodefs.h
27175         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
27176         * elf/dl-close.c: Include <dl-unmap-segments.h>.
27177         * elf/dl-fptr.c: Likewise.
27178         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
27179         * sysdeps/aarch64/tlsdesc.c: Likewise.
27180         * sysdeps/arm/tlsdesc.c: Likewise.
27181         * sysdeps/i386/tlsdesc.c: Likewise.
27182         * sysdeps/tile/dl-runtime.c: Likewise.
27183         * sysdeps/x86_64/tlsdesc.c: Likewise.
27184         * elf/dl-load.h: New file.
27185         * elf/dl-load.c: Include it.
27186         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
27187         Macros moved to dl-load.h.
27188         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
27189         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
27190         Use _dl_unmap_segments in place of __munmap.
27191         Break out segment-mapping loop into ...
27192         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
27194 2014-04-03  Will Newton  <will.newton@linaro.org>
27196         * elf/dl-lookup.c (do_lookup_x): Remove comment
27197         referring to nested function and move variable
27198         declarations down to before first use.
27200 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
27202         [BZ #16799]
27203         [BZ #16800]
27204         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
27205         with 0 numerator.
27206         * math/s_catanf.c (__catanf): Likewise.
27207         * math/s_catanh.c (__catanh): Likewise.
27208         * math/s_catanhf.c (__catanhf): Likewise.
27209         * math/s_catanhl.c (__catanhl): Likewise.
27210         * math/s_catanl.c (__catanl): Likewise.
27211         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
27212         by positive zero when computing -Inf result.
27213         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
27214         (catanh_test): Likewise.
27215         * sysdeps/i386/fpu/libm-test-ulps: Update.
27216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27218         [BZ #16789]
27219         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27220         instead of using underflowing value in computing result.
27221         * math/s_clog10.c (__clog10): Likewise.
27222         * math/s_clog10f.c (__clog10f): Likewise.
27223         * math/s_clog10l.c (__clog10l): Likewise.
27224         * math/s_clogf.c (__clogf): Likewise.
27225         * math/s_clogl.c (__clogl): Likewise.
27226         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
27227         (clog10_test): Likewise.
27228         * sysdeps/i386/fpu/libm-test-ulps: Update.
27229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27231 2014-04-02  Alan Modra  <amodra@gmail.com>
27233         [BZ #16739]
27234         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
27235         output when value is near a power of two.  Use int64_t for lx and
27236         remove casts.  Use decimal rather than hex exponent constants.
27237         Don't use long double multiplication when double will suffice.
27238         * math/libm-test.inc (nextafter_test_data): Add tests.
27239         * NEWS: Add 16739 and 16786 to bug list.
27241         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
27243         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
27245 2014-04-01  Will Newton  <will.newton@linaro.org>
27247         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
27248         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
27250 2014-04-01  Florian Weimer  <fweimer@redhat.com>
27252         [BZ #13347]
27253         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
27254         * nptl/tst-setuid2.c: New file.
27255         * nptl/Makefile (xtests): Add tst-setuid2.
27257 2014-04-01  Alan Modra  <amodra@gmail.com>
27259         [BZ #16786]
27260         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
27262 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27264         [BZ #6803]
27265         [BZ #6804]
27266         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
27267         set errno as appropriate.
27268         * math/w_scalbf.c (__scalbf): Likewise.
27269         * math/w_scalbl.c (__scalbl): Likewise.
27270         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
27271         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
27272         * math/libm-test.inc (scalb_test_data): Add errno expectations.
27273         Add more NaN tests.
27275         [BZ #16349]
27276         * math/w_atan2.c: Include <errno.h>.
27277         (__atan2): Set errno for result underflowing to zero.
27278         * math/w_atan2f.c: Include <errno.h>.
27279         (__atan2f): Set errno for result underflowing to zero.
27280         * math/w_atan2l.c: Include <errno.h>.
27281         (__atan2l): Set errno for result underflowing to zero.
27282         * math/auto-libm-test-in: Don't allow missing errno for some atan2
27283         tests.
27284         * math/auto-libm-test-out: Regenerated.
27286 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27288         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27289         Encode instruction correctly in little endian.
27290         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27291         Likewise.
27292         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27293         Likewise.
27294         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27295         Likewise.
27296         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27297         Likewise.
27299 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27301         [BZ #9894]
27302         * sysdeps/unix/sysv/linux/kernel-features.h
27303         [__sparc__ && !__arch64__ && !__sparc_v9__]
27304         (__ASSUME_SET_ROBUST_LIST): Do not define.
27305         [__sparc__ && !__arch64__ && !__sparc_v9__]
27306         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27307         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
27308         Likewise.
27309         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27310         (__ASSUME_FUTEX_LOCK_PI): Undefine.
27311         (__ASSUME_REQUEUE_PI): Likewise.
27312         (__ASSUME_SET_ROBUST_LIST): Likewise.
27313         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27314         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
27315         Undefine.
27316         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27317         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
27318         Likewise.
27319         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
27320         Likewise.
27321         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
27322         Likewise.
27323         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27324         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
27325         Undefine.
27326         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
27327         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
27328         Likewise.
27330         [BZ #16648]
27331         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27332         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
27333         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
27335 2014-03-31  Will Newton  <will.newton@linaro.org>
27337         * benchtests/Makefile (bench): Add ffs and ffsll to list
27338         of tests.
27339         * benchtests/ffs-inputs: New file.
27340         * benchtests/ffsll-inputs: Likewise.
27342 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
27344         [BZ #16770]
27345         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
27346         too large before casting to int.
27347         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
27348         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
27349         * math/libm-test.inc (scalb_test_data): Add more tests.
27351 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27353         * benchtests/Makefile (DETAILED_OPT): New make option.
27354         (bench-func): Run benchmark program with -d if DETAILED_OPT is
27355         set.
27356         * benchtests/bench-skeleton.c: Include stdbool.h.
27357         (main): Store and print timings per input.
27358         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
27359         member to each argument value.
27360         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
27361         (_print_arg_data): Initialize per-input timing to 0.
27363         * benchtests/Makefile (timing-type): New binary.
27364         (bench-clean): Also remove bench-timing-type.
27365         (bench): New target for timing-type.
27366         (bench-func): Print output in JSON format.
27367         * benchtests/bench-skeleton.c (main): Print output in JSON
27368         format.
27369         * benchtests/bench-timing-type.c: New file.
27370         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
27371         (TIMING_PRINT_STATS): Remove.
27372         * benchtests/scripts/bench.py (_print_arg_data): Store variant
27373         name separately.
27375         * benchtests/bench-modf.c: Remove.
27376         * benchtests/modf-inputs: New inputs file.
27378 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
27380         [BZ #16362]
27381         * math/s_clog10.c (M_PI_LOG10E): New macro.
27382         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
27383         imaginary parts are 0.
27384         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
27385         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
27386         imaginary parts are 0.
27387         * math/s_clog10l.c (M_PI_LOG10El): New macro.
27388         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
27389         imaginary parts are 0.
27390         * math/libm-test.inc (clog10_test_data): Update expected results
27391         for when real and imaginary parts are 0.
27393 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
27395         * elf/dl-load.c: Finish conversion of __builtin_expect into
27396         __glibc_{un}likely.
27398 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
27400         [BZ #16348]
27401         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
27402         1+x for argument with exponent below -67.
27403         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
27404         Likewise.
27405         * math/auto-libm-test-in: Add more tests of exp.
27406         * math/auto-libm-test-out: Regenerated.
27408 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27410         [BZ #16759]
27411         * inet/getnetgrent_r.c (get_nonempty_val): New function.
27412         (nscd_getnetgrent): Use it.
27414         [BZ #16760]
27415         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
27416         of stpcpy.
27418 2014-03-27  Andi Kleen  <ak@linux.intel.com>
27420         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
27421         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27422         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27423         (lll_robust_unlock): Remove out of line section. Use cfi
27424         intrinsics.
27425         (LLL_STUB_UNWIND_INFO*): Remove.
27426         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
27427         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27428         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27429         (lll_robust_unlock): Remove out of line section. Use cfi
27430         intrinsics.
27431         (LLL_STUB_UNWIND_INFO*): Remove.
27433 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27435         [BZ #16758]
27436         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
27437         blank values.
27439 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27441         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
27443 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
27445         [BZ #16198]
27446         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
27447         fnstenv.
27448         * math/test-fenv-preserve.c: New file.
27449         * math/Makefile (tests): Add test-fenv-preserve.
27451 2014-03-26  Will Newton <will.newton@linaro.org>
27453         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
27455 2014-03-25  Roland McGrath  <roland@hack.frob.com>
27457         * scripts/versionlist.awk: Partition the version sets and emit all
27458         GLIBC_* (sorted) before all others (sorted).
27460 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
27462         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
27463         GLIBC_2.2.5 version.
27465 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27467         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
27468         calls.
27470         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
27471         previous change.
27473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27475 2014-03-25  Andreas Schwab  <schwab@suse.de>
27477         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
27478         label to be used after in6ailist is initialized.
27480 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27482         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27483         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
27485 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
27487         [BZ #16357]
27488         [BZ #16599]
27489         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
27490         min_plus_half.
27491         (fp_formats): Update initializers.
27492         (init_fp_formats): Initialize new field.
27493         (output_for_one_input_case): Allow underflow for results up to
27494         min_plus_half.
27495         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
27496         * math/auto-libm-test-in: Don't mark some underflows from asin and
27497         atanh as spurious.
27498         * math/auto-libm-test-out: Regenerated.
27499         * sysdeps/i386/fpu/libm-test-ulps: Update.
27500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27502 2014-03-25  Andreas Schwab  <schwab@suse.de>
27504         * libio/Makefile (tst-ftell-partial-wide-ENV)
27505         (tst-ftell-active-handler-ENV): Define.
27507 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
27509         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
27511 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
27513         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
27515 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
27517         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
27518         * sysdeps/x86_64/fpu/multiarch/e_exp.c
27519         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27521 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
27523         [BZ #16634]
27524         * elf/dl-load.c (open_verify): Add mode parameter.
27525         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
27526         (open_path): Change from boolean 'secure' to complete flag 'mode'
27527         (_dl_map_object): Adjust.
27528         * elf/Makefile (tests): Add tst-dlopen-aout.
27529         * elf/tst-dlopen-aout.c: New test.
27531 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
27533         [BZ #16714]
27534         * sysdeps/unix/sysv/linux/s390/bits/stat.h
27535         (struct stat): Rename member pad0 to __glibc_reserved0.
27537         [BZ #16712]
27538         * sysdeps/s390/s390-32/bits/wordsize.h
27539         (__WORDSIZE32_SIZE_ULONG): New define.
27540         * sysdeps/s390/s390-64/bits/wordsize.h
27541         (__WORDSIZE32_SIZE_ULONG): Likewise.
27542         * sysdeps/generic/stdint.h (SIZE_MAX):
27543         Define as UL if __WORDSIZE32_SIZE_ULONG.
27545         [BZ #16713]
27546         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
27547         (__glibc_reserved0): New variable.
27548         (sa_flags): Change type to int.
27550         * posix/Makefile (before-compile): Use += before-compile instead
27551         of a :=.
27553         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27554         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
27556 2014-03-20  Andreas Schwab  <schwab@suse.de>
27558         [BZ #16743]
27559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
27560         non-matching result from nscd.
27562 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27564         * scripts/bench.py: Moved to ...
27565         * benchtests/scripts/bench.py: ... here.
27566         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
27568 2014-03-24  Andreas Schwab  <schwab@suse.de>
27570         [BZ #16002]
27571         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
27572         alloca_account and account alloca use for struct in6ailist.
27574 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
27576         [BZ #16284]
27577         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
27578         rounding mode to recompute results that overflow to infinity or
27579         underflow to zero.
27580         * math/auto-libm-test-in: Don't mark tests as expected to fail for
27581         bug 16284.
27582         * math/auto-libm-test-out: Regenerated.
27583         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
27584         (ccosh_test): Likewise.
27585         (csin_test_data): Use plus_oflow.
27586         (csin_test): Use ALL_RM_TEST.
27587         (csinh_test_data): Use plus_oflow.
27588         (csinh_test): Use ALL_RM_TEST.
27589         * sysdeps/i386/fpu/libm-test-ulps: Update.
27590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27592 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
27594         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
27595         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
27596         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
27598         [BZ #16731]
27599         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
27600         when x - 1 is zero.
27601         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
27602         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
27603         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27604         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
27605         argument is 1.
27606         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
27607         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
27608         zero.
27609         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
27610         * sysdeps/i386/fpu/libm-test-ulps: Update.
27611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27613 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27615         * scripts/bench.pl: Remove file.
27616         * scripts/bench.py: New benchmark script.
27617         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
27618         * benchtests/README: Mention python dependency.
27619         * scripts/pylintrc: New file.
27620         * scripts/pylint: New file.
27622         * bits/mathdef.h: Use #ifdef instead of #if.
27623         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
27624         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27625         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
27626         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27627         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
27628         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27630 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27631             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27633         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
27634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
27635         and strpbrk-ppc64 objects.
27636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27637         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
27638         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
27639         multiarch strpbrk for POWER7.
27640         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
27641         multiarch strpbrk for PPC64.
27642         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
27643         ifunc selector.
27644         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
27645         strpbrk for POWER7.
27647 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
27649         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
27650         (atan_test): Likewise.
27651         (atanh_test_data): Use NO_TEST_INLINE for two tests.
27652         (atanh_test): Use ALL_RM_TEST.
27653         (atan2_test_data): Likewise.
27654         (cabs_test): Likewise.
27655         (cacosh_test): Likewise.
27656         (carg_test): Likewise.
27657         (casin_test): Likewise.
27658         (casinh_test): Likewise.
27659         (cbrt_test): Likewise.
27660         (csqrt_test): Likewise.
27661         (erf_test): Likewise.
27662         (erfc_test): Likewise.
27663         (pow10_test): Likewise.
27664         (exp2_test): Likewise.
27665         (hypot_test): Likewise.
27666         (j0_test): Likewise.
27667         (j1_test): Likewise.
27668         (lgamma_test): Likewise.
27669         (gamma_test): Likewise.
27670         (sincos_test): Likewise.
27671         (tanh_test): Likewise.
27672         (y0_test): Likewise.
27673         (y1_test): Likewise.
27674         * sysdeps/i386/fpu/libm-test-ulps: Update.
27675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27677 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27679         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
27680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
27681         and strcspn-ppc64 objects.
27682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27683         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
27684         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
27685         multiarch strcspn for POWER7.
27686         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
27687         multiarch strcspn for PPC64.
27688         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
27689         ifunc selector.
27690         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
27691         strcspn for POWER7.
27693 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
27695         * math/gen-libm-test.pl (generate_testfile): Expect only function
27696         name as argument to AUTO_TESTS_* and pass results for all rounding
27697         modes to parse_args.
27698         (parse_auto_input): Separate inputs of automatic tests from
27699         outputs before storing in %auto_tests.
27700         * math/libm-test.inc (acos_test_data): Update call to
27701         AUTO_TESTS_f_f.
27702         (acos_test): Use ALL_RM_TEST.
27703         (acos_tonearest_test_data): Remove.
27704         (acos_test_tonearest): Likewise.
27705         (acos_towardzero_test_data): Likewise.
27706         (acos_test_towardzero): Likewise.
27707         (acos_downward_test_data): Likewise.
27708         (acos_test_downward): Likewise.
27709         (acos_upward_test_data): Likewise.
27710         (acos_test_upward): Likewise.
27711         (acosh_test_data): Update call to AUTO_TESTS_f_f.
27712         (asin_test_data): Likewise.
27713         (asin_test): Use ALL_RM_TEST.
27714         (asin_tonearest_test_data): Remove.
27715         (asin_test_tonearest): Likewise.
27716         (asin_towardzero_test_data): Likewise.
27717         (asin_test_towardzero): Likewise.
27718         (asin_downward_test_data): Likewise.
27719         (asin_test_downward): Likewise.
27720         (asin_upward_test_data): Likewise.
27721         (asin_test_upward): Likewise.
27722         (asinh_test_data): Update call to AUTO_TESTS_f_f.
27723         (atan_test_data): Likewise.
27724         (atanh_test_data): Likewise.
27725         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
27726         (cabs_test_data): Update call to AUTO_TESTS_c_f.
27727         (carg_test_data): Likewise.
27728         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
27729         (ccos_test_data): Update call to AUTO_TESTS_c_c.
27730         (ccosh_test_data): Likewise.
27731         (cexp_test_data): Likewise.
27732         (clog_test_data): Likewise.
27733         (clog10_test_data): Likewise.
27734         (cos_test_data): Update call to AUTO_TESTS_f_f.
27735         (cos_test): Use ALL_RM_TEST.
27736         (cos_tonearest_test_data): Remove.
27737         (cos_test_tonearest): Likewise.
27738         (cos_towardzero_test_data): Likewise.
27739         (cos_test_towardzero): Likewise.
27740         (cos_downward_test_data): Likewise.
27741         (cos_test_downward): Likewise.
27742         (cos_upward_test_data): Likewise.
27743         (cos_test_upward): Likewise.
27744         (cosh_test_data): Update call to AUTO_TESTS_f_f.
27745         (cosh_test): Use ALL_RM_TEST.
27746         (cosh_tonearest_test_data): Remove.
27747         (cosh_test_tonearest): Likewise.
27748         (cosh_towardzero_test_data): Likewise.
27749         (cosh_test_towardzero): Likewise.
27750         (cosh_downward_test_data): Likewise.
27751         (cosh_test_downward): Likewise.
27752         (cosh_upward_test_data): Likewise.
27753         (cosh_test_upward): Likewise.
27754         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
27755         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
27756         (ctan_test_data): Likewise.
27757         (ctan_test): Use ALL_RM_TEST.
27758         (ctan_tonearest_test_data): Remove.
27759         (ctan_test_tonearest): Likewise.
27760         (ctan_towardzero_test_data): Likewise.
27761         (ctan_test_towardzero): Likewise.
27762         (ctan_downward_test_data): Likewise.
27763         (ctan_test_downward): Likewise.
27764         (ctan_upward_test_data): Likewise.
27765         (ctan_test_upward): Likewise.
27766         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
27767         (ctanh_test): Use ALL_RM_TEST.
27768         (ctanh_tonearest_test_data): Remove.
27769         (ctanh_test_tonearest): Likewise.
27770         (ctanh_towardzero_test_data): Likewise.
27771         (ctanh_test_towardzero): Likewise.
27772         (ctanh_downward_test_data): Likewise.
27773         (ctanh_test_downward): Likewise.
27774         (ctanh_upward_test_data): Likewise.
27775         (ctanh_test_upward): Likewise.
27776         (erf_test_data): Update call to AUTO_TESTS_f_f.
27777         (erfc_test_data): Likewise.
27778         (exp_test_data): Likewise.
27779         (exp_test): Use ALL_RM_TEST.
27780         (exp_tonearest_test_data): Remove.
27781         (exp_test_tonearest): Likewise.
27782         (exp_towardzero_test_data): Likewise.
27783         (exp_test_towardzero): Likewise.
27784         (exp_downward_test_data): Likewise.
27785         (exp_test_downward): Likewise.
27786         (exp_upward_test_data): Likewise.
27787         (exp_test_upward): Likewise.
27788         (exp10_test_data): Update call to AUTO_TESTS_f_f.
27789         (exp10_test): Use ALL_RM_TEST.
27790         (exp10_tonearest_test_data): Remove.
27791         (exp10_test_tonearest): Likewise.
27792         (exp10_towardzero_test_data): Likewise.
27793         (exp10_test_towardzero): Likewise.
27794         (exp10_downward_test_data): Likewise.
27795         (exp10_test_downward): Likewise.
27796         (exp10_upward_test_data): Likewise.
27797         (exp10_test_upward): Likewise.
27798         (exp2_test_data): Update call to AUTO_TESTS_f_f.
27799         (expm1_test_data): Likewise.
27800         (expm1_test): Use ALL_RM_TEST.
27801         (expm1_tonearest_test_data): Remove.
27802         (expm1_test_tonearest): Likewise.
27803         (expm1_towardzero_test_data): Likewise.
27804         (expm1_test_towardzero): Likewise.
27805         (expm1_downward_test_data): Likewise.
27806         (expm1_test_downward): Likewise.
27807         (expm1_upward_test_data): Likewise.
27808         (expm1_test_upward): Likewise.
27809         (fma_test_data): Update call to AUTO_TESTS_fff_f.
27810         (fma_test): Use ALL_RM_TEST.
27811         (fma_towardzero_test_data): Remove.
27812         (fma_test_towardzero): Likewise.
27813         (fma_downward_test_data): Likewise.
27814         (fma_test_downward): Likewise.
27815         (fma_upward_test_data): Likewise.
27816         (fma_test_upward): Likewise.
27817         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
27818         (j0_test_data): Update call to AUTO_TESTS_f_f.
27819         (j1_test_data): Likewise.
27820         (jn_test_data): Update call to AUTO_TESTS_if_f.
27821         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
27822         (log_test_data): Update call to AUTO_TESTS_f_f.
27823         (log10_test_data): Likewise.
27824         (log1p_test_data): Likewise.
27825         (log2_test_data): Likewise.
27826         (pow_test_data): Update call to AUTO_TESTS_ff_f.
27827         (pow_tonearest_test_data): Likewise.
27828         (sin_test_data): Update call to AUTO_TESTS_f_f.
27829         (sin_test): Use ALL_RM_TEST.
27830         (sin_tonearest_test_data): Remove.
27831         (sin_test_tonearest): Likewise.
27832         (sin_towardzero_test_data): Likewise.
27833         (sin_test_towardzero): Likewise.
27834         (sin_downward_test_data): Likewise.
27835         (sin_test_downward): Likewise.
27836         (sin_upward_test_data): Likewise.
27837         (sin_test_upward): Likewise.
27838         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
27839         (sinh_test_data): Update call to AUTO_TESTS_f_f.
27840         (sinh_test): Use ALL_RM_TEST.
27841         (sinh_tonearest_test_data): Remove.
27842         (sinh_test_tonearest): Likewise.
27843         (sinh_towardzero_test_data): Likewise.
27844         (sinh_test_towardzero): Likewise.
27845         (sinh_downward_test_data): Likewise.
27846         (sinh_test_downward): Likewise.
27847         (sinh_upward_test_data): Likewise.
27848         (sinh_test_upward): Likewise.
27849         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
27850         (sqrt_test): Use ALL_RM_TEST.
27851         (sqrt_tonearest_test_data): Remove.
27852         (sqrt_test_tonearest): Likewise.
27853         (sqrt_towardzero_test_data): Likewise.
27854         (sqrt_test_towardzero): Likewise.
27855         (sqrt_downward_test_data): Likewise.
27856         (sqrt_test_downward): Likewise.
27857         (sqrt_upward_test_data): Likewise.
27858         (sqrt_test_upward): Likewise.
27859         (tan_test_data): Update call to AUTO_TESTS_f_f.
27860         (tan_test): Use ALL_RM_TEST.
27861         (tan_tonearest_test_data): Remove.
27862         (tan_test_tonearest): Likewise.
27863         (tan_towardzero_test_data): Likewise.
27864         (tan_test_towardzero): Likewise.
27865         (tan_downward_test_data): Likewise.
27866         (tan_test_downward): Likewise.
27867         (tan_upward_test_data): Likewise.
27868         (tan_test_upward): Likewise.
27869         (tanh_test_data): Update call to AUTO_TESTS_f_f.
27870         (tgamma_test_data): Likewise.
27871         (y0_test_data): Likewise.
27872         (y1_test_data): Likewise.
27873         (yn_test_data): Update call to AUTO_TESTS_if_f.
27874         (main): Do not call removed functions.
27876 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27878         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
27879         (ldexp_test_data): Remove.
27880         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
27881         scalbn_test_data.
27882         (scalb_test): Use ALL_RM_TEST.
27884 2014-03-19  Andreas Schwab  <schwab@suse.de>
27886         * nscd/nscd.service: Also invalidate netgroup cache on reload.
27888 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27890         [BZ #16649]
27891         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27892         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
27893         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
27894         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27895         (__ASSUME_PREADV): Undefine.
27896         (__ASSUME_PWRITEV): Likewise.
27898 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27900         * bits/mman-linux.h: Add comment about non-Linux use.
27901         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
27902         bits/mman-linux.h resting place.
27904         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
27905         * bits/mman-linux.h: ... here.
27907 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27909         * conform/conformtest.pl: Add standard definition when calling C
27910         preprocessor on data files.
27911         (checknamespace): Remove unused variable.
27913 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27915         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
27916         minus_oflow, plus_uflow and minus_uflow in expected results.
27917         * math/libm-test.inc (scalbn_test_data): Add more tests of
27918         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
27919         minus_uflow.
27920         (scalbn_test): Use ALL_RM_TEST.
27921         (scalbln_test_data): Add more tests of negative arguments.  Use
27922         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
27923         (scalbln_test): Use ALL_RM_TEST.
27925 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27927         * scripts/abilist.awk: Ignore symbols marked with .hidden.
27929 2014-03-18  Will Newton  <will.newton@linaro.org>
27931         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
27932         inaccurate comment.
27934 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27936         * Makerules [!subdir] (check-abi): Exit with error status if a
27937         test failed.
27939 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27941         * math/libm-test.inc (nearbyint_test_data): Include all tests used
27942         for rint.  Include results for all rounding modes.
27943         (nearbyint_test): Use ALL_RM_TEST.
27944         (rint_test_data): Include all tests used for nearbyint.
27946 2014-03-17  Will Newton  <will.newton@linaro.org>
27948         * nptl/sysdeps/pthread/pthread.h: Revert previous
27949         change.
27951         * sysdeps/generic/ldsodefs.h: Revert previous
27952         change.
27954         * libio/genops.c: Revert previous change.
27955         * libio/libioP.h: Likewise.
27956         * stdio-common/vfprintf.c: Likewise.
27958         * sysdeps/generic/math_private.h: Revert previous
27959         change.
27961         * sysdeps/generic/math_private.h: Check whether
27962         HAVE_RM_CTX is defined with #ifdef rather
27963         than #if.
27965         * argp/argp-fmtstream.h: Check whether
27966         __STRICT_ANSI__ is defined with #ifdef rather
27967         than #if.
27968         * argp/argp.h: Likewise.
27970         * libio/genops.c: Check whether
27971         _IO_JUMPS_OFFSET is defined with #ifdef rather
27972         than #if.
27973         * libio/libioP.h: Likewise.
27974         * stdio-common/vfprintf.c: Likewise.
27976         * sysdeps/generic/ldsodefs.h: Check whether
27977         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
27978         than #if.
27980         * nptl/sysdeps/pthread/pthread.h: Check
27981         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
27982         its value.
27984 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27986         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
27987         setting O_APPEND.
27988         * libio/tst-ftell-active-handler.c (do_append_test): Add a
27989         test case.
27991         [BZ #16680]
27992         * libio/fileops.c (_IO_file_open): Seek to end of file but
27993         don't cache the offset.
27994         (get_file_offset): Remove function.
27995         (do_ftell): Use cached offset when available.
27996         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
27997         don't cache the offset.
27998         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
27999         case.
28000         (do_one_test): Call it.
28001         (do_ftell_test): Fix up expected old offset for a+ mode.
28002         * libio/wfileops.c (do_ftell_wide): Used cached offset when
28003         available.
28005         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
28006         up test status with function return status.
28007         (do_write_test): Likewise.
28008         (do_append_test): Likewise.
28010         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
28011         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
28012         Remove.
28014 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28016         * math/gen-libm-test.pl (parse_args): Handle results specified for
28017         each rounding mode separately.
28018         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
28019         tests and results from lrint_tonearest_test_data,
28020         lrint_towardzero_test_data, lrint_downward_test_data and
28021         lrint_upward_test_data.
28022         (lrint_test): Use ALL_RM_TEST.
28023         (lrint_tonearest_test_data): Remove.
28024         (lrint_test_tonearest): Likewise.
28025         (lrint_towardzero_test_data): Likewise.
28026         (lrint_test_towardzero): Likewise.
28027         (lrint_downward_test_data): Likewise.
28028         (lrint_test_downward): Likewise.
28029         (lrint_upward_test_data): Likewise.
28030         (lrint_test_upward): Likewise.
28031         (llrint_test_data): Merge in per-rounding-mode tests and results
28032         from llrint_tonearest_test_data, llrint_towardzero_test_data,
28033         llrint_downward_test_data and llrint_upward_test_data.
28034         (llrint_test): Use ALL_RM_TEST.
28035         (llrint_tonearest_test_data): Remove.
28036         (llrint_test_tonearest): Likewise.
28037         (llrint_towardzero_test_data): Likewise.
28038         (llrint_test_towardzero): Likewise.
28039         (llrint_downward_test_data): Likewise.
28040         (llrint_test_downward): Likewise.
28041         (llrint_upward_test_data): Likewise.
28042         (llrint_test_upward): Likewise.
28043         (rint_test_data): Merge in per-rounding-mode tests and results
28044         from rint_tonearest_test_data, rint_towardzero_test_data,
28045         rint_downward_test_data and rint_upward_test_data.  Add
28046         per-rounding-mode results for tests not in those arrays.
28047         (rint_test): Use ALL_RM_TEST.
28048         (rint_tonearest_test_data): Remove.
28049         (rint_test_tonearest): Likewise.
28050         (rint_towardzero_test_data): Likewise.
28051         (rint_test_towardzero): Likewise.
28052         (rint_downward_test_data): Likewise.
28053         (rint_test_downward): Likewise.
28054         (rint_upward_test_data): Likewise.
28055         (rint_test_upward): Likewise.
28056         (main): Don't call removed functions.
28058 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28060         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
28061         "Compiled on ..." crapola.  It is anti-useful.
28063 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
28065         * scripts/evaluate-test.sh: Handle fourth argument to determine
28066         whether test run should stop on failure.
28067         * Makeconfig (stop-on-test-failure): New variable.
28068         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
28069         $(stop-on-test-failure).
28070         * Makefile (tests): Give a summary of results from testing and
28071         exit with failure status if they include an ERROR or FAIL.
28072         (xtests): Likewise.
28073         * manual/install.texi (Configuring and compiling): Mention
28074         stop-on-test-failure=y.
28075         * INSTALL: Regenerated.
28077 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28079         * scripts/versionlist.awk: New file.
28080         * Makerules [$(build-shared) = yes]
28081         (postclean-generated): Add Versions.def, not Versions.def.v and
28082         Versions.def.v.i.
28083         ($(common-objpfx)Versions.def.v.i): Target removed.
28084         ($(common-objpfx)Versions.def): New target.
28085         ($(common-objpfx)Versions.all): Depend on that rather that
28086         $(common-objpfx)Versions.def.v.
28087         * Versions.def: File removed.
28089         * Makeconfig (+gccwarn): Add -Wundef.
28090         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
28091         a dl-sysdep.h breaking its contract.
28092         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
28093         * include/stackinfo.h: New file.
28094         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
28095         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
28096         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
28097         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
28098         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
28099         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
28100         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28101         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28102         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28103         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28104         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28105         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
28106         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28107         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28108         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28110 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28112         [BZ #16707]
28113         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
28114         implementation.
28115         * math/libm-test.inc (round_test_data): Add more tests.
28117         [BZ #16706]
28118         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
28119         implementation.
28120         * math/libm-test.inc (nearbyint_test_data): Add more tests.
28122         [BZ #16701]
28123         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
28124         implementation.
28125         * math/libm-test.inc (ceil_test_data): Add more tests.
28127         * math/libm-test.inc (trunc_test_data): Add more tests related to
28128         BZ#16414.
28130 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28132         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
28133         with #if rather than #ifdef.
28134         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
28136 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
28138         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
28139         first.  Disable AVX-512 GCC support if assembler doesn't support
28140         it.
28141         * sysdeps/x86_64/configure: Regenerated.
28143 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
28145         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
28146         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
28147         (__old_pthread_attr_setstack): Likewise.
28148         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
28149         [!_STACK_GROWS_DOWN]: Likewise.
28151 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
28153         * config.make.in (have-bash2): Delete.
28154         * configure.ac (libc_cv_have_bash2): Delete.
28155         * configure: Regenerate.
28156         * elf/Makefile (common-ldd-rewrite): Rename to ...
28157         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
28158         (sh-ldd-rewrite): Delete.
28159         (bash-ldd-rewrite): Delete.
28160         (have-bash2): Delete checks.
28161         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
28162         ldd-rewrite.
28164         * config.make.in (have-ksh): Delete.
28165         (KSH): Delete.
28166         * configure.ac (libc_cv_have_ksh): Delete.
28167         * configure: Regenerate.
28169         * elf/Makefile: Delete $(have-ksh) check.
28170         ($(objpfx)sotruss): Change KSH to BASH.
28171         * elf/sotruss.ksh: Rename to ...
28172         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
28173         function style to match POSIX.  Drop ksh vim mode setting.
28175         * manual/time.texi (Specifying the Time Zone with TZ): Change
28176         Tuesday to Thursday.
28178         * debug/tst-longjmp_chk2.c: Update header comment.
28179         (stackoverflow_handler): Add comment.  Call assert on pass value.
28181 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
28183         [BZ #16194]
28184         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
28185         (HAVE_AVX512_ASM_SUPPORT): Likewise.
28186         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
28187         (La_x86_64_vector): Add zmm.
28188         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
28189         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
28190         ($(objpfx)tst-audit10): New target.
28191         ($(objpfx)tst-audit10.out): Likewise.
28192         (tst-audit10-ENV): New.
28193         (AVX512-CFLAGS): Likewise.
28194         (CFLAGS-tst-audit10.c): Likewise.
28195         (CFLAGS-tst-auditmod10a.c): Likewise.
28196         (CFLAGS-tst-auditmod10b.c): Likewise.
28197         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
28198         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28199         * sysdeps/x86_64/configure: Regenerated.
28200         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
28201         AVX-512 zmm register support.
28202         (_dl_x86_64_save_sse): Likewise.
28203         (_dl_x86_64_restore_sse): Likewise.
28204         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
28205         size vector registers.
28206         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
28207         (ZMM_SIZE): Likewise.
28208         * sysdeps/x86_64/tst-audit10.c: New file.
28209         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
28210         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
28212 2014-03-13  Roland McGrath  <roland@hack.frob.com>
28214         * configure.ac (HAVE_EHDR_START): New check.
28215         * configure: Regenerated.
28216         * config.h.in (HAVE_EHDR_START): New #undef.
28217         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
28218         assuming the lowest-addressed segment maps the start of the file.
28220 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
28222         * INSTALL: Regenerated.
28224 2014-03-13  Will Newton  <will.newton@linaro.org>
28226         * manual/setjmp.texi (System V contexts): Improve
28227         clarity and grammar of documentation.
28229 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28231         [BZ #16381]
28232         * elf/Makefile (tests): Add tst-pie2.
28233         (tests-pie): Add tst-pie2.
28234         * elf/tst-pie2.c: New file.
28235         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
28236         for ET_EXEC.
28237         * elf/rtld.c (map_doit): Load executable as lt_executable.
28238         (dl_main): Likewise.
28240 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
28242         [BZ #16642]
28243         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28244         (__ASSUME_PSELECT): Undefine.
28246 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28248         [BZ #16689]
28249         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
28250         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
28251         static build.
28252         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
28253         selector for static builds.
28255 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28257         [BZ #16695]
28258         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
28259         key in the buffer.
28261 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28263         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
28264         IFUNC selector for static builds.
28266 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
28268         * sysdeps/mips/math_private.h [__mips_hard_float]
28269         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
28270         libc_feresetround_mips_ctx.
28271         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
28272         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
28273         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
28275         [BZ #16677]
28276         * math/s_nextafter.c (__nextafter): Do not return value from
28277         overflowing computation.
28278         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28279         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
28280         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28281         Likewise.
28282         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
28283         Likewise.
28284         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28285         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
28287 2014-03-11  Roland McGrath  <roland@hack.frob.com>
28289         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
28290         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
28291         Move sfi_sp use from the load-multiple (that no longer sets sp) to
28292         the new mov targetting sp.
28294 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28296         [BZ #16683]
28297         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
28298         Define it for static builds as well.
28299         (NO_BZERO_IMPL): Likewise.
28301 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28303         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
28304         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
28305         multiarch strspn for PPC64.
28306         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
28307         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
28308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28309         (__libc_ifunc_impl_list): Likewise.
28310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
28311         multiarch optimizations
28312         * string/strspn.c (strspn): Using macro to redefine symbol name.
28314 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28315             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28317         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
28318         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
28319         multiarch strncat for PPC64.
28320         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
28321         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
28322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28323         (__libc_ifunc_impl_list): Likewise.
28324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
28325         multiarch optimizations
28327 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28329         [BZ #16639]
28330         * nscd/nscd.service: Make service type forking.
28332 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28334         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
28335         sign in non default rounding modes.
28336         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
28338 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
28340         * math/libm-test.inc (ALL_RM_TEST): New macro.
28341         (ceil_test): Use ALL_RM_TEST.
28342         (cimag_test): Likewise.
28343         (conj_test): Likewise.
28344         (copysign_test): Likewise.
28345         (cproj_test): Likewise.
28346         (creal_test): Likewise.
28347         (fabs_test): Likewise.
28348         (floor_test): Likewise.
28349         (fmax_test): Likewise.
28350         (fmin_test): Likewise.
28351         (fmod_test): Likewise.
28352         (fpclassify_test): Likewise.
28353         (frexp_test): Likewise.
28354         (ilogb_test): Likewise.
28355         (isfinite_test): Likewise.
28356         (finite_test): Likewise.
28357         (isgreater_test): Likewise.
28358         (isgreaterequal_test): Likewise.
28359         (isinf_test): Likewise.
28360         (isless_test): Likewise.
28361         (islessequal_test): Likewise.
28362         (islessgreater_test): Likewise.
28363         (isnan_test): Likewise.
28364         (isnormal_test): Likewise.
28365         (issignaling_test): Likewise.
28366         (isunordered_test): Likewise.
28367         (logb_test): Likewise.
28368         (logb_downward_test_data): Remove.
28369         (logb_test_downward): Likewise.
28370         (lround_test): Use ALL_RM_TEST.
28371         (llround_test): Likewise.
28372         (modf_test): Likewise.
28373         (nexttoward_test): Likewise.
28374         (remainder_test): Likewise.
28375         (drem_test): Likewise.
28376         (remainder_tonearest_test_data): Likewise.
28377         (remainder_test_tonearest): Likewise.
28378         (drem_test_tonearest): Likewise.
28379         (remainder_towardzero_test_data): Likewise.
28380         (remainder_test_towardzero): Likewise.
28381         (drem_test_towardzero): Likewise.
28382         (remainder_downward_test_data): Likewise.
28383         (remainder_test_downward): Likewise.
28384         (drem_test_downward): Likewise.
28385         (remainder_upward_test_data): Likewise.
28386         (remainder_test_upward): Likewise.
28387         (drem_test_upward): Likewise.
28388         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
28389         (round_test): Use ALL_RM_TEST.
28390         (signbit_test): Likewise.
28391         (trunc_test): Likewise.
28392         (significand_test): Likewise.
28393         (main): Don't call removed functions.
28395 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28397         [BZ #16674]
28398         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
28399         || __USE_XOPEN2K8].
28400         (ILL_ILLOPN): Likewise.
28401         (ILL_ILLADR): Likewise.
28402         (ILL_ILLTRP): Likewise.
28403         (ILL_PRVOPC): Likewise.
28404         (ILL_PRVREG): Likewise.
28405         (ILL_COPROC): Likewise.
28406         (ILL_BADSTK): Likewise.
28407         (FPE_INTDIV): Likewise.
28408         (FPE_INTOVF): Likewise.
28409         (FPE_FLTDIV): Likewise.
28410         (FPE_FLTOVF): Likewise.
28411         (FPE_FLTUND): Likewise.
28412         (FPE_FLTRES): Likewise.
28413         (FPE_FLTINV): Likewise.
28414         (FPE_FLTSUB): Likewise.
28415         (SEGV_MAPERR): Likewise.
28416         (SEGV_ACCERR): Likewise.
28417         (BUS_ADRALN): Likewise.
28418         (BUS_ADRERR): Likewise.
28419         (BUS_OBJERR): Likewise.
28420         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28421         (TRAP_TRACE): Likewise.
28422         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28423         __USE_XOPEN2K8].
28424         (CLD_KILLED): Likewise.
28425         (CLD_DUMPED): Likewise.
28426         (CLD_TRAPPED): Likewise.
28427         (CLD_STOPPED): Likewise.
28428         (CLD_CONTINUED): Likewise.
28429         (POLL_IN): Likewise.
28430         (POLL_OUT): Likewise.
28431         (POLL_MSG): Likewise.
28432         (POLL_ERR): Likewise.
28433         (POLL_PRI): Likewise.
28434         (POLL_HUP): Likewise.
28435         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
28436         Likewise.
28437         (ILL_ILLOPN): Likewise.
28438         (ILL_ILLADR): Likewise.
28439         (ILL_ILLTRP): Likewise.
28440         (ILL_PRVOPC): Likewise.
28441         (ILL_PRVREG): Likewise.
28442         (ILL_COPROC): Likewise.
28443         (ILL_BADSTK): Likewise.
28444         (FPE_INTDIV): Likewise.
28445         (FPE_INTOVF): Likewise.
28446         (FPE_FLTDIV): Likewise.
28447         (FPE_FLTOVF): Likewise.
28448         (FPE_FLTUND): Likewise.
28449         (FPE_FLTRES): Likewise.
28450         (FPE_FLTINV): Likewise.
28451         (FPE_FLTSUB): Likewise.
28452         (SEGV_MAPERR): Likewise.
28453         (SEGV_ACCERR): Likewise.
28454         (BUS_ADRALN): Likewise.
28455         (BUS_ADRERR): Likewise.
28456         (BUS_OBJERR): Likewise.
28457         (BUS_MCEERR_AR): Likewise.
28458         (BUS_MCEERR_AO): Likewise.
28459         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28460         (TRAP_TRACE): Likewise.
28461         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28462         __USE_XOPEN2K8].
28463         (CLD_KILLED): Likewise.
28464         (CLD_DUMPED): Likewise.
28465         (CLD_TRAPPED): Likewise.
28466         (CLD_STOPPED): Likewise.
28467         (CLD_CONTINUED): Likewise.
28468         (POLL_IN): Likewise.
28469         (POLL_OUT): Likewise.
28470         (POLL_MSG): Likewise.
28471         (POLL_ERR): Likewise.
28472         (POLL_PRI): Likewise.
28473         (POLL_HUP): Likewise.
28474         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
28475         (ILL_ILLOPN): Likewise.
28476         (ILL_ILLADR): Likewise.
28477         (ILL_ILLTRP): Likewise.
28478         (ILL_PRVOPC): Likewise.
28479         (ILL_PRVREG): Likewise.
28480         (ILL_COPROC): Likewise.
28481         (ILL_BADSTK): Likewise.
28482         (FPE_INTDIV): Likewise.
28483         (FPE_INTOVF): Likewise.
28484         (FPE_FLTDIV): Likewise.
28485         (FPE_FLTOVF): Likewise.
28486         (FPE_FLTUND): Likewise.
28487         (FPE_FLTRES): Likewise.
28488         (FPE_FLTINV): Likewise.
28489         (FPE_FLTSUB): Likewise.
28490         (SEGV_MAPERR): Likewise.
28491         (SEGV_ACCERR): Likewise.
28492         (BUS_ADRALN): Likewise.
28493         (BUS_ADRERR): Likewise.
28494         (BUS_OBJERR): Likewise.
28495         (BUS_MCEERR_AR): Likewise.
28496         (BUS_MCEERR_AO): Likewise.
28497         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28498         (TRAP_TRACE): Likewise.
28499         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28500         __USE_XOPEN2K8].
28501         (CLD_KILLED): Likewise.
28502         (CLD_DUMPED): Likewise.
28503         (CLD_TRAPPED): Likewise.
28504         (CLD_STOPPED): Likewise.
28505         (CLD_CONTINUED): Likewise.
28506         (POLL_IN): Likewise.
28507         (POLL_OUT): Likewise.
28508         (POLL_MSG): Likewise.
28509         (POLL_ERR): Likewise.
28510         (POLL_PRI): Likewise.
28511         (POLL_HUP): Likewise.
28512         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
28513         Likewise.
28514         (ILL_ILLOPN): Likewise.
28515         (ILL_ILLADR): Likewise.
28516         (ILL_ILLTRP): Likewise.
28517         (ILL_PRVOPC): Likewise.
28518         (ILL_PRVREG): Likewise.
28519         (ILL_COPROC): Likewise.
28520         (ILL_BADSTK): Likewise.
28521         (ILL_BADIADDR): Likewise.
28522         (ILL_BREAK): Likewise.
28523         (FPE_INTDIV): Likewise.
28524         (FPE_INTOVF): Likewise.
28525         (FPE_FLTDIV): Likewise.
28526         (FPE_FLTOVF): Likewise.
28527         (FPE_FLTUND): Likewise.
28528         (FPE_FLTRES): Likewise.
28529         (FPE_FLTINV): Likewise.
28530         (FPE_FLTSUB): Likewise.
28531         (FPE_DECOVF): Likewise.
28532         (FPE_DECDIV): Likewise.
28533         (FPE_DECERR): Likewise.
28534         (FPE_INVASC): Likewise.
28535         (FPE_INVDEC): Likewise.
28536         (SEGV_MAPERR): Likewise.
28537         (SEGV_ACCERR): Likewise.
28538         (SEGV_PSTKOVF): Likewise.
28539         (BUS_ADRALN): Likewise.
28540         (BUS_ADRERR): Likewise.
28541         (BUS_OBJERR): Likewise.
28542         (BUS_MCEERR_AR): Likewise.
28543         (BUS_MCEERR_AO): Likewise.
28544         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28545         (TRAP_TRACE): Likewise.
28546         (TRAP_BRANCH): Likewise.
28547         (TRAP_HWBKPT): Likewise.
28548         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28549         __USE_XOPEN2K8].
28550         (CLD_KILLED): Likewise.
28551         (CLD_DUMPED): Likewise.
28552         (CLD_TRAPPED): Likewise.
28553         (CLD_STOPPED): Likewise.
28554         (CLD_CONTINUED): Likewise.
28555         (POLL_IN): Likewise.
28556         (POLL_OUT): Likewise.
28557         (POLL_MSG): Likewise.
28558         (POLL_ERR): Likewise.
28559         (POLL_PRI): Likewise.
28560         (POLL_HUP): Likewise.
28561         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
28562         (ILL_ILLOPN): Likewise.
28563         (ILL_ILLADR): Likewise.
28564         (ILL_ILLTRP): Likewise.
28565         (ILL_PRVOPC): Likewise.
28566         (ILL_PRVREG): Likewise.
28567         (ILL_COPROC): Likewise.
28568         (ILL_BADSTK): Likewise.
28569         (FPE_INTDIV): Likewise.
28570         (FPE_INTOVF): Likewise.
28571         (FPE_FLTDIV): Likewise.
28572         (FPE_FLTOVF): Likewise.
28573         (FPE_FLTUND): Likewise.
28574         (FPE_FLTRES): Likewise.
28575         (FPE_FLTINV): Likewise.
28576         (FPE_FLTSUB): Likewise.
28577         (SEGV_MAPERR): Likewise.
28578         (SEGV_ACCERR): Likewise.
28579         (BUS_ADRALN): Likewise.
28580         (BUS_ADRERR): Likewise.
28581         (BUS_OBJERR): Likewise.
28582         (BUS_MCEERR_AR): Likewise.
28583         (BUS_MCEERR_AO): Likewise.
28584         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28585         (TRAP_TRACE): Likewise.
28586         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28587         __USE_XOPEN2K8].
28588         (CLD_KILLED): Likewise.
28589         (CLD_DUMPED): Likewise.
28590         (CLD_TRAPPED): Likewise.
28591         (CLD_STOPPED): Likewise.
28592         (CLD_CONTINUED): Likewise.
28593         (POLL_IN): Likewise.
28594         (POLL_OUT): Likewise.
28595         (POLL_MSG): Likewise.
28596         (POLL_ERR): Likewise.
28597         (POLL_PRI): Likewise.
28598         (POLL_HUP): Likewise.
28599         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
28600         (ILL_ILLOPN): Likewise.
28601         (ILL_ILLADR): Likewise.
28602         (ILL_ILLTRP): Likewise.
28603         (ILL_PRVOPC): Likewise.
28604         (ILL_PRVREG): Likewise.
28605         (ILL_COPROC): Likewise.
28606         (ILL_BADSTK): Likewise.
28607         (FPE_INTDIV): Likewise.
28608         (FPE_INTOVF): Likewise.
28609         (FPE_FLTDIV): Likewise.
28610         (FPE_FLTOVF): Likewise.
28611         (FPE_FLTUND): Likewise.
28612         (FPE_FLTRES): Likewise.
28613         (FPE_FLTINV): Likewise.
28614         (FPE_FLTSUB): Likewise.
28615         (SEGV_MAPERR): Likewise.
28616         (SEGV_ACCERR): Likewise.
28617         (BUS_ADRALN): Likewise.
28618         (BUS_ADRERR): Likewise.
28619         (BUS_OBJERR): Likewise.
28620         (BUS_MCEERR_AR): Likewise.
28621         (BUS_MCEERR_AO): Likewise.
28622         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28623         (TRAP_TRACE): Likewise.
28624         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28625         __USE_XOPEN2K8].
28626         (CLD_KILLED): Likewise.
28627         (CLD_DUMPED): Likewise.
28628         (CLD_TRAPPED): Likewise.
28629         (CLD_STOPPED): Likewise.
28630         (CLD_CONTINUED): Likewise.
28631         (POLL_IN): Likewise.
28632         (POLL_OUT): Likewise.
28633         (POLL_MSG): Likewise.
28634         (POLL_ERR): Likewise.
28635         (POLL_PRI): Likewise.
28636         (POLL_HUP): Likewise.
28637         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
28638         (ILL_ILLOPN): Likewise.
28639         (ILL_ILLADR): Likewise.
28640         (ILL_ILLTRP): Likewise.
28641         (ILL_PRVOPC): Likewise.
28642         (ILL_PRVREG): Likewise.
28643         (ILL_COPROC): Likewise.
28644         (ILL_BADSTK): Likewise.
28645         (FPE_INTDIV): Likewise.
28646         (FPE_INTOVF): Likewise.
28647         (FPE_FLTDIV): Likewise.
28648         (FPE_FLTOVF): Likewise.
28649         (FPE_FLTUND): Likewise.
28650         (FPE_FLTRES): Likewise.
28651         (FPE_FLTINV): Likewise.
28652         (FPE_FLTSUB): Likewise.
28653         (SEGV_MAPERR): Likewise.
28654         (SEGV_ACCERR): Likewise.
28655         (BUS_ADRALN): Likewise.
28656         (BUS_ADRERR): Likewise.
28657         (BUS_OBJERR): Likewise.
28658         (BUS_MCEERR_AR): Likewise.
28659         (BUS_MCEERR_AO): Likewise.
28660         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28661         (TRAP_TRACE): Likewise.
28662         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28663         __USE_XOPEN2K8].
28664         (CLD_KILLED): Likewise.
28665         (CLD_DUMPED): Likewise.
28666         (CLD_TRAPPED): Likewise.
28667         (CLD_STOPPED): Likewise.
28668         (CLD_CONTINUED): Likewise.
28669         (POLL_IN): Likewise.
28670         (POLL_OUT): Likewise.
28671         (POLL_MSG): Likewise.
28672         (POLL_ERR): Likewise.
28673         (POLL_PRI): Likewise.
28674         (POLL_HUP): Likewise.
28675         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
28676         (ILL_ILLOPN): Likewise.
28677         (ILL_ILLADR): Likewise.
28678         (ILL_ILLTRP): Likewise.
28679         (ILL_PRVOPC): Likewise.
28680         (ILL_PRVREG): Likewise.
28681         (ILL_COPROC): Likewise.
28682         (ILL_BADSTK): Likewise.
28683         (ILL_DBLFLT): Likewise.
28684         (ILL_HARDWALL): Likewise.
28685         (FPE_INTDIV): Likewise.
28686         (FPE_INTOVF): Likewise.
28687         (FPE_FLTDIV): Likewise.
28688         (FPE_FLTOVF): Likewise.
28689         (FPE_FLTUND): Likewise.
28690         (FPE_FLTRES): Likewise.
28691         (FPE_FLTINV): Likewise.
28692         (FPE_FLTSUB): Likewise.
28693         (SEGV_MAPERR): Likewise.
28694         (SEGV_ACCERR): Likewise.
28695         (BUS_ADRALN): Likewise.
28696         (BUS_ADRERR): Likewise.
28697         (BUS_OBJERR): Likewise.
28698         (BUS_MCEERR_AR): Likewise.
28699         (BUS_MCEERR_AO): Likewise.
28700         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28701         (TRAP_TRACE): Likewise.
28702         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28703         __USE_XOPEN2K8].
28704         (CLD_KILLED): Likewise.
28705         (CLD_DUMPED): Likewise.
28706         (CLD_TRAPPED): Likewise.
28707         (CLD_STOPPED): Likewise.
28708         (CLD_CONTINUED): Likewise.
28709         (POLL_IN): Likewise.
28710         (POLL_OUT): Likewise.
28711         (POLL_MSG): Likewise.
28712         (POLL_ERR): Likewise.
28713         (POLL_PRI): Likewise.
28714         (POLL_HUP): Likewise.
28715         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
28716         (ILL_ILLOPN): Likewise.
28717         (ILL_ILLADR): Likewise.
28718         (ILL_ILLTRP): Likewise.
28719         (ILL_PRVOPC): Likewise.
28720         (ILL_PRVREG): Likewise.
28721         (ILL_COPROC): Likewise.
28722         (ILL_BADSTK): Likewise.
28723         (FPE_INTDIV): Likewise.
28724         (FPE_INTOVF): Likewise.
28725         (FPE_FLTDIV): Likewise.
28726         (FPE_FLTOVF): Likewise.
28727         (FPE_FLTUND): Likewise.
28728         (FPE_FLTRES): Likewise.
28729         (FPE_FLTINV): Likewise.
28730         (FPE_FLTSUB): Likewise.
28731         (SEGV_MAPERR): Likewise.
28732         (SEGV_ACCERR): Likewise.
28733         (BUS_ADRALN): Likewise.
28734         (BUS_ADRERR): Likewise.
28735         (BUS_OBJERR): Likewise.
28736         (BUS_MCEERR_AR): Likewise.
28737         (BUS_MCEERR_AO): Likewise.
28738         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28739         (TRAP_TRACE): Likewise.
28740         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28741         __USE_XOPEN2K8].
28742         (CLD_KILLED): Likewise.
28743         (CLD_DUMPED): Likewise.
28744         (CLD_TRAPPED): Likewise.
28745         (CLD_STOPPED): Likewise.
28746         (CLD_CONTINUED): Likewise.
28747         (POLL_IN): Likewise.
28748         (POLL_OUT): Likewise.
28749         (POLL_MSG): Likewise.
28750         (POLL_ERR): Likewise.
28751         (POLL_PRI): Likewise.
28752         (POLL_HUP): Likewise.
28753         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
28754         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
28756         [BZ #16670]
28757         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
28758         before #include of <time.h>.
28759         [!__USE_XOPEN2K] (__need_timespec): Likewise.
28760         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
28761         (test-xfail-UNIX98/sched.h/conform): Likewise.
28763 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28765         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
28766         error absence of trapping exception support.
28767         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28769 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28771         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
28772         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
28773         * timezone/Makefile (testdata): Move definition above include of
28774         Rules.
28775         (test-zones): New variable.
28776         (tests-special): Add zone files.
28777         (build-testdata): Use $(evaluate-test).
28779         * elf/Makefile (tests-special): Rename tests to end with .out.
28780         ($(objpfx)noload-mem): Likewise.
28781         ($(objpfx)tst-leaks1-mem): Likewise.
28782         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
28783         * iconv/Makefile (xtests-special): Change test-iconvconfig to
28784         $(objpfx)test-iconvconfig.out.
28785         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
28786         set -e inside subshell and redirect output to file.
28787         * iconvdata/Makefile (generated): Rename tests to end with .out.
28788         Correct type.
28789         (tests-special): Rename tests to end with .out.
28790         ($(objpfx)mtrace-tst-loading): Likewise.
28791         * intl/Makefile (generated): Likewise.
28792         (tests-special): Likewise.
28793         ($(objpfx)mtrace-tst-gettext): Likewise.
28794         * misc/Makefile (generated): Likewise.
28795         (tests-special): Likewise.
28796         ($(objpfx)tst-error1-mem): Likewise.
28797         * nptl/Makefile (tests-special): Likewise.
28798         ($(objpfx)tst-stack3-mem): Likewise.
28799         (generated): Likewise.
28800         * posix/Makefile (generated): Likewise.
28801         (tests-special): Likewise.
28802         (xtests-special): Likewise.
28803         ($(objpfx)tst-fnmatch-mem): Likewise.
28804         ($(objpfx)bug-regex2-mem): Likewise.
28805         ($(objpfx)bug-regex14-mem): Likewise.
28806         ($(objpfx)bug-regex21-mem): Likewise.
28807         ($(objpfx)bug-regex31-mem): Likewise.
28808         ($(objpfx)tst-vfork3-mem): Likewise.
28809         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28810         ($(objpfx)tst-pcre-mem): Likewise.
28811         ($(objpfx)tst-boost-mem): Likewise.
28812         ($(objpfx)bug-ga2-mem): Likewise.
28813         ($(objpfx)bug-glob2-mem): Likewise.
28814         * resolv/Makefile (generate): Likewise.
28815         (tests-special): Likewise.
28816         (xtests-special): Likewise.
28817         (generated): Likewise.
28818         ($(objpfx)mtrace-tst-leaks): Likewise.
28819         ($(objpfx)mtrace-tst-leaks2): Likewise.
28821         * scripts/merge-test-results.sh: New file.
28822         * Makefile (tests-special-notdir): New variable.
28823         (tests): Run merge-test-results.sh.
28824         (xtests): Likewise.
28825         * Rules (tests-special-notdir): New variable.
28826         (xtests-special-notdir): Likewise.
28827         (tests): Run merge-test-results.sh
28828         (xtests): Likewise.
28830         * Makeconfig (test-xfail-name): New variable.
28831         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
28832         compute variable name for expected failures.
28833         * conform/Makefile (conformtest-headers-data): New variable.
28834         (conformtest-standards): Likewise.
28835         (conformtest-headers-ISO): Likewise.
28836         (conformtest-headers-ISO99): Likewise.
28837         (conformtest-headers-ISO11): Likewise.
28838         (conformtest-headers-POSIX): Likewise.
28839         (conformtest-headers-XPG3): Likewise.
28840         (conformtest-headers-XPG4): Likewise.
28841         (conformtest-headers-UNIX98): Likewise.
28842         (conformtest-headers-XOPEN2K): Likewise.
28843         (conformtest-headers-POSIX2008): Likewise.
28844         (conformtest-headers-XOPEN2K8): Likewise.
28845         (conformtest-header-list-base): Likewise.
28846         (conformtest-header-list-tests): Likewise.
28847         (conformtest-header-base): Likewise.
28848         (conformtest-header-tests): Likewise.
28849         (tests-special): Add $(conformtest-header-list-tests).  If
28850         [$(fast-check) && !$(cross-compiling)], add
28851         $(conformtest-header-tests) instead of
28852         $(objpfx)run-conformtest.out.
28853         (generated): Add $(conformtest-header-list-base).  If
28854         [$(fast-check) && !$(cross-compiling)], add
28855         $(conformtest-header-base).  Remove previous setting.
28856         ($(conformtest-header-list-tests)): New target.
28857         (test-xfail-run-conformtest): Remove variable.
28858         ($(objpfx)run-conformtest.out): Remove target.
28859         (test-xfail-ISO11/complex.h/conform): New variable.
28860         (test-xfail-ISO11/stdalign.h/conform): Likewise.
28861         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
28862         (test-xfail-XPG3/varargs.h/conform): Likewise.
28863         (test-xfail-XPG4/varargs.h/conform): Likewise.
28864         (test-xfail-UNIX98/varargs.h/conform): Likewise.
28865         (test-xfail-XPG4/ndbm.h/conform): Likewise.
28866         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
28867         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
28868         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
28869         (test-xfail-XPG3/fcntl.h/conform): Likewise.
28870         (test-xfail-XPG3/ftw.h/conform): Likewise.
28871         (test-xfail-XPG3/grp.h/conform): Likewise.
28872         (test-xfail-XPG3/langinfo.h/conform): Likewise.
28873         (test-xfail-XPG3/limits.h/conform): Likewise.
28874         (test-xfail-XPG3/pwd.h/conform): Likewise.
28875         (test-xfail-XPG3/search.h/conform): Likewise.
28876         (test-xfail-XPG3/signal.h/conform): Likewise.
28877         (test-xfail-XPG3/stdio.h/conform): Likewise.
28878         (test-xfail-XPG3/stdlib.h/conform): Likewise.
28879         (test-xfail-XPG3/string.h/conform): Likewise.
28880         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
28881         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
28882         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28883         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28884         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
28885         (test-xfail-XPG3/sys/types.h/conform): Likewise.
28886         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
28887         (test-xfail-XPG3/termios.h/conform): Likewise.
28888         (test-xfail-XPG3/time.h/conform): Likewise.
28889         (test-xfail-XPG3/unistd.h/conform): Likewise.
28890         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
28891         (test-xfail-XPG4/fcntl.h/conform): Likewise.
28892         (test-xfail-XPG4/langinfo.h/conform): Likewise.
28893         (test-xfail-XPG4/netdb.h/conform): Likewise.
28894         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
28895         (test-xfail-XPG4/signal.h/conform): Likewise.
28896         (test-xfail-XPG4/stdio.h/conform): Likewise.
28897         (test-xfail-XPG4/stdlib.h/conform): Likewise.
28898         (test-xfail-XPG4/stropts.h/conform): Likewise.
28899         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28900         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28901         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28902         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28903         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28904         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
28905         (test-xfail-XPG4/sys/time.h/conform): Likewise.
28906         (test-xfail-XPG4/sys/types.h/conform): Likewise.
28907         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
28908         (test-xfail-XPG4/termios.h/conform): Likewise.
28909         (test-xfail-XPG4/ucontext.h/conform): Likewise.
28910         (test-xfail-XPG4/unistd.h/conform): Likewise.
28911         (test-xfail-XPG4/utmpx.h/conform): Likewise.
28912         (test-xfail-POSIX/sched.h/conform): Likewise.
28913         (test-xfail-POSIX/signal.h/conform): Likewise.
28914         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
28915         (test-xfail-POSIX/tar.h/conform): Likewise.
28916         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
28917         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
28918         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
28919         (test-xfail-UNIX98/netdb.h/conform): Likewise.
28920         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
28921         (test-xfail-UNIX98/sched.h/conform): Likewise.
28922         (test-xfail-UNIX98/signal.h/conform): Likewise.
28923         (test-xfail-UNIX98/stdio.h/conform): Likewise.
28924         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
28925         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28926         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28927         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28928         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28929         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28930         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28931         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
28932         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28933         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28934         (test-xfail-UNIX98/unistd.h/conform): Likewise.
28935         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
28936         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
28937         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
28938         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
28939         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
28940         (test-xfail-XOPEN2K/math.h/conform): Likewise.
28941         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
28942         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28943         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28944         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
28945         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28946         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
28947         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
28948         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28949         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28950         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28951         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28952         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28953         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28954         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28955         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
28956         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28957         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28958         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28959         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
28960         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28961         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
28962         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
28963         (test-xfail-POSIX2008/signal.h/conform): Likewise.
28964         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28965         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
28966         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28967         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28968         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28969         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
28970         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28971         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28972         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28973         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28974         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
28975         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28976         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28977         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28978         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
28979         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28980         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28981         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28982         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28983         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28984         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
28985         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28986         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
28987         (conformtest-cc-flags): Likewise.
28988         ($(conformtest-header-tests): New target.
28989         * conform/check-header-lists.sh: New file.
28990         * conform/run-conformtest.sh: Remove.
28992         * conform/conformtest.pl: Allow ' and \ in values given for
28993         constants.
28994         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
28995         inclusion.
28996         [POSIX] (sys/types.h): Likewise.
28997         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
28998         inclusion.
28999         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
29000         inclusion.
29001         * conform/data/signal.h-data (SIGIO): Remove expectation.
29002         [XPG3] (SIGBUS): Do not expect.
29003         [POSIX || XPG3] (SIGPOLL): Likewise.
29004         [POSIX || XPG3] (SIGPROF): Likewise.
29005         [POSIX || XPG3] (SIGSYS): Likewise.
29006         [XPG3] (SIGTRAP): Likewise.
29007         [POSIX || XPG3] (SIGURG): Likewise.
29008         [POSIX || XPG3] (SIGVTALRM): Likewise.
29009         [POSIX || XPG3] (SIGXCPU): Likewise.
29010         [POSIX || XPG3] (SIGXFSZ): Likewise.
29011         [POSIX] (SA_SIGINFO): Expect.
29012         [XPG3] (siginfo_t): Do not expect type or contents.
29013         [POSIX] (si_pid): Do not expect element.
29014         [POSIX] (si_uid): Likewise.
29015         [POSIX] (si_addr): Likewise.
29016         [POSIX] (si_status): Likewise.
29017         [POSIX] (si_band): Likewise.
29018         [XPG4] (si_value): Likewise.
29019         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
29020         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
29021         [POSIX || XPG3] (ILL_ILLADR): Likewise.
29022         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
29023         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
29024         [POSIX || XPG3] (ILL_PRVREG): Likewise.
29025         [POSIX || XPG3] (ILL_COPROC): Likewise.
29026         [POSIX || XPG3] (ILL_BADSTK): Likewise.
29027         [POSIX || XPG3] (FPE_INTDIV): Likewise.
29028         [POSIX || XPG3] (FPE_INTOVF): Likewise.
29029         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
29030         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
29031         [POSIX || XPG3] (FPE_FLTUND): Likewise.
29032         [POSIX || XPG3] (FPE_FLTRES): Likewise.
29033         [POSIX || XPG3] (FPE_FLTINV): Likewise.
29034         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
29035         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
29036         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
29037         [POSIX || XPG3] (BUS_ADRALN): Likewise.
29038         [POSIX || XPG3] (BUS_ADRERR): Likewise.
29039         [POSIX || XPG3] (BUS_OBJERR): Likewise.
29040         [POSIX || XPG3] (CLD_EXITED): Likewise.
29041         [POSIX || XPG3] (CLD_KILLED): Likewise.
29042         [POSIX || XPG3] (CLD_DUMPED): Likewise.
29043         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
29044         [POSIX || XPG3] (CLD_STOPPED): Likewise.
29045         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
29046         [POSIX || XPG3] (POLL_IN): Likewise.
29047         [POSIX || XPG3] (POLL_OUT): Likewise.
29048         [POSIX || XPG3] (POLL_MSG): Likewise.
29049         [POSIX || XPG3] (POLL_ERR): Likewise.
29050         [POSIX || XPG3] (POLL_PRI): Likewise.
29051         [POSIX || XPG3] (POLL_HUP): Likewise.
29052         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
29053         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
29054         (SIG*): Do not allow.
29055         [XPG3] (si_*): Likewise.
29056         [XPG3] (SI_*): Likewise.
29057         [XPG3 || XPG4] (sigev_*): Likewise.
29058         [XPG3 || XPG4] (SIGEV_*): Likewise.
29059         [XPG3 || XPG4] (sival_*): Likewise.
29060         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
29061         [POSIX || XPG3] (BUS_*): Likewise.
29062         [POSIX || XPG3] (CLD_*): Likewise.
29063         [POSIX || XPG3] (FPE_*): Likewise.
29064         [POSIX || XPG3] (ILL_*): Likewise.
29065         [POSIX || XPG3] (POLL_*): Likewise.
29066         [POSIX || XPG3] (SEGV_*): Likewise.
29067         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
29068         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
29069         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
29070         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
29071         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
29072         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
29073         Specify type and value.
29074         (TVERSLEN): Likewise.
29075         (REGTYPE): Likewise.
29076         (AREGTYPE): Likewise.
29077         (LNKTYPE): Likewise.
29078         (SYMTYPE): Likewise.
29079         (CHRTYPE): Likewise.
29080         (BLKTYPE): Likewise.
29081         (DIRTYPE): Likewise.
29082         (FIFOTYPE): Likewise.
29083         (CONTTYPE): Likewise.
29084         (TSUID): Likewise.
29085         (TSGID): Likewise.
29086         (TSVTX): Likewise.
29087         (TUREAD): Likewise.
29088         (TUWRITE): Likewise.
29089         (TUEXEC): Likewise.
29090         (TGREAD): Likewise.
29091         (TGWRITE): Likewise.
29092         (TGEXEC): Likewise.
29093         (TOREAD): Likewise.
29094         (TOWRITE): Likewise.
29095         (TOEXEC): Likewise.
29096         [POSIX] (TSVTX): Expect constant.
29098 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
29100         * Makefile (tests): Change dependencies to ....
29101         (tests-special): ... additions to this variable.
29102         (tests): Depend on $(tests-special).
29103         * Makerules (check-abi-list): New variable.
29104         (check-abi): Depend on $(check-abi-list).
29105         [$(subdir) = elf] (tests-special): Add
29106         $(objpfx)check-abi-libc.out.
29107         [$(build-shared) = yes && subdir] (tests-special): Add
29108         $(check-abi-list).
29109         [$(build-shared) = yes && subdir] (tests): Do not depend on
29110         check-abi.
29111         * Rules (tests): Depend on $(tests-special).
29112         (xtests): Depend on $(xtests-special).
29113         * catgets/Makefile (tests): Change dependencies to ....
29114         (tests-special): ... additions to this variable.
29115         * conform/Makefile (tests): Change dependencies to ....
29116         (tests-special): ... additions to this variable.
29117         * elf/Makefile (tests): Change dependencies to ....
29118         (tests-special): ... additions to this variable.
29119         * grp/Makefile (tests): Change dependencies to ....
29120         (tests-special): ... additions to this variable.
29121         * iconv/Makefile (xtests): Change dependencies to ....
29122         (xtests-special): ... additions to this variable.
29123         * iconvdata/Makefile (tests): Change dependencies to ....
29124         (tests-special): ... additions to this variable.
29125         * intl/Makefile (tests): Change dependencies to ....
29126         (tests-special): ... additions to this variable.  Also add
29127         $(objpfx)tst-gettext.out.
29128         * io/Makefile (tests): Change dependencies to ....
29129         (tests-special): ... additions to this variable.
29130         * libio/Makefile (tests): Change dependencies to ....
29131         (tests-special): ... additions to this variable.
29132         * malloc/Makefile (tests): Change dependencies to ....
29133         (tests-special): ... additions to this variable.
29134         * misc/Makefile (tests): Change dependencies to ....
29135         (tests-special): ... additions to this variable.
29136         * nptl/Makefile (tests): Change dependencies to ....
29137         (tests-special): ... additions to this variable.
29138         * nptl_db/Makefile (tests): Change dependencies to ....
29139         (tests-special): ... additions to this variable.
29140         * posix/Makefile (tests): Change dependencies to ....
29141         (tests-special): ... additions to this variable.
29142         (xtests): Change dependencies to ....
29143         (xtests-special): ... additions to this variable.
29144         * resolv/Makefile (tests): Change dependencies to ....
29145         (tests-special): ... additions to this variable.
29146         (xtests): Change dependencies to ....
29147         (xtests-special): ... additions to this variable.
29148         * stdio-common/Makefile (tests): Change dependencies to ....
29149         (tests-special): ... additions to this variable.
29150         (do-tst-unbputc): Remove target.
29151         (do-tst-printf): Likewise.
29152         * stdlib/Makefile (tests): Change dependencies to ....
29153         (tests-special): ... additions to this variable.
29154         * string/Makefile (tests): Change dependencies to ....
29155         (tests-special): ... additions to this variable.
29156         * sysdeps/x86/Makefile (tests): Change dependencies to ....
29157         (tests-special): ... additions to this variable.
29159         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
29160         whole file.
29161         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
29162         whole file.
29163         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
29164         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
29166         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
29167         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
29168         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
29169         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
29170         * conform/data/libgen.h-data [XPG3]: Likewise.
29171         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
29172         * conform/data/ndbm.h-data [XPG3]: Likewise.
29173         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29174         * conform/data/netdb.h-data [XPG3]: Likewise.
29175         * conform/data/netinet/in.h-data [XPG3]: Likewise.
29176         * conform/data/poll.h-data [XPG3]: Likewise.
29177         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29178         * conform/data/strings.h-data [XPG3]: Likewise.
29179         * conform/data/stropts.h-data [XPG3]: Likewise.
29180         * conform/data/sys/mman.h-data [XPG3]: Likewise.
29181         * conform/data/sys/resource.h-data [XPG3]: Likewise.
29182         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
29183         Likewise.
29184         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
29185         * conform/data/sys/time.h-data [XPG3]: Likewise.
29186         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
29187         * conform/data/sys/uio.h-data [XPG3]: Likewise.
29188         * conform/data/sys/un.h-data [XPG3]: Likewise.
29189         * conform/data/syslog.h-data [XPG3]: Likewise.
29190         * conform/data/ucontext.h-data [XPG3]: Likewise.
29191         * conform/data/utmpx.h-data [XPG3]: Likewise.
29192         * conform/data/varargs.h-data [UNIX98]: Enable file.
29194         * manual/Makefile (INSTALL_INFO): Remove variable setting.
29196         * math/libm-test.inc (struct test_f_f_data): Move expected results
29197         into structure for each rounding mode.
29198         (struct test_ff_f_data): Likewise.
29199         (struct test_ff_f_data_nexttoward): Likewise.
29200         (struct test_fi_f_data): Likewise.
29201         (struct test_fl_f_data): Likewise.
29202         (struct test_if_f_data): Likewise.
29203         (struct test_fff_f_data): Likewise.
29204         (struct test_c_f_data): Likewise.
29205         (struct test_f_f1_data): Likewise.
29206         (struct test_fF_f1_data): Likewise.
29207         (struct test_ffI_f1_data): Likewise.
29208         (struct test_c_c_data): Likewise.
29209         (struct test_cc_c_data): Likewise.
29210         (struct test_f_i_data): Likewise.
29211         (struct test_ff_i_data): Likewise.
29212         (struct test_f_l_data): Likewise.
29213         (struct test_f_L_data): Likewise.
29214         (struct test_fFF_11_data): Likewise.
29215         (RM_): New macro.
29216         (RM_FE_DOWNWARD): Likewise.
29217         (RM_FE_TONEAREST): Likewise.
29218         (RM_FE_TOWARDZERO): Likewise.
29219         (RM_FE_UPWARD): Likewise.
29220         (RUN_TEST_LOOP_f_f): Update references to expected results.
29221         (RUN_TEST_LOOP_2_f): Likewise.
29222         (RUN_TEST_LOOP_fff_f): Likewise.
29223         (RUN_TEST_LOOP_c_f): Likewise.
29224         (RUN_TEST_LOOP_f_f1): Likewise.
29225         (RUN_TEST_LOOP_fF_f1): Likewise.
29226         (RUN_TEST_LOOP_fI_f1): Likewise.
29227         (RUN_TEST_LOOP_ffI_f1): Likewise.
29228         (RUN_TEST_LOOP_c_c): Likewise.
29229         (RUN_TEST_LOOP_cc_c): Likewise.
29230         (RUN_TEST_LOOP_f_i): Likewise.
29231         (RUN_TEST_LOOP_f_i_tg): Likewise.
29232         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29233         (RUN_TEST_LOOP_f_b): Likewise.
29234         (RUN_TEST_LOOP_f_b_tg): Likewise.
29235         (RUN_TEST_LOOP_f_l): Likewise.
29236         (RUN_TEST_LOOP_f_L): Likewise.
29237         (RUN_TEST_LOOP_fFF_11): Likewise.
29238         * math/gen-libm-test.pl (parse_args): Output four copies of
29239         expected results for each test.
29241         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29242         (__ASSUME_UTIMES): Remove.
29243         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29244         (__ASSUME_UTIMES): Likewise.
29246         * math/gen-auto-libm-tests.c: Update comment on output format.
29247         (output_for_one_input_case): Generate before-rounding and
29248         after-rounding information as conditions on output flags not
29249         floating-point format.
29250         * math/auto-libm-test-out: Regenerated.
29251         * math/gen-libm-test.pl (cond_value): New function.
29252         (or_cond_value): Use cond_value.
29253         (generate_testfile): Handle conditional exceptions.
29255 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
29257         * math/libm-test.inc (max_valid_error): New variable.
29258         (init_max_error): Take new argument specifying whether function
29259         results are exactly determined.  Set max_valid_error and bound
29260         other variables for errors based on this argument.
29261         (set_max_error): Do not record results above max_valid_error.
29262         (check_float_internal): Only accept errors of up to 0.5ulps if
29263         also at most max_valid_error.
29264         (START): Take new argument EXACT and pass it to init_max_error.
29265         (acos_test): Update call to START.
29266         (acos_test_tonearest): Likewise.
29267         (acos_test_towardzero): Likewise.
29268         (acos_test_downward): Likewise.
29269         (acos_test_upward): Likewise.
29270         (acosh_test): Likewise.
29271         (asin_test): Likewise.
29272         (asin_test_tonearest): Likewise.
29273         (asin_test_towardzero): Likewise.
29274         (asin_test_downward): Likewise.
29275         (asin_test_upward): Likewise.
29276         (asinh_test): Likewise.
29277         (atan_test): Likewise.
29278         (atanh_test): Likewise.
29279         (atan2_test): Likewise.
29280         (cabs_test): Likewise.
29281         (cacos_test): Likewise.
29282         (cacosh_test): Likewise.
29283         (carg_test): Likewise.
29284         (casin_test): Likewise.
29285         (casinh_test): Likewise.
29286         (catan_test): Likewise.
29287         (catanh_test): Likewise.
29288         (cbrt_test): Likewise.
29289         (ccos_test): Likewise.
29290         (ccosh_test): Likewise.
29291         (ceil_test): Likewise.
29292         (cexp_test): Likewise.
29293         (cimag_test): Likewise.
29294         (clog_test): Likewise.
29295         (clog10_test): Likewise.
29296         (conj_test): Likewise.
29297         (copysign_test): Likewise.
29298         (cos_test): Likewise.
29299         (cos_test_tonearest): Likewise.
29300         (cos_test_towardzero): Likewise.
29301         (cos_test_downward): Likewise.
29302         (cos_test_upward): Likewise.
29303         (cosh_test): Likewise.
29304         (cosh_test_tonearest): Likewise.
29305         (cosh_test_towardzero): Likewise.
29306         (cosh_test_downward): Likewise.
29307         (cosh_test_upward): Likewise.
29308         (cpow_test): Likewise.
29309         (cproj_test): Likewise.
29310         (creal_test): Likewise.
29311         (csin_test): Likewise.
29312         (csinh_test): Likewise.
29313         (csqrt_test): Likewise.
29314         (ctan_test): Likewise.
29315         (ctan_test_tonearest): Likewise.
29316         (ctan_test_towardzero): Likewise.
29317         (ctan_test_downward): Likewise.
29318         (ctan_test_upward): Likewise.
29319         (ctanh_test): Likewise.
29320         (ctanh_test_tonearest): Likewise.
29321         (ctanh_test_towardzero): Likewise.
29322         (ctanh_test_downward): Likewise.
29323         (ctanh_test_upward): Likewise.
29324         (erf_test): Likewise.
29325         (erfc_test): Likewise.
29326         (exp_test): Likewise.
29327         (exp_test_tonearest): Likewise.
29328         (exp_test_towardzero): Likewise.
29329         (exp_test_downward): Likewise.
29330         (exp_test_upward): Likewise.
29331         (exp10_test): Likewise.
29332         (exp10_test_tonearest): Likewise.
29333         (exp10_test_towardzero): Likewise.
29334         (exp10_test_downward): Likewise.
29335         (exp10_test_upward): Likewise.
29336         (pow10_test): Likewise.
29337         (exp2_test): Likewise.
29338         (expm1_test): Likewise.
29339         (expm1_test_tonearest): Likewise.
29340         (expm1_test_towardzero): Likewise.
29341         (expm1_test_downward): Likewise.
29342         (expm1_test_upward): Likewise.
29343         (fabs_test): Likewise.
29344         (fdim_test): Likewise.
29345         (floor_test): Likewise.
29346         (fma_test): Likewise.
29347         (fma_test_towardzero): Likewise.
29348         (fma_test_downward): Likewise.
29349         (fma_test_upward): Likewise.
29350         (fmax_test): Likewise.
29351         (fmin_test): Likewise.
29352         (fmod_test): Likewise.
29353         (fpclassify_test): Likewise.
29354         (frexp_test): Likewise.
29355         (hypot_test): Likewise.
29356         (ilogb_test): Likewise.
29357         (isfinite_test): Likewise.
29358         (finite_test): Likewise.
29359         (isgreater_test): Likewise.
29360         (isgreaterequal_test): Likewise.
29361         (isinf_test): Likewise.
29362         (isless_test): Likewise.
29363         (islessequal_test): Likewise.
29364         (islessgreater_test): Likewise.
29365         (isnan_test): Likewise.
29366         (isnormal_test): Likewise.
29367         (issignaling_test): Likewise.
29368         (isunordered_test): Likewise.
29369         (j0_test): Likewise.
29370         (j1_test): Likewise.
29371         (jn_test): Likewise.
29372         (ldexp_test): Likewise.
29373         (lgamma_test): Likewise.
29374         (gamma_test): Likewise.
29375         (lrint_test): Likewise.
29376         (lrint_test_tonearest): Likewise.
29377         (lrint_test_towardzero): Likewise.
29378         (lrint_test_downward): Likewise.
29379         (lrint_test_upward): Likewise.
29380         (llrint_test): Likewise.
29381         (llrint_test_tonearest): Likewise.
29382         (llrint_test_towardzero): Likewise.
29383         (llrint_test_downward): Likewise.
29384         (llrint_test_upward): Likewise.
29385         (log_test): Likewise.
29386         (log10_test): Likewise.
29387         (log1p_test): Likewise.
29388         (log2_test): Likewise.
29389         (logb_test): Likewise.
29390         (logb_test_downward): Likewise.
29391         (lround_test): Likewise.
29392         (llround_test): Likewise.
29393         (modf_test): Likewise.
29394         (nearbyint_test): Likewise.
29395         (nextafter_test): Likewise.
29396         (nexttoward_test): Likewise.
29397         (pow_test): Likewise.
29398         (pow_test_tonearest): Likewise.
29399         (pow_test_towardzero): Likewise.
29400         (pow_test_downward): Likewise.
29401         (pow_test_upward): Likewise.
29402         (remainder_test): Likewise.
29403         (drem_test): Likewise.
29404         (remainder_test_tonearest): Likewise.
29405         (drem_test_tonearest): Likewise.
29406         (remainder_test_towardzero): Likewise.
29407         (drem_test_towardzero): Likewise.
29408         (remainder_test_downward): Likewise.
29409         (drem_test_downward): Likewise.
29410         (remainder_test_upward): Likewise.
29411         (drem_test_upward): Likewise.
29412         (remquo_test): Likewise.
29413         (rint_test): Likewise.
29414         (rint_test_tonearest): Likewise.
29415         (rint_test_towardzero): Likewise.
29416         (rint_test_downward): Likewise.
29417         (rint_test_upward): Likewise.
29418         (round_test): Likewise.
29419         (scalb_test): Likewise.
29420         (scalbn_test): Likewise.
29421         (scalbln_test): Likewise.
29422         (signbit_test): Likewise.
29423         (sin_test): Likewise.
29424         (sin_test_tonearest): Likewise.
29425         (sin_test_towardzero): Likewise.
29426         (sin_test_downward): Likewise.
29427         (sin_test_upward): Likewise.
29428         (sincos_test): Likewise.
29429         (sinh_test): Likewise.
29430         (sinh_test_tonearest): Likewise.
29431         (sinh_test_towardzero): Likewise.
29432         (sinh_test_downward): Likewise.
29433         (sinh_test_upward): Likewise.
29434         (sqrt_test): Likewise.
29435         (sqrt_test_tonearest): Likewise.
29436         (sqrt_test_towardzero): Likewise.
29437         (sqrt_test_downward): Likewise.
29438         (sqrt_test_upward): Likewise.
29439         (tan_test): Likewise.
29440         (tan_test_tonearest): Likewise.
29441         (tan_test_towardzero): Likewise.
29442         (tan_test_downward): Likewise.
29443         (tan_test_upward): Likewise.
29444         (tanh_test): Likewise.
29445         (tgamma_test): Likewise.
29446         (trunc_test): Likewise.
29447         (y0_test): Likewise.
29448         (y1_test): Likewise.
29449         (yn_test): Likewise.
29450         (significand_test): Likewise.
29452         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
29453         individual tests in comment.
29454         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
29455         (prev_max_error): New variable.
29456         (prev_real_max_error): Likewise.
29457         (prev_imag_max_error): Likewise.
29458         (compare_ulp_data): Don't refer to test names in comment.
29459         (find_test_ulps): Remove function.
29460         (find_function_ulps): Likewise.
29461         (find_complex_function_ulps): Likewise.
29462         (init_max_error): Take function name as argument.  Look up ulps
29463         for that function.
29464         (print_ulps): Remove function.
29465         (print_max_error): Use prev_max_error instead of calling
29466         find_function_ulps.
29467         (print_complex_max_error): Use prev_real_max_error and
29468         prev_imag_max_error instead of calling find_complex_function_ulps.
29469         (check_float_internal): Take max_ulp parameter instead of calling
29470         find_test_ulps.  Don't call print_ulps.
29471         (check_float): Update call to check_float_internal.
29472         (check_complex): Update calls to check_float_internal.
29473         (START): Pass argument to init_max_error.
29474         * math/gen-libm-test.pl (%results): Don't include "kind"
29475         information.
29476         (parse_ulps): Don't handle ulps of individual tests.
29477         (print_ulps_file): Likewise.
29478         (output_ulps): Likewise.
29479         * math/README.libm-test: Update.
29480         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
29481         individual tests.
29482         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
29483         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29484         * sysdeps/arm/libm-test-ulps: Likewise.
29485         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29486         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
29487         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
29488         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
29489         * sysdeps/microblaze/libm-test-ulps: Likewise.
29490         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29491         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29492         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29493         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29494         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29495         * sysdeps/sh/libm-test-ulps: Likewise.
29496         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29497         * sysdeps/tile/libm-test-ulps: Likewise.
29498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29500 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
29502         * math/libm-test.inc (print_complex_max_error): Check separately
29503         whether real and imaginary errors are within allowed range and
29504         pass 0 to print_complex_function_ulps instead of value within
29505         allowed range.
29507 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29509         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
29510         formatting.
29511         (get_handles_fopen): Likewise.
29512         (do_write_test): Likewise.
29514         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
29516         * libio/fileops.c (do_ftell): Use cached offset when
29517         available.
29518         * libio/iofwide.c (do_ftell_wide): Likewise.
29519         * libio/iofdopen.c (_IO_new_fdopen): Don't use
29520         _IO_file_attach.
29521         * libio/wfileops.c (_IO_fwide): Don't cache offset.
29523         [BZ #16532]
29524         * libio/libioP.h (get_file_offset): New function.
29525         * libio/fileops.c (get_file_offset): Likewise.
29526         (do_ftell): Likewise.
29527         (_IO_new_file_seekoff): Split out ftell logic.
29528         * libio/wfileops.c (do_ftell_wide): Likewise.
29529         (_IO_wfile_seekoff): Split out ftell logic.
29530         * libio/tst-ftell-active-handler.c: New test case.
29531         * libio/Makefile (tests): Add it.
29533 2014-03-03  Roland McGrath  <roland@hack.frob.com>
29535         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
29536         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
29538 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29540         [BZ #16639]
29541         * nscd/connections.c (nscd_init): Call do_exit.
29542         (start_threads): Call do_exit and notify_parent.
29543         (begin_drop_privileges): Call do_exit.
29544         (finish_drop_privileges): Likewise.
29545         * nscd/selinux.c (preserve_capabilities): Likewise.
29546         (install_real_capabilities): Likewise.
29547         (nscd_selinux_enabled): Likewise.
29548         (avc_create_thread): Likewise.
29549         (avc_alloc_lock): Likewise.
29550         (nscd_avc_init): Likewise.
29551         * nscd/nscd.c (parent_fd): New static variable.
29552         (main): Create a pipe between parent and child processes.
29553         Skip closing parent_fd.
29554         (monitor_child): New function.
29555         (do_exit): Likewise.
29556         (notify_parent): Likewise.
29557         * nscd/nscd.h (notify_parent): Likewise.
29558         (do_exit): Likewise.
29560 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
29562         * malloc/malloc.c (__libc_calloc): Revert last change.
29564 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29568 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29570         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
29571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
29572         implementation.
29573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29574         (__libc_ifunc_impl_list): Likewise.
29575         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
29576         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
29577         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
29578         * string/strrchr.c: Define STRRCHR.
29580 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
29582         * benchtest/bench-strtok.c (simple_strtok): Delete.
29583         (strtok_string): Use as benchmark.
29584         * string/strtok (STRTOK): New macro.
29586 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
29588         * manual/threads.texi: Add header and standard comments to all
29589         functions.
29591         * elf/dl-lookup.c (check_match): New function.
29592         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
29593         (do_lookup_x): Remove nested function check_match. Use non-nested
29594         function check_match.
29596 2014-02-28  Roland McGrath  <roland@hack.frob.com>
29598         * csu/Makefile (generated, before-compile): Use += rather than =.
29599         * catgets/Makefile (generated, generated-dirs): Likewise.
29600         * debug/Makefile (generated): Likewise.
29601         * dlfcn/Makefile (generated): Likewise.
29602         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
29603         * iconvdata/Makefile (before-compile, generated): Likewise.
29604         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
29605         * libio/Makefile (generated): Likewise.
29606         * malloc/Makefile (generated): Likewise.
29607         * manual/Makefile (generated, generated-dirs): Likewise.
29608         * misc/Makefile (generated): Likewise.
29609         * posix/Makefile (generated): Likewise.
29610         * resolv/Makefile (generated): Likewise.
29611         * sunrpc/Makefile (generated, generated-dirs): Likewise.
29612         * timezone/Makefile (generated, generated-dirs): Likewise.
29614         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
29616 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29618         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29619         power8 implementation.
29620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
29621         file: POWER8 llround ifunc implementation.
29622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
29623         (__lllround): Add POWER8 implementation.
29624         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
29625         POWER8 llround implementation.
29627         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
29628         power8 implementation.
29629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
29630         file: POWER8 llrint ifunc implementation.
29631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
29632         Add POWER8 implementation.
29633         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
29634         POWER8 llrint implementation.
29636         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
29637         power8 implementation.
29638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
29639         file: POWER8 finite ifunc implementation.
29640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
29641         Add POWER8 implementation.
29642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
29643         Likewise.
29644         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
29645         POWER8 finite implementation.
29646         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
29648         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
29649         power8 implementation.
29650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
29651         file: POWER8 isinf ifunc implementation.
29652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
29653         POWER8 implementation.
29654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
29655         Likewise.
29656         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
29657         isinf implementation.
29658         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
29660         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
29661         (INIT_ARCH): Add hwcap2 initialization.
29662         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29663         power8 implementation.
29664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
29665         file: POWER8 isnan ifunc implementation.
29666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
29667         POWER8 implementation.
29668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
29669         Likewise.
29670         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
29671         isnan implementation.
29672         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
29674 2014-02-27  Joey Ye  <joey.ye@arm.com>
29676         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29677         (_FP_NANFRAC_Q): Set to zero.
29679 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29681         [BZ #16623]
29682         * math/auto-libm-test-in: New test inputs.
29683         * math/auto-libm-test-out: Regenerate.
29684         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
29685         and DA.
29686         (__cos): Likewise.
29687         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29689 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
29691         * scripts/evaluate-test.sh: Take new argument indicating whether
29692         failure is expected.
29693         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
29694         indicating whether failure is expected.
29695         * conform/Makefile (test-xfail-run-conformtest): New variable.
29696         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
29697         level.
29698         * posix/Makefile (test-xfail-annexc): New variable.
29699         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
29701 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
29703         * argp/Makefile: Include Makeconfig immediately after defining
29704         subdir.
29705         * assert/Makefile: Likewise.
29706         * benchtests/Makefile: Likewise.
29707         * catgets/Makefile: Likewise.
29708         * conform/Makefile: Likewise.
29709         * crypt/Makefile: Likewise.
29710         * csu/Makefile: Likewise.
29711         (all): Remove target.
29712         * ctype/Makefile: Include Makeconfig immediately after defining
29713         subdir.
29714         * debug/Makefile: Likewise.
29715         * dirent/Makefile: Likewise.
29716         * dlfcn/Makefile: Likewise.
29717         * gmon/Makefile: Likewise.
29718         * gnulib/Makefile: Likewise.
29719         * grp/Makefile: Likewise.
29720         * gshadow/Makefile: Likewise.
29721         * hesiod/Makefile: Likewise.
29722         * hurd/Makefile: Likewise.
29723         (all): Remove target.
29724         * iconvdata/Makefile: Include Makeconfig immediately after
29725         defining subdir.
29726         * inet/Makefile: Likewise.
29727         * intl/Makefile: Likewise.
29728         * io/Makefile: Likewise.
29729         * libio/Makefile: Likewise.
29730         (all): Remove target.
29731         * locale/Makefile: Include Makeconfig immediately after defining
29732         subdir.
29733         * login/Makefile: Likewise.
29734         * mach/Makefile: Likewise.
29735         (all): Remove target.
29736         * malloc/Makefile: Include Makeconfig immediately after defining
29737         subdir.
29738         (all): Remove target.
29739         * manual/Makefile: Include Makeconfig immediately after defining
29740         subdir.
29741         * math/Makefile: Likewise.
29742         * misc/Makefile: Likewise.
29743         * nis/Makefile: Likewise.
29744         * nss/Makefile: Likewise.
29745         * po/Makefile: Likewise.
29746         (all): Remove target.
29747         * posix/Makefile: Include Makeconfig immediately after defining
29748         subdir.
29749         * pwd/Makefile: Likewise.
29750         * resolv/Makefile: Likewise.
29751         * resource/Makefile: Likewise.
29752         * rt/Makefile: Likewise.
29753         * setjmp/Makefile: Likewise.
29754         * shadow/Makefile: Likewise.
29755         * signal/Makefile: Likewise.
29756         * socket/Makefile: Likewise.
29757         * soft-fp/Makefile: Likewise.
29758         * stdio-common/Makefile: Likewise.
29759         * stdlib/Makefile: Likewise.
29760         * streams/Makefile: Likewise.
29761         * string/Makefile: Likewise.
29762         * sunrpc/Makefile: Likewise.
29763         (all): Remove target.
29764         * sysvipc/Makefile: Include Makeconfig immediately after defining
29765         subdir.
29766         * termios/Makefile: Likewise.
29767         * time/Makefile: Likewise.
29768         * timezone/Makefile: Likewise.
29769         (all): Remove target.
29770         * wcsmbs/Makefile: Include Makeconfig immediately after defining
29771         subdir.
29772         * wctype/Makefile: Likewise.
29774 2014-02-26  Steve Ellcey  <sellcey@mips.com>
29776         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
29777         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
29778         (libc_feholdexcept_setround_mips): Ditto.
29779         (libc_feholdsetround): New.
29780         (libc_feholdsetroundf): New.
29781         (libc_feholdsetroundl): New.
29782         (libc_feupdateenv_test_mips): New.
29783         (libc_feupdateenv_test): New.
29784         (libc_feupdateenv_testf): New.
29785         (libc_feupdateenv_testl): New.
29786         (libc_feresetround): New.
29787         (libc_feresetroundf): New.
29788         (libc_feresetroundl): New.
29789         (libc_fetestexcept_mips): New.
29790         (libc_fetestexcept): New.
29791         (libc_fetestexceptf): New.
29792         (libc_fetestexceptl): New.
29793         (HAVE_RM_CTX): New.
29794         (libc_feholdexcept_setround_mips_ctx): New.
29795         (libc_feholdexcept_setround_ctx): New.
29796         (libc_feholdexcept_setroundf_ctx): New.
29797         (libc_feholdexcept_setroundl_ctx): New.
29798         (libc_fesetenv_mips_ctx): New.
29799         (libc_fesetenv_ctx): New.
29800         (libc_fesetenv_ctxf): New.
29801         (libc_fesetenv_ctxl): New.
29802         (libc_feupdateenv_mips_ctx): New.
29803         (libc_feupdateenv_ctx): New.
29804         (libc_feupdateenvf_ctx): New.
29805         (libc_feupdateenvl_ctx): New.
29806         (libc_feholdsetround_mips_ctx): New.
29807         (libc_feholdsetround_ctx): New.
29808         (libc_feholdsetroundf_ctx): New.
29809         (libc_feholdsetroundl_ctx): New.
29810         (libc_feresetround_mips_ctx): New.
29811         (libc_feresetround_ctx): New.
29812         (libc_feresetroundf_ctx): New.
29813         (libc_feresetroundl_ctx): New.
29815 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
29817         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
29819         * manual/ipc.texi: New file.
29820         * manual/Makefile (chapters): Add ipc.
29821         * manual/job.texi: Add "Inter-Process Communication" to next.
29822         * manual/process.texi: Add "Inter-Process Communication" to prev.
29824 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29828 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
29830         * malloc/malloc.c (__libc_calloc): Simplify implementation.
29832         * manual/arith.texi: Fix spaces after sentences.
29833         * manual/charset.texi: Likewise.
29834         * manual/errno.texi: Likewise.
29835         * manual/install.texi: Likewise.
29836         * manual/llio.texi: Likewise.
29837         * manual/locale.texi: Likewise.
29838         * manual/maint.texi: Likewise.
29839         * manual/math.texi: Likewise.
29840         * manual/memory.texi: Likewise.
29841         * manual/message.texi: Likewise.
29842         * manual/probes.texi: Likewise.
29843         * manual/resource.texi: Likewise.
29844         * manual/signal.texi: Likewise.
29845         * manual/socket.texi: Likewise.
29846         * manual/stdio.texi: Likewise.
29847         * manual/string.texi: Likewise.
29848         * manual/time.texi: Likewise.
29849         * manual/users.texi: Likewise.
29851 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
29853         [BZ #16632]
29854         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
29855         _DEFAULT_SOURCE is defined.
29857 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
29858             Carlos O'Donell  <carlos@redhat.com>
29860         [BZ #16613]
29861         * elf/dl-tls.c (_dl_count_modids): New function.
29862         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
29863         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
29864         audit library and increment generation counter.
29865         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
29866         * elf/tst-audit9.c: New file.
29867         * elf/tst-auditmod9a.c: New file.
29868         * elf/tst-auditmod9b.c: New file.
29869         * elf/Makefile: Add rules to build and run tst-audit9.
29871 2014-02-25  Florian Weimer  <fweimer@redhat.com>
29873         [BZ #15347]
29874         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
29876 2014-02-25  Will Newton  <will.newton@linaro.org>
29878         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
29879         (__longjmp): Restore sp and lr before restoring callee
29880         saved registers.  Add longjmp and longjmp_target
29881         SystemTap probe point.
29882         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
29883         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
29884         Define to zero to match jmpbuf layout.
29885         * sysdeps/arm/setjmp.S: Include stap-probe.h.
29886         (__sigsetjmp): Save sp and lr before saving callee
29887         saved registers.  Add setjmp SystemTap probe point.
29889 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29891         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29893 2014-02-24  Andreas Schwab  <schwab@suse.de>
29895         [BZ #15804]
29896         * elf/pldd.c (wait_for_ptrace_stop): New function.
29897         (main): Call it after attaching.
29899 2014-02-22  Roland McGrath  <roland@hack.frob.com>
29901         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
29902         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
29903         Versions files is now verboten.
29904         * hurd/Versions (libc: GLIBC_2.0):
29905         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
29906         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
29907         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
29908         * mach/Versions: Likewise.
29910         * csu/Versions: Remove unused %include.
29911         * resolv/Versions: Likewise.
29913 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
29915         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
29916         ($(objpfx)check-local-headers.out): Likewise.
29917         ($(objpfx)begin-end-check.out): Likewise.
29918         * Makerules (check-abi-%.out): Likewise.
29919         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
29920         ($(objpfx)test2.cat): Likewise.
29921         ($(objpfx)de/libc.cat): Likewise.
29922         ($(objpfx)test-gencat.out): Likewise.
29923         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
29924         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
29925         ($(objpfx)noload-mem): Likewise.
29926         ($(objpfx)tst-pathopt.out): Likewise.
29927         ($(objpfx)tst-rtld-load-self.out): Likewise.
29928         ($(objpfx)tst-array1-cmp.out): Likewise.
29929         ($(objpfx)tst-array1-static-cmp.out): Likewise.
29930         ($(objpfx)tst-array2-cmp.out): Likewise.
29931         ($(objpfx)tst-array3-cmp.out): Likewise.
29932         ($(objpfx)tst-array4-cmp.out): Likewise.
29933         ($(objpfx)tst-array5-cmp.out): Likewise.
29934         ($(objpfx)tst-array5-static-cmp.out): Likewise.
29935         ($(objpfx)check-textrel.out): Likewise.
29936         ($(objpfx)check-execstack.out): Likewise.
29937         ($(objpfx)check-localplt.out): Likewise.
29938         ($(objpfx)order2-cmp.out): Likewise.
29939         ($(objpfx)tst-leaks1-mem): Likewise.
29940         ($(objpfx)tst-leaks1-static-mem): Likewise.
29941         ($(objpfx)tst-initorder-cmp.out): Likewise.
29942         ($(objpfx)tst-initorder2-cmp.out): Likewise.
29943         ($(objpfx)tst-unused-dep.out): Likewise.
29944         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
29945         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
29946         * iconv/Makefile (test-iconvconfig): Likewise.
29947         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
29948         ($(objpfx)iconv-test.out): Likewise.
29949         ($(objpfx)tst-tables.out): Likewise.
29950         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
29951         ($(objpfx)tst-gettext.out): Likewise.
29952         ($(objpfx)tst-translit.out): Likewise.
29953         ($(objpfx)tst-gettext2.out): Likewise.
29954         ($(objpfx)tst-gettext4.out): Likewise.
29955         ($(objpfx)tst-gettext6.out): Likewise.
29956         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
29957         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
29958         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
29959         ($(objpfx)tst-fopenloc-mem.out): Likewise.
29960         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
29961         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
29962         * posix/Makefile ($(objpfx)globtest.out): Likewise.
29963         ($(objpfx)wordexp-tst.out): Likewise.
29964         ($(objpfx)annexc.out): Likewise.
29965         ($(objpfx)tst-fnmatch-mem): Likewise.
29966         ($(objpfx)bug-regex2-mem): Likewise.
29967         ($(objpfx)bug-regex14-mem): Likewise.
29968         ($(objpfx)bug-regex21-mem): Likewise.
29969         ($(objpfx)bug-regex31-mem): Likewise.
29970         ($(objpfx)tst-vfork3-mem): Likewise.
29971         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29972         ($(objpfx)tst-pcre-mem): Likewise.
29973         ($(objpfx)tst-boost-mem): Likewise.
29974         ($(objpfx)tst-getconf.out): Likewise.
29975         ($(objpfx)bug-ga2-mem): Likewise.
29976         ($(objpfx)bug-glob2-mem): Likewise.
29977         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
29978         ($(objpfx)mtrace-tst-leaks2): Likewise.
29979         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
29980         ($(objpfx)tst-printf.out): Likewise.
29981         ($(objpfx)tst-setvbuf1.out): Likewise.
29982         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
29983         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
29984         ($(objpfx)tst-fmtmsg.out): Likewise.
29985         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
29986         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
29988         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
29989         * bits/sigaction.h [__USE_MISC]: Likewise.
29990         * bits/waitstatus.h: Update #endif comments.
29991         * ctype/ctype.h: Likewise.
29992         * dirent/dirent.h: Likewise.
29993         [__USE_MISC]: Remove redundant conditionals.
29994         * grp/grp.h: Update #endif comments.
29995         [__USE_GNU]: Remove redundant conditionals.
29996         [__USE_MISC]: Likewise.
29997         * inet/netinet/in.h [__USE_GNU]: Likewise.
29998         * io/sys/stat.h [__USE_MISC]: Likewise.
29999         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
30000         * libio/bits/stdio.h: Update #endif comments.
30001         [__USE_MISC]: Remove redundant conditionals.
30002         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
30003         * libio/stdio.h: Update #endif comments.
30004         [__USE_MISC]: Remove redundant conditionals.
30005         * math/bits/math-finite.h [__USE_MISC]: Likewise.
30006         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
30007         * math/math.h: Update #else and #endif comments.
30008         [__USE_MISC]: Remove redundant conditionals.
30009         * misc/sys/uio.h: Update #endif comments.
30010         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
30011         * posix/glob.h [__USE_MISC]: Likewise.
30012         * posix/sys/types.h: Update #endif comments.
30013         [__USE_MISC]: Remove redundant conditionals.
30014         * posix/sys/wait.h: Update #endif comments.
30015         [__USE_MISC]: Remove redundant conditionals.
30016         * posix/unistd.h: Update #endif comments.
30017         [__USE_MISC]: Remove redundant conditionals.
30018         * pwd/pwd.h [__USE_GNU]: Likewise.
30019         [__USE_MISC]: Likewise.
30020         * resolv/netdb.h [__USE_GNU]: Likewise.
30021         * signal/signal.h: Update #endif comments.
30022         [__USE_MISC]: Remove redundant conditionals.
30023         * stdlib/stdlib.h: Update #else and #endif comments.
30024         [__USE_MISC]: Remove redundant conditionals.
30025         [__USE_GNU]: Likewise.
30026         * string/bits/string2.h [__USE_MISC]: Likewise.
30027         * string/string.h: Update #endif comments.
30028         [__USE_MISC]: Remove redundant conditionals.
30029         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
30030         Likewise.
30031         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
30032         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
30033         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
30034         Likewise.
30035         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
30036         Likewise.
30037         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
30038         comments.
30039         [__USE_MISC]: Remove redundant conditionals.
30040         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
30041         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
30042         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
30043         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
30044         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
30045         Likewise.
30046         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
30047         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
30048         Likewise.
30049         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
30050         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
30051         Likewise.
30052         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
30053         Likewise.
30054         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
30055         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
30056         Likewise.
30057         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
30058         Likewise.
30059         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
30060         * sysdeps/x86/bits/string.h: Update #endif comments.
30061         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
30062         conditionals.
30063         * time/sys/time.h: Update #endif comments.
30064         * time/time.h: Likewise.
30065         [__USE_MISC]: Remove redundant conditionals.
30067 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
30069         [BZ #16600]
30070         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
30072 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
30074         * Versions.def (librt): Add GLIBC_2.17.
30076 2014-02-21  Adam Conrad  <adconrad@0c3.net>
30078         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
30079         synonym for _SYS_AUXV_H to allow direct inclusion.
30080         * sysdeps/sparc/bits/hwcap.h: Likewise.
30081         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
30082         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
30083         * sysdeps/sparc/sysdep.h: Likewise.
30085 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30087         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
30089 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30091         * benchtests/bench-strrchr.c: Print length instead of position.
30093 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
30095         [BZ #16611]
30096         * sysdeps/unix/sysv/linux/kernel-features.h
30097         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
30098         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
30099         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
30100         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
30101         Likewise.
30102         [__i386__ || __powerpc__ || __sh__ || __sparc__]
30103         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30104         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
30105         (__ASSUME_SENDMMSG): Define instead of using previous
30106         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
30107         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30108         (__ASSUME_SENDMMSG_SYSCALL): Define.
30109         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30110         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
30111         Likewise.
30112         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30113         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30114         Likewise.
30115         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30116         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30117         Likewise.
30118         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
30119         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30120         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30121         [__ASSUME_SENDMMSG]: Change conditionals to
30122         [__ASSUME_SENDMMSG_SOCKETCALL].
30123         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30124         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
30125         Define.
30126         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30127         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
30128         Likewise.
30129         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
30130         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30131         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30132         [!__ASSUME_SENDMMSG]: Change conditional to
30133         [!__ASSUME_SENDMMSG_SOCKETCALL].
30134         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30135         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30136         Define.
30138         [BZ #16610]
30139         * sysdeps/unix/sysv/linux/kernel-features.h
30140         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
30141         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
30142         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
30143         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
30144         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30145         [__i386__ || __sparc__]
30146         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30147         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
30148         (__ASSUME_RECVMMSG): Define instead of using previous
30149         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
30150         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30151         (__ASSUME_RECVMMSG_SYSCALL): Define.
30152         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30153         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30154         Likewise.
30155         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30156         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30157         Likewise.
30158         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30159         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30160         Likewise.
30161         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
30162         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30163         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30164         [__ASSUME_RECVMMSG]: Change condition to
30165         [__ASSUME_RECVMMSG_SOCKETCALL].
30166         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30167         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30168         Define.
30169         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30170         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30171         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30172         Likewise.
30173         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
30174         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30175         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30176         [!__ASSUME_RECVMMSG]: Change condition to
30177         [!__ASSUME_RECVMMSG_SOCKETCALL].
30178         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30179         (__ASSUME_RECVMMSG_SYSCALL): Define.
30181         [BZ #16609]
30182         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
30183         __powerpc__ || __s390__ || __sh__ || __sparc__]
30184         (__ASSUME_SOCKETCALL): Define.
30185         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
30186         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
30187         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
30188         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
30189         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30190         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30191         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
30192         (__ASSUME_ACCEPT4): Define instead of using previous
30193         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
30194         __powerpc__ || __sparc__ || __s390__)] condition.
30195         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30196         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30197         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
30198         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30199         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30200         [!__ASSUME_ACCEPT4]: Change condition to
30201         [!__ASSUME_ACCEPT4_SOCKETCALL].
30202         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30203         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
30204         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
30205         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30206         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
30207         __ASSUME_ACCEPT4_SYSCALL.
30208         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
30209         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
30210         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30211         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
30212         __ASSUME_ACCEPT4_SYSCALL.
30213         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
30214         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30215         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30216         [__ASSUME_ACCEPT4]: Change condition to
30217         [__ASSUME_ACCEPT4_SOCKETCALL].
30218         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30219         (__ASSUME_SOCKETCALL): Define.
30220         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
30221         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30222         (__ASSUME_SOCKETCALL): Define.
30223         (__ASSUME_ACCEPT4): Remove.
30224         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
30225         Define.
30226         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30227         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
30228         Likewise.
30229         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30230         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30232         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
30233         macro.
30234         (HWCAP_ARM_LPAE): Likewise.
30235         (HWCAP_ARM_EVTSTRM): Likewise.
30236         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
30237         Add vpfd32, lpae and evtstrm.
30238         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
30239         Increase to 22.
30241 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
30243         * math/auto-libm-test-in: Add tests of clog10.
30244         * math/auto-libm-test-out: Regenerated.
30245         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
30246         * sysdeps/i386/fpu/libm-test-ulps: Update.
30247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30249 2014-02-18  Andreas Schwab  <schwab@suse.de>
30251         [BZ #16574]
30252         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
30253         Store non-zero if the second buffer was newly allocated.
30254         (send_dg): Likewise.
30255         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
30256         to send_vc and send_dg.
30257         (res_nsend): Pass NULL for ansp2_malloced.
30258         * resolv/res_query.c (__libc_res_nquery): Add parameter
30259         answerp2_malloced and pass it down to __libc_res_nsend.
30260         (res_nquery): Pass additional NULL to __libc_res_nquery.
30261         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
30262         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
30263         second answer buffer if answerp2_malloced was set.
30264         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
30265         (__libc_res_nquerydomain): Add parameter
30266         answerp2_malloced and pass it down to __libc_res_nquery.
30267         (res_nquerydomain): Pass additional NULL to
30268         __libc_res_nquerydomain.
30269         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
30270         additional NULL to __libc_res_nsend and __libc_res_nquery.
30271         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
30272         additional NULL to __libc_res_nsearch.
30273         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
30274         parameter of __libc_res_nsearch to check for separately allocated
30275         second buffer.
30276         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
30277         __libc_res_nquery.
30278         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
30279         additional NULL to __libc_res_nquery.
30280         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
30281         __libc_res_nsearch.
30282         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
30283         * include/resolv.h: Update prototypes of __libc_res_nquery,
30284         __libc_res_nsearch, __libc_res_nsend.
30286 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
30288         * math/auto-libm-test-in: Add tests of fma.
30289         * math/auto-libm-test-out: Regenerated.
30290         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
30291         (fma_towardzero_test_data): Likewise.
30292         (fma_downward_test_data): Likewise.
30293         (fma_upward_test_data): Likewise.
30294         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
30295         mpc_mode.
30296         (rounding_modes): Add values for new field.
30297         (func_calc_method): Add value mpfr_fff_f.
30298         (func_calc_desc): Add mpfr_fff_f union field.
30299         (test_function): Add field exact_args.
30300         (FUNC): Add macro argument EXACT_ARGS.
30301         (FUNC_mpfr_f_f): Update call to FUNC.
30302         (FUNC_mpfr_f_f): Likewise.
30303         (FUNC_mpfr_ff_f): Likewise.
30304         (FUNC_mpfr_if_f): Likewise.
30305         (FUNC_mpc_c_f): Likewise.
30306         (FUNC_mpc_c_c): Likewise.
30307         (test_functions): Add fma.  Update calls to FUNC.
30308         (handle_input_arg): Add argument exact_args.
30309         (add_test): Update call to handle_input_arg.
30310         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
30311         (output_for_one_input_case): Update call to calc_generic_results.
30312         Recalculate exact zero results in each rounding mode.
30314         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
30315         non-negative before setting low bit.
30316         * math/auto-libm-test-in: Mark one asin test possibly having
30317         spurious underflow.
30318         * math/auto-libm-test-out: Regenerated.
30319         * sysdeps/i386/fpu/libm-test-ulps: Update.
30320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30322 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
30324         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
30325         * sysdeps/unix/sysv/linux/microblaze: Move directory from
30326         ports/sysdeps/unix/sysv/linux/microblaze.
30327         * README: Add missing listing for microblaze*-*-linux-gnu.
30329 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
30331         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
30332         duplicate code
30334 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
30336         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
30337         * sysdeps/unix/sysv/linux/ia64: Move directory from
30338         ports/sysdeps/unix/sysv/linux/ia64.
30339         * README: Update listing for ia64-*-linux-gnu.
30341 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
30342             Joseph Myers  <joseph@codesourcery.com>
30344         * Makeconfig (test-name): New variable.
30345         (evaluate-test): Likewise.
30346         * Makerules (do-test-clean): Remove .test-result files.
30347         (common-mostlyclean): Likewise.
30348         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
30349         * scripts/evaluate-test.sh: New file.
30351 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
30353         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
30354         separate $(objpfx)tst-fopenloc-cmp.out and
30355         $(objpfx)tst-fopenloc-mem.out targets.
30356         (tests): Update dependencies.
30357         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
30358         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
30359         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
30360         (tst-rxspencer-no-utf8-ARGS): New variable.
30361         (tst-rxspencer-no-utf8-ENV): Likewise.
30362         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
30363         instead of $(objpfx)tst-rxspencer-mem.
30364         ($(objpfx)tst-rxspencer-mem): Change target to
30365         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
30366         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
30367         * posix/tst-rxspencer-no-utf8.c: New file.
30369         * elf/Makefile ($(objpfx)order.out): Remove rule.
30370         [$(run-built-tests) = yes] (tests): Depend on
30371         $(objpfx)order-cmp.out.
30372         ($(objpfx)order-cmp.out): New rule.
30373         [$(run-built-tests) = yes] (tests): Depend on
30374         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
30375         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
30376         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
30377         $(objpfx)tst-array5-static-cmp.out.
30378         ($(objpfx)tst-array1.out): Remove rule.
30379         ($(objpfx)tst-array1-cmp.out): New rule.
30380         ($(objpfx)tst-array1-static.out): Remove rule.
30381         ($(objpfx)tst-array1-static-cmp.out): New rule.
30382         ($(objpfx)tst-array2.out): Remove rule.
30383         ($(objpfx)tst-array2-cmp.out): New rule.
30384         ($(objpfx)tst-array3.out): Remove rule.
30385         ($(objpfx)tst-array3-cmp.out): New rule.
30386         ($(objpfx)tst-array4.out): Remove rule.
30387         ($(objpfx)tst-array4-cmp.out): New rule.
30388         ($(objpfx)tst-array5.out): Remove rule.
30389         ($(objpfx)tst-array5-cmp.out): New rule.
30390         ($(objpfx)tst-array5-static.out): Remove rule.
30391         ($(objpfx)tst-array5-static-cmp.out): New rule.
30392         [$(run-built-tests) = yes] (tests): Depend on
30393         $(objpfx)order2-cmp.out.
30394         ($(objpfx)order2.out): Remove rule.
30395         ($(objpfx)order2-cmp.out): New rule.
30396         ($(objpfx)tst-initorder.out): Remove rule.
30397         [$(run-built-tests) = yes] (tests): Depend on
30398         $(objpfx)tst-initorder-cmp.out.
30399         ($(objpfx)tst-initorder-cmp.out): New rule.
30400         ($(objpfx)tst-initorder2.out): Remove rule.
30401         [$(run-built-tests) = yes] (tests): Depend on
30402         $(objpfx)tst-initorder2-cmp.out.
30403         ($(objpfx)tst-initorder2-cmp.out): New rule.
30404         [$(run-built-tests) = yes] (tests): Depend on
30405         $(objpfx)tst-unused-dep-cmp.out.
30406         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
30407         ($(objpfx)tst-unused-dep-cmp.out): New rule.
30408         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
30409         on $(objpfx)tst-setvbuf1-cmp.out.
30410         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
30411         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
30412         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
30413         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
30414         ($(objpfx)tst-svc.out): Remove rule.
30415         ($(objpfx)tst-svc-cmp.out): New rule.
30417 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
30419         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
30420         * ctype/ctype.h [__USE_MISC]: Likewise.
30421         * dirent/dirent.h [__USE_MISC]: Likewise.
30422         * grp/grp.h [__USE_MISC]: Likewise.
30423         * io/fcntl.h [__USE_MISC]: Likewise.
30424         * io/sys/stat.h [__USE_MISC]: Likewise.
30425         * libio/stdio.h [__USE_MISC]: Likewise.
30426         * posix/unistd.h [__USE_MISC]: Likewise.
30427         * pwd/pwd.h [__USE_MISC]: Likewise.
30428         * stdlib.h [__USE_MISC]: Likewise.
30429         * string/bits/string2.h [__USE_MISC]: Likewise.
30430         * string/string.h [__USE_MISC]: Likewise.
30431         * time/time.h [__USE_MISC]: Likewise.
30433 2014-02-13  Andreas Schwab  <schwab@suse.de>
30435         [BZ #16574]
30436         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
30437         second answer buffer if it was separately allocated.
30439 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
30441         * sysdeps/mips/math-tests.h: Include <features.h>.
30442         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30443         (ROUNDING_TESTS_long_double): Do not define.
30444         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30445         (EXCEPTION_TESTS_long_double): Likewise.
30446         * sysdeps/mips/mips64/libm-test-ulps: Update.
30448         * include/features.h (__USE_BSD): Remove macro definitions.
30449         (__USE_SVID): Likewise.
30450         (_BSD_SOURCE): Likewise.
30451         (_SVID_SOURCE): Likewise.
30452         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
30453         from definition of _DEFAULT_SOURCE.
30454         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
30455         [_DEFAULT_SOURCE].
30456         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
30457         * bits/mman.h [__USE_BSD]: Likewise.
30458         * bits/termios.h [__USE_BSD]: Likewise.
30459         * bits/waitstatus.h [__USE_BSD]: Likewise.
30460         * ctype/ctype.h [__USE_SVID]: Likewise.
30461         * dirent/dirent.h [__USE_BSD]: Likewise.
30462         * grp/grp.h [__USE_SVID]: Likewise.
30463         [__USE_BSD]: Likewise.
30464         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
30465         * io/fcntl.h [__USE_BSD]: Likewise.
30466         * io/ftw.h [__USE_BSD]: Likewise.
30467         * io/sys/stat.h [__USE_BSD]: Likewise.
30468         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
30469         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
30470         * libio/stdio.h [__USE_SVID]: Likewise.
30471         [__USE_BSD]: Likewise.
30472         * math/math.h [__USE_SVID]: Likewise.
30473         [__USE_BSD]: Likewise.
30474         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
30475         * misc/bits/syslog.h [__USE_BSD]: Likewise.
30476         * misc/search.h [__USE_SVID]: Likewise.
30477         * misc/sys/mman.h [__USE_BSD]: Likewise.
30478         * misc/sys/syslog.h [__USE_BSD]: Likewise.
30479         * misc/sys/uio.h [__USE_BSD]: Likewise.
30480         * posix/bits/unistd.h [__USE_BSD]: Likewise.
30481         * posix/glob.h [__USE_BSD]: Likewise.
30482         * posix/regex.h [__USE_BSD]: Likewise.
30483         * posix/sys/types.h [__USE_BSD]: Likewise.
30484         [__USE_SVID]: Likewise.
30485         * posix/sys/utsname.h [__USE_SVID]: Likewise.
30486         * posix/sys/wait.h [__USE_BSD]: Likewise.
30487         [__USE_SVID]: Likewise.
30488         * posix/unistd.h [__USE_BSD]: Likewise.
30489         [__USE_SVID]: Likewise.
30490         * pwd/pwd.h [__USE_SVID]: Likewise.
30491         * resolv/netdb.h [__USE_BSD]: Likewise.
30492         * setjmp/setjmp.h [__USE_BSD]: Likewise.
30493         * signal/signal.h [__USE_BSD]: Likewise.
30494         [__USE_SVID]: Likewise.
30495         * socket/sys/socket.h [__USE_BSD]: Likewise.
30496         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
30497         * stdlib/stdlib.h [__USE_BSD]: Likewise.
30498         [__USE_SVID]: Likewise.
30499         * string/bits/string2.h [__USE_BSD]: Likewise.
30500         [__USE_SVID]: Likewise.
30501         * string/bits/string3.h [__USE_BSD]: Likewise.
30502         * string/endian.h [__USE_BSD]: Likewise.
30503         * string/string.h [__USE_SVID]: Likewise.
30504         [__USE_BSD]: Likewise.
30505         * string/strings.h [__USE_BSD]: Likewise.
30506         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
30507         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
30508         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
30509         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
30510         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
30511         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
30512         Likewise.
30513         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
30514         Likewise.
30515         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
30516         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
30517         Likewise.
30518         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
30519         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
30520         Likewise.
30521         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
30522         Likewise.
30523         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
30524         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
30525         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
30526         Likewise.
30527         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
30528         Likewise.
30529         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
30530         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
30531         * termios/termios.h [__USE_BSD]: Likewise.
30532         * time/sys/time.h [__USE_BSD]: Likewise.
30533         * time/time.h [__USE_BSD]: Likewise.
30534         [__USE_SVID]: Likewise.
30536         * Makefile (subdir_targets): Remove subdir_lint.out.
30538         * stdio-common/Makefile (do-tst-unbputc): Remove target.
30539         (do-tst-printf): Likewise.
30540         (tests): Depend directly on $(objpfx)tst-unbputc.out and
30541         $(objpfx)tst-printf.out.
30543         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
30545         * Makerules (check-abi-%): Change target to
30546         $(objpfx)check-abi-%.out.
30547         (check-abi target): Update dependencies.
30548         (check-abi-pattern variable): Redirect output of diff to $@.
30549         (check-abi variable): Likewise.
30550         * elf/Makefile (check-abi): Update dependencies.
30552         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
30553         unused.
30554         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
30555         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
30556         subnormal range.
30557         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
30558         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
30559         value has largest subnormal exponent.
30560         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
30561         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
30562         * sysdeps/aarch64/soft-fp/sfp-machine.h
30563         (_FP_TININESS_AFTER_ROUNDING): New macro.
30564         * sysdeps/alpha/soft-fp/sfp-machine.h
30565         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30566         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30567         Likewise.
30568         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
30569         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30570         * sysdeps/mips/soft-fp/sfp-machine.h
30571         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30572         * sysdeps/powerpc/soft-fp/sfp-machine.h
30573         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30574         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30575         Likewise.
30576         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30577         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30578         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30579         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30580         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30581         Likewise.
30583 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
30585         [BZ #16545]
30586         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
30587         model 1.
30589 2014-02-12  Richard Henderson  <rth@redhat.com>
30591         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
30592         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
30593         * sysdeps/unix/sysv/linux/alpha: Move directory from
30594         ports/sysdeps/unix/sysv/linux/alpha.
30595         * README: Update listing for alpha-*-linux-gnu.
30597 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
30599         * include/features.h: Update comment documenting feature test
30600         macros.
30601         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
30602         _DEFAULT_SOURCE.
30603         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
30604         (_SVID_SOURCE): Likewise.
30605         (_DEFAULT_SOURCE): Update description of default features.
30606         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
30607         with _GNU_SOURCE.
30608         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
30609         (S_ISVTX): Likewise.
30610         * manual/math.texi (Mathematical Constants): Likewise.
30611         * manual/signal.texi (Interrupted Primitives): Likewise.
30612         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
30613         * math/test-matherr.c (_SVID_SOURCE): Do not define.
30614         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
30615         Don't refer to _SVID_SOURCE in warning text.
30617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30619         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
30620         already defined.
30621         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
30622         * sysdeps/mips/dl-lookup.c: Remove.
30623         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
30625 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30627         [BZ #16447]
30628         * math/auto-libm-test-in: Add testcase for expl.
30629         * math/auto-libm-test-out: Regenerate.
30630         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
30631         calculation of unsafe.
30632         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
30634 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30636         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
30637         * sysdeps/unix/sysv/linux/aarch64: Move directory from
30638         ports/sysdeps/unix/sysv/linux/aarch64.
30639         * README: Update listing for aarch64*-*-linux-gnu.
30641 2014-02-11  Will Newton  <will.newton@linaro.org>
30643         * manual/probes.texi (Mathematical Function Probes): Use
30644         "triggered" instead of "hit".
30646         * manual/probes.texi (Internal Probes): Add documentation
30647         of setjmp, longjmp and longjmp_target probes.
30649         * include/stap-probe.h: Add comment about probe argument
30650         format.
30652         * malloc/mtrace.c (attribute_hidden): Remove unused macro
30653         definition.  (tr_where, tr_freehook, tr_mallochook,
30654         tr_reallochook, tr_memalignhook): Use ANSI protoype.
30656 2014-02-11  David S. Miller  <davem@davemloft.net>
30658         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
30659         processing int_tests.
30661 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
30663         * sysdeps/mips: Move directory from ports/sysdeps/mips.
30664         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
30665         * sysdeps/unix/sysv/linux/mips: Move directory from
30666         ports/sysdeps/unix/sysv/linux/mips.
30667         * README: Update listing for mips-*-linux-gnu and
30668         mips64-*-linux-gnu.
30670 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
30672         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
30673         * sysdeps/unix/sysv/linux/m68k: Move directory from
30674         ports/sysdeps/unix/sysv/linux/m68k.
30675         * README: Update listing for m68k-*-linux-gnu.
30677 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
30679         * sysdeps/tile: Move directory from ports/sysdeps/tile.
30680         * sysdeps/unix/sysv/linux/generic: Move directory from
30681         ports/sysdeps/unix/sysv/linux/generic.
30682         * sysdeps/unix/sysv/linux/tile: Move directory from
30683         ports/sysdeps/unix/sysv/linux/tile.
30684         * README: Update listing for tile*-*-linux-gnu.
30686 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
30688         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
30689         __builtin_expect.
30690         * benchtests/bench-memmem.c (simple_memmem): Likewise.
30691         * catgets/open_catalog.c (__open_catalog): Likewise.
30692         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
30693         * debug/confstr_chk.c: Likewise.
30694         * debug/fread_chk.c (__fread_chk): Likewise.
30695         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
30696         * debug/getgroups_chk.c: Likewise.
30697         * debug/mbsnrtowcs_chk.c: Likewise.
30698         * debug/mbsrtowcs_chk.c: Likewise.
30699         * debug/mbstowcs_chk.c: Likewise.
30700         * debug/memcpy_chk.c: Likewise.
30701         * debug/memmove_chk.c: Likewise.
30702         * debug/mempcpy_chk.c: Likewise.
30703         * debug/memset_chk.c: Likewise.
30704         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30705         * debug/strcat_chk.c (__strcat_chk): Likewise.
30706         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
30707         * debug/strncat_chk.c (__strncat_chk): Likewise.
30708         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
30709         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
30710         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
30711         * debug/wcpncpy_chk.c: Likewise.
30712         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30713         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
30714         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
30715         * debug/wcsncpy_chk.c: Likewise.
30716         * debug/wcsnrtombs_chk.c: Likewise.
30717         * debug/wcsrtombs_chk.c: Likewise.
30718         * debug/wcstombs_chk.c: Likewise.
30719         * debug/wmemcpy_chk.c: Likewise.
30720         * debug/wmemmove_chk.c: Likewise.
30721         * debug/wmempcpy_chk.c: Likewise.
30722         * debug/wmemset_chk.c: Likewise.
30723         * dirent/scandirat.c (SCANDIRAT): Likewise.
30724         * dlfcn/dladdr1.c (dladdr1): Likewise.
30725         * dlfcn/dladdr.c (dladdr): Likewise.
30726         * dlfcn/dlclose.c (dlclose_doit): Likewise.
30727         * dlfcn/dlerror.c (__dlerror): Likewise.
30728         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
30729         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
30730         * dlfcn/dlopen.c (dlopen_doit): Likewise.
30731         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
30732         * dlfcn/dlsym.c (dlsym_doit): Likewise.
30733         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
30734         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
30735         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
30736         Likewise.
30737         * elf/dl-conflict.c: Likewise.
30738         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30739         * elf/dl-dst.h: Likewise.
30740         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
30741         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
30742         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30743         * elf/dl-init.c (call_init, _dl_init): Likewise.
30744         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
30745         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
30746         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
30747         Likewise.
30748         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
30749         Likewise.
30750         * elf/dl-minimal.c (__libc_memalign): Likewise.
30751         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
30752         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30753         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
30754         * elf/dl-sym.c (do_sym): Likewise.
30755         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
30756         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
30757         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
30758         * elf/dl-writev.h (_dl_writev): Likewise.
30759         * elf/ldconfig.c (search_dir): Likewise.
30760         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
30761         (dl_main): Likewise.
30762         * elf/setup-vdso.h (setup_vdso): Likewise.
30763         * grp/compat-initgroups.c (compat_call): Likewise.
30764         * grp/fgetgrent.c (fgetgrent): Likewise.
30765         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
30766         * grp/putgrent.c (putgrent): Likewise.
30767         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30768         Likewise.
30769         * hurd/hurdinit.c: Likewise.
30770         * iconvdata/8bit-gap.c (struct): Likewise.
30771         * iconvdata/ansi_x3.110.c : Likewise.
30772         * iconvdata/big5.c : Likewise.
30773         * iconvdata/big5hkscs.c : Likewise.
30774         * iconvdata/cp1255.c: Likewise.
30775         * iconvdata/cp1258.c : Likewise.
30776         * iconvdata/cp932.c : Likewise.
30777         * iconvdata/euc-cn.c: Likewise.
30778         * iconvdata/euc-jisx0213.c : Likewise.
30779         * iconvdata/euc-jp.c: Likewise.
30780         * iconvdata/euc-jp-ms.c : Likewise.
30781         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
30782         * iconvdata/gb18030.c : Likewise.
30783         * iconvdata/gbbig5.c (const): Likewise.
30784         * iconvdata/gbgbk.c: Likewise.
30785         * iconvdata/gbk.c : Likewise.
30786         * iconvdata/ibm1364.c : Likewise.
30787         * iconvdata/ibm930.c : Likewise.
30788         * iconvdata/ibm932.c: Likewise.
30789         * iconvdata/ibm933.c : Likewise.
30790         * iconvdata/ibm935.c : Likewise.
30791         * iconvdata/ibm937.c : Likewise.
30792         * iconvdata/ibm939.c : Likewise.
30793         * iconvdata/ibm943.c: Likewise.
30794         * iconvdata/iso_11548-1.c: Likewise.
30795         * iconvdata/iso-2022-cn.c : Likewise.
30796         * iconvdata/iso-2022-cn-ext.c : Likewise.
30797         * iconvdata/iso-2022-jp-3.c: Likewise.
30798         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
30799         * iconvdata/iso-2022-kr.c : Likewise.
30800         * iconvdata/iso646.c (gconv_end): Likewise.
30801         * iconvdata/iso_6937-2.c : Likewise.
30802         * iconvdata/iso_6937.c : Likewise.
30803         * iconvdata/iso8859-1.c: Likewise.
30804         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
30805         * iconvdata/shift_jisx0213.c : Likewise.
30806         * iconvdata/sjis.c : Likewise.
30807         * iconvdata/t.61.c : Likewise.
30808         * iconvdata/tcvn5712-1.c : Likewise.
30809         * iconvdata/tscii.c: Likewise.
30810         * iconvdata/uhc.c : Likewise.
30811         * iconvdata/unicode.c (gconv_end): Likewise.
30812         * iconvdata/utf-16.c (gconv_end): Likewise.
30813         * iconvdata/utf-32.c (gconv_end): Likewise.
30814         * iconvdata/utf-7.c (base64): Likewise.
30815         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30816         * iconv/gconv_close.c (__gconv_close): Likewise.
30817         * iconv/gconv_open.c (__gconv_open): Likewise.
30818         * iconv/gconv_simple.c (internal_ucs4_loop_single)
30819         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
30820         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
30821         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
30822         (ucs4le_internal_loop_single): Likewise.
30823         * iconv/iconv.c (iconv): Likewise.
30824         * iconv/iconv_close.c: Likewise.
30825         * iconv/loop.c (SINGLE): Likewise.
30826         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
30827         * include/atomic.h: Likewise.
30828         * inet/inet6_option.c (option_alloc): Likewise.
30829         * intl/bindtextdom.c (set_binding_values): Likewise.
30830         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
30831         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
30832         * intl/localealias.c (read_alias_file): Likewise.
30833         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30834         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
30835         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
30836         * libio/fmemopen.c (fmemopen): Likewise.
30837         * libio/iofgets.c (_IO_fgets): Likewise.
30838         * libio/iofgets_u.c (fgets_unlocked): Likewise.
30839         * libio/iofgetws.c (fgetws): Likewise.
30840         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
30841         * libio/iogetdelim.c (_IO_getdelim): Likewise.
30842         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
30843         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
30844         * locale/findlocale.c (_nl_find_locale): Likewise.
30845         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30846         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
30847         Likewise.
30848         * locale/setlocale.c (setlocale): Likewise.
30849         * login/programs/pt_chown.c (main): Likewise.
30850         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
30851         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
30852         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
30853         (mmap, mmap64, mremap, munmap): Likewise.
30854         * math/e_exp2l.c: Likewise.
30855         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
30856         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
30857         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
30858         * math/s_catan.c (__catan): Likewise.
30859         * math/s_catanf.c (__catanf): Likewise.
30860         * math/s_catanh.c (__catanh): Likewise.
30861         * math/s_catanhf.c (__catanhf): Likewise.
30862         * math/s_catanhl.c (__catanhl): Likewise.
30863         * math/s_catanl.c (__catanl): Likewise.
30864         * math/s_ccosh.c (__ccosh): Likewise.
30865         * math/s_ccoshf.c (__ccoshf): Likewise.
30866         * math/s_ccoshl.c (__ccoshl): Likewise.
30867         * math/s_cexp.c (__cexp): Likewise.
30868         * math/s_cexpf.c (__cexpf): Likewise.
30869         * math/s_cexpl.c (__cexpl): Likewise.
30870         * math/s_clog10.c (__clog10): Likewise.
30871         * math/s_clog10f.c (__clog10f): Likewise.
30872         * math/s_clog10l.c (__clog10l): Likewise.
30873         * math/s_clog.c (__clog): Likewise.
30874         * math/s_clogf.c (__clogf): Likewise.
30875         * math/s_clogl.c (__clogl): Likewise.
30876         * math/s_csin.c (__csin): Likewise.
30877         * math/s_csinf.c (__csinf): Likewise.
30878         * math/s_csinh.c (__csinh): Likewise.
30879         * math/s_csinhf.c (__csinhf): Likewise.
30880         * math/s_csinhl.c (__csinhl): Likewise.
30881         * math/s_csinl.c (__csinl): Likewise.
30882         * math/s_csqrt.c (__csqrt): Likewise.
30883         * math/s_csqrtf.c (__csqrtf): Likewise.
30884         * math/s_csqrtl.c (__csqrtl): Likewise.
30885         * math/s_ctan.c (__ctan): Likewise.
30886         * math/s_ctanf.c (__ctanf): Likewise.
30887         * math/s_ctanh.c (__ctanh): Likewise.
30888         * math/s_ctanhf.c (__ctanhf): Likewise.
30889         * math/s_ctanhl.c (__ctanhl): Likewise.
30890         * math/s_ctanl.c (__ctanl): Likewise.
30891         * math/w_pow.c: Likewise.
30892         * math/w_powf.c: Likewise.
30893         * math/w_powl.c: Likewise.
30894         * math/w_scalb.c (sysv_scalb): Likewise.
30895         * math/w_scalbf.c (sysv_scalbf): Likewise.
30896         * math/w_scalbl.c (sysv_scalbl): Likewise.
30897         * misc/error.c (error_tail): Likewise.
30898         * misc/pselect.c (__pselect): Likewise.
30899         * nis/nis_callback.c (__nis_create_callback): Likewise.
30900         * nis/nis_call.c (__nisfind_server): Likewise.
30901         * nis/nis_creategroup.c (nis_creategroup): Likewise.
30902         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
30903         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
30904         * nis/nis_getservlist.c (nis_getservlist): Likewise.
30905         * nis/nis_lookup.c (nis_lookup): Likewise.
30906         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
30907         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
30908         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
30909         * nis/nis_xdr.c (xdr_endpoint): Likewise.
30910         * nis/nss_compat/compat-grp.c (getgrent_next_file)
30911         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
30912         * nis/nss_compat/compat-initgroups.c (add_group)
30913         (internal_getgrent_r): Likewise.
30914         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
30915         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
30916         * nis/nss_compat/compat-spwd.c (getspent_next_file)
30917         (internal_getspnam_r): Likewise.
30918         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
30919         (_nss_nis_getaliasbyname_r): Likewise.
30920         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
30921         (_nss_nis_getntohost_r): Likewise.
30922         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
30923         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
30924         (_nss_nis_getgrgid_r): Likewise.
30925         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
30926         (internal_nis_gethostent_r, internal_gethostbyname2_r)
30927         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
30928         (_nss_nis_gethostbyname4_r): Likewise.
30929         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
30930         (initgroups_netid): Likewise.
30931         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
30932         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
30933         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
30934         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
30935         (_nss_nis_getprotobynumber_r): Likewise.
30936         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
30937         (_nss_nis_getsecretkey): Likewise.
30938         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
30939         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
30940         (_nss_nis_getpwuid_r): Likewise.
30941         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
30942         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
30943         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
30944         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
30945         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
30946         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
30947         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
30948         Likewise.
30949         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
30950         (_nss_nisplus_getntohost_r): Likewise.
30951         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
30952         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
30953         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
30954         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
30955         Likewise.
30956         * nis/nss_nisplus/nisplus-initgroups.c
30957         (_nss_nisplus_initgroups_dyn): Likewise.
30958         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
30959         (_nss_nisplus_getnetbyaddr_r): Likewise.
30960         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
30961         (_nss_nisplus_getprotobynumber_r): Likewise.
30962         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
30963         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
30964         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
30965         Likewise.
30966         * nis/nss_nisplus/nisplus-service.c
30967         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
30968         (_nss_nisplus_getservbyport_r): Likewise.
30969         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
30970         (_nss_nisplus_getspnam_r): Likewise.
30971         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
30972         Likewise.
30973         * nscd/aicache.c (addhstaiX): Likewise.
30974         * nscd/cache.c (cache_search, prune_cache): Likewise.
30975         * nscd/connections.c (register_traced_file, send_ro_fd)
30976         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
30977         (main_loop_epoll): Likewise.
30978         * nscd/grpcache.c (addgrbyX): Likewise.
30979         * nscd/hstcache.c (addhstbyX): Likewise.
30980         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30981         * nscd/mem.c (gc, mempool_alloc): Likewise.
30982         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
30983         (addinnetgrX): Likewise.
30984         * nscd/nscd-client.h (__nscd_acquire_maplock)
30985         (__nscd_drop_map_ref): Likewise.
30986         * nscd/nscd_getai.c (__nscd_getai): Likewise.
30987         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30988         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
30989         Likewise.
30990         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30991         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30992         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
30993         (__nscd_get_map_ref): Likewise.
30994         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30995         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
30996         Likewise.
30997         * nscd/pwdcache.c (addpwbyX): Likewise.
30998         * nscd/selinux.c (preserve_capabilities): Likewise.
30999         * nscd/servicescache.c (addservbyX): Likewise.
31000         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
31001         * posix/fnmatch.c (fnmatch): Likewise.
31002         * posix/getopt.c (_getopt_internal_r): Likewise.
31003         * posix/glob.c (glob, glob_in_dir): Likewise.
31004         * posix/wordexp.c (exec_comm_child): Likewise.
31005         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
31006         (getanswer_r, gaih_getanswer_slice): Likewise.
31007         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
31008         * resolv/res_init.c: Likewise.
31009         * resolv/res_mkquery.c (res_nmkquery): Likewise.
31010         * resolv/res_query.c (__libc_res_nquery): Likewise.
31011         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
31012         Likewise.
31013         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
31014         * stdio-common/perror.c (perror): Likewise.
31015         * stdio-common/printf_fp.c (___printf_fp): Likewise.
31016         * stdio-common/tmpnam.c (tmpnam): Likewise.
31017         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31018         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31019         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31020         Likewise.
31021         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
31022         * stdlib/putenv.c (putenv): Likewise.
31023         * stdlib/setenv.c (__add_to_environ): Likewise.
31024         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31025         * stdlib/strtol_l.c (INTERNAL): Likewise.
31026         * string/memmem.c (memmem): Likewise.
31027         * string/strerror.c (strerror): Likewise.
31028         * string/strnlen.c (__strnlen): Likewise.
31029         * string/test-memmem.c (simple_memmem): Likewise.
31030         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
31031         * sunrpc/pm_getport.c (__get_socket): Likewise.
31032         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
31033         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
31034         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
31035         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
31036         Likewise.
31037         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
31038         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31039         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31040         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
31041         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31042         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
31043         Likewise.
31044         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
31045         Likewise.
31046         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31047         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31048         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31049         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31050         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
31051         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
31052         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31053         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
31054         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31055         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
31056         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31057         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
31058         Likewise.
31059         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
31060         Likewise.
31061         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
31062         Likewise.
31063         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
31064         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31065         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
31066         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
31067         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
31068         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
31069         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31070         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
31071         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
31072         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
31073         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
31074         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31075         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31076         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
31077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31078         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31079         Likewise.
31080         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
31081         Likewise.
31082         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
31083         Likewise.
31084         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
31085         Likewise.
31086         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31087         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31088         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
31089         Likewise.
31090         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
31091         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
31092         * sysdeps/posix/opendir.c (__opendirat): Likewise.
31093         * sysdeps/posix/sleep.c: Likewise.
31094         * sysdeps/posix/tempname.c: Likewise.
31095         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
31096         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31097         Likewise.
31098         * sysdeps/powerpc/powerpc32/dl-machine.h
31099         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
31100         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31101         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31102         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
31103         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
31104         Likewise.
31105         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
31106         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
31107         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31108         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
31109         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31110         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
31111         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
31112         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
31113         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31114         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
31115         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
31116         (elf_machine_lazy_rel): Likewise.
31117         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31118         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
31119         (elf_machine_lazy_rel): Likewise.
31120         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
31121         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
31122         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
31123         * sysdeps/unix/grantpt.c (grantpt): Likewise.
31124         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
31125         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
31126         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31127         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31128         Likewise.
31129         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
31130         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
31131         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
31132         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
31133         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31134         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31135         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
31136         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
31137         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
31138         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31139         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31140         Likewise.
31141         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
31142         (__posix_fallocate64_l64): Likewise.
31143         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
31144         (posix_fallocate): Likewise.
31145         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
31146         Likewise.
31147         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31148         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
31149         (getifaddrs_internal): Likewise.
31150         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
31151         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
31152         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
31153         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31154         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31155         (__posix_fallocate64_l64): Likewise.
31156         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31157         Likewise.
31158         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
31159         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
31160         (__get_clockfreq): Likewise.
31161         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
31162         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31163         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
31164         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31165         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31166         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
31167         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
31168         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
31169         Likewise.
31170         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
31171         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
31172         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31173         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
31174         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31175         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
31176         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
31177         Likewise.
31178         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31179         (posix_fallocate): Likewise.
31180         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31181         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
31182         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
31183         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
31184         (elf_machine_rela, elf_machine_rela_relative)
31185         (elf_machine_lazy_rel): Likewise.
31186         * time/asctime.c (asctime_internal): Likewise.
31187         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
31188         * time/tzset.c (__tzset_parse_tz): Likewise.
31189         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31190         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31191         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
31192         * wcsmbs/wcsmbsload.h: Likewise.
31194         [BZ #15894]
31195         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
31197         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
31198         (arena_get2): Remove THREAD_STATS conditionals.
31199         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
31200         (__malloc_stats, int): Likewise.
31202 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
31204         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
31205         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
31207         * manual/setjmp.texi: Fix typos/grammar errors.
31209         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
31210         Only return early when n is <= 0.  Delete unused return statement.
31212         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
31213         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31214         * debug/tst-longjmp_chk3.c: New file.
31216         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
31217         (test_main): Replace code with set_fortify_handler call.
31218         * debug/test-strcpy_chk.c: Likewise.
31219         * debug/tst-chk1.c: Likewise.
31220         * debug/tst-longjmp_chk.c: Likewise.
31221         * test-skeleton.c: Include fcntl.h & paths.h
31222         (set_fortify_handler): Define.
31224         * debug/tst-longjmp_chk.c: Add header comment and include
31225         ../test-skeleton.c.
31226         (do_test): Mark static.
31227         (TEST_FUNCTION): Define.
31229         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
31230         (IP_PMTUDISC_INTERFACE): Likewise.
31231         (IP_MULTICAST_IF): Likewise.
31232         (IP_MULTICAST_TTL): Likewise.
31233         (IP_MULTICAST_LOOP): Likewise.
31234         (IP_ADD_MEMBERSHIP): Likewise.
31235         (IP_DROP_MEMBERSHIP): Likewise.
31236         (IP_UNBLOCK_SOURCE): Likewise.
31237         (IP_BLOCK_SOURCE): Likewise.
31238         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
31239         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31240         (IP_MSFILTER): Likewise.
31241         (MCAST_JOIN_GROUP): Likewise.
31242         (MCAST_BLOCK_SOURCE): Likewise.
31243         (MCAST_UNBLOCK_SOURCE): Likewise.
31244         (MCAST_LEAVE_GROUP): Likewise.
31245         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31246         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31247         (MCAST_MSFILTER): Likewise.
31248         (IP_MULTICAST_ALL): Likewise.
31249         (IP_UNICAST_IF): Likewise.
31251         * timezone/Makefile: Delete $(have-ksh) check.
31252         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
31253         * timezone/tzselect.ksh: Add +x mode bits.
31255         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
31256         (ANON_INODE_FS_MAGIC): Likewise.
31257         (BDEVFS_MAGIC): Likewise.
31258         (BINFMTFS_MAGIC): Likewise.
31259         (BTRFS_TEST_MAGIC): Likewise.
31260         (CRAMFS_MAGIC_WEND): Likewise.
31261         (DEBUGFS_MAGIC): Likewise.
31262         (ECRYPTFS_SUPER_MAGIC): Likewise.
31263         (EXT3_SUPER_MAGIC): Likewise.
31264         (EXT4_SUPER_MAGIC): Likewise.
31265         (FUTEXFS_SUPER_MAGIC): Likewise.
31266         (HOSTFS_SUPER_MAGIC): Likewise.
31267         (HUGETLBFS_MAGIC): Likewise.
31268         (MINIX3_SUPER_MAGIC): Likewise.
31269         (MTD_INODE_FS_MAGIC): Likewise.
31270         (NILFS_SUPER_MAGIC): Likewise.
31271         (OPENPROM_SUPER_MAGIC): Likewise.
31272         (PIPEFS_MAGIC): Likewise.
31273         (PSTOREFS_MAGIC): Likewise.
31274         (QNX6_SUPER_MAGIC): Likewise.
31275         (RAMFS_MAGIC): Likewise.
31276         (REISERFS_SUPER_MAGIC_STRING): Likewise.
31277         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
31278         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
31279         (SECURITYFS_MAGIC): Likewise.
31280         (SELINUX_MAGIC): Likewise.
31281         (SMACK_MAGIC): Likewise.
31282         (SOCKFS_MAGIC): Likewise.
31283         (SQUASHFS_MAGIC): Likewise.
31284         (STACK_END_MAGIC): Likewise.
31285         (TMPFS_MAGIC): Likewise.
31286         (USBDEVICE_SUPER_MAGIC): Likewise.
31287         (V9FS_MAGIC): Likewise.
31288         (XENFS_SUPER_MAGIC): Likewise.
31289         (CRAMFS_MAGIC): Fix typo in comment.
31290         (EXT2_SUPER_MAGIC): Update comment.
31291         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
31293 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
31295         * sysdeps/arm: Move directory from ports/sysdeps/arm.
31296         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
31297         * sysdeps/unix/sysv/linux/arm: Move directory from
31298         ports/sysdeps/unix/sysv/linux/arm.
31299         * README: Update listing for arm-*-linux-gnueabi.
31301         * README: Remove mention of am33.
31303 2014-02-07  Roland McGrath  <roland@hack.frob.com>
31305         * bits/sigset.h (__sigemptyset): Use a statement expression rather
31306         than the comma operator, to avoid "rhs of comma has no effect"
31307         compiler warnings.
31308         (__sigfillset, __sigandset, __sigorset): Likewise.
31309         * include/signal.h (__sigemptyset): Likewise.
31310         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
31312 2014-02-07  Allan McRae  <allan@archlinux.org>
31314         * version.h (RELEASE): Set to "development".
31315         (VERSION): Set to "2.19.90"
31316         * NEWS: Add 2.20 section.
31318 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
31320         [BZ #16529]
31321         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
31323 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31325         * manual/contrib.texi: Update entry for Carlos O'Donell,
31326         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
31328 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
31330         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
31332         * sysdeps/unix/sysv/linux/kernel-features.h
31333         [__LINUX_KERNEL_VERSION >= 0x020621]
31334         (__ASSUME_PROC_PID_TASK_COMM): Define.
31336 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31338         [BZ #16398]
31339         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
31340         conversion when destination buffer does not have enough space.
31341         * libio/tst-ftell-partial-wide.c: New test case.
31342         * libio/Makefile (tests): Add tst-ftell-partial-wide.
31344         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
31345         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
31346         Leonard and Allan McRae.
31348 2014-02-04  David S. Miller  <davem@davemloft.net>
31350         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
31351         32-bit.
31353 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31356         New file
31357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31358         New file
31359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31360         New file.
31361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31362         New file.
31363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31364         New file.
31365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31366         New file.
31367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31368         New file.
31369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31370         New file.
31371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31372         New file.
31373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31374         New file.
31375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31376         New file.
31377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31378         New file.
31379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31380         New file.
31382 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31384         * nptl/shlib-versions: Change powerpc*le start to 2.17.
31385         * shlib-versions: Likewise.
31387 2014-02-04  Roland McGrath  <roland@hack.frob.com>
31388             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31390         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
31391         (abilist-pattern): New variable, set to %-le.abilist.
31393         * Makerules (abilist-pattern): New variable.
31394         (vpath): Use $(abilist-pattern) in place of %.abilist.
31395         (check-abi-% pattern rule): Likewise.
31396         (check-abi, update-abi): Likewise.
31398 2014-02-04  Eric Wong  <normalperson@yhbt.net>
31400         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31402 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
31404         * manual/startup.texi: Add next, previous, and top entries for
31405         the `Program Arguments' and `Environment Variables' nodes.
31407 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
31409         * manual/macros.texi: Add comments before MTASC-safety macros.
31411         * manual/users.texi: Document MTASC-safety properties.
31413         * manual/threads.texi (pthread_key_create, pthread_key_delete)
31414         (pthread_getspecific, pthread_setspecific): Format with
31415         @deftypefun, and add @safety note.
31416         * manual/signal.texi: Move comments that analyze the above
31417         functions to their home place.
31419 2014-02-03  Allan McRae  <allan@archlinux.org>
31421         * po/sl.po: Update Slovenian translation from translation project.
31423 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
31425         * manual/time.texi (timegm): Add missing blank after @c.
31426         Reported by Joseph Myers <joseph@codesourcery.com>.
31428 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
31430         * manual/check-safety.sh: New.
31431         * manual/Makefile ($(objpfx)stamp-summary): Run it.
31433         * manual/terminal.texi: Document MTASC-safety properties.
31435         * manual/filesys.texi: Document MTASC-safety properties.
31437         * manual/errno.texi: Document MTASC-safety properties.
31439         * manual/intro.texi: Document safety identifiers and
31440         conditionals.
31442         * manual/string.texi (wcstok): Fix prototype.
31443         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
31445         * manual/time.texi: Document MTASC-safety properties.
31447         * manual/string.texi: Document MTASC-safety properties.
31449         * manual/threads.texi: Document MTASC-safety properties.
31451         * manual/stdio.texi: Document MTASC-safety properties.
31453         * manual/syslog.texi: Document MTASC-safety properties.
31455         * manual/sysinfo.texi: Document MTASC-safety properties.
31457         * manual/startup.texi: Document MTASC-safety properties.
31459         * manual/socket.texi: Document MTASC-safety properties.
31461         * manual/signal.texi: Document MTASC-safety properties.
31463 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
31465         * manual/setjmp.texi: Document MTASC-safety properties.
31467         * manual/search.texi: Document MTASC-safety properties.
31469         * manual/resource.texi: Document MTASC-safety properties.
31471         * manual/process.texi: Document MTASC-safety properties.
31473         * manual/platform.texi: Document MTASC-safety properties.
31475         * manual/pipe.texi: Document MTASC-safety properties.
31477         * manual/pattern.texi: Document MTASC-safety properties.
31479         * manual/message.texi: Document MTASC-safety properties.
31481         [BZ #12751]
31482         * manual/memory.texi: Document MTASC-safety properties.
31484         * manual/math.texi: Document MTASC-safety properties.
31486         * manual/locale.texi: Document MTASC-safety properties.
31488         * manual/llio.texi: Document MTASC-safety properties.
31490         * manual/libdl.texi: New.
31492         * manual/lang.texi: Document MTASC-safety properties.
31494         * manual/job.texi: Document MTASC-safety properties.
31496         * manual/getopt.texi: Document MTASC-safety properties.
31498         * manual/ctype.texi: Document MTASC-safety properties.
31500 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
31502         [BZ #16046]
31503         * csu/libc-tls.c (static_map): Remove variable.
31504         (__libc_setup_tls): Use main executable's link map for TLS data.
31505         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
31506         casing for LM_ID_BASE and GL(dl_nns).
31507         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
31508         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
31509         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
31510         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
31511         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
31512         member.
31513         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
31514         l_phnum members.
31516 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
31518         * manual/debug.texi: Document MTASC-safety properties.
31520 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
31522         [BZ #16510]
31523         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
31524         of __x86_64__ when disabling x87 inline functions.
31526 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
31528         * manual/charset.texi: Document MTASC-safety properties.
31530         * manual/crypt.texi: Document MTASC-safety properties.
31532         * manual/conf.texi: Document MTASC-safety properties.
31534         * manual/arith.texi: Document MTASC-safety properties.
31536         * manual/argp.texi: Document MTASC-safety properties.
31538         * manual/macros.texi: Introduce macros to document multi
31539         thread, asynchronous signal and asynchronous cancellation
31540         safety properties.
31541         * manual/intro.texi: Introduce the properties themselves.
31543 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31545         * sysdeps/sh/sh4/Makefile: New file.
31547 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
31549         * math/gen-libm-test.pl ($srcdir): New variable.
31550         ($auto_input): Use it.
31552 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31554         [BZ #16506]
31555         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
31556         access beyond array bounds when parsing netgroups file.
31558         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
31559         the old buffer before realloc.
31561 2014-01-27  Allan McRae  <allan@archlinux.org>
31563         * po/fr.po: Update French translation from translation project.
31565 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31567         * sysdeps/sh/libm-test-ulps: Regenerate.
31569 2014-01-24  David S. Miller  <davem@davemloft.net>
31571         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
31573 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31575         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
31576         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
31578 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31580         [BZ #16474]
31581         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
31582         string pointers after reallocation.
31584 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31586         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
31587         __SH4A__ instead of __SH_FPU_ANY__.
31589 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31591         * sysdeps/sh/fpu_control.h: New file.
31592         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
31593         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
31594         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
31595         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
31596         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
31597         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
31598         * sysdeps/sh/sys/ucontext.h: Remove.
31599         * sysdeps/sh/sys: Remove directory.
31601 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31603         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
31604         s390/sys/ucontext.h.
31605         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
31606         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
31608 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
31610         [BZ #15605]
31611         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
31613 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31615         [BZ#16431]
31616         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31617         Adjust the vDSO correctly for internal calls.
31618         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
31620 2014-01-20  Allan McRae  <allan@archlinux.org>
31622         * po/ca.po: Update Catalan translation from translation project.
31624 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
31626         * sysdeps/s390/sotruss-lib.c: New file.
31628 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31630         [BZ#16430]
31631         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
31632         (__GI___gettimeofday): Alias for a different internal symbol to avoid
31633         local calls issues by not having a PLT stub required for IFUNC calls.
31634         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
31636 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
31638         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
31639         * math/test-fpucw-static.c: Likewise.
31641 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31643         [BZ #16453]
31644         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
31646 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31648         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
31649         implementation for powerpc.
31651 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
31653         [BZ #14782]
31654         * sysdeps/posix/system.c (__libc_system): Do not enable
31655         asynchronous cancellation.
31657 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31659         [BZ #16427]
31660         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
31661         handling only for numbers special also in the IEEE case.
31663 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31665         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31667 2014-01-11  Allan McRae  <allan@archlinux.org>
31669         * po/bg.po: Update Bulgarian translation from translation project.
31671         * po/de.po: Update German translation from translation project.
31673 2014-01-10  Roland McGrath  <roland@hack.frob.com>
31675         * sysdeps/generic/gcc-compat.h: New file.
31677 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31679         * benchtests/asin-inputs: Correct slow inputs.
31680         * benchtests/acos-inputs: Likewise.
31682 2014-01-10  Allan McRae  <allan@archlinux.org>
31684         * po:sv.po: Update Swedish translation from translation project.
31686         * po/vi.po: Update Vietnamese translation from translation project.
31688         * po/eo.po: Update Esperanto translation from translation project.
31690         * po/cs.po: Update Czech translation from translation project.
31692         * po/nl.po: Update Dutch translation from translation project.
31694         * po/pl.po: Update Polish translation from translation project.
31696         * po/ru.po: Update Russian translation from translation project.
31698         * po/uk.po: Update Ukrainian translation from translation project.
31700 2014-01-08  Brooks Moses  <bmoses@google.com>
31702         * elf/dl-load.c: Fix comment typo.
31704 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
31706         * po/header.pot: Rename to...
31707         * po/pot.header: ... this.
31708         * po/Makefile: Use pot.header.
31710 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
31711             Maxim Kuvyrkov  <maxim@kugelworks.com>
31713         [BZ #16394]
31714         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
31715         SRC and DEST against LEN.
31717 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31719         [BZ #16414]
31720         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
31721         implementation.
31722         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
31724 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31728 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
31730         [BZ #16408]
31731         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
31732         for large positive arguments.
31734 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
31736         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31738         * math/auto-libm-test-in: Mark various tests with
31739         xfail-rounding:ldbl-128ibm.
31740         * math/auto-libm-test-out: Regenerated.
31742         [BZ #16407]
31743         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31744         Increase overflow threshold.
31746 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
31748         [BZ #14286]
31749         * stdio-common/vfprintf.c: Check for integer overflow.
31751 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31753         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
31754         the first argument and return value of __tls_get_addr_internal.
31756 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31758         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
31759         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
31761 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31763         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
31764         * sysdeps/s390/rtld-global-offsets.sym: New file.
31765         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
31766         GLIBC_2.19 symbol.
31767         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
31768         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
31769         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31770         ... this.
31771         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
31772         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31773         ... this.
31774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31775         Regenerate.
31776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31777         Regenerate.
31778         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
31779         halfs of GPRs for high_gprs contexts.
31780         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
31781         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
31782         field.
31783         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
31784         uc_flags field.
31785         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
31786         64 bit versions:
31787         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
31788         for high GPRs (uc_high_gprs) and for future extensions
31789         (__reserved).
31790         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
31791         for future extensions (__reserved).
31792         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
31793         64 bit versions:
31794         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
31795         SC_HIGHGPRS offset definition.
31796         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
31797         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
31799         * Versions.def: Add GLIBC_2.19 for libpthread.
31800         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
31801         siglongjmp for libpthread with GLIBC_2.19 symver.
31802         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
31803         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
31804         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
31805         * sysdeps/s390/__longjmp.c: New file.
31806         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
31807         * sysdeps/s390/longjmp.c: New file.
31808         * sysdeps/s390/setjmp.S: New file.
31809         * sysdeps/s390/sigjmp.S: New file.
31810         * sysdeps/s390/v1-longjmp.c: New file.
31811         * sysdeps/s390/v1-setjmp.h: New file.
31812         * sysdeps/s390/v1-sigjmp.c: New file.
31813         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
31814         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
31815         GLIBC_2.19 version.
31816         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
31817         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
31818         versioned symbols for ____longjmp_chk.
31819         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31820         Likewise.
31821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31822         Regenerate.
31823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31824         Regenerate.
31825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31826         Regenerate.
31827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31828         Regenerate.
31829         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
31830         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
31831         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
31832         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
31833         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
31834         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
31835         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
31836         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
31837         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
31838         * sysdeps/s390/rtld-__longjmp.c: New file.
31839         * sysdeps/s390/rtld-setjmp.S: New file.
31841 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
31843         [BZ #16400]
31844         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31845         Return -__logl (x) for small positive arguments without evaluating
31846         a polynomial.
31848 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
31850         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
31851         Rename to ...
31852         (__ptrace_peeksiginfo_args): ... this.
31853         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31854         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31855         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31857 2014-01-06  Allan McRae  <allan@archlinux.org>
31859         * inet/netinet/in.h: Fix typo in comment.
31861 2014-01-05  Andreas Jaeger  <aj@suse.de>
31863         * sysdeps/i386/fpu/libm-test-ulps: Update.
31865 2014-01-05  Allan McRae  <allan@archlinux.org>
31867         * po/libc.pot: Regenerated.
31869         * malloc/memusagestat.c: Fix gettext call formatting.
31871 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
31873         * nscd/nscd.c: Improve usage() output.
31875 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
31877         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
31878         * sysdeps/unix/sysv/linux/configure: Regenerated.
31879         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
31880         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
31882 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31884         [BZ #16390]
31885         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31886         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
31888 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31890         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
31891         extra tokens at end of #undef directive.
31892         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
31893         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
31894         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
31896 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31898         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31900         * math/auto-libm-test-in: Mark various tests with
31901         xfail-rounding:ldbl-128ibm.
31902         * math/auto-libm-test-out: Regenerated.
31904 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
31906         [BZ #16386]
31907         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
31908         numbers with subnormal high part when calculating exponent.
31910         [BZ #16385]
31911         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
31912         fabs.
31914         [BZ #16384]
31915         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
31916         M_LN2l.
31917         (__ieee754_acoshl): Use __log1pl not __log1p.
31919 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
31921         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
31922         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
31923         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
31924         (grow_heap, heap_trim, _int_new_arena, get_free_list)
31925         (reused_arena, arena_get2): Convert to GNU style.
31926         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
31927         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
31928         (memalign_check, __malloc_set_state): Likewise.
31929         * malloc/mallocbug.c (main): Likewise.
31930         * malloc/malloc.c (__malloc_assert, malloc_init_state)
31931         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
31932         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
31933         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
31934         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
31935         (__posix_memalign, malloc_info): Likewise.
31936         * malloc/malloc.h: Likewise.
31937         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
31938         (mallochook, memalignhook, reallochook, mabort): Likewise.
31939         * malloc/mcheck.h: Likewise.
31940         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
31941         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
31942         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
31943         * malloc/morecore.c (__default_morecore): Likewise.
31944         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
31945         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
31946         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
31947         (print_and_abort): Likewise.
31948         * malloc/obstack.h: Likewise.
31949         * malloc/set-freeres.c (__libc_freeres): Likewise.
31950         * malloc/tst-mallocstate.c (main): Likewise.
31951         * malloc/tst-mtrace.c (main): Likewise.
31952         * malloc/tst-realloc.c (do_test): Likewise.
31954 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31956         [BZ #16366]
31957         * nscd/netgroupcache.c (do_notfound): New function.
31958         (addgetnetgrentX): Use it.
31960         [BZ # 16365]
31961         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
31962         NSS_STATUS_NOTFOUND.
31964 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
31966         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31969 2014-01-01  Allan McRae  <allan@archlinux.org>
31971         * scripts/update-copyrights: Update configure input file suffix.
31973         * NEWS: Update copyright year.
31974         * catgets/gencat.c: Likewise.
31975         * csu/version.c: Likewise.
31976         * debug/catchsegv.sh: Likewise.
31977         * debug/pcprofiledump.c: Likewise.
31978         * debug/xtrace.sh: Likewise.
31979         * elf/ldconfig.c: Likewise.
31980         * elf/ldd.bash.in: Likewise.
31981         * elf/pldd.c: Likewise.
31982         * elf/sotruss.ksh: Likewise.
31983         * elf/sprof.c: Likewise.
31984         * iconv/iconv_prog.c: Likewise.
31985         * iconv/iconvconfig.c: Likewise.
31986         * locale/programs/locale.c: Likewise.
31987         * locale/programs/localedef.c: Likewise.
31988         * login/programs/pt_chown.c: Likewise.
31989         * malloc/memusage.sh: Likewise.
31990         * malloc/memusagestat.c: Likewise.
31991         * malloc/mtrace.pl: Likewise.
31992         * manual/libc.texinfo: Likewise.
31993         * nscd/nscd.c: Likewise.
31994         * nss/getent.c: Likewise.
31995         * nss/makedb.c: Likewise.
31996         * posix/getconf.c: Likewise.
31997         * scripts/test-installation.pl: Likewise.
31999         * All files with FSF copyright notices: Update copyright dates
32000         using scripts/update-copyrights.
32001         * intl/plural.c: Regenerated.
32002         * locale/programs/charmap-kw.h: Likewise.
32003         * locale/programs/locfile-kw.h: Likewise.
32005 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
32007         * sysdeps/unix/sysv/linux/configure: Regenerated.
32008         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
32009         the linux/fanotify.h header.
32010         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
32011         HAVE_LINUX_FANOTIFY_H is defined.
32013 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32015         * benchtests/cos-inputs: New inputs.
32016         * benchtests/sin-inputs: Likewise.
32018         * benchtests/atan-inputs: New inputs. Fix name of multiple
32019         precision fallback inputs.
32021         * benchtests/atanh-inputs: New inputs.
32022         * benchtests/tanh-inputs: Likewise.
32024         * benchtests/acosh-inputs: New inputs.
32025         * benchtests/asinh-inputs: Likewise.
32027         * benchtests/cosh-inputs: New inputs.
32028         * benchtests/sinh-inputs: Likewise.
32030         * benchtests/acos-inputs: Add more inputs.
32031         * benchtests/asin-inputs: Likewise.
32033 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
32035         [BZ #16375]
32036         * manual/arith.texi: Fix spelling.
32037         * manual/charset.texi: Likewise.
32038         * manual/errno.texi: Likewise.
32039         * manual/filesys.texi: Likewise.
32040         * manual/lang.texi: Likewise.
32041         * manual/llio.texi: Likewise.
32042         * manual/locale.texi: Likewise.
32043         * manual/message.texi: Likewise.
32044         * manual/resource.texi: Likewise.
32045         * manual/search.texi: Likewise.
32046         * manual/setjmp.texi: Likewise.
32047         * manual/stdio.texi: Likewise.
32048         * manual/string.texi: Likewise.
32049         * manual/sysinfo.texi: Likewise.
32050         * manual/time.texi: Likewise.
32052 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
32054         * po/sl.po: New file.
32056 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
32058         * .gitignore: Add core/.gdbinit/.gdb_history.
32060 2013-12-27  Allan McRae  <allan@archlinux.org>
32062         [BZ #16369]
32063         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
32064         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
32066 2013-12-24  Brooks Moses  <bmoses@google.com>
32068         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
32069         all compilers that claim C++98 compliance, not just GCC.
32070         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32071         Likewise.
32073 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32075         * NEWS: Restore accidentally deleted bug-fix entries.
32077 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32078             Ondřej Bílka  <neleai@seznam.cz>
32080         [BZ #15073]
32081         * malloc/malloc.c (_int_free): Perform sanity check only if we
32082         have_lock.
32084 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
32086         [BZ #12986]
32087         * manual/stdio.texi (String Input Conversions): Clarify that character
32088         classes are not supported.
32090 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32094 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
32096         [BZ #16337]
32097         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32098         Calculate results for small negative arguments directly rather
32099         than using reflection formula with special underflow handling.
32101         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
32102         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
32103         sysdeps/unix/bsd/bsd4.4/syscalls.list.
32104         (fchflags): Likewise.
32105         (revoke): Likewise.
32106         (setlogin): Likewise.
32107         (sigaltstack): Likewise.
32108         (wait4): Likewise.
32109         (sigblock): Remove.
32110         (sigsetmask): Likewise.
32111         (wait3): Likewise.
32112         (waitpid): Likewise.
32113         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
32114         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32115         file.
32116         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
32117         * sysdeps/unix/bsd/Makefile: ... here.
32118         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
32119         * sysdeps/unix/bsd/Versions: ... here.
32120         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
32121         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
32122         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
32123         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
32124         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
32125         * sysdeps/unix/bsd/sigblock.c: ... here.
32126         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
32127         * sysdeps/unix/bsd/sigsetmask.c: ... here.
32128         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
32129         * sysdeps/unix/bsd/sigvec.c: ... here.
32130         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
32131         * sysdeps/unix/bsd/tcdrain.c: ... here.
32132         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
32133         * sysdeps/unix/bsd/tcgetattr.c: ... here.
32134         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
32135         * sysdeps/unix/bsd/tcsetattr.c: ... here.
32136         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
32137         * sysdeps/unix/bsd/wait.c: ... here.
32138         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
32139         * sysdeps/unix/bsd/wait3.c: ... here.
32140         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
32141         * sysdeps/unix/bsd/waitpid.c: ... here.
32143 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
32145         [BZ #16356]
32146         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
32147         round-to-nearest for [!USE_AS_EXPM1L].
32148         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
32149         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
32150         more tests of exp and exp10.  Expect some exp10 tests to miss
32151         exceptions or fail in directed rounding modes.
32152         * math/auto-libm-test-out: Regenerated.
32153         * math/libm-test.inc (exp10_tonearest_test_data): New array.
32154         (exp10_test_tonearest): New function.
32155         (exp10_towardzero_test_data): New array.
32156         (exp10_test_towardzero): New function.
32157         (exp10_downward_test_data): New array.
32158         (exp10_test_downward): New function.
32159         (exp10_upward_test_data): New array.
32160         (exp10_test_upward): New function.
32161         (main): Call the new functions.
32162         * sysdeps/i386/fpu/libm-test-ulps: Update.
32163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32165 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
32167         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32168         asinh, atan, atan2, atanh, cbrt, cos and cosh.
32169         * math/auto-libm-test-out: Regenerated.
32170         * math/libm-test.inc (acosh_test_data): Add more tests.
32171         (atanh_test_data): Likewise.
32172         (ceil_test_data): Likewise.
32173         (copysign_test_data): Likewise.
32174         * sysdeps/i386/fpu/libm-test-ulps: Update.
32175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32177         * timezone/checktab.awk: Update from tzcode 2013i.
32178         * timezone/private.h: Likewise.
32179         * timezone/scheck.c: Likewise.
32180         * timezone/tzfile.h: Likewise.
32181         * timezone/tzselect.ksh: Likewise.
32182         * timezone/zdump.c: Likewise.
32183         * timezone/zic.c: Likewise.
32185         * math/auto-libm-test-in: Add tests of cpow.
32186         * math/auto-libm-test-out: Regenerated.
32187         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
32188         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32189         mpc_cc_c.
32190         (func_calc_desc): Add mpc_cc_c union field.
32191         (test_functions): Add cpow.
32192         (special_fill_2pi): New function.
32193         (special_real_inputs): Add 2pi.
32194         (calc_generic_results): Handle mpc_cc_c.
32195         * sysdeps/i386/fpu/libm-test-ulps: Update.
32196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32198         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
32199         csqrt, ctan and ctanh.
32200         * math/auto-libm-test-out: Regenerated.
32201         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32202         (TEST_COND_x86): Likewise.
32203         (ccos_test_data): Use AUTO_TESTS_c_c.
32204         (ccosh_test_data): Likewise.
32205         (cexp_test_data): Likewise.
32206         (clog_test_data): Likewise.
32207         (csqrt_test_data): Likewise.
32208         (ctan_test_data): Likewise.
32209         (ctan_tonearest_test_data): Likewise.
32210         (ctan_towardzero_test_data): Likewise.
32211         (ctan_downward_test_data): Likewise.
32212         (ctan_upward_test_data): Likewise.
32213         (ctanh_test_data): Likewise.
32214         (ctanh_tonearest_test_data): Likewise.
32215         (ctanh_towardzero_test_data): Likewise.
32216         (ctanh_downward_test_data): Likewise.
32217         (ctanh_upward_test_data): Likewise.
32218         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32219         mpc_c_c.
32220         (func_calc_desc): Add mpc_c_c union field.
32221         (FUNC_mpc_c_c): New macro.
32222         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
32223         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
32224         ctanh.
32225         (special_fill_min_subnorm_p120): New function.
32226         (special_real_inputs): Add min_subnorm_p120.
32227         (calc_generic_results): Handle mpc_c_c.
32228         * sysdeps/i386/fpu/libm-test-ulps: Update.
32229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32231 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32233         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
32234         (do_sin_slow): New functions.
32235         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
32236         (cslow2, csloww1, csloww2): Use the new functions.
32238         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
32239         Use M to change sign of result instead of X.  Assume X is
32240         positive.
32241         (csloww1): Likewise.
32242         (__sin): Adjust.
32243         (__cos): Adjust.
32245         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
32246         arguments A and DA.
32247         (__sin): Adjust.
32248         (__cos): Likewise.
32250         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
32251         (__cos): Likewise.
32252         (sloww1): Don't adjust sign of DX.
32253         (csloww1): Likewise.
32254         (sloww2): Use X directly and don't adjust sign of DX.
32255         (csloww2): Likewise.
32257 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32259         * math/auto-libm-test-in: Add tests of cabs and carg.
32260         * math/auto-libm-test-out: Regenerated.
32261         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
32262         (carg_test_data): Likewise.
32263         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32264         mpc_c_f.
32265         (func_calc_desc): Add mpc_c_f union field.
32266         (test_functions): Add cabs and carg.
32267         (calc_generic_results): Handle mpc_c_f.
32269         * sysdeps/powerpc/powerpc32/libgcc-compat.S
32270         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
32271         as a macro and a compat symbol.
32272         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32273         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32274         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32275         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32276         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
32277         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
32278         not use .hidden.
32279         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
32280         Likewise.
32281         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
32282         Likewise.
32283         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
32284         Likewise.
32285         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
32286         Likewise.
32287         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
32288         Likewise.
32289         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
32290         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
32291         from GLIBC_2.3.2.
32293 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32297 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32299         * manual/texinfo.tex: Update to version 2013-11-26.10 with
32300         trailing whitespace removed.
32301         * scripts/config.guess: Update to version 2013-11-29.
32302         * scripts/config.sub: Update to version 2013-10-01.
32304         * math/auto-libm-test-in: Add tests of sincos.
32305         * math/auto-libm-test-out: Regenerated.
32306         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
32307         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32308         mpfr_f_11.
32309         (func_calc_desc): Add mpfr_f_11 union field.
32310         (test_functions): Add sincos.
32311         (calc_generic_results): Handle mpfr_f_11.
32312         * sysdeps/i386/fpu/libm-test-ulps: Update.
32313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32315 2013-12-19  Andreas Schwab  <schwab@suse.de>
32317         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
32318         CALL_MCOUNT.
32319         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32320         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
32321         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
32323 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32325         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
32326         * sysdeps/i386/fpu/libm-test-ulps: Update.
32327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32329         [BZ #16293]
32330         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
32331         round-to-nearest mode when using frndint.
32332         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
32333         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32334         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32335         Likewise.
32336         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
32337         sinh test to fail.
32338         * math/auto-libm-test-out: Regenerated.
32339         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
32340         (TEST_COND_x86): Likewise.
32341         (expm1_tonearest_test_data): New array.
32342         (expm1_test_tonearest): New function.
32343         (expm1_towardzero_test_data): New array.
32344         (expm1_test_towardzero): New function.
32345         (expm1_downward_test_data): New array.
32346         (expm1_test_downward): New function.
32347         (expm1_upward_test_data): New array.
32348         (expm1_test_upward): New function.
32349         (main): Run the new test functions.
32350         * sysdeps/i386/fpu/libm-test-ulps: Update.
32351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32353         * include/features.h: Update comment documenting feature test
32354         macros.  Mention _DEFAULT_SOURCE in comment.
32355         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
32356         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
32357         _BSD_SOURCE and _SVID_SOURCE.
32358         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
32359         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
32360         !_SVID_SOURCE]: Likewise.
32361         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32362         (__USE_POSIX_IMPLICITLY): Define.
32363         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32364         (_POSIX_SOURCE): Undefine and redefine.
32365         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32366         (_POSIX_C_SOURCE): Likewise.
32367         * manual/creature.texi (_DEFAULT_SOURCE): Document.
32368         (Feature Test Macros): Update documentation of default features.
32370 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32372         * benchtests/Makefile: Add bench-strtok.
32373         * benchtests/bench-strtok.c: New file: strtok benchtest.
32375 2013-12-19  Allan McRae  <allan@archlinux.org>
32377         * manual/install.texi: Suppress menu for plain text output.
32378         * INSTALL: Regenerated.
32380 2013-12-18  Brooks Moses  <bmoses@google.com>
32382         [BZ #15846]
32383         * misc/getauxval.c: Include errno.h.
32384         (__getauxval): Set errno to ENOENT if the requested type is not
32385         found.
32386         * misc/sys/auxv.h (getauxval): Document that it may set errno;
32387         don't declare with __attribute_const__.
32388         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
32389         * manual/startup.texi: Document that getauxval sets errno.
32391 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32393         * math/auto-libm-test-in: Add tests of jn and yn.
32394         * math/auto-libm-test-out: Regenerated.
32395         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
32396         (yn_test_data): Likewise.
32397         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32398         mpfr_if_f.
32399         (func_calc_desc): Add mpfr_if_f union field.
32400         (FUNC_mpfr_if_f): New macro.
32401         (test_functions): Add jn and yn.
32402         (calc_generic_results): Assert type of second input for
32403         mpfr_ff_f.  Handle mpfr_if_f.
32404         (output_for_one_input_case): Disable all checking for arguments
32405         fitting floating-point types in case of an integer argument.
32406         * sysdeps/i386/fpu/libm-test-ulps: Update.
32407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32410         Don't expect fegetround reference in libm.so.
32412 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32414         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
32415         $(config-cflags-nofma).
32417 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32419         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
32420         * math/auto-libm-test-out: Regenerated.
32422         [BZ #16338]
32423         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
32424         to determine exponent and adjust argument to have exponent of -1.
32425         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
32426         log2.
32427         * math/auto-libm-test-out: Regenerated.
32428         * sysdeps/i386/fpu/libm-test-ulps: Update.
32429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32431 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
32433         * manual/probes.texi: Remove cases when per-thread arenas are
32434         disabled.
32436 2013-12-18  Andreas Schwab  <schwab@suse.de>
32438         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
32439         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
32440         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
32441         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
32442         * sysdeps/i386/i686/multiarch/Makefile: Update.
32443         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
32445 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32447         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
32448         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
32450 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
32452         [BZ #15968]
32453         Support TZ transition times < 00:00:00.
32454         This is needed for version-3 tz-format files; it supports time
32455         stamps past 2037 for America/Godthab (the only entry in the tz
32456         database for which this change is relevant).
32457         * manual/time.texi (TZ Variable): Document transition times
32458         from -167:59:59 through -00:00:01.
32459         * time/tzset.c (tz_rule): Time of day is now signed.
32460         (__tzset_parse_tz): Parse negative time of day.
32462         Document TZ transition times >= 25:00:00.
32463         * manual/time.texi (TZ Variable): Document transition times from
32464         25:00:00 through 167:59:59.  These are already supported, and this
32465         support will help with version-3 tz-format files.
32467         * manual/time.texi (TZ Variable): Modernize North America example
32468         to reflect current (i.e., 2007-and-later) daylight saving rules.
32470         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
32472 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32474         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
32475         * sysdeps/unix/bsd/bits/stat.h: Likewise.
32476         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
32477         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32478         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
32479         * sysdeps/unix/bsd/bsdstat.h: Likewise.
32480         * sysdeps/unix/bsd/clock.c: Likewise.
32481         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
32482         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
32483         * sysdeps/unix/bsd/init-posix.c: Likewise.
32484         * sysdeps/unix/bsd/poll.c: Likewise.
32485         * sysdeps/unix/bsd/ptsname.c: Likewise.
32486         * sysdeps/unix/bsd/seekdir.c: Likewise.
32487         * sysdeps/unix/bsd/setegid.c: Likewise.
32488         * sysdeps/unix/bsd/seteuid.c: Likewise.
32489         * sysdeps/unix/bsd/setgid.c: Likewise.
32490         * sysdeps/unix/bsd/setrgid.c: Likewise.
32491         * sysdeps/unix/bsd/setruid.c: Likewise.
32492         * sysdeps/unix/bsd/setsid.c: Likewise.
32493         * sysdeps/unix/bsd/setuid.c: Likewise.
32494         * sysdeps/unix/bsd/sigaction.c: Likewise.
32495         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
32496         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
32497         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
32498         * sysdeps/unix/bsd/telldir.c: Likewise.
32499         * sysdeps/unix/bsd/times.c: Likewise.
32500         * sysdeps/unix/bsd/usleep.c: Likewise.
32502         * misc/Makefile (install-lib): Remove libbsd-compat.a.
32503         ($(objpfx)libbsd-compat.a): Remove rule.
32505         * include/features.h (__FAVOR_BSD): Do not define.
32506         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
32507         features conflicting with POSIX.
32508         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
32509         (_BSD_SOURCE): Remove description of not being a subset of other
32510         feature test macros.
32511         * manual/job.texi (getpgrp): Do not document BSD version.
32512         (getpgid): Do not document by reference to BSD getpgrp.
32513         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
32514         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
32515         * signal/signal.h [__FAVOR_BSD]: Likewise.
32516         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
32517         instead of making contents conditional on [__FAVOR_BSD].
32518         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
32520 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32524 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32526         [BZ #16314]
32527         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
32528         values below 2**-450, not 2**-500.
32529         * math/auto-libm-test-in: Don't allow spurious underflow from
32530         hypot.
32531         * math/auto-libm-test-out: Regenerated.
32533         [BZ #16316]
32534         [BZ #16330]
32535         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
32536         values of ha and hb and sort them after adjusting subnormal
32537         arguments.
32538         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32539         Likewise.
32540         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
32541         values of ea and eb and sort them after adjusting subnormal
32542         arguments.
32543         * math/auto-libm-test-in: Do not expect some hypot tests of
32544         subnormals to fail.  Add more hypot tests.
32545         * math/auto-libm-test-out: Regenerated.
32547 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32549         [BZ #13304]
32550         * sysdeps/sh/s_fma.c: New file.
32551         * sysdeps/sh/s_fmaf.c: New file.
32552         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
32553         version.
32554         * sysdeps/sh/Implies: Add sh/soft-fp.
32556 2013-12-16  Roland McGrath  <roland@hack.frob.com>
32558         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
32559         level of indirection to members `objname', `errstring', `malloced'.
32560         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
32561         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
32562         it as the __longjmp argument (just pass 1 instead).
32563         (_dl_catch_error): Initialize C with argument pointers and address of
32564         volatile local ERRCODE rather than copying values out of C at return.
32566 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
32568         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
32569         * math/auto-libm-test-out: Regenerated.
32570         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
32571         (hypot_test_data): Likewise.
32572         (pow_test_data): Likewise.
32573         (pow_tonearest_test_data): Likewise.
32574         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32575         mpfr_ff_f.
32576         (func_calc_desc): Add mpfr_ff_f union field.
32577         (FUNC_mpfr_ff_f): New macro.
32578         (test_functions): Add atan2, hypot and pow.
32579         (special_fill_min): New function.
32580         (special_fill_minus_min): Likewise.
32581         (special_fill_min_subnorm): Likewise.
32582         (special_fill_minus_min_subnorm): Likewise.
32583         (special_real_inputs): Add min, -min, min_subnorm and
32584         -min_subnorm.
32585         (calc_generic_results): Handle mpfr_ff_f.
32586         * sysdeps/i386/fpu/libm-test-ulps: Update.
32587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32589 2013-12-16  Will Newton  <will.newton@linaro.org>
32591         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
32592         (Aligned Memory Blocks): Add documentation for aligned_alloc
32593         and suggest it as an alternative to posix_memalign.
32594         (Hooks for Malloc): Document __memalign_hook is also called
32595         for aligned_alloc.  (Summary of Malloc): Add summary for
32596         aligned alloc.  Document __memalign_hook is also called
32597         for aligned_alloc.
32599 2013-12-16  Will Newton  <will.newton@linaro.org>
32601         * manual/memory.texi (Malloc Examples): Clarify default
32602         alignment documentation.  Suggest posix_memalign rather
32603         than memalign or valloc.
32604         (Aligned Memory Blocks): Remove suggestion to use memalign
32605         or valloc.  Remove obsolete comment about BSD.
32606         Document memalign errno values and mark the function obsolete.
32607         Document posix_memalign returned error codes.  Mark valloc
32608         as obsolete.  (Hooks for Malloc): __memalign_hook is also
32609         called for posix_memalign and valloc.
32610         (Summary of Malloc): Add posix_memalign to function summary.
32611         __memalign_hook is also called for posix_memalign and valloc.
32613 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32615         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
32616         TAYLOR_SIN.
32617         (__sin): Adjust.
32618         (__cos): Likewise.
32619         (sloww): Use mynumber union.  Expand ternary operator into
32620         if-else statements.
32621         (cslow): use mynumber union.
32623 2013-12-16  Allan McRae  <allan@archlinux.org>
32625         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
32626         * configure: Regenerated.
32628         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
32630         [BZ #14120]
32631         * configure.ac: Added --enable-maintainer-mode. Check for
32632         autoconf when enabled.
32633         * configure: Regenerated.
32635         * nscd/nscd.service: New file.
32636         * nscd/nscd.tmpfiles: New file.
32638 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
32640         [BZ #12100]
32641         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
32642         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
32643         * sysdeps/x86_64/multiarch/strstr.c: ... here.
32644         (strstr): Add __strstr_sse2_unaligned ifunc.
32645         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
32646         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
32647         (strcasestr): Remove __strcasestr_sse42 ifunc.
32648         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
32649         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32652 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32654         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
32655         * sysdeps/sh/bits/fenv.h: ... here.
32656         * sysdeps/sh/sh4/fpu/bits: Remove directory.
32658 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32660         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
32662         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
32663         hypotf multiarch implementations.
32664         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
32665         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
32666         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
32667         multiarch hypot for PPC64.
32668         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
32669         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
32670         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
32671         multiarch hypotf for PPC64.
32673         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
32674         modff multiarch implementations.
32675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
32676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
32677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
32678         multiarch modf for PPC64.
32679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
32680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
32681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
32682         multiarch modff for PPC64.
32684         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
32685         and logl multiarch implementations.
32686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
32687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
32688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
32689         multiarch logb for PPC64.
32690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
32691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
32692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
32693         multiarch logb for PPC64.
32694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
32695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
32696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
32697         multiarch logb for PPC64.
32699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
32700         isinff multiarch implementation.
32701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
32702         file.
32703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
32704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
32705         multiarch isinf for PPC64.
32706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
32707         file.
32708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
32709         multiarch isinff for PPC64.
32711         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
32712         finitef multiarch implementation.
32713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
32714         file.
32715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
32716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
32717         multiarch finite for PPC64.
32718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
32719         file.
32720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
32721         multiarch finitef for PPC64.
32723         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
32724         lrint multiarch implementation.
32725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
32726         file.
32727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
32728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
32729         multiarch llrint for PPC64.
32730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
32731         multiarch lrint for PPC64.
32733         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
32734         copysignf multiarch implementation.
32735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
32736         file.
32737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
32738         file.
32739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
32740         multiarch copysign for PPC64.
32741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
32742         multiarch copysignf for PPC64.
32744         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
32745         multiarch implementation.
32746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
32747         file.
32748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
32749         file.
32750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
32751         file.
32752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
32753         file.
32754         multiarch llround for PPC64.
32755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
32756         multiarch trunc for PPC64.
32757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
32758         multiarch truncf for PPC64.
32760         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
32761         multiarch implementation.
32762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
32763         file.
32764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
32765         file.
32766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
32767         file.
32768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
32769         file.
32770         multiarch llround for PPC64.
32771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
32772         multiarch round for PPC64.
32773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
32774         multiarch roundf for PPC64.
32776         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
32777         multiarch implementation.
32778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
32779         file.
32780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
32781         file.
32782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
32783         file.
32784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
32785         file.
32786         multiarch llround for PPC64.
32787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
32788         multiarch floor for PPC64.
32789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
32790         multiarch floorf for PPC64.
32792         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
32793         multiarch implementation.
32794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
32795         file.
32796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
32797         file.
32798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
32799         file.
32800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
32801         file.
32802         multiarch llround for PPC64.
32803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
32804         multiarch ceil for PPC64.
32805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
32806         multiarch ceilf for PPC64.
32808         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32809         multiarch implementation.
32810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
32811         file.
32812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
32813         file.
32814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
32815         file.
32816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
32817         multiarch llround for PPC64.
32818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
32819         multiarch lround for PPC64.
32821         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32822         multiarch implementation.
32823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
32824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
32825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
32826         file.
32827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
32828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
32829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
32830         multiarch isnan for PPC64.
32831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
32832         multiarch isnanf for PPC64.
32834         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
32835         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
32836         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
32837         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
32838         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
32839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
32841         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
32842         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32843         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32844         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
32847         multiarch implementations.
32848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32849         (__libc_ifunc_impl_list): Likewise.
32850         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32851         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
32852         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
32853         multiarch stpcpy for PPC64.
32855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
32856         multiarch implementations.
32857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32858         (__libc_ifunc_impl_list): Likewise.
32859         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
32860         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
32861         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
32862         multiarch strcpy for PPC64.
32864         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
32865         redefine function name.
32866         (_wordcopy_fwd_dest_aligned): Likewise.
32867         (_wordcopy_bwd_aligned): Likewise.
32868         (_wordcopy_bwd_dest_aligned): Likewise.
32869         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
32870         multiarch implementations.
32871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32872         (__libc_ifunc_impl_list): Likewise.
32873         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
32874         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
32875         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
32876         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
32877         multiarch wcscpy for PPC64.
32879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
32880         multiarch implementations.
32881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32882         (__libc_ifunc_impl_list): Likewise.
32883         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
32884         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
32885         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
32886         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
32887         multiarch wcscpy for PPC64.
32889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
32890         multiarch implementations.
32891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32892         (__libc_ifunc_impl_list): Likewise.
32893         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
32894         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
32895         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
32896         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
32897         multiarch wcsrchr for PPC64.
32899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
32900         multiarch implementations.
32901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32902         (__libc_ifunc_impl_list): Likewise.
32903         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
32904         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
32905         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
32906         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
32907         multiarch wcschr for PPC64.
32909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
32910         multiarch implementations.
32911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32912         (__libc_ifunc_impl_list): Likewise.
32913         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
32914         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
32915         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
32916         multiarch strchrnul for PPC64.
32918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
32919         implementations.
32920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32921         (__libc_ifunc_impl_list): Likewise.
32922         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
32923         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
32924         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
32925         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
32926         strchr for PPC64.
32928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
32929         implementations.
32930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32931         (__libc_ifunc_impl_list): Likewise.
32932         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
32933         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
32934         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
32935         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
32936         strncmp for PPC64.
32938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
32939         multiarch implementations.
32940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32941         (__libc_ifunc_impl_list): Likewise.
32942         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
32943         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
32944         strncasecmp for PPC64.
32945         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
32946         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
32947         multiarch strncasecmp_l for PPC64.
32949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
32950         multiarch implementations.
32951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32952         (__libc_ifunc_impl_list): Likewise.
32953         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
32954         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
32955         multiarch strcasecmp for PPC64.
32956         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
32957         file.
32958         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
32959         multiarch strcasecmp_l for PPC64.
32961         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
32962         implementations.
32963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32964         (__libc_ifunc_impl_list): Likewise.
32965         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
32966         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
32967         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
32968         strnlen for PPC64.
32970         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
32971         implementations.
32972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32973         (__libc_ifunc_impl_list): Likewise.
32974         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
32975         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
32976         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
32977         strlen for PPC64.
32979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
32980         implementations.
32981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32982         (__libc_ifunc_impl_list): Likewise.
32983         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
32984         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
32985         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
32986         rawmemrchr for PPC64.
32988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
32989         implementation.
32990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32991         (__libc_ifunc_impl_list): Likewise.
32992         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
32993         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
32994         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
32995         memrchr for PPC64.
32997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
32998         implementation.
32999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33000         (__libc_ifunc_impl_list): Likewise.
33001         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
33002         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
33003         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
33004         memchr for PPC64.
33006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
33007         implementation.
33008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33009         (__libc_ifunc_impl_list): Likewise.
33010         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
33011         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
33012         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
33013         mempcpy for PPC64.
33015         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
33016         avoid cretion of __bzero symbol.
33017         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
33018         Likewise.
33019         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
33020         Likewise.
33021         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
33022         Likewise.
33023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
33024         multiarch implementations.
33025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33026         (__libc_ifunc_impl_list): Likewise.
33027         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
33028         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
33029         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
33030         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
33031         bzero for PPC32.
33032         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
33033         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
33034         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
33035         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
33036         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
33037         memset for PPC64.
33038         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
33040         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
33041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
33042         implementations.
33043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33044         (__libc_ifunc_impl_list): Likewise.
33045         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
33046         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
33047         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
33048         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
33049         memcmp for PPC64.
33051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
33052         multiarch for POWER/PPC64.
33053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33054         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
33055         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
33056         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
33057         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
33058         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
33059         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
33060         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
33061         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
33062         memcpy for PPC64.
33064         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
33065         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
33066         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
33067         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
33068         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
33069         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
33070         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
33071         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
33072         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
33073         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
33074         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
33075         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
33076         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
33077         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
33078         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
33079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
33080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
33081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
33082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
33083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
33084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
33085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
33087 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33089         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
33091 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33093         * benchtests/Makefile (bench): Add exp2 and log2.
33094         (LDLIBS-bench-exp2): Add -lm.
33095         (LDLIBS-bench-log2): Likewise.
33096         * benchtests/exp2-inputs: New inputs file.
33097         * benchtests/log2-inputs: New inputs file.
33098         * benchtests/log-inputs: Add new inputs.
33099         * benchtests/tan-inputs: Likewise.
33101 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33103         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
33104         definition...
33105         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
33106         (csloww2): ... from here.
33108         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
33109         instead of structures.
33110         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
33111         (POLYNOMIAL): Likewise.
33112         (TAYLOR_SLOW): Likewise.
33113         (__sin): Likewise.
33114         (__cos): Likewise.
33115         (slow1): Likewise.
33116         (slow2): Likewise.
33117         (sloww): Likewise.
33118         (sloww1); Likewise.
33119         (sloww2): Likewise.
33120         (bsloww1): Likewise.
33121         (bsloww2): Likewise.
33122         (cslow2): Likewise.
33123         (csloww): Likewise.
33124         (csloww1): Likewise.
33125         (csloww2): Likewise.
33127 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
33129         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
33130         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
33131         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
33132         * malloc/hooks.c (realloc_check): Likewise.
33134         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33135         * malloc/arena.c: Remove PER_THREAD conditional.
33136         [!PER_THREAD]: Remove code.
33137         (ptmalloc_unlock_all2): Likewise.
33138         (ptmalloc_init): Likewise.
33139         (_int_new_arena): Likewise.
33140         (arena_get2): Likewise.
33141         * malloc/hooks.c (__malloc_get_state): Likewise.
33142         (__malloc_set_state): Likewise.
33143         * malloc/malloc.c: Likewise.
33144         (struct malloc_state): Likewise.
33145         (struct malloc_par): Likewise.
33146         (__libc_realloc): Likewise.
33147         (__libc_mallopt): Likewise.
33149 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33151         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
33153 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
33155         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33156         macro to a function.  Check for zero perturb_byte.
33157         (_int_malloc, _int_free): Remove zero perturb_byte checks.
33159         * malloc/malloc.c: (force_reg): Remove.
33160         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
33161         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
33162         force_reg by atomic_forced_read.
33163         * malloc/arena.c (ptmalloc_init): Likewise.
33164         * malloc/hooks.c (top_check): Likewise.
33166 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33170 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
33172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33174 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
33176         * math/auto-libm-test-in: Add tests of lgamma.
33177         * math/auto-libm-test-out: Regenerated.
33178         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
33179         (M_LOG_2_SQRT_PIl): Likewise.
33180         (lgamma_test_data): Use AUTO_TESTS_f_f1.
33181         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33182         mpfr_f_f1.
33183         (func_calc_desc): Add mpfr_f_f1 union field.
33184         (ARGS1): New macro.
33185         (ARGS2): Likewise.
33186         (ARGS3): Likewise.
33187         (ARGS4): Likewise.
33188         (RET1): Likewise.
33189         (RET2): Likewise.
33190         (CALC): Likewise.
33191         (FUNC): Likewise.
33192         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
33193         (test_functions): Add lgamma.
33194         (calc_generic_results): Handle mpfr_f_f1.
33195         * sysdeps/i386/fpu/libm-test-ulps: Update.
33196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33198 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33200         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
33201         __mpn_add_n for PowerPC64/POWER7.
33202         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
33203         __mpn_sub_n for PowerPC64/POWER7.
33205         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
33206         __mpn_addmul_1 for PowerPC64.
33207         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
33208         __mpn_submul_1 for PowerPC64.
33209         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
33210         for PowerPC64.
33211         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
33212         for PowerPC64.
33214 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
33216         [BZ #15089]
33217         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
33219 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33221         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
33223         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
33224         add multiarch folders.
33225         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
33226         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
33227         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
33228         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
33229         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
33230         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
33231         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
33232         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
33233         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
33234         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
33235         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
33236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
33237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
33238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
33239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
33240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
33241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
33243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33244         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
33245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
33246         New file.
33247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
33248         New file.
33249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
33250         multiarch __ieee754_hypot for PowerPC32.
33251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
33252         New file.
33253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
33254         New file.
33255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
33256         multiarch __ieee754_hypotf for PowerPC32.
33258         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
33259         long_double_symbol only if __logbl is defined.
33260         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
33261         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
33262         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
33263         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
33264         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
33265         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
33266         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
33267         path for implementation.
33268         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
33269         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
33270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
33271         logb, and logbl multiarch implementations for PowerPC32.
33272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
33273         file.
33274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
33275         file.
33276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
33277         multiarch logb for PowerPC32.
33278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
33279         file.
33280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
33281         file.
33282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
33283         multiarch logbf for PowerPC32.
33284         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
33285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
33286         file.
33287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
33288         multiarch logbl implementation for PowerPC32.
33290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
33291         and modff multiarch implementations.
33292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
33293         New file.
33294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
33295         New file.
33296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
33297         multiarch modf for PowerPC32.
33298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
33299         New file.
33300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
33301         New file.
33302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
33303         multiarch modff for PowerPC32.
33305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
33306         and lrintf multiarch implementations.
33307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
33308         New file.
33309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
33310         New file.
33311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
33312         multiarch lrint for PowerPC32.
33313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
33314         file: multiarch lrintf for PowerPC32.
33316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
33317         and lroundf multiarch implementations.
33318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
33319         New file.
33320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
33321         New file.
33322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
33323         New file.
33324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
33325         multiarch lround for PowerPC32.
33326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
33327         file: multiarch lroundf for PowerPC32.
33329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33330         copysign and copysignf multiarch implementations.
33331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
33332         New file.
33333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
33334         New file.
33335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
33336         file: multiarch copysign for PowerPC32.
33337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
33338         file: multiarch copysignf for PowerPC32.
33340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
33341         and truncf multiarch implementations.
33342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
33343         New file.
33344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
33345         file.
33346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
33347         multiarch trunc for PowerPC32.
33348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
33349         New file.
33350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
33351         New file.
33352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
33353         multiarch truncf for PowerPC32.
33355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
33356         and roundf multiarch implementations.
33357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
33358         New file.
33359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
33360         file.
33361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
33362         multiarch round for PowerPC32.
33363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
33364         New file.
33365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
33366         New file.
33367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
33368         multiarch roundf for PowerPC32.
33370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
33371         and floorf multiarch implementations.
33372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
33373         New file.
33374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
33375         file.
33376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
33377         multiarch floor for PowerPC32.
33378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
33379         New file.
33380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
33381         New file.
33382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
33383         multiarch floorf for PowerPC32.
33385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
33386         and ceilf multiarch implementations.
33387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
33388         New file.
33389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
33390         file.
33391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
33392         multiarch ceil for PowerPC32.
33393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
33394         New file.
33395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
33396         file.
33397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
33398         multiarch ceilf for PowerPC32.
33400         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
33401         is defined.
33402         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
33403         FINITEF is defined.
33404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
33405         and finitef multiarch implementations.
33406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
33407         New file.
33408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
33409         file.
33410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
33411         multiarch finite for PowerPC32.
33412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
33413         New file.
33414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
33415         file: multiarch finitef for PowerPC32.
33417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
33418         and isinff multiarch implementations.
33419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
33420         file.
33421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
33422         file.
33423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
33424         multiarch isinf for PowerPC32.
33425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
33426         New file.
33427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
33428         multiarch isinff for PowerPC32.
33430         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
33431         alias when __isnan is defined.
33432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
33433         and isnanf multiarch implementations.
33434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
33435         file.
33436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
33437         file.
33438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
33439         file.
33440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
33441         file.
33442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
33443         multiarch isnan for PowerPC32.
33444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
33445         New file.
33446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
33447         New file.
33448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
33449         multiarch isnanf for PowerPC32.
33451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
33452         and sqrtf multiarch implementations.
33453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
33454         file.
33455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
33456         file.
33457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
33458         multiarch sqrt for PowerPC32.
33459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
33460         file.
33461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
33462         file.
33463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
33464         multiarch sqrtf for PowerPC32.
33466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
33467         and llroundf multiarch implementations.
33468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
33469         New file.
33470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
33471         New file.
33472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
33473         New file.
33474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
33475         file: multiarch llround for PowerPC32.
33476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
33477         file: multiarch llroundf for PowerPC32.
33479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
33480         multiarch PowerPC32 fpu implementations.
33481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
33482         New file.
33483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
33484         New file.
33485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
33486         multiarch llrint for PowerPC32.
33487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
33488         New file.
33489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
33490         New file.
33491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
33492         file.
33494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
33496         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
33497         file.
33498         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
33499         file.
33500         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
33501         file.
33502         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
33503         multiarch wordcopy for PPC32.
33504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
33505         wordcopy objects.
33506         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33507         (__libc_ifunc_impl_list): Likewise.
33508         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
33509         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
33510         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
33511         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
33512         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
33513         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
33515         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
33516         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
33517         file.
33518         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
33519         file.
33520         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
33521         file.
33522         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
33523         multiarch wcscpy for PPC32.
33524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
33525         multiarch objects.
33526         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33527         (__libc_ifunc_impl_list): Likewise.
33528         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
33529         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
33530         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
33531         sysdeps/powerpc/power6/wcscpy.c.
33533         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
33534         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
33535         file.
33536         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
33537         file.
33538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
33539         file.
33540         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
33541         multiarch wcsrchr for PPC32.
33542         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
33543         multiarch objects.
33544         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33545         (__libc_ifunc_impl_list): Likewise.
33546         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
33547         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
33548         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
33549         sysdeps/powerpc/power6/wcsrchr.c.
33551         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
33552         file.
33553         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
33554         file.
33555         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
33556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
33557         multiarch wcschr for PPc32.
33558         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
33559         multiarch objects.
33560         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33561         (__libc_ifunc_impl_list): Likewise.
33562         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
33563         * sysdeps/powerpc/power6/wcschr.c: ... to here.
33564         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
33565         sysdeps/powerpc/power6/wcschr.c.
33567         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
33568         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
33569         file.
33570         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
33571         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
33572         file: multiarch strchr for PPC32.
33573         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
33574         multiarch objects.
33575         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33576         (__libc_ifunc_impl_list): Likewise.
33578         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
33579         name.
33580         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
33581         file.
33582         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
33583         file.
33584         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
33585         multiarch strchrnul for PPC32.
33586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
33587         multiarch objects.
33588         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33589         (__libc_ifunc_impl_list): Likewise.
33591         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
33592         file.
33593         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
33594         multiarch strncasecmp for PPC32.
33595         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
33596         file.
33597         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
33598         multiarch strncasecmp_l for PPC32.
33599         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
33600         strncasecmp multiarch objects.
33601         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33602         (__libc_ifunc_impl_list): Likewise.
33604         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
33605         file.
33606         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
33607         multiarch strncasecmp for PPC32.
33608         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
33609         New file.
33610         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
33611         multiarch strcasecmp_l for PPC32.
33612         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
33613         multiarch objects.
33614         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33615         (__libc_ifunc_impl_list): Likewise.
33617         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
33618         file.
33619         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
33620         file.
33621         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
33622         multiarch strncmp for PPC32.
33623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
33624         multiarch objects.
33625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33626         (__libc_ifunc_impl_list): Likewise.
33628         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
33629         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
33630         file.
33631         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
33632         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
33633         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
33634         multiarch objects.
33635         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33636         (__libc_ifunc_impl_list): Likewise.
33638         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
33639         file.
33640         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
33641         file.
33642         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
33643         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
33644         multiarch objects.
33645         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33646         (__libc_ifunc_impl_list): Likewise.
33648         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
33649         file.
33650         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
33651         file.
33652         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
33653         multiarch rawmemchr for PPC32.
33654         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
33655         multiarch objects.
33656         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33657         (__libc_ifunc_impl_list): Likewise.
33659         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
33660         file.
33661         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
33662         file.
33663         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
33664         file: memrchr multiarch for PPC32.
33665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
33666         multiarch objects.
33667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33668         (__libc_ifunc_impl_list): Likewise.
33670         * string/memchr.c (__memchr): Using macro to redefine symbol name.
33671         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
33672         file.
33673         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
33674         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
33675         multiarch memchr for PPC32.
33676         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
33677         multiarch objects.
33678         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33679         (__libc_ifunc_impl_list): Likewise.
33681         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
33682         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
33683         file.
33684         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
33685         file.
33686         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
33687         file: multiarch mempcpy for PPC32.
33688         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
33689         multiarch objects.
33690         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33691         (__libc_ifunc_impl_list): Likewise.
33693         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
33694         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
33695         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
33696         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
33697         multiarch bzero for PPC32.
33698         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
33699         file.
33700         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
33701         file.
33702         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
33703         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
33704         file: multiarch memset for PPC32.
33705         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
33706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
33707         memset multiarch objects.
33708         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33709         (__libc_ifunc_impl_list): Likewise.
33711         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
33712         file.
33713         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
33714         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
33715         memcmp for PPC32.
33716         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
33717         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
33718         multiarch objects.
33719         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33720         (__libc_ifunc_impl_list): Likewise.
33722         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
33723         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
33724         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
33725         file.
33726         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
33727         file.
33728         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
33729         file.
33730         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
33731         multiarch memcpy for PPC32.
33732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
33733         multiarch objects.
33734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33735         (__libc_ifunc_impl_list): Likewise.
33737         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
33738         support multiarch for POWER/PPC32.
33739         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
33740         Likewise.
33741         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
33743         Implies file to make multiarch folder appers before the fpu and
33744         default folder for power4 configuration.
33746 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33748         * scripts/bench.pl: Append volatile keyword to type.
33750 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33752         * sysdeps/sh/sotruss-lib.c: New file.
33753         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
33755 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33759 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
33761         [BZ #6810]
33762         * math/w_tgamma.c: Include <errno.h>.
33763         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
33764         * math/w_tgammaf.c: Include <errno.h>.
33765         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
33766         * math/w_tgammal.c: Include <errno.h>.
33767         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
33768         * math/auto-libm-test-in: Do not allow missing errno on tgamma
33769         underflow.  Add more tgamma tests.
33770         * math/auto-libm-test-out: Regenerated.
33771         * sysdeps/i386/fpu/libm-test-ulps: Update.
33772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33774         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
33775         sin, sinh, tan, tanh, tgamma, y0 and y1.
33776         * math/auto-libm-test-out: Regenerated.
33777         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33778         (TEST_COND_x86): Likewise.
33779         (M_E2l): Remove macro.
33780         (M_E3l): Likewise.
33781         (M_2_SQRT_PIl): Likewise.
33782         (M_SQRT_PIl): Likewise.
33783         (M_1_DIV_El): Likewise.
33784         (log_test_data): Use AUTO_TESTS_f_f.
33785         (log10_test_data): Likewise.
33786         (log1p_test_data): Likewise.
33787         (log2_test_data): Likewise.
33788         (sin_test_data): Likewise.
33789         (sin_tonearest_test_data): Likewise.
33790         (sin_towardzero_test_data): Likewise.
33791         (sin_downward_test_data): Likewise.
33792         (sin_upward_test_data): Likewise.
33793         (sinh_test_data): Likewise.
33794         (sinh_tonearest_test_data): Likewise.
33795         (sinh_towardzero_test_data): Likewise.
33796         (sinh_downward_test_data): Likewise.
33797         (sinh_upward_test_data): Likewise.
33798         (tan_test_data): Likewise.
33799         (tan_tonearest_test_data): Likewise.
33800         (tan_towardzero_test_data): Likewise.
33801         (tan_downward_test_data): Likewise.
33802         (tan_upward_test_data): Likewise.
33803         (tanh_test_data): Likewise.
33804         (tgamma_test_data): Likewise.
33805         (y0_test_data): Likewise.
33806         (y1_test_data): Likewise.
33807         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
33808         (special_real_inputs): Add pi/4.
33809         * sysdeps/i386/fpu/libm-test-ulps: Update.
33810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33812 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33814         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
33815         "longjmp_target" static probes.
33816         (__longjmp): Rename to __longjmp_symbol.
33817         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33818         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
33819         on which longjmp to generate.
33820         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33821         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
33822         probe.
33823         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33824         (__sigjmp_save): Rename to __sigjmp_save_symbol.
33825         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33826         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
33827         and __sigjmp_save_symbol based on which sigsetjmp to generated.
33828         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
33829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
33830         __longjmp_symbol based on which __longjmp to generate.
33831         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
33832         probe.
33833         (setjmp): Rename to setjmp_symbol.
33834         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33835         (_setjmp): Rename to _setjmp_symbol.
33836         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33837         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
33838         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
33839         which setjmp to generate.
33840         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
33841         "longjmp_target" static probes.
33843 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33845         * benchtests/README: Add note about output arguments.
33846         * benchtests/bench-sincos.c: Remove file.
33847         * benchtests/sincos-inputs: New file.
33848         * scripts/bench.pl: Identify output arguments and define
33849         static variables for them.
33851         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
33853         [BZ #15941]
33854         * Makefile (INSTALL): Add install-plain.texi as the primary
33855         dependency.
33856         * manual/install-plain.texi: New file.
33857         * manual/install.texi: Include node directive only for
33858         non-plaintext output.
33860 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
33862         * stdlib/longlong.h: Update from GCC.
33864         [BZ #6807]
33865         [BZ #15901]
33866         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
33867         * math/w_j0f.c (y0f): Likewise.
33868         * math/w_j0l.c (__y0l): Likewise.
33869         * math/w_j1.c (y1): Likewise.
33870         * math/w_j1f.c (y1f): Likewise.
33871         * math/w_j1l.c (__y1l): Likewise
33872         * math/w_jn.c (yn): Likewise.
33873         * math/w_jnf.c (ynf): Likewise.
33874         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
33875         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
33876         value for Bessel function domain errors outside _SVID_ mode.
33877         Adjust sign of return value for yn (negative integer, 0).
33878         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
33879         by zero in return for negative x and set sign appropriately for
33880         negative n.
33881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
33882         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33883         * math/libm-test.inc (y0_test_data): Add more tests and adjust
33884         expectations in error cases.
33885         (y1_test_data): Likewise.
33886         (yn_test_data): Likewise.
33887         * sysdeps/i386/fpu/libm-test-ulps: Update.
33888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33890 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33892         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
33893         "64" to "64-v1".  Add "64-v2".
33894         (abi-64-options): Rename to ...
33895         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
33896         (abi-64-condition): Rename to ...
33897         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
33898         (abi-64-ld-soname): Rename to ...
33899         (abi-64-v1-ld-soname): ... this.
33900         (abi-64-v2-options): Define.
33901         (abi-64-v2-condition): Likewise.
33902         (abi-64-v2-ld-soname): Likewise.
33903         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
33904         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
33905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
33906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
33907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
33909 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33910             Alan Modra  <amodra@gmail.com>
33912         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
33913         New versions for use with the ELFv2 ABI.
33914         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
33915         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
33916         declaration.
33917         (struct La_ppc64v2_retval): Likewise.
33918         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
33919         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
33920         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
33921         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
33922         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
33923         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33924         Do not save or restore CR.
33925         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
33926         (_dl_profile_resolve): Do no save or restore CR.  Support extended
33927         return values for ELFv2 ABI.  Fix location of FPR return registers.
33928         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
33929         updated values for _CALL_ELF == 2.
33930         (La_regs, La_retval, int_retval): Likewise.
33932 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33934         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
33935         (FRAME_MIN_SIZE_PARM): Likewise.
33936         (FRAME_BACKCHAIN): Likewise.
33937         (FRAME_CR_SAVE): Likewise.
33938         (FRAME_LR_SAVE): Likewise.
33939         (FRAME_TOC_SAVE): Likewise.
33940         (FRAME_PARM_SAVE): Likewise.
33941         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
33942         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
33943         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33944         (call_mcount_parm_offset): New macro.
33945         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
33946         (PROF): Use symbolic stack frame offsets.
33947         (TAIL_CALL_SYSCALL_ERROR): Likewise.
33948         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
33949         Redefine in terms of FRAME_MIN_SIZE.
33950         (_dl_runtime_resolve): Use symbolic stack frame offsets.
33951         (_dl_profile_resolve): Likewise.  Update comment.
33952         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
33953         symbols stack frame offsets.
33954         (__sigsetjmp): Likewise.
33955         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
33956         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
33957         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
33958         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
33960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
33961         (FRAME_BACKCHAIN): Remove.
33962         (FRAME_CR_SAVE): Likewise.
33963         (FRAME_LR_SAVE): Likewise.
33964         (FRAME_COMPILER_DW): Likewise.
33965         (FRAME_LINKER_DW): Likewise.
33966         (FRAME_TOC_SAVE): Likewise.
33967         (FRAME_PARM_SAVE): Likewise.
33968         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
33969         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
33970         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
33972         (CHECK_SP): Use symbolic stack frame offsets.
33973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
33974         zone" instead of caller's parameter save area for temp storage.
33975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33976         Likewise.  Also, use symbolic stack frame offsets.
33977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
33978         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
33979         our own stack frame instead of the caller's.
33980         (__socket): Use symbolic stack frame offsets.
33982 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33983             Alan Modra  <amodra@gmail.com>
33985         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
33986         Define.
33987         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
33988         (PPC64_LOCAL_ENTRY_OFFSET): Define.
33989         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
33990         New function.
33991         (elf_machine_fixup_plt): Call it.
33992         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
33993         reloc arguments.
33994         (elf_machine_rela): Update call to elf_machine_plt_conflict.
33995         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33996         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
33997         r2 before calling target.
33999 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34000             Alan Modra  <amodra@gmail.com>
34002         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
34003         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
34004         versions of macros to support ELFv2 ABI.
34005         (LOCALENTRY): New macro.
34006         (ENTRY, EALIGN): Use it.
34007         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
34008         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
34009         fall through into ENTRY entry point.
34010         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
34011         Only define if _CALL_ELF != 2.
34013         (elf_machine_matches_host): Verify ABI version matches.
34014         (RTLD_START): Use LOCALENTRY.
34015         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
34016         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
34017         (PLT_ENTRY_WORDS): New macro.
34018         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
34019         (elf_machine_runtime_setup): Support ELFv2 ABI.
34020         (elf_machine_fixup_plt): Likewise.
34021         (elf_machine_plt_conflict): Likewise.
34022         (resolve_ifunc): Likewise.
34023         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34024         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34025         Likewise.
34026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
34027         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
34028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34029         (makecontext): Support ELFv2 ABI.
34030         * elf/elf.h (EF_PPC64_ABI): Define.
34032 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34034         * sysdeps/powerpc/powerpc64/sysdep.h
34035         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
34036         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
34037         (ENTRY) [ASSEMBLER]: ... but instead here ...
34038         (EALIGN) [ASSEMBLER]: ... and here.
34039         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
34040         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
34041         (ENTRY_2) [!ASSEMBLER]: Use it.
34042         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
34043         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
34044         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34045         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
34046         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
34047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
34048         Use PPC64_LOAD_FUNCPTR.
34050         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
34052 2013-12-04  Alan Modra  <amodra@gmail.com>
34054         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
34055         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
34056         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
34057         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
34059         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
34060         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
34061         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
34062         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
34063         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
34064         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
34066 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34069         (__makecontext): Fix incorrect CFI when backtracing out of
34070         context created via makecontext.
34071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
34072         (__setcontext): Fix incorrect CFI during switch to new context.
34073         (__novec_setcontext): Likewise.
34075 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34077         [BZ #4772]
34078         * time/strptime_l.c (__strptime_internal): Allow modifiers
34079         in strptime.
34080         * time/tst-strptime.c (day_tests): Add testcase.
34082 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34084         * scripts/bench.pl: Skip over blank lines.
34086 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
34088         [BZ #926]
34089         * manual/time.texi (Calendar Time): Clarify what timezone functions
34090         use.
34092 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34096 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34098         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
34099         implementation.
34100         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
34101         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
34102         * debug/memset_chk.c (__memset_chk): Likewise.
34103         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
34104         * debug/strncpy_chk.c: Likewise.
34106 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34108         [BZ #15268]
34109         [BZ #15425]
34110         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
34111         (__ieee754_exp): For possibly underflowing results, check size of
34112         result and force underflow exception if required.
34113         * math/auto-libm-test-in: Add more tests of exp.
34114         * math/auto-libm-test-out: Regenerated.
34115         * sysdeps/i386/fpu/libm-test-ulps: Update.
34116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34118         [BZ #16283]
34119         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
34120         * math/w_exp2f.c (__exp2f): Likewise.
34121         * math/w_exp2l.c (__exp2l): Likewise.
34122         * math/auto-libm-test-in: Do not allow missing errno on exp2
34123         underflow.
34124         * math/auto-libm-test-out: Regenerated.
34126 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
34128         [BZ #16274]
34129         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
34130         handle filename validation.
34131         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
34132         (do_open): Delete.
34134 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34136         [BZ #6786]
34137         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
34138         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
34139         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
34140         <float.h>.
34141         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
34142         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
34143         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34144         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
34145         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34146         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
34147         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34148         * math/auto-libm-test-in: Don't allow missing errno from erfc.
34149         Add more erfc tests.
34150         * math/auto-libm-test-out: Regenerated.
34151         * sysdeps/i386/fpu/libm-test-ulps: Update.
34152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34154         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
34155         exp2, expm1, j0 and j1.
34156         * math/auto-libm-test-out: Regenerated.
34157         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
34158         (erfc_test_data): Likewise.
34159         (exp_test_data): Likewise.
34160         (exp_tonearest_test_data): Likewise.
34161         (exp_towardzero_test_data): Likewise.
34162         (exp_downward_test_data): Likewise.
34163         (exp_upward_test_data): Likewise.
34164         (exp10_test_data): Likewise.
34165         (exp2_test_data): Likewise.
34166         (expm1_test_data): Likewise.
34167         (j0_test_data): Likewise.
34168         (j1_test_data): Likewise.
34169         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
34170         (input_flag_type): Add flag_xfail_rounding.
34171         (input_flags): Add xfail-rounding.
34172         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
34173         (output_for_one_input_case): Handle flag_xfail_rounding.
34174         * sysdeps/i386/fpu/libm-test-ulps: Update.
34175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34177 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
34179         [BZ #16289]
34180         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
34181         division by 0.
34183 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34185         [BZ #16195]
34186         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
34187         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
34188         (STAP_PROBE0): New macro.
34189         (STAP_PROBE1): Likewise.
34190         (STAP_PROBE2): Likewise.
34191         (STAP_PROBE3): Likewise.
34192         (STAP_PROBE4): Likewise.
34194 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
34196         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
34198 2013-12-02  Steve Ellcey  <sellcey@mips.com>
34200         * benchtests/Makefile (bench): Add sqrt.
34201         (LDLIBS-bench-sqrt): New.
34202         * benchtests/sqrt-input: New.
34204 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
34206         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
34207         (GAIH_EAI): Likewise.
34208         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
34209         (gaih_inet): Likewise.
34210         (getaddrinfo): Don't use GAIH_EAI.
34212         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
34213         (struct gaih): Remove definition.
34215 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34217         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
34218         Use HERRNOP directly.
34220 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34224 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
34226         * math/gen-auto-libm-tests.c (test_functions): Add more
34227         single-argument functions.
34228         (special_fill_pi_2): New function.
34229         (special_fill_minus_pi_2): Likewise.
34230         (special_fill_pi_6): Likewise.
34231         (special_fill_minus_pi_6): Likewise.
34232         (special_fill_pi_3): Likewise.
34233         (special_fill_2pi_3): Likewise.
34234         (special_fill_e): Likewise.
34235         (special_fill_1_e): Likewise.
34236         (special_fill_e_minus_1): Likewise.
34237         (special_real_inputs): Add more special inputs.
34238         (output_for_one_input_case): Do not require ERANGE on underflow to
34239         zero if round-to-nearest result does not underflow to zero, unless
34240         exact results required.
34241         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
34242         atan, atanh, cbrt, cos and cosh.
34243         * math/auto-libm-test-out: Regenerated.
34244         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
34245         (acos_tonearest_test_data): Likewise.
34246         (acos_towardzero_test_data): Likewise.
34247         (acos_downward_test_data): Likewise.
34248         (acos_upward_test_data): Likewise.
34249         (acosh_test_data): Likewise.
34250         (asin_test_data): Likewise.
34251         (asin_tonearest_test_data): Likewise.
34252         (asin_towardzero_test_data): Likewise.
34253         (asin_upward_test_data): Likewise.
34254         (asinh_test_data): Likewise.
34255         (atan_test_data): Likewise.
34256         (atanh_test_data): Likewise.
34257         (cbrt_test_data): Likewise.
34258         (cos_test_data): Likewise.
34259         (cos_tonearest_test_data): Likewise.
34260         (cos_towardzero_test_data): Likewise.
34261         (cos_downward_test_data): Likewise.
34262         (cos_upward_test_data): Likewise.
34263         (cosh_test_data): Likewise.
34264         (cosh_tonearest_test_data): Likewise.
34265         (cosh_towardzero_test_data): Likewise.
34266         (cosh_downward_test_data): Likewise.
34267         (cosh_upward_test_data): Likewise.
34268         * sysdeps/i386/fpu/libm-test-ulps: Update.
34269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34271 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
34273         [BZ #6787]
34274         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
34275         * math/w_exp10f.c (__exp10f): Likewise.
34276         * math/w_exp10l.c (__exp10l): Likewise.
34277         * math/libm-test.inc (exp10_test_data): Add more tests and expect
34278         errno settings in existing tests.
34280         [BZ #14032]
34281         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
34282         precision control set to double precision.
34283         * sysdeps/i386/fpu/w_sqrt.c: New file.
34284         * math/auto-libm-test-in: Add more tests.
34285         * math/auto-libm-test-out: Update.
34287         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
34288         (sqrt_test_tonearest): New function.
34289         (sqrt_towardzero_test_data): New variable.
34290         (sqrt_test_towardzero): New function.
34291         (sqrt_downward_test_data): New variable.
34292         (sqrt_test_downward): New function.
34293         (sqrt_upward_test_data): New variable.
34294         (sqrt_test_upward): New function.
34295         (main): Call the new functions.
34297         * math/gen-auto-libm-tests.c: New file.
34298         * math/auto-libm-test-in: Likewise.
34299         * math/auto-libm-test-out: New generated file.
34300         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
34301         variables.
34302         (%beautify): Add generated representations of zero.
34303         (top level): Set $auto_input and call parse_auto_input.
34304         (beautify): Remove trailing "f" from hex float constants.
34305         (parse_args): Handle XFAIL_TEST.
34306         (convert_condition): New function.
34307         (or_value): Likewise.
34308         (or_cond_value): Likewise.
34309         (generate_testfile): Handle AUTO_TESTS_* lines.
34310         (parse_auto_input): New function.
34311         * math/libm-test.inc (XFAIL_TEST): New macro.
34312         (ERRNO_UNCHANGED): Update value.
34313         (ERRNO_EDOM): Likewise.
34314         (ERRNO_ERANGE): Likewise.
34315         (IGNORE_RESULT): Likewise.
34316         (TEST_COND_flt_32): New macro.
34317         (TEST_COND_dbl_64): Likewise.
34318         (TEST_COND_ldbl_96_intel): Likewise.
34319         (TEST_COND_ldbl_96_m68k): Likewise.
34320         (TEST_COND_ldbl_128): Likewise.
34321         (TEST_COND_ldbl_128ibm): Likewise.
34322         (TEST_COND_long32): Likewise.
34323         (TEST_COND_long64): Likewise.
34324         (TEST_COND_before_rounding): Likewise.
34325         (TEST_COND_after_rounding): Likewise.
34326         (enable_test): Handle XFAIL_TEST flag.
34327         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
34328         with finite results.
34329         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
34330         auto-libm-test-out.
34332 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34333             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34335         [BZ #16214]
34336         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
34337         __tls_get_addr_internal instead of __tls_get_offset in order to
34338         avoid GOT pointer dependency.  Make rtld export
34339         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
34340         __tls_get_addr since we are a __tls_get_offset platform.
34341         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
34342         GOT pointer being set up before.
34343         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
34345 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
34347         * manual/math.texi (Errors in Math Functions): Document accuracy
34348         goals.
34350         [BZ #15004]
34351         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
34352         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
34353         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34354         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34355         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34356         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34357         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34358         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34359         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34360         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34361         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34362         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34363         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34364         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34365         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34366         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34368         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
34369         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
34370         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
34371         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
34372         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
34373         Likewise.
34374         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
34375         Likewise.
34376         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
34377         Likewise.
34378         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
34379         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
34380         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
34381         atomic-feupdateenv and flt-rounds.
34382         * sysdeps/powerpc/nofpu/Versions (libc): Add
34383         __atomic_feholdexcept, __atomic_feclearexcept,
34384         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
34385         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
34386         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
34387         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
34388         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
34389         here.
34390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34391         Update.
34393         * manual/arith.texi (FP Exceptions): Document that exceptions may
34394         not be raised when matherr is used.
34395         (Math Error Reporting): Document overflow in directed rounding
34396         modes.  Document that errno may not be set when finite values are
34397         returned on overflow.  Document intent to set errno on underflow
34398         only for underflow to zero.
34400         [BZ #16271]
34401         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
34402         round-to-nearest then adjust result for other rounding modes.
34403         * include/fenv.h (fegetround): Use libm_hidden_proto.
34404         * math/fegetround.c (fegetround): Use libm_hidden_def.
34405         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34406         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34407         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
34408         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34409         Likewise.
34410         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
34411         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34412         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34413         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
34415 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34417         [BZ #16077]
34418         * nss/Versions (libnss_files): Add
34419         _nss_files_gethostbyname3_r.
34420         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
34421         New function.
34422         (HOST_DB_LOOKUP): Remove macro.
34423         (_nss_files_gethostbyname_r): Implement function without the
34424         HOST_DB_LOOKUP macro.
34425         (_nss_files_gethostbyname2_r): Likewise.
34427 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
34429         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
34431 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
34433         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
34434         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
34435         warning.
34437 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34439         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
34440         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
34441         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34442         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34443         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
34444         __fe_nomask_env_priv and attribute_hidden.
34445         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
34446         (libc_feupdateenv_test_ppc): Likewise.
34447         (libc_feresetround_ppc): Likewise.
34448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34449         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
34450         compat_symbol macro.
34451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34452         (__fe_nomask_env): Likewise.
34453         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
34455 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34457         * string/Makefile: Remove ifunc tests.
34458         * string/test-string.h: Define TEST_IFUNC.
34459         * string/test-bcopy-ifunc.c: Remove.
34460         * string/test-bzero-ifunc.c: Likewise.
34461         * string/test-memccpy-ifunc.c: Likewise.
34462         * string/test-memchr-ifunc.c: Likewise.
34463         * string/test-memcmp-ifunc.c: Likewise.
34464         * string/test-memcpy-ifunc.c: Likewise.
34465         * string/test-memmem-ifunc.c: Likewise.
34466         * string/test-memmove-ifunc.c: Likewise.
34467         * string/test-mempcpy-ifunc.c: Likewise.
34468         * string/test-memrchr-ifunc.c: Likewise.
34469         * string/test-memset-ifunc.c: Likewise.
34470         * string/test-rawmemchr-ifunc.c: Likewise.
34471         * string/test-stpcpy-ifunc.c: Likewise.
34472         * string/test-stpncpy-ifunc.c: Likewise.
34473         * string/test-strcasecmp-ifunc.c: Likewise.
34474         * string/test-strcasestr-ifunc.c: Likewise.
34475         * string/test-strcat-ifunc.c: Likewise.
34476         * string/test-strchr-ifunc.c: Likewise.
34477         * string/test-strchrnul-ifunc.c: Likewise.
34478         * string/test-strcmp-ifunc.c: Likewise.
34479         * string/test-strcpy-ifunc.c: Likewise.
34480         * string/test-strcspn-ifunc.c: Likewise.
34481         * string/test-strlen-ifunc.c: Likewise.
34482         * string/test-strncasecmp-ifunc.c: Likewise.
34483         * string/test-strncat-ifunc.c: Likewise.
34484         * string/test-strncmp-ifunc.c: Likewise.
34485         * string/test-strncpy-ifunc.c: Likewise.
34486         * string/test-strnlen-ifunc.c: Likewise.
34487         * string/test-strpbrk-ifunc.c: Likewise.
34488         * string/test-strrchr-ifunc.c: Likewise.
34489         * string/test-strspn-ifunc.c: Likewise.
34490         * string/test-strstr-ifunc.c: Likewise.
34492 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34494         * benchtests/Makefile: Remove ifunc tests.
34495         * benchtests/bench-string.h: Define TEST_IFUNC.
34496         * benchtests/bench-bcopy-ifunc.c: Remove.
34497         * benchtests/bench-bzero-ifunc.c: Likewise.
34498         * benchtests/bench-memccpy-ifunc.c: Likewise.
34499         * benchtests/bench-memchr-ifunc.c: Likewise.
34500         * benchtests/bench-memcmp-ifunc.c: Likewise.
34501         * benchtests/bench-memcpy-ifunc.c: Likewise.
34502         * benchtests/bench-memmem-ifunc.c: Likewise.
34503         * benchtests/bench-memmove-ifunc.c: Likewise.
34504         * benchtests/bench-mempcpy-ifunc.c: Likewise.
34505         * benchtests/bench-memrchr-ifunc.c: Likewise.
34506         * benchtests/bench-memset-ifunc.c: Likewise.
34507         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
34508         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
34509         * benchtests/bench-stpcpy-ifunc.c: Likewise.
34510         * benchtests/bench-stpncpy-ifunc.c: Likewise.
34511         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
34512         * benchtests/bench-strcasestr-ifunc.c: Likewise.
34513         * benchtests/bench-strcat-ifunc.c: Likewise.
34514         * benchtests/bench-strchr-ifunc.c: Likewise.
34515         * benchtests/bench-strchrnul-ifunc.c: Likewise.
34516         * benchtests/bench-strcmp-ifunc.c: Likewise.
34517         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
34518         * benchtests/bench-strcpy-ifunc.c: Likewise.
34519         * benchtests/bench-strcspn-ifunc.c: Likewise.
34520         * benchtests/bench-strlen-ifunc.c: Likewise.
34521         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
34522         * benchtests/bench-strncat-ifunc.c: Likewise.
34523         * benchtests/bench-strncmp-ifunc.c: Likewise.
34524         * benchtests/bench-strncpy-ifunc.c: Likewise.
34525         * benchtests/bench-strnlen-ifunc.c: Likewise.
34526         * benchtests/bench-strpbrk-ifunc.c: Likewise.
34527         * benchtests/bench-strrchr-ifunc.c: Likewise.
34528         * benchtests/bench-strsep-ifunc.c: Likewise.
34529         * benchtests/bench-strspn-ifunc.c: Likewise.
34530         * benchtests/bench-strstr-ifunc.c: Likewise.
34532 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34534         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
34536 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34538         * resolv/netdb.h: Use __glibc_reserved instead __unused.
34539         * rt/aio.h: Likewise.
34540         * sysdeps/gnu/bits/utmp.h: Likewise.
34541         * sysdeps/gnu/bits/utmpx.h: Likewise.
34542         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34543         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
34544         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
34545         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
34546         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
34547         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
34548         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
34549         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
34550         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
34551         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
34552         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
34553         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
34554         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
34555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
34556         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34557         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
34558         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
34559         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
34560         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
34561         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
34562         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
34563         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
34564         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
34565         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34566         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
34567         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34568         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
34569         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
34570         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
34571         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
34572         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
34573         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
34574         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
34575         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34576         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
34577         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
34578         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
34579         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
34580         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
34581         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
34582         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
34583         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34585 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
34587         [BZ #16245]
34588         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
34589         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
34591 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
34593         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
34594         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34595         Likewise.
34597 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
34600         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
34601         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
34602         (__fesetround): Remove define.
34603         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
34604         rounding and exceptions handling.
34605         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
34606         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
34607         (__fe_nomask_env): Likewise.
34608         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
34609         __fegetround instead of fegetround.
34610         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34611         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
34613 2013-11-21  Roland McGrath  <roland@hack.frob.com>
34615         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
34616         it's there.
34618         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
34620 2013-11-21  Meador Inge  <meadori@codesourcery.com>
34622         [BZ #11157]
34623         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
34624         (encrypt_r): Likewise.
34625         * malloc/obstack.h (obstack_free): Likewise.
34626         * posix/unistd.h (encrypt): Likewise.
34628 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
34630         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
34631         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
34632         DL_CALL_DT_FINI() that call the functions directly.
34633         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
34634         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
34635         * elf/dl-fini.c: Likewise.
34637 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
34639         * malloc/hooks.c (memalign_check): Add alignment rounding.
34640         * malloc/malloc.c (_mid_memalign): New function.
34641         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
34642         Implement by calling _mid_memalign.
34643         * manual/probes.texi (Memory Allocation Probes): Remove
34644         memory_valloc_retry and memory_pvalloc_retry.
34646 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34648         * locale/programs/locarchive.c (open_archive): Add const
34649         qualifier to ARCHIVEFNAME and copy default fname to
34650         DEFAULT_FNAME.
34652         [BZ #15601]
34653         * libio/tst-widetext.input: Rename Oriya to Odia.
34654         * locale/iso-639.def: Likewise.
34656         * manual/probes.texi (Mathematical Function Probes): Add
34657         documentation for sin, cos, asin and acos probes.
34658         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
34659         (__sin32): Add slowasin probe.
34660         (__cos32): Add slowacos probe.
34661         (__mpsin): Add slowsin probe.
34662         (__mpcos): Add slowcos probe.
34664 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
34666         [BZ #15483]
34667         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
34668         thread-local __sim_exceptions_thread and global
34669         __sim_exceptions_global.
34670         (__sim_disabled_exceptions): Change to thread-local
34671         __sim_disabled_exceptions_thread and global
34672         __sim_disabled_exceptions_global.
34673         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
34674         and global __sim_round_mode_global.
34675         (__simulate_exceptions): Use thread-local floating-point state and
34676         set global state from it as needed.
34677         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
34678         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
34679         __sim_round_mode_thread.
34680         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
34681         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
34682         and global __sim_exceptions_global.
34683         (__sim_disabled_exceptions): Change to thread-local
34684         __sim_disabled_exceptions_thread and global
34685         __sim_disabled_exceptions_global.
34686         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
34687         and global __sim_round_mode_global.
34688         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
34689         (SIM_SET_GLOBAL): Likewise.
34690         * sysdeps/powerpc/soft-fp/sfp-machine.h
34691         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
34692         __sim_round_mode_thread.
34693         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
34694         __sim_disabled_exceptions_thread.
34695         (__sim_exceptions): Change to __sim_exceptions_thread.
34696         (__sim_disabled_exceptions): Change to
34697         __sim_disabled_exceptions_thread.
34698         (__sim_round_mode): Change to __sim_round_mode_thread.
34699         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
34700         thread-local floating-point state and set global state from it as
34701         needed.
34702         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
34703         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
34704         (__sim_disabled_exceptions): Remove extern declaration.
34705         (feenableexcept): Use thread-local floating-point state and set
34706         global state from it as needed.
34707         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
34708         extern declaration.
34709         (__sim_disabled_exceptions): Likewise.
34710         (__sim_round_mode): Likewise.
34711         (__fegetenv): Use thread-local floating-point state.
34712         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
34713         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
34714         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
34715         floating-point state and set global state from it as needed.
34716         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
34717         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34718         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
34719         Likewise.
34720         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34721         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
34722         Likewise.
34723         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
34724         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
34725         Use __sim_round_mode_thread.
34726         * math/test-fenv-tls.c: New file.
34727         * math/Makefile (tests): Add test-fenv-tls.
34728         ($(objpfx)test-fenv-tls): Depend on
34729         $(common-objpfx)nptl/libpthread.so.
34731 2013-11-19  Andreas Schwab  <schwab@suse.de>
34733         * locale/programs/locale.c (show_info): Decode wordarray elements.
34734         * locale/categories.def (LC_MONETARY): Add element for
34735         _NL_MONETARY_CRNCYSTR.
34736         * locale/C-monetary.c (conversion_rate): New variable.
34737         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
34738         element.
34740 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
34742         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
34743         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
34745 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34747         * elf/Makefile (tst-auxv): New test.
34748         * elf/tst-auxv.c: New
34749         * elf/rtld.c (dl_main): Adjust AT_EXECFN
34751 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
34753         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
34754         (hidden_proto): Caller changed.
34755         (hidden_tls_proto): New macro.
34756         (libc_hidden_tls_proto): Likewise.
34757         (rtld_hidden_tls_proto): Likewise.
34758         (libm_hidden_tls_proto): Likewise.
34759         (libresolv_hidden_tls_proto): Likewise.
34760         (librt_hidden_tls_proto): Likewise.
34761         (libdl_hidden_tls_proto): Likewise.
34762         (libnss_files_hidden_tls_proto): Likewise.
34763         (libnsl_hidden_tls_proto): Likewise.
34764         (libnss_nisplus_hidden_tls_proto): Likewise.
34765         (libutil_hidden_tls_proto): Likewise.
34767 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
34769         [BZ #10253]
34770         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
34771         (decompose_rpath): Defer expansion to fillin_rpath.
34772         (_dl_init_paths): Pass linkmap to fillin_rpath.
34774 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34776         * benchtests/Makefile: Add strsep.
34777         * benchtests/bench-strsep.c: New file: strsep benchtest.
34778         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
34780 2013-11-18  Andreas Schwab  <schwab@suse.de>
34782         * locale/programs/locale.c (show_info) [case byte]: Check for
34783         '\377' instead of '\177'.
34784         * locale/C-monetary.c (not_available): Always use "\377".
34785         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
34786         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
34787         detect unavailable sign_posn locale elements.
34788         * locale/localeconv.c (__localeconv): For grouping and
34789         mon_grouping handle "\177" and "\377" like no grouping.
34790         (INT_ELEM): New macro.  Use it to set all numeric members.
34791         * locale/programs/ld-monetary.c (monetary_read)
34792         <tok_mon_grouping>: Normalize single -1 to the empty string.
34793         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
34794         Likewise.
34796 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34798         [BZ #16055]
34799         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
34800         when we match (nil).
34801         * stdio-common/tst-sscanf.c (struct test): Add testcase.
34803 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
34805         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
34806         (NO_TEST_INLINE): Update value.
34807         (ERRNO_UNCHANGED): Likewise.
34808         (ERRNO_EDOM): Likewise.
34809         (ERRNO_ERANGE): Likewise.
34810         (IGNORE_RESULT): Likewise.
34811         (check_float_internal): Check signs of NaN results if
34812         TEST_NAN_SIGN used.
34813         (check_complex): Pass TEST_NAN_SIGN flag through to second
34814         check_float_internal call.
34815         (copysign_test_data): Add tests with quiet NaNs as second
34816         argument.  Use TEST_NAN_SIGN.
34817         (fabs_test_data): Add test of negative quiet NaN argument.  Use
34818         TEST_NAN_SIGN.
34819         (signbit_test_data): Add tests of quiet NaN argument.
34820         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
34822         * math/gen-libm-test.pl (show_exceptions): Take extra argument
34823         $ignore_result.
34824         (parse_args): Handle function results specified as IGNORE.
34825         * math/libm-test.inc (IGNORE_RESULT): New macro.
34826         (check_float_internal): Do not check numerical result if flag
34827         IGNORE_RESULT set.
34828         (check_complex): Pass through IGNORE_RESULT to second
34829         check_float_internal call.
34830         (check_int): Do not check numerical result if flag IGNORE_RESULT
34831         set.
34832         (check_long): Likewise.
34833         (check_bool): Likewise.
34834         (check_longlong): Likewise.
34835         (lrint_test_data): Add tests of infinite and NaN arguments.
34836         (lrint_tonearest_test_data): Likewise.
34837         (lrint_towardzero_test_data): Likewise.
34838         (lrint_downward_test_data): Likewise.
34839         (lrint_upward_test_data): Likewise.
34840         (llrint_test_data): Likewise.
34841         (llrint_tonearest_test_data): Likewise.
34842         (llrint_towardzero_test_data): Likewise.
34843         (llrint_downward_test_data): Likewise.
34844         (llrint_upward_test_data): Likewise.
34845         (lround_test_data): Likewise.
34846         (llround_test_data): Likewise.
34848         * math/libm-test.inc (NO_TEST_INLINE): New macro.
34849         (ERRNO_UNCHANGED): Update value.
34850         (ERRNO_EDOM): Likewise.
34851         (ERRNO_ERANGE): Likewise.
34852         (NO_TEST_INLINE_FLOAT): New macro.
34853         (NO_TEST_INLINE_DOUBLE): Likewise.
34854         (enable_test): New function.
34855         (RUN_TEST_f_f): Check enable_test before running test.
34856         (RUN_TEST_2_f): Likewise.
34857         (RUN_TEST_fff_f): Likewise.
34858         (RUN_TEST_c_f): Likewise.
34859         (RUN_TEST_f_f1): Likewise.
34860         (RUN_TEST_fF_f1): Likewise.
34861         (RUN_TEST_fI_f1): Likewise.
34862         (RUN_TEST_ffI_f1): Likewise.
34863         (RUN_TEST_c_c): Likewise.
34864         (RUN_TEST_cc_c): Likewise.
34865         (RUN_TEST_f_i): Likewise.
34866         (RUN_TEST_f_i_tg): Likewise.
34867         (RUN_TEST_ff_i_tg): Likewise.
34868         (RUN_TEST_f_b): Likewise.
34869         (RUN_TEST_f_b_tg): Likewise.
34870         (RUN_TEST_f_l): Likewise.
34871         (RUN_TEST_f_L): Likewise.
34872         (RUN_TEST_fFF_11): Likewise.
34873         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
34874         conditionals.
34875         (cosh_test_data): Likewise.
34876         (exp_test_data): Likewise.
34877         (expm1_test_data): Likewise.
34878         (hypot_test_data): Likewise.
34879         (pow_test_data): Likewise.
34880         (sinh_test_data): Likewise.
34881         (tanh_test_data): Likewise.
34882         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
34883         flags argument.
34885         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
34886         tests with quiet NaN input and output.
34887         (acosh_test_data): Likewise.
34888         (asin_test_data): Likewise.
34889         (asinh_test_data): Likewise.
34890         (atan_test_data): Likewise.
34891         (atanh_test_data): Likewise.
34892         (atan2_test_data): Likewise.
34893         (cbrt_test_data): Likewise.
34894         (cos_test_data): Likewise.
34895         (cosh_test_data): Likewise.
34896         (erf_test_data): Likewise.
34897         (erfc_test_data): Likewise.
34898         (exp_test_data): Likewise.
34899         (exp10_test_data): Likewise.
34900         (exp2_test_data): Likewise.
34901         (expm1_test_data): Likewise.
34902         (hypot_test_data): Likewise.
34903         (j0_test_data): Likewise.
34904         (j1_test_data): Likewise.
34905         (jn_test_data): Likewise.
34906         (lgamma_test_data): Likewise.
34907         (log_test_data): Likewise.
34908         (log10_test_data): Likewise.
34909         (log1p_test_data): Likewise.
34910         (log2_test_data): Likewise.
34911         (pow_test_data): Likewise.
34912         (scalb_test_data): Likewise.
34913         (sin_test_data): Likewise.
34914         (sincos_test_data): Likewise.
34915         (sinh_test_data): Likewise.
34916         (tan_test_data): Likewise.
34917         (tanh_test_data): Likewise.
34918         (tgamma_test_data): Likewise.
34919         (y0_test_data): Likewise.
34920         (y1_test_data): Likewise.
34921         (yn_test_data): Likewise.
34923         [BZ #16167]
34924         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
34925         argument being NaN and avoid computations with second argument in
34926         that case.
34927         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34928         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34929         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34931 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
34933         * locale/iso-639.def: Add Chitwani Tharu (the).
34935 2013-11-14  Andreas Schwab  <schwab@suse.de>
34937         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
34938         word instead of empty string.
34940 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34943         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
34944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34945         (__fe_nomask_env): Likewise.
34947 2013-11-13  Steve Ellcey  <sellcey@mips.com>
34949         * benchtests/bench-timing.h: Include time.h.
34951 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
34953         [BZ #15997]
34954         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
34955         to 3.4.0 for x32.
34956         * sysdeps/unix/sysv/linux/configure: Regenerated.
34958 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
34960         [BZ #16151]
34961         * stdlib/strtod_l.c (round_and_return): Do not consider
34962         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
34963         exponent one less than half the least subnormal exponent.
34964         * stdlib/test-strtod-round-data: Add more tests.
34965         * stdlib/tst-strtod-round.c (tests): Regenerated.
34967 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34969         [BZ #14143]
34970         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
34971         (__fe_mask_env): Likewise.
34972         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
34973         libm_hidden_proto and add function prototype.
34974         (__fe_mask_env): Add function prototype.
34975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34976         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
34977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34978         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
34979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34980         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
34982 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34984         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
34985         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
34987 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34989         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
34990         of htab_find_slot().
34992 2013-11-11  David S. Miller  <davem@davemloft.net>
34994         [BZ #16150]
34995         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
34996         symbol in the non-vis3 case in static builds.
34997         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
34998         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
34999         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
35000         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
35002 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
35004         [BZ #387]
35005         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
35006         it is empty.
35008 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35010         * benchtests/Makefile: Add bench-strtod.
35011         * benchtests/bench-strtod.c: New file: strtod benchtest
35013 2013-11-11  Andreas Schwab  <schwab@suse.de>
35015         [BZ #16153]
35016         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
35017         terminating NUL in key length.
35019 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35021         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35022         Add artificial ODP entry for vDSO symbol for PPC64.
35023         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
35024         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35026 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35028         [BZ #15374]
35029         * nss/getent.c (services_keys): Recognize services starting with digit.
35031 2013-11-06  David S. Miller  <davem@davemloft.net>
35033         [BZ #15985]
35034         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
35035         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
35037 2013-11-06  Will Newton  <will.newton@linaro.org>
35039         * manual/memory.texi (Malloc Examples): Remove register
35040         keyword from examples.
35042 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
35044         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
35046 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
35048         [BZ #6981]
35049         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
35050         depending on [__GCC_IEC_559 > 0].
35051         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
35052         depending on [__GCC_IEC_559_COMPLEX > 0].
35054 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
35056         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
35057         to iso-639.def.
35059 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
35061         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
35063 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
35065         [BZ #16112]
35066         * malloc/malloc (malloc_info): Do not handle first bin as
35067         special case.
35069 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
35071         * locale/iso-639.def: Add Central Nahuatl (nhn).
35073 2013-11-01  Bruno Haible  <bruno@clisp.org>
35075         [BZ #7003]
35076         * manual/math.texi (BSD Random): Specify range upper bound as
35077         in POSIX.
35079 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
35081         * locale/iso-639.def: Add Meadow Mari (mhr).
35083 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
35085         [BZ #14752], [BZ #15763]
35086         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
35087         Validate name.
35088         * rt/tst_shm.c: Add test for escaping directory.
35090 2013-10-31  Andreas Schwab  <schwab@suse.de>
35092         [BZ #15917]
35093         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
35094         followed by 'x' as part of digit sequence.
35095         * stdio-common/tst-sscanf.c (double_tests2): New tests.
35097 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
35099         [BZ #16037]
35100         * configure.ac: allow GNU Make 4.0 and greater.
35101         * configure: Regenerated.
35103 2013-10-30  Will Newton  <will.newton@linaro.org>
35105         [BZ #16038]
35106         * malloc/hooks.c (memalign_check): Limit alignment to the
35107         maximum representable power of two.
35108         * malloc/malloc.c (__libc_memalign): Likewise.
35109         * malloc/tst-memalign.c (do_test): Add test for very
35110         large alignment values.
35111         * malloc/tst-posix_memalign.c (do_test): Likewise.
35113 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35115         [BZ #11087]
35116         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35117         (munmap_chunk): Likewise.
35118         (mremap_chunk): Likewise.
35120 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35122         [BZ #15799]
35123         * stdlib/div.c (div): Remove obsolete code.
35124         * stdlib/ldiv.c (ldiv): Likewise.
35125         * stdlib/lldiv.c (lldiv): Likewise.
35127 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35129         [BZ #16071]
35130         * nss/nss_files/files-XXX.c (get_contents_ret): New
35131         enumerator.
35132         (get_contents): New function.
35133         (internal_getent): Use it.  Expand size of LINEBUFLEN.
35135 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
35137         * configure.in: Moved to ...
35138         * configure.ac: ... here. Change reference to configure.in
35139         to configure.ac.
35140         * sysdeps/arm/preconfigure.ac: ... here.
35141         configure.in to configure.ac.
35142         * sysdeps/gnu/configure.in: Moved to ...
35143         * sysdeps/gnu/configure.ac: ... here.
35144         * sysdeps/i386/configure.in: Moved to ...
35145         * sysdeps/i386/configure.ac: ... here.
35146         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
35147         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
35148         * sysdeps/mach/configure.in: Moved to ...
35149         * sysdeps/mach/configure.ac: ... here.
35150         * sysdeps/mach/hurd/configure.in: Moved to ...
35151         * sysdeps/mach/hurd/configure.ac: ... here.
35152         * sysdeps/powerpc/configure.in: Moved to ...
35153         * sysdeps/powerpc/configure.ac: ... here.
35154         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
35155         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
35156         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
35157         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
35158         * sysdeps/s390/s390-32/configure.in: Moved to ...
35159         * sysdeps/s390/s390-32/configure.ac: ... here.
35160         * sysdeps/s390/s390-64/configure.in: Moved to ...
35161         * sysdeps/s390/s390-64/configure.ac: ... here.
35162         * sysdeps/sh/configure.in: Moved to ...
35163         * sysdeps/sh/configure.ac: ... here.
35164         * sysdeps/sparc/configure.in: Moved to ...
35165         * sysdeps/sparc/configure.ac: ... here.
35166         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
35167         * sysdeps/unix/sysv/linux/configure.ac: ... here.
35168         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35169         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
35170         * sysdeps/x86_64/configure.in: Moved to ...
35171         * sysdeps/x86_64/configure.ac: ... here.
35172         * sysdeps/x86_64/preconfigure.in: Moved to ...
35173         * sysdeps/x86_64/preconfigure.ac: ... here.
35174         * aclocal.m4: Change reference to configure.in to configure.ac.
35175         * config.h.in: Likewise.
35176         * manual/install.texi: Likewise.
35177         * manual/maint.texi: Likewise.
35178         * Makefile: Likewise.
35179         * malloc/Makefile: Likewise.
35180         * nscd/Makefile: Likewise.
35181         * Makeconfig: Change reference to configure.in and
35182         preconfigure.in to configure.ac and preconfigure.ac
35183         respectively.
35184         * INSTALL: Regenerated.
35185         * configure: Likewise.
35186         * sysdeps/gnu/configure: Likewise.
35187         * sysdeps/i386/configure: Likewise.
35188         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
35189         * sysdeps/mach/configure: Likewise.
35190         * sysdeps/mach/hurd/configure: Likewise.
35191         * sysdeps/powerpc/configure: Likewise.
35192         * sysdeps/powerpc/powerpc32/configure: Likewise.
35193         * sysdeps/powerpc/powerpc64/configure: Likewise.
35194         * sysdeps/s390/s390-32/configure: Likewise.
35195         * sysdeps/s390/s390-64/configure: Likewise.
35196         * sysdeps/sh/configure: Likewise.
35197         * sysdeps/sparc/configure: Likewise.
35198         * sysdeps/unix/sysv/linux/configure: Likewise.
35199         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
35200         * sysdeps/x86_64/configure: Likewise.
35201         * sysdeps/x86_64/preconfigure: Likewise.
35203 2013-10-29  Andreas Schwab  <schwab@suse.de>
35205         * stdio-common/Makefile (tst-swscanf-ENV): Define.
35207 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35209         * benchtests/pow-inputs: Add new inputs.
35211         * benchtests/exp-inputs: Add new inputs.
35213         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
35214         conditional check for return value.
35215         (__cos32): Likewise.
35217 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35219         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
35220         to provide a boost for large inputs with word alignment.
35221         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
35222         implementation based on optimized PPC64 strcpy.
35223         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
35224         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
35225         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
35226         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
35228 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35230         [BZ #2801]
35231         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
35233 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35235         [BZ #14876]
35236         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
35237         * time/tst-strptime.c (day_tests): Add testcase.
35239 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35241         [BZ #14029]
35242         * manual/pattern.texi: Acknowledge that fnmatch can fail.
35244 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
35246         [BZ #16074]
35247         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
35248         MAP_FAILED on error.
35250 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35252         [BZ #16072]
35253         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
35254         heap for large requests.
35256 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
35258         [BZ #9954]
35259         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
35260         result if the result has no associated interface.
35261         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
35262         interface for all 127.X.Y.Z addresses.
35264 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
35266         * locale/iso-639.def: Add Ligurian (lij)
35268 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
35270         [BZ #15825]
35271         * sunrpc/rpc_main.c: Document rpcgen -5.
35273 2013-10-19  Michael Stahl  <mstahl@redhat.com>
35275         * elf/rtld.c (do_preload): Print the reason why preloading failed.
35277 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35279         [BZ #10278]
35280         * posix/glob.c: Match only directories when trailing slash is present.
35281         * posix/tst-gnuglob.c (my_opendir): Do not open files.
35282         (main): Add testcase.
35284 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35286         [BZ #15670]
35287         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
35289 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
35291         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
35292         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
35293         AUTH_DES and cindex for FIPS 140-2.
35294         (DES Encryption): Add cindex FIPS 46-3.
35296         * locale/locarchive.h (struct locarhandle): Add fname.
35297         * locale/programs/localedef.c (main): Pass ARGV[remaining]
35298         if an optional argument was specified to --list-archive,
35299         otherwise NULL.
35300         * locale/programs/locarchive.c (show_archive_content): Take new
35301         argument fname and pass it via ah.fname to open_archive.
35302         * locale/programs/localedef.h: Update decl.
35303         (open_archive): If AH->fname is non-null, open that file
35304         rather than the default file name, and don't ignore ENOENT.
35305         (create_archive): Set AH.fname to NULL.
35306         (delete_locales_from_archive): Likewise.
35307         (add_locales_to_archive): Likewise.
35308         * locale/programs/locfile.c (write_all_categories): Likewise.
35310 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
35311             Aldy Hernandez  <aldyh@redhat.com>
35313         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
35314         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
35315         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
35316         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
35317         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
35318         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
35319         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
35320         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
35321         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
35322         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
35323         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
35324         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
35325         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
35326         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
35327         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
35328         Likewise.
35329         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
35330         Likewise.
35331         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
35332         Likewise.
35333         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
35334         Likewise.
35335         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
35336         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
35337         Likewise.
35338         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
35339         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
35340         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
35341         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
35342         Likewise.
35343         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
35344         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
35345         * sysdeps/powerpc/preconfigure: Likewise.
35346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
35347         Likewise.
35348         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
35349         Replace contents of file by #include of <fenv_libc.h>.
35350         * sysdeps/powerpc/soft-fp/sfp-machine.h
35351         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
35352         and <sys/prctl.h>.
35353         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
35354         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
35355         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
35356         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
35357         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
35358         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
35359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
35360         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
35361         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
35362         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
35363         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
35364         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
35365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35366         Allow copysignl PLT reference to be missing.
35368 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
35369             Joseph Myers  <joseph@codesourcery.com
35371         [BZ #15948]
35372         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
35373         single character.
35374         (add_to_tablewc): Assert sequence of wide characters is nonempty.
35376 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35378         * elf/tst-tls-dlinfo.c: Don't include tls.h.
35379         * elf/tst-tls1.c: Likewise.
35380         * elf/tst-tls10.h: Likewise.
35381         * elf/tst-tls14.c: Likewise.
35382         * elf/tst-tls2.c: Likewise.
35383         * elf/tst-tls3.c: Likewise.
35384         * elf/tst-tls4.c: Likewise.
35385         * elf/tst-tls5.c: Likewise.
35386         * elf/tst-tls6.c: Likewise.
35387         * elf/tst-tls7.c: Likewise.
35388         * elf/tst-tls8.c: Likewise.
35389         * elf/tst-tls9.c: Likewise.
35390         * elf/tst-tlsmod1.c: Likewise.
35391         * elf/tst-tlsmod13.c: Likewise.
35392         * elf/tst-tlsmod13a.c: Likewise.
35393         * elf/tst-tlsmod14a.c: Likewise.
35394         * elf/tst-tlsmod16a.c: Likewise.
35395         * elf/tst-tlsmod16b.c: Likewise.
35396         * elf/tst-tlsmod2.c: Likewise.
35397         * elf/tst-tlsmod3.c: Likewise.
35398         * elf/tst-tlsmod4.c: Likewise.
35399         * elf/tst-tlsmod5.c: Likewise.
35400         * elf/tst-tlsmod6.c: Likewise.
35402 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
35404         [BZ #12486]
35405         * malloc/malloc.c: remove checks for statistics.
35407 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35409         [BZ #15277]
35410         * inet/inet_net.c (inet_network): Detect additional invalid strings.
35411         * inet/tst-network.c: Add testcase.
35413 2013-10-17  Andreas Schwab  <schwab@suse.de>
35415         [BZ #15218]
35416         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
35417         to determine canonical name.
35419 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35421         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
35422         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
35423         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35424         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35425         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35426         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35427         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35428         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35429         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35430         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35431         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35432         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35433         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35434         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35435         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35436         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35437         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35438         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35439         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35440         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35441         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35442         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35443         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35444         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
35445         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
35446         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35447         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35448         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
35449         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35450         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
35451         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35452         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35453         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35454         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35455         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35456         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35457         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35458         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35459         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35460         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35461         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35462         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35463         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35464         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35465         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35466         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35467         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35468         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35469         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35470         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35471         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35472         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35473         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35474         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35475         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35476         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35477         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35478         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35480 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
35482         [BZ #16041]
35483         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
35484         make result into a quiet NaN.
35486 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
35488         * soft-fp/adddf3.c: Fix horizontal whitespace.
35489         * soft-fp/addsf3.c: Likewise.
35490         * soft-fp/addtf3.c: Likewise.
35491         * soft-fp/divdf3.c: Likewise.
35492         * soft-fp/divsf3.c: Likewise.
35493         * soft-fp/divtf3.c: Likewise.
35494         * soft-fp/double.h: Likewise.
35495         * soft-fp/eqdf2.c: Likewise.
35496         * soft-fp/eqsf2.c: Likewise.
35497         * soft-fp/eqtf2.c: Likewise.
35498         * soft-fp/extenddftf2.c: Likewise.
35499         * soft-fp/extended.h: Likewise.
35500         * soft-fp/extendsfdf2.c: Likewise.
35501         * soft-fp/extendsftf2.c: Likewise.
35502         * soft-fp/extendxftf2.c: Likewise.
35503         * soft-fp/fixdfdi.c: Likewise.
35504         * soft-fp/fixdfsi.c: Likewise.
35505         * soft-fp/fixdfti.c: Likewise.
35506         * soft-fp/fixsfdi.c: Likewise.
35507         * soft-fp/fixsfsi.c: Likewise.
35508         * soft-fp/fixsfti.c: Likewise.
35509         * soft-fp/fixtfdi.c: Likewise.
35510         * soft-fp/fixtfsi.c: Likewise.
35511         * soft-fp/fixtfti.c: Likewise.
35512         * soft-fp/fixunsdfdi.c: Likewise.
35513         * soft-fp/fixunsdfsi.c: Likewise.
35514         * soft-fp/fixunsdfti.c: Likewise.
35515         * soft-fp/fixunssfdi.c: Likewise.
35516         * soft-fp/fixunssfsi.c: Likewise.
35517         * soft-fp/fixunssfti.c: Likewise.
35518         * soft-fp/fixunstfdi.c: Likewise.
35519         * soft-fp/fixunstfsi.c: Likewise.
35520         * soft-fp/fixunstfti.c: Likewise.
35521         * soft-fp/floatdidf.c: Likewise.
35522         * soft-fp/floatdisf.c: Likewise.
35523         * soft-fp/floatditf.c: Likewise.
35524         * soft-fp/floatsidf.c: Likewise.
35525         * soft-fp/floatsisf.c: Likewise.
35526         * soft-fp/floatsitf.c: Likewise.
35527         * soft-fp/floattidf.c: Likewise.
35528         * soft-fp/floattisf.c: Likewise.
35529         * soft-fp/floattitf.c: Likewise.
35530         * soft-fp/floatundidf.c: Likewise.
35531         * soft-fp/floatundisf.c: Likewise.
35532         * soft-fp/floatunditf.c: Likewise.
35533         * soft-fp/floatunsidf.c: Likewise.
35534         * soft-fp/floatunsisf.c: Likewise.
35535         * soft-fp/floatunsitf.c: Likewise.
35536         * soft-fp/floatuntidf.c: Likewise.
35537         * soft-fp/floatuntisf.c: Likewise.
35538         * soft-fp/floatuntitf.c: Likewise.
35539         * soft-fp/fmadf4.c: Likewise.
35540         * soft-fp/fmasf4.c: Likewise.
35541         * soft-fp/fmatf4.c: Likewise.
35542         * soft-fp/gedf2.c: Likewise.
35543         * soft-fp/gesf2.c: Likewise.
35544         * soft-fp/getf2.c: Likewise.
35545         * soft-fp/ledf2.c: Likewise.
35546         * soft-fp/lesf2.c: Likewise.
35547         * soft-fp/letf2.c: Likewise.
35548         * soft-fp/muldf3.c: Likewise.
35549         * soft-fp/mulsf3.c: Likewise.
35550         * soft-fp/multf3.c: Likewise.
35551         * soft-fp/negdf2.c: Likewise.
35552         * soft-fp/negsf2.c: Likewise.
35553         * soft-fp/negtf2.c: Likewise.
35554         * soft-fp/op-1.h: Likewise.
35555         * soft-fp/op-2.h: Likewise.
35556         * soft-fp/op-4.h: Likewise.
35557         * soft-fp/op-8.h: Likewise.
35558         * soft-fp/op-common.h: Likewise.
35559         * soft-fp/quad.h: Likewise.
35560         * soft-fp/single.h: Likewise.
35561         * soft-fp/soft-fp.h: Likewise.
35562         * soft-fp/sqrtdf2.c: Likewise.
35563         * soft-fp/sqrtsf2.c: Likewise.
35564         * soft-fp/sqrttf2.c: Likewise.
35565         * soft-fp/subdf3.c: Likewise.
35566         * soft-fp/subsf3.c: Likewise.
35567         * soft-fp/subtf3.c: Likewise.
35568         * soft-fp/truncdfsf2.c: Likewise.
35569         * soft-fp/trunctfdf2.c: Likewise.
35570         * soft-fp/trunctfsf2.c: Likewise.
35571         * soft-fp/trunctfxf2.c: Likewise.
35572         * soft-fp/unorddf2.c: Likewise.
35573         * soft-fp/unordsf2.c: Likewise.
35574         * soft-fp/unordtf2.c: Likewise.
35576 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
35578         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
35579         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
35581 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
35583         * elf/dl-libc.c: Clear initfini list after freeing.
35585 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
35587         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
35588         * soft-fp/addsf3.c: Likewise.
35589         * soft-fp/addtf3.c: Likewise.
35590         * soft-fp/divdf3.c: Likewise.
35591         * soft-fp/divsf3.c: Likewise.
35592         * soft-fp/divtf3.c: Likewise.
35593         * soft-fp/double.h: Likewise.
35594         * soft-fp/eqdf2.c: Likewise.
35595         * soft-fp/eqsf2.c: Likewise.
35596         * soft-fp/eqtf2.c: Likewise.
35597         * soft-fp/extenddftf2.c: Likewise.
35598         * soft-fp/extended.h: Likewise.
35599         * soft-fp/extendsfdf2.c: Likewise.
35600         * soft-fp/extendsftf2.c: Likewise.
35601         * soft-fp/extendxftf2.c: Likewise.
35602         * soft-fp/fixdfdi.c: Likewise.
35603         * soft-fp/fixdfsi.c: Likewise.
35604         * soft-fp/fixdfti.c: Likewise.
35605         * soft-fp/fixsfdi.c: Likewise.
35606         * soft-fp/fixsfsi.c: Likewise.
35607         * soft-fp/fixsfti.c: Likewise.
35608         * soft-fp/fixtfdi.c: Likewise.
35609         * soft-fp/fixtfsi.c: Likewise.
35610         * soft-fp/fixtfti.c: Likewise.
35611         * soft-fp/fixunsdfdi.c: Likewise.
35612         * soft-fp/fixunsdfsi.c: Likewise.
35613         * soft-fp/fixunsdfti.c: Likewise.
35614         * soft-fp/fixunssfdi.c: Likewise.
35615         * soft-fp/fixunssfsi.c: Likewise.
35616         * soft-fp/fixunssfti.c: Likewise.
35617         * soft-fp/fixunstfdi.c: Likewise.
35618         * soft-fp/fixunstfsi.c: Likewise.
35619         * soft-fp/fixunstfti.c: Likewise.
35620         * soft-fp/floatdidf.c: Likewise.
35621         * soft-fp/floatdisf.c: Likewise.
35622         * soft-fp/floatditf.c: Likewise.
35623         * soft-fp/floatsidf.c: Likewise.
35624         * soft-fp/floatsisf.c: Likewise.
35625         * soft-fp/floatsitf.c: Likewise.
35626         * soft-fp/floattidf.c: Likewise.
35627         * soft-fp/floattisf.c: Likewise.
35628         * soft-fp/floattitf.c: Likewise.
35629         * soft-fp/floatundidf.c: Likewise.
35630         * soft-fp/floatundisf.c: Likewise.
35631         * soft-fp/floatunsidf.c: Likewise.
35632         * soft-fp/floatunsisf.c: Likewise.
35633         * soft-fp/floatuntidf.c: Likewise.
35634         * soft-fp/floatuntisf.c: Likewise.
35635         * soft-fp/floatuntitf.c: Likewise.
35636         * soft-fp/fmadf4.c: Likewise.
35637         * soft-fp/fmasf4.c: Likewise.
35638         * soft-fp/fmatf4.c: Likewise.
35639         * soft-fp/gedf2.c: Likewise.
35640         * soft-fp/gesf2.c: Likewise.
35641         * soft-fp/getf2.c: Likewise.
35642         * soft-fp/ledf2.c: Likewise.
35643         * soft-fp/lesf2.c: Likewise.
35644         * soft-fp/letf2.c: Likewise.
35645         * soft-fp/muldf3.c: Likewise.
35646         * soft-fp/mulsf3.c: Likewise.
35647         * soft-fp/multf3.c: Likewise.
35648         * soft-fp/negdf2.c: Likewise.
35649         * soft-fp/negsf2.c: Likewise.
35650         * soft-fp/negtf2.c: Likewise.
35651         * soft-fp/op-1.h: Likewise.
35652         * soft-fp/op-2.h: Likewise.
35653         * soft-fp/op-4.h: Likewise.
35654         * soft-fp/op-8.h: Likewise.
35655         * soft-fp/op-common.h: Likewise.
35656         * soft-fp/quad.h: Likewise.
35657         * soft-fp/single.h: Likewise.
35658         * soft-fp/soft-fp.h: Likewise.
35659         * soft-fp/sqrtdf2.c: Likewise.
35660         * soft-fp/sqrtsf2.c: Likewise.
35661         * soft-fp/sqrttf2.c: Likewise.
35662         * soft-fp/subdf3.c: Likewise.
35663         * soft-fp/subsf3.c: Likewise.
35664         * soft-fp/subtf3.c: Likewise.
35665         * soft-fp/truncdfsf2.c: Likewise.
35666         * soft-fp/trunctfdf2.c: Likewise.
35667         * soft-fp/trunctfsf2.c: Likewise.
35668         * soft-fp/trunctfxf2.c: Likewise.
35669         * soft-fp/unorddf2.c: Likewise.
35670         * soft-fp/unordsf2.c: Likewise.
35671         * soft-fp/unordtf2.c: Likewise.
35673 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
35675         [BZ #15672]
35676         * misc/error.c (error_tail): Fix possible buffer overflow.
35678 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
35680         [BZ #13028]
35681         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
35682         address.
35684 2013-10-14  P. J. McDermott  <pj@pehjota.net>
35686         [BZ #832]
35687         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
35688         testing pipefail option.
35690 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
35692         * soft-fp/double.h: Indent preprocessor directives inside #if.
35693         * soft-fp/extended.h: Likewise.
35694         * soft-fp/op-2.h: Likewise.
35695         * soft-fp/op-4.h: Likewise.
35696         * soft-fp/op-common.h: Likewise.
35697         * soft-fp/quad.h: Likewise.
35698         * soft-fp/single.h: Likewise.
35699         * soft-fp/soft-fp.h: Likewise.
35701 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
35703         * iconv/iconv_prog.c: Fix typos.
35704         * stdio-common/psiginfo-data.h: Likewise.
35706 2013-10-12   Reuben Thomas <rrt@sc3d.org>
35708         [BZ #15764]
35709         * locale/setlocale.c: Fix typo.
35711 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
35713         [BZ #16036]
35714         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
35715         signaling NaN arguments.
35716         * soft-fp/unordsf2.c (__unordsf2): Likewise.
35717         * soft-fp/unordtf2.c (__unordtf2): Likewise.
35719         [BZ #14910]
35720         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
35721         unordered operands.
35722         * soft-fp/gesf2.c (__gesf2): Likewise.
35723         * soft-fp/getf2.c (__getf2): Likewise.
35724         * soft-fp/ledf2.c (__ledf2): Likewise.
35725         * soft-fp/lesf2.c (__lesf2): Likewise.
35726         * soft-fp/letf2.c (__letf2): Likewise.
35728         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
35729         * soft-fp/eqsf2.c (__eqsf2): Likewise.
35730         * soft-fp/eqtf2.c (__eqtf2): Likewise.
35731         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
35732         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
35733         * soft-fp/fixdfti.c (__fixdfti): Likewise.
35734         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
35735         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
35736         * soft-fp/fixsfti.c (__fixsfti): Likewise.
35737         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
35738         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
35739         * soft-fp/fixtfti.c (__fixtfti): Likewise.
35740         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
35741         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
35742         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
35743         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
35744         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
35745         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
35746         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
35747         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
35748         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
35749         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
35750         * soft-fp/floatdisf.c (__floatdisf): Likewise.
35751         * soft-fp/floatsisf.c (__floatsisf): Likewise.
35752         * soft-fp/floattidf.c (__floattidf): Likewise.
35753         * soft-fp/floattisf.c (__floattisf): Likewise.
35754         * soft-fp/floattitf.c (__floattitf): Likewise.
35755         * soft-fp/floatundidf.c (__floatundidf): Likewise.
35756         * soft-fp/floatundisf.c (__floatundisf): Likewise.
35757         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
35758         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
35759         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
35760         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
35761         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
35762         * soft-fp/gesf2.c (__gesf2): Likewise.
35763         * soft-fp/getf2.c (__getf2): Likewise.
35764         * soft-fp/ledf2.c (__ledf2): Likewise.
35765         * soft-fp/lesf2.c (__lesf2): Likewise.
35766         * soft-fp/letf2.c (__letf2): Likewise.
35768         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
35769         Undefine and redefine.
35770         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
35771         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
35772         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
35773         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
35774         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35775         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
35776         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35777         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
35778         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35779         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
35780         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35781         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
35782         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35783         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
35784         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35786         [BZ #16032]
35787         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
35788         without decrementing exponent if mantissa >= that for the
35789         denominator, not >.
35790         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
35791         denominator, not >.  Decrement exponent in < case instead of
35792         incrementing in >= case.
35793         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
35794         without decrementing exponent if mantissa >= that for the
35795         denominator, not >.
35797         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
35798         computing saturated result for unsigned overflow.
35800 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35801             Jeff Law  <law@redhat.com>
35803         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
35804         (atan2Mp): Add systemtap probe marker.
35805         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
35806         (__ieee754_log): Add systemtap probe marker.
35807         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
35808         (atanMp): Add systemtap probe marker.
35809         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
35810         (tanMp): Add systemtap probe marker.
35811         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
35812         (__slowexp): Add systemtap probe marker.
35813         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
35814         (__slowpow): Add systemtap probe marker.
35815         * manual/probes.texi: Document probes.
35817 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
35819         [BZ #15362]
35820         * libio/fileops.c (_IO_new_file_write): Return count of bytes
35821         written.
35822         (_IO_new_file_xsputn): Don't return EOF if nothing has been
35823         written.
35824         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
35825         written to buffer but not flushed.
35826         * libio/iofwrite_u.c:  Likewise.
35827         * libio/iopadn.c:  Return bytes returned even if EOF was
35828         encountered.
35829         * libio/iowpadn.c:  Likewise.
35830         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
35831         if _IO_padn does not write the whole buffer.
35832         [!COMPILE_WPRINTF] (PAD): Likewise.
35834 2013-10-10  David S. Miller  <davem@davemloft.net>
35836         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
35837         directory block.
35839 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35841         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
35842         instead of FSF address.
35843         * soft-fp/fixdfti.c: Likewise.
35844         * soft-fp/fixsfti.c: Likewise.
35845         * soft-fp/fixtfti.c: Likewise.
35846         * soft-fp/fixunsdfti.c: Likewise.
35847         * soft-fp/fixunssfti.c: Likewise.
35848         * soft-fp/fixunstfti.c: Likewise.
35849         * soft-fp/floattidf.c: Likewise.
35850         * soft-fp/floattisf.c: Likewise.
35851         * soft-fp/floattitf.c: Likewise.
35852         * soft-fp/floatuntidf.c: Likewise.
35853         * soft-fp/floatuntisf.c: Likewise.
35854         * soft-fp/floatuntitf.c: Likewise.
35855         * soft-fp/trunctfxf2.c: Likewise.
35857         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
35858         * soft-fp/fixdfti.c: Likewise.
35859         * soft-fp/fixsfti.c: Likewise.
35860         * soft-fp/fixtfti.c: Likewise.
35861         * soft-fp/fixunsdfti.c: Likewise.
35862         * soft-fp/fixunssfti.c: Likewise.
35863         * soft-fp/fixunstfti.c: Likewise.
35864         * soft-fp/floattidf.c: Likewise.
35865         * soft-fp/floattisf.c: Likewise.
35866         * soft-fp/floattitf.c: Likewise.
35867         * soft-fp/floatuntidf.c: Likewise.
35868         * soft-fp/floatuntisf.c: Likewise.
35869         * soft-fp/floatuntitf.c: Likewise.
35870         * soft-fp/trunctfxf2.c: Likewise.
35872 2013-10-10  David S. Miller  <davem@davemloft.net>
35874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35876 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
35878         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35879         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
35880         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
35881         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
35882         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
35883         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
35884         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
35886         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
35887         for NaNs before doing comparisons on argument.
35888         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35889         Likewise.
35891 2013-10-10  Will Newton  <will.newton@linaro.org>
35893         * malloc/hooks.c (memalign_check): Ensure the value of bytes
35894         passed to _int_memalign does not overflow.
35896 2013-10-10  Torvald Riegel  <triegel@redhat.com>
35898         * scripts/bench.pl: Add include-sources directive.
35899         * benchtests/README: Update documentation.
35901 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35903         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
35904         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
35905         instead of FP_INIT_ROUNDMODE.
35906         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
35907         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
35909         [BZ #16034]
35910         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
35911         copy class of input value.
35912         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
35913         not handle exceptions.
35914         * soft-fp/negsf2.c (__negsf2): Likewise.
35915         * soft-fp/negtf2.c (__negtf2): Likewise.
35916         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
35918 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
35920         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
35921         semicolon.  From Linux kernel.
35923 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
35925         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
35927 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
35929         [BZ #156]
35930         * manual/socket.texi: Added statement about buffer
35931         for gethostbyname2_r.
35933 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
35935         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
35936         Use .p2align directive instead, throughout.
35937         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35938         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
35939         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
35940         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35941         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35942         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
35943         * sysdeps/x86_64/strchr.S: Likewise.
35944         * sysdeps/x86_64/strrchr.S: Likewise.
35946 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35948         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
35950         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
35952         * sysdeps/generic/math_private.h (__mpsin1): Remove
35953         declaration.
35954         (__mpcos1): Likewise.
35955         (__mpsin): New argument __range_reduce.
35956         (__mpcos): Likewise.
35957         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35958         (slow): Use __mpsin and __mpcos.
35959         (slow1): Likewise.
35960         (slow2): Likewise.
35961         (sloww): Likewise.
35962         (sloww1): Likewise.
35963         (sloww2): Likewise.
35964         (bsloww): Likewise.
35965         (bsloww1): Likewise.
35966         (bsloww2): Likewise.
35967         (cslow2): Likewise.
35968         (csloww): Likewise.
35969         (csloww1): Likewise.
35970         (csloww2): Likewise.
35971         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
35972         range_reduce.  Merge in __mpsin1.
35973         (__mpcos): Likewise.
35974         (__mpsin1): Remove.
35975         (__mpcos1): Likewise.
35977 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
35979         * locale/loadlocale.c (_nl_intern_locale_data): Use
35980         LOCFILE_ALIGNED_P.
35981         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
35982         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
35983         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
35984         obstack data is appropriately aligned.
35985         (obstack_int32_grow_fast): Likewise.
35986         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
35987         * locale/programs/locfile.c (add_locale_uint32): Likewise.
35988         (add_locale_uint32_array): Likewise.
35990 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35992         * benchtests/Makefile: Remove ARGLIST and RET variables.
35993         ($(objpfx)bench-%.c): Pass only function name to the script.
35994         * benchtests/README: Update documentation.
35995         * benchtests/acos-inputs: Add new directives.
35996         * benchtests/acosh-inputs: Likewise.
35997         * benchtests/asin-inputs: Likewise.
35998         * benchtests/asinh-inputs: Likewise.
35999         * benchtests/atan-inputs: Likewise.
36000         * benchtests/atanh-inputs: Likewise.
36001         * benchtests/cos-inputs: Likewise.
36002         * benchtests/cosh-inputs: Likewise.
36003         * benchtests/exp-inputs: Likewise.
36004         * benchtests/log-inputs: Likewise.
36005         * benchtests/pow-inputs: Likewise.
36006         * benchtests/rint-inputs: Likewise.
36007         * benchtests/sin-inputs: Likewise.
36008         * benchtests/sinh-inputs: Likewise.
36009         * benchtests/tan-inputs: Likewise.
36010         * benchtests/tanh-inputs: Likewise.
36011         * scripts/bench.pl: Add support for new directives.
36013 2013-10-07  Alan Modra  <amodra@gmail.com>
36015         * README: Fix careless merge.
36017 2013-10-05  Alan Modra  <amodra@gmail.com>
36019         * NEWS: Mention powerpc64le support and bugs fixed.
36020         * README: Both big-endian and little-endian powerpc64 supported.
36022 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36024         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
36025         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
36026         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
36027         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
36029 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
36031         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
36032         match prototype.
36034 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
36036         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
36037         Move -mhard-float appending from
36038         ports/sysdeps/powerpc/powerpc32/Makefile.
36039         [$(with-fp) = yes] (ASFLAGS): Likewise.
36040         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
36041         * sysdeps/powerpc/nofpu: Move directory from
36042         ports/sysdeps/powerpc/nofpu.
36043         * sysdeps/powerpc/soft-fp: Move directory from
36044         ports/sysdeps/powerpc/soft-fp.
36045         * sysdeps/powerpc/powerpc32/405: Move directory from
36046         ports/sysdeps/powerpc/powerpc32/405.
36047         * sysdeps/powerpc/powerpc32/440: Move directory from
36048         ports/sysdeps/powerpc/powerpc32/440.
36049         * sysdeps/powerpc/powerpc32/464: Move directory from
36050         ports/sysdeps/powerpc/powerpc32/464.
36051         * sysdeps/powerpc/powerpc32/476: Move directory from
36052         ports/sysdeps/powerpc/powerpc32/476.
36053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
36054         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
36055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
36056         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
36058         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
36059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
36060         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
36061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
36062         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
36063         * README: Update for powerpc-*-linux-gnu software floating point
36064         support in libc.
36066         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
36067         case to powerpc/powerpc32*.
36068         * sysdeps/unix/sysv/linux/configure: Regenerated.
36070         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
36071         (_FPU_MASK_OM): Define as 0x04.
36072         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
36073         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
36074         0x00c10080.
36075         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
36076         0x0000003c.
36077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
36079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
36080         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36081         getcontext_e500.
36082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
36083         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36084         setcontext_e500.
36085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
36086         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
36087         and setcontext_e500.
36089 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
36091         * locale/iso-3166.def: Update iso-1366.def and related occurrences
36093 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36095         * manual/threads.texi (Default Thread Attributes): Fix typo.
36097 2013-10-04  Will Newton  <will.newton@linaro.org>
36099         * malloc/Makefile: Add tst-memalign.
36100         * malloc/tst-memalign.c: New file.
36102         * malloc/tst-posix_memalign.c: Add comments.
36103         (do_test): Add comments and call free on all potentially
36104         allocated pointers. Add space after cast.
36106         * malloc/tst-pvalloc.c: Add comments.
36107         (do_test): Add comments and call free on all potentially
36108         allocated pointers. Remove duplicate check for NULL pointer.
36109         Add space after cast.
36111         * malloc/tst-valloc.c: Add comments.
36112         (do_test): Add comments and call free on all potentially
36113         allocated pointers. Remove duplicate check for NULL pointer.
36114         Add space after cast.
36116 2013-10-04  Alan Modra  <amodra@gmail.com>
36118         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36119         Use stdint types in rather than __attribute__((mode())).
36120         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36122 2013-10-04  Alan Modra  <amodra@gmail.com>
36124         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36125         Correct handling of unaligned relocs for little-endian.
36126         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36128 2013-10-04  Alan Modra  <amodra@gmail.com>
36130         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
36131         * configure: Regenerate.
36132         * nptl/shlib-versions: Powerpc*le starts at 2.18.
36133         * shlib-versions: Likewise.
36135 2013-10-04  Alan Modra  <amodra@gmail.com>
36137         * string/tester.c (test_memrchr): Increment reported test cycle.
36139 2013-10-04  Alan Modra  <amodra@gmail.com>
36141         * string/test-memcpy.c (do_one_test): When reporting errors, print
36142         string address and don't overrun end of string.
36144 2013-10-04  Alan Modra  <amodra@gmail.com>
36146         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
36147         insrdi.  Make better use of reg selection to speed exit slightly.
36148         Schedule entry path a little better.  Remove useless "are we done"
36149         checks on entry to main loop.  Handle wrapping around zero address.
36150         Correct main loop count.  Handle single left-over word from main
36151         loop inline rather than by using loop_small.  Remove extra word
36152         case in loop_small caused by wrong loop count.  Add little-endian
36153         support.
36154         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36155         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
36156         cache hint.
36157         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36158         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
36159         support.  Avoid rlwimi.
36160         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
36162 2013-10-04  Alan Modra  <amodra@gmail.com>
36164         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
36165         insrdi.  Formatting.
36166         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
36167         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36168         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36169         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36170         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36171         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
36173 2013-10-04  Alan Modra  <amodra@gmail.com>
36175         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
36176         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36177         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36178         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
36179         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36180         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36181         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36182         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36183         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
36184         use of regs.  Use power7 mtocrf.  Tidy function tails.
36186 2013-10-04  Alan Modra  <amodra@gmail.com>
36188         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
36189         Formatting.  Consistently use rXXX register defines or rN defines.
36190         Use early exit labels that avoid restoring unused non-volatile regs.
36191         Make cr field use more consistent with rWORDn compares.  Rename
36192         regs used as shift registers for unaligned loop, using rN defines
36193         for short lifetime/multiple use regs.
36194         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36195         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
36196         addi 1,1,64 to pop stack frame.  Simplify return value code.
36197         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36199 2013-10-04  Alan Modra  <amodra@gmail.com>
36201         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
36202         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
36203         rather than rlwimi.
36204         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
36205         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
36206         little-endian support.  Correct typos.
36207         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
36208         rather than rlwimi.
36209         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
36210         in loop and entry code to keep "and." results.
36211         (strchr): Add little-endian support.  Comment.  Move cntlzd
36212         earlier in tail.
36213         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
36215 2013-10-04  Alan Modra  <amodra@gmail.com>
36217         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
36218         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
36219         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
36220         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
36222 2013-10-04  Alan Modra  <amodra@gmail.com>
36224         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
36225         (rTMP): Define as r11.
36226         (strcmp): Add little-endian support.  Optimise tail.
36227         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
36228         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36229         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36230         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36231         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36232         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36233         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36235 2013-10-04  Alan Modra  <amodra@gmail.com>
36237         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
36238         little-endian support.  Remove unnecessary "are we done" tests.
36239         Handle "s" wrapping around zero and extremely large "size".
36240         Correct main loop count.  Handle single left-over word from main
36241         loop inline rather than by using small_loop.  Correct comments.
36242         Delete "zero" tail, use "end_max" instead.
36243         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
36245 2013-10-04  Alan Modra  <amodra@gmail.com>
36247         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
36248         support.  Don't branch over align.
36249         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
36250         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
36251         support.  Rearrange tmp reg use to suit.  Comment.
36252         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
36254 2013-10-04  Alan Modra  <amodra@gmail.com>
36256         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
36258 2013-10-04  Alan Modra  <amodra@gmail.com>
36260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
36261         conditional form of branch and link when obtaining pc.
36262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36264 2013-10-04  Alan Modra  <amodra@gmail.com>
36266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
36267         HIWORD/LOWORD.
36268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
36269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
36271 2013-10-04  Alan Modra  <amodra@gmail.com>
36273         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
36274         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
36275         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36276         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
36277         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36278         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36279         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
36280         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36281         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36282         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
36284 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36285             Alistair Popple <alistair@ozlabs.au.ibm.com>
36286             Alan Modra <amodra@gmail.com>
36288         [BZ #15723]
36289         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
36290         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
36291         _dl_hwcap access for little-endian.
36292         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
36293         destroy vmx regs when saving unaligned.
36294         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
36295         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
36296         destroy vmx regs when saving unaligned.
36298 2013-10-04  Alan Modra  <amodra@gmail.com>
36300         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
36301         Don't use a union to pack hi/low value.
36303 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36305         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
36306         for little-endian.
36307         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36308         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
36309         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36310         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36311         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36313 2013-10-04  Alan Modra  <amodra@gmail.com>
36315         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
36316         constants to usual value for .cst8 section, and remove redundant
36317         high address load.
36318         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
36319         constant for 0x1p52.  Load little-endian words of double from
36320         correct stack offsets.
36322 2013-10-04  Alan Modra  <amodra@gmail.com>
36324         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
36325         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
36326         words of double from correct stack offsets.
36327         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36328         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
36329         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36330         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36331         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36332         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36333         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36334         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36335         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36336         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36337         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36338         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36339         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36340         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36341         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36342         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
36343         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36345 2013-10-04  Alan Modra  <amodra@gmail.com>
36347         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
36348         64-bit int/double union.
36349         (_FPU_SETCW): Likewise.
36350         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
36351         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
36353 2013-10-04  Alan Modra  <amodra@gmail.com>
36355         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
36356         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
36358 2013-10-04  Alan Modra  <amodra@gmail.com>
36360         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
36361         use vector int constants.
36362         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
36364 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36366         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
36367         array with long long.
36368         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
36369         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
36370         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
36371         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
36372         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
36373         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
36374         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
36375         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
36376         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
36377         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
36378         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
36379         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
36380         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
36382 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36384         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
36385         (__signbit): Likewise.  Correct for little-endian.
36386         (__signbitl): Call __signbit.
36387         (lrint): Correct for little-endian.
36388         (lrintf): Call lrint.
36390 2013-10-04  Alan Modra  <amodra@gmail.com>
36392         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
36393         union 32-bit int array member with 64-bit int array.
36394         (t515, tm256): Double rather than long double.
36395         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
36397 2013-10-04  Alan Modra  <amodra@gmail.com>
36399         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
36400         Delete.
36401         (IEEE854_LONG_DOUBLE_BIAS): Delete.
36402         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
36403         version of math_ldbl.h.
36405 2013-10-04  Alan Modra  <amodra@gmail.com>
36407         [BZ #15734], [BZ #15735]
36408         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
36409         all uses of ieee875 long double macros and unions.  Simplify test
36410         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
36411         ldbl_extract_mantissa value for ix,iy exponents.  Properly
36412         normalize after ldbl_extract_mantissa, and don't add hidden bit
36413         already handled.  Don't treat low word of ieee854 mantissa like
36414         low word of IBM long double and mask off bit when testing for
36415         zero.
36416         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
36417         all uses of ieee875 long double macros and unions.  Simplify tests
36418         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
36419         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
36420         two1022, instead use their values.  Recognise that tests for large
36421         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
36422         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
36423         Rewrite all uses of ieee875 long double macros and unions.  Simplify
36424         test for 0.0L and nan.  Correct negation.
36425         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
36426         ieee875 long double macros and unions.  Correct output for large
36427         magnitude x.  Correct absolute value calculation.
36428         (__erfcl): Likewise.
36429         * math/libm-test.inc: Add tests for errors discovered in IBM long
36430         double versions of fmodl, remainderl, erfl and erfcl.
36432 2013-10-04  Alan Modra  <amodra@gmail.com>
36434         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
36435         all uses of ieee854 long double macros and unions.  Simplify tests
36436         for long doubles that are fully specified by the high double.
36437         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36438         Likewise.
36439         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
36440         Remove dead code too.
36441         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
36442         (__ieee754_ynl): Likewise.
36443         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
36444         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
36445         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36446         Remove dead code too.
36447         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
36448         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
36449         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
36450         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
36451         Simplify.
36452         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
36453         Simplify.
36454         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
36455         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36456         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
36457         Comment on variable precision.
36458         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
36459         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36460         Likewise.
36461         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36462         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36463         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36464         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
36465         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
36467 2013-10-04  Alan Modra  <amodra@gmail.com>
36469         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
36470         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
36471         all uses of ieee854 long double macros and unions.
36472         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
36473         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36474         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
36475         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
36476         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
36477         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36478         Likewise.
36479         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
36480         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36481         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
36482         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36483         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
36484         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
36485         Simplify sign and nan test too.
36486         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
36487         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36488         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
36489         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36490         Likewise.
36491         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36492         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
36493         Likewise.
36494         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36495         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
36496         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
36497         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
36498         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
36499         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
36501 2013-10-04  Alan Modra  <amodra@gmail.com>
36503         * stdio-common/printf_size.c (__printf_size): Don't use
36504         union ieee854_long_double in fpnum union.
36505         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
36506         signbit macro to retrieve sign from long double.
36507         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
36508         retrieve sign from long double.
36509         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
36510         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
36511         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
36512         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36513         * math/test-misc.c (main): Don't use union ieee854_long_double.
36515 2013-10-04  Alan Modra  <amodra@gmail.com>
36517         [BZ #15680]
36518         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
36519         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
36520         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
36521         calculation.  Remove unnecessary test for denormal exponent.
36522         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
36523         Correct handling of denormals.  Avoid undefined shift behaviour.
36524         Correct normalisation of low mantissa when low double is denormal.
36525         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
36526         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
36527         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
36528         Correct normalisation of low mantissa.  Test for overflow of high
36529         mantissa and normalise.
36530         (ldbl_nearbyint): Use more readable constant for two52.
36531         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
36532         (__mpn_construct_long_double): Fix test for overflow of high
36533         mantissa and correct normalisation.  Avoid undefined shift.
36535 2013-10-04  Alan Modra  <amodra@gmail.com>
36537         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36538         (union ibm_extended_long_double): Define as an array of ieee754_double.
36539         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
36540         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
36541         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
36542         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36543         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36544         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
36545         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36546         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36547         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36548         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
36549         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36551 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
36553         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
36554         page size instead of calling getpagesize.
36556         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
36557         (LOCFILE_ALIGN_MASK): Likewise.
36558         (LOCFILE_ALIGN_UP): Likewise.
36559         (LOCFILE_ALIGNED_P): Likewise.
36560         * locale/programs/ld-collate.c (collate_output): Use the new
36561         macros instead of __alignof__ (int32_t).
36562         * locale/weight.h (findidx): Likewise.
36564 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
36566         [BZ #431]
36567         * manual/string.texi: Fix strncat and wcsncat.
36569 2013-10-03  Brooks Moses  <bmoses@google.com>
36571         [BZ #15915]
36572         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
36573         * Makerules: ...here, and adjust associated comments.
36575 2013-10-02  Will Newton  <will.newton@linaro.org>
36577         * malloc/Makefile: Add tst-pvalloc.
36578         * malloc/tst-pvalloc.c: New file.
36580 2013-10-02  Will Newton  <will.newton@linaro.org>
36582         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
36583         improve test coverage.
36585 2013-10-02  Will Newton  <will.newton@linaro.org>
36587         * malloc/Makefile: Add tst-posix_memalign.
36588         * malloc/tst-posix_memalign.c: New file.
36590 2013-10-01  Eric Blake  <eblake@redhat.com>
36592         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
36593         Use __THROWNL rather than __THROW on static functions.
36595 2013-09-30  Petr Machata  <pmachata@redhat.com>
36597         * elf/elf.h (R_AARCH64_ABS16): New macro.
36598         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
36599         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
36600         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
36601         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
36602         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
36603         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
36604         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
36605         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
36606         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
36607         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
36608         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
36609         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
36610         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
36611         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
36612         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
36613         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
36614         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
36615         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
36616         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
36617         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
36618         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
36619         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
36620         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
36621         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
36622         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
36623         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
36624         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
36625         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
36626         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
36627         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
36628         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
36629         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
36630         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
36631         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
36632         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
36633         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
36634         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
36635         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
36636         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
36637         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
36638         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
36639         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
36640         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
36641         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
36642         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
36643         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
36644         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
36645         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
36646         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
36647         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
36648         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
36649         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
36650         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
36651         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
36652         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
36653         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
36654         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
36655         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
36656         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
36657         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
36658         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
36659         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
36660         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
36661         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
36662         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
36663         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
36664         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
36665         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
36666         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
36667         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
36668         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
36669         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
36670         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
36671         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
36672         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
36673         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
36674         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
36675         (R_AARCH64_TLSDESC_LDR): Likewise.
36676         (R_AARCH64_TLSDESC_ADD): Likewise.
36677         (R_AARCH64_TLSDESC_CALL): Likewise.
36679 2013-09-30  Andreas Schwab  <schwab@suse.de>
36681         [BZ #15048]
36682         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
36683         the nss database lookup.
36684         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36687 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
36689         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
36691 2013-09-28  P. J. McDermott  <pj@pehjota.net>
36693         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
36694         ${Bash-specific parameter/pattern/string} parameter expansion.
36695         * sysdeps/unix/make-syscalls.sh: Likewise.
36697 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36699         * sysdeps/sh/stackguard-macros.h: New file.
36701 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
36703         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36704         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
36705         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
36706         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
36707         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36708         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
36710 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36712         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
36713         Fix thread ID register.
36715 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
36717         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
36718         [POSIX || UNIX98]: Require rather than permitting all symbols from
36719         <time.h>.
36720         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
36721         element of struct sched_param.
36722         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
36723         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
36724         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
36725         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
36726         constant.
36728 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
36730         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
36731         argument calculation.
36733 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
36735         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
36736         Expect macro.
36737         [POSIX] (pthread_attr_t): Do not require type.
36738         [POSIX] (pthread_cond_t): Likewise.
36739         [POSIX] (pthread_condattr_t): Likewise.
36740         [POSIX] (pthread_key_t): Likewise.
36741         [POSIX] (pthread_mutex_t): Likewise.
36742         [POSIX] (pthread_mutexattr_t): Likewise.
36743         [POSIX] (pthread_once_t): Likewise.
36744         [POSIX] (pthread_t): Likewise.
36745         [POSIX-based standards] (pthread_atfork): Expect function.
36747 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
36748             Richard Sandiford  <richard@codesourcery.com>
36750         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
36751         (swap_endianness_p): New extern variable.
36752         (set_big_endian): New inline function.
36753         (maybe_swap_uint32): Likewise.
36754         (maybe_swap_uint32_array): Likewise.
36755         (maybe_swap_uint32_obstack): Likewise.
36756         * locale/programs/locfile.c: Include <stdbool.h>.
36757         (swap_endianness_p): New variable.
36758         (add_locale_uint32): Call maybe_swap_uint32.
36759         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
36760         (write_locale_data): Call maybe_swap_uint32_array.
36761         * locale/programs/ld-collate.c (obstack_int32_grow): Call
36762         maybe_swap_uint32.
36763         (obstack_int32_grow_fast): Likewise.
36764         (output_weightwc): Call maybe_swap_uint32_obstack.
36765         (collate_output): Likewise.
36766         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
36767         (OPT_LITTLE_ENDIAN): Likewise.
36768         (options): Add --little-endian and --big-endian options.
36769         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
36770         * locale/programs/locarchive.c: Include "locfile.h".
36771         (GET): New macro.
36772         (SET): Likewise.
36773         (INC): Likewise.
36774         (create_archive): Use the new macros to access fields of
36775         structures directly mapped from or written to locale archives.
36776         (oldlocrecentcmp): Likewise.
36777         (enlarge_archive): Likewise.
36778         (insert_name): Likewise.
36779         (add_alias): Likewise.
36780         (add_locale): Likewise.
36781         (delete_locales_from_archive): Likewise.
36782         (show_archive_content): Likewise.
36783         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
36784         locale data.
36786 2013-09-24  Roland McGrath  <roland@hack.frob.com>
36788         * manual/freemanuals.texi: Updated from (newly) canonical copy at
36789         http://www.gnu.org/doc/freemanuals.texi.
36790         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
36792 2013-09-24  Will Newton  <will.newton@linaro.org>
36794         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
36795         macro.
36797 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
36799         * locale/hashval.h (compute_hashval): Interpret bytes of key as
36800         unsigned char.
36802 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
36804         * manual/threads.texi (POSIX Threads): Fix a typo.
36806 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36808         [BZ #14547]
36809         * string/tst-strcoll-overflow.c: New test case.
36810         * string/Makefile (xtests): Add tst-strcoll-overflow.
36811         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
36812         cache if string sizes may cause integer overflow.
36814         [BZ #14547]
36815         * string/strcoll_l.c (coll_seq): New members rule, idx,
36816         save_idx and back_us.
36817         (get_next_seq_nocache): New function.
36818         (do_compare_nocache): New function.
36819         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
36820         when malloc fails.
36822 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
36824         [BZ #15754]
36825         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
36826         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
36827         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
36829         [BZ #15754]
36830         * elf/Makefile (tests): Add tst-ptrguard1.
36831         (tests-static): Add tst-ptrguard1-static.
36832         (tst-ptrguard1-ARGS): Define.
36833         (tst-ptrguard1-static-ARGS): Define.
36834         * elf/tst-ptrguard1.c: New file.
36835         * elf/tst-ptrguard1-static.c: New file.
36836         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
36837         * sysdeps/i386/stackguard-macros.h: Likewise.
36838         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36839         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36840         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36841         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36842         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36843         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36845 2013-09-23  Hector Marco  <hecmargi@upv.es>
36846             Ismael Ripoll  <iripoll@disca.upv.es>
36847             Carlos O'Donell  <carlos@redhat.com>
36849         [BZ #15754]
36850         * sysdeps/generic/stackguard-macros.h: Define
36851         __pointer_chk_guard_local and POINTER_CHK_GUARD.
36852         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
36853         Define __pointer_chk_guard_local.
36854         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
36855         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
36857 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
36859         [BZ #15859]
36860         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
36862 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
36864         * include/string.h (__ffs): Declare as hidden.
36865         * string/ffs.c (__ffs): Define as hidden.
36866         * sysdeps/i386/ffs.c (__ffs): Likewise.
36867         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
36868         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
36869         * sysdeps/s390/ffs.c (__ffs): Likewise.
36870         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
36872 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
36874         * NEWS: Mention malloc probes.
36876         * malloc/arena.c (new_heap): New memory_heap_new probe.
36877         (grow_heap): New memory_heap_more probe.
36878         (shrink_heap): New memory_heap_less probe.
36879         (heap_trim): New memory_heap_free probe.
36880         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
36881         (systrim): New memory_sbrk_less probe.
36882         * manual/probes.texi: Document them.
36884         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
36885         * manual/probes.texi: Document it.
36887         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
36888         (__libc_realloc): Add memory_realloc_retry probe.
36889         (__libc_memalign): Add memory_memalign_retry probe.
36890         (__libc_valloc): Add memory_valloc_retry probe.
36891         (__libc_pvalloc): Add memory_pvalloc_retry probe.
36892         (__libc_calloc): Add memory_calloc_retry probe.
36893         * manual/probes.texi: Document them.
36895         * malloc/arena.c (get_free_list): Add probe
36896         memory_arena_reuse_free_list.
36897         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
36898         and memory_arena_reuse.
36899         (arena_get2) [!PER_THREAD]: Likewise.
36900         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
36901         memory_arena_reuse_realloc.
36902         * manual/probes.texi: Document them.
36904         * malloc/malloc.c (__libc_free): Add
36905         memory_mallopt_free_dyn_thresholds probe.
36906         (__libc_mallopt): Add multiple memory_mallopt probes.
36907         * manual/probes.texi: Document them.
36909         * malloc/malloc.c: Include stap-probe.h.
36910         (__libc_mallopt): Add memory_mallopt probe.
36911         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
36912         * manual/probes.texi: New.
36913         * manual/Makefile (chapters): Add probes.
36914         * manual/threads.texi: Set next node.
36916 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
36918         [BZ #15963, #13985]
36919         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
36920         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
36921         Add `Chinese' to `nan' entry name.
36923 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36925         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
36926         (POLYNOMIAL): Likewise.
36927         (TAYLOR_SINCOS): Likewise.
36928         (TAYLOR_SLOW): Likewise.
36929         (__sin): Use TAYLOR_SINCOS.
36930         (__cos): Likewise.
36931         (slow): Use TAYLOR_SLOW.
36932         (sloww): Likewise.
36933         (bsloww): Likewise.
36934         (csloww): Likewise.
36936 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36938         * stdlib/strtod_l.c: Fix buffer overrun.
36940 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36942         * benchtests/Makefile (bench): Add sincos.
36943         * benchtests/bench-sincos.c: New file.
36945         * math/libm-test.inc (cos_test_data): New test inputs.
36946         (sin_test_data): Likewise.
36948         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
36949         macro.
36950         (__sin): Use it.
36951         (__cos): Likewise.
36952         (slow1): Likewise.
36953         (slow2): Likewise.
36954         (sloww1): Likewise.
36955         (sloww2): Likewise.
36956         (bsloww1): Likewise.
36957         (bsloww2): Likewise.
36958         (cslow2): Likewise.
36959         (csloww1): Likewise.
36960         (csloww2): Likewise.
36962         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
36963         function.
36964         (__sin): Use it.
36965         (__cos): Likewise.
36967         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
36968         gotos.
36969         (__cos): Likewise.
36971 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
36973         * config.h.in (HAVE_MIPS_NAN2008): New macro.
36974         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
36975         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
36976         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
36977         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
36978         * elf/cache.c (print_entry): Handle the new cache flags.
36980 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36981             Aldy Hernandez  <aldyh@redhat.com>
36983         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
36984         Change condition to [_SOFT_FLOAT].
36985         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
36986         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
36987         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
36988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
36989         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
36990         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
36991         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
36992         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
36993         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
36994         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
36995         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
36996         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
36997         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
36998         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
36999         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
37000         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
37001         declaration.
37003 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37005         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
37006         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37007         (__longjmp): Use LOAD_GP to load saved GPRs.
37008         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
37009         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37010         (__sigsetjmp): Use SAVE_GP to save GPRs.
37012         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
37013         Do not append -msoft-float.
37014         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
37016 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37018         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
37020 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
37022         [BZ #15966]
37023         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
37024         (_FPU_GETCW): Use initial "__" on variable and field names but not
37025         on macro parameter name.
37026         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
37027         parentheses around reference to macro parameter.
37029 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
37031         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
37032         prototype.
37033         (ctype_startup): Use uint32_t in cast and sizeof for
37034         ctype->charnames.
37036 2013-09-11  Jia Liu  <proljc@gmail.com>
37038         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
37039         __daddr_t_defined.
37040         [__FreeBSD__]: Likewise.
37042 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
37044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37045         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
37046         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
37047         (strchr): Remove __strchr_sse42 ifunc selection.
37048         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
37049         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
37051 2013-09-11  Will Newton  <will.newton@linaro.org>
37053         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
37054         parameter to RES. Remove hardcoded 1000 value.
37055         * benchtests/bench-skeleton.c (main): Pass RES parameter
37056         to TIMING_INIT and multiply result by 1000.
37058 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37062 2013-09-11  Andreas Schwab  <schwab@suse.de>
37064         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37065         if not defined.
37066         (O_TMPFILE) [__USE_GNU]: Define.
37067         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
37068         Define.
37070 2013-09-11  Will Newton  <will.newton@linaro.org>
37072         [BZ #15857]
37073         * malloc/malloc.c (__libc_memalign): Check the value of bytes
37074         does not overflow.
37076 2013-09-11  Will Newton  <will.newton@linaro.org>
37078         [BZ #15856]
37079         * malloc/malloc.c (__libc_valloc): Check the value of bytes
37080         does not overflow.
37082 2013-09-11  Will Newton  <will.newton@linaro.org>
37084         [BZ #15855]
37085         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
37086         does not overflow.
37088 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
37090         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
37091         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37092         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37093         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37094         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37096 2013-09-10  Allan McRae  <allan@archlinux.org>
37098         [BZ #15748]
37099         * manual/arith.texi (Parsing of Floats): Clarify
37100         cross-reference.
37102         [BZ #15849]
37103         * manual/install.texi (Running make install): Mention
37104         --enable-pt-chown.
37105         * INSTALL: Regenerated.
37107 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
37109         * csu/init-first.c (_init): Remove the !SHARED condition around
37110         FPU control word initialization.
37111         * elf/dl-support.c (_dl_fpu_control): New variable.
37112         (_dl_aux_init) <AT_FPUCW>: Initialize it.
37113         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
37114         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
37115         * math/test-fpucw-static.c: New file.
37116         * math/test-fpucw-ieee.c: New file.
37117         * math/test-fpucw-ieee-static.c: New file.
37118         * math/Makefile (tests): Add `test-fpucw-ieee' and
37119         `$(tests-static)'.
37120         (tests-static): New variable.
37121         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
37122         dependency to...
37123         [($(build-shared),yes)]
37124         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37125         ... this.
37126         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
37127         New dependency.
37129 2013-09-09  Allan McRae  <allan@archlinux.org>
37131         [BZ #15939]
37132         * manual/string.texi (Collation Functions): Fix typo in
37133         strcoll example.
37134         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
37136         [BZ #15893]
37137         * stdlib/isomac.c (get_null_defines): Fix memory leak.
37139         [BZ #15892]
37140         * libio/memstream.c (open_memstream): Fix memory leak.
37141         * libio/wmemstream.c (open_wmemstream): Likewise.
37143         [BZ #15895]
37144         * nscd/netgroupcache.c: Fix nesting of ifdefs.
37146 2013-09-09  Will Newton  <will.newton@linaro.org>
37148         * malloc/Makefile: Add tst-realloc to tests.
37149         * malloc/tst-realloc.c: New file.
37151 2013-09-09  Allan McRae  <allan@archlinux.org>
37153         [BZ #15844]
37154         * COPYING: Update from GNU website to fix FSF address.
37155         * COPYING.LIB: Likewise.
37157 2013-09-06  David S. Miller  <davem@davemloft.net>
37159         * po/zh_TW.po: Update Chinese (traditional) translation from
37160         translation project.
37162 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
37163             Joseph Myers  <joseph@codesourcery.com>
37165         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
37166         "localeinfo.h".
37167         (obstack_chunk_alloc): New macro.
37168         (obstack_chunk_free): Likewise.
37169         (record_offset): New function.
37170         (init_locale_data): Likewise.
37171         (align_locale_data): Likewise.
37172         (add_locale_empty): Likewise.
37173         (add_locale_raw_data): Likewise.
37174         (add_locale_raw_obstack): Likewise.
37175         (add_locale_string): Likewise.
37176         (add_locale_wstring): Likewise.
37177         (add_locale_uint32): Likewise.
37178         (add_locale_uint32_array): Likewise.
37179         (add_locale_char): Likewise.
37180         (start_locale_structure): Likewise.
37181         (end_locale_structure): Likewise.
37182         (start_locale_prelude): Likewise.
37183         (end_locale_prelude): Likewise.
37184         (write_locale_data): Take locale_file structure rather than an
37185         iovec.
37186         * locale/programs/locfile.h: Include "obstack.h".
37187         (struct locale_file): Change to store locale file contents instead
37188         of header.
37189         (init_locale_data): New prototype.
37190         (align_locale_data): Likewise.
37191         (add_locale_empty): Likewise.
37192         (add_locale_raw_data): Likewise.
37193         (add_locale_raw_obstack): Likewise.
37194         (add_locale_string): Likewise.
37195         (add_locale_wstring): Likewise.
37196         (add_locale_uint32): Likewise.
37197         (add_locale_uint32_array): Likewise.
37198         (add_locale_char): Likewise.
37199         (start_locale_structure): Likewise.
37200         (end_locale_structure): Likewise.
37201         (start_locale_prelude): Likewise.
37202         (end_locale_prelude): Likewise.
37203         (write_locale_data): Update prototype.
37204         * locale/programs/3level.h (struct TABLE): Remove result field.
37205         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
37206         Use new locale_file interface.
37207         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
37208         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
37209         * locale/programs/ld-address.c (address_output): Use new
37210         locale_file interface.
37211         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
37212         NO_ADD_LOCALE.
37213         (collate_finish): Don't call collseq_table_finalize.
37214         (collate_output): Use new locale_file interface.
37215         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
37216         in file.
37217         (NO_FINALIZE): Change to NO_ADD_LOCALE.
37218         (TABLE): Move defines earlier in file.
37219         (ELEMENT): Likewise.
37220         (DEFAULT): Likewise.
37221         (wctrans_table_add): Move macro and inline function earlier in
37222         file.
37223         (struct wctype_table): Move type earlier in file.
37224         (add_locale_wctype_table): New static prototype.
37225         (struct locale_ctype_t): Use logical types instead of struct iovec
37226         pointers for members.
37227         (ctype_output): Use new locale_file interface.
37228         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
37229         new locale_file interface.
37230         (allocate_arrays): Update for use of new locale_file interface.
37231         * locale/programs/ld-identification.c (identification_output): Use
37232         new locale_file interface.
37233         * locale/programs/ld-measurement.c (measurement_output): Likewise.
37234         * locale/programs/ld-messages.c (messages_output): Likewise.
37235         * locale/programs/ld-monetary.c (monetary_output): Likewise.
37236         * locale/programs/ld-name.c (name_output): Likewise.
37237         * locale/programs/ld-numeric.c (numeric_output): Likewise.
37238         * locale/programs/ld-paper.c (paper_output): Likewise.
37239         * locale/programs/ld-telephone.c (telephone_output): Likewise.
37240         * locale/programs/ld-time.c (time_output): Likewise.
37242 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37244         * benchtests/Makefile: Add memrchr benchmark.
37245         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
37246         benchmark as memrchr.
37247         * benchtests/bench-memrchr-ifunc.c: New file.
37248         * benchtests/bench-memrchr.c: New file.
37250 2013-09-06   Will Newton  <will.newton@linaro.org>
37252         * benchtests/Makefile (string-bench): Add memcpy.
37254 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
37255             Cong Wang  <amwang@redhat.com>
37257         [BZ #15850]
37258         * sysdeps/unix/sysv/linux/bits/in.h
37259         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
37260         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
37261         before __USE_KERNEL_IPV6_DEFS uses.
37262         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
37263         IPPROTO_BEETPH.
37264         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
37265         sockaddr_in6, or ipv6_mreq.
37267 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37269         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
37270         memory access for final bytes in some large inputs.
37271         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
37273 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37275         * string/test-memrchr.c: New file.
37276         * string/test-memrchr-ifunc.c: New file.
37277         * string/Makefile: Add new memrchr testcase.
37279 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
37281         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
37282         fanotify_init returns EPERM.
37284 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37286         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
37287         errors.
37288         (top level): Treat second token from macro or constant entries for
37289         allowed headers as allowed.
37290         * include/complex.h: Condition internal declarations on
37291         [!_ISOMAC].
37292         * include/fenv.h: Condition include of <stdbool.h> and internal
37293         declarations on [!_ISOMAC].
37295 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
37297         [BZ #15923]
37298         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
37300 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37302         * configure.in (--enable-versioning): Remove configure option.
37303         (libc_cv_asm_symver_directive): Remove configure test.
37304         (libc_cv_ld_version_script_option): Likewise.
37305         (VERSIONING): Remove variable and AC_SUBST.
37306         (DO_VERSIONING): Remove AC_DEFINE.
37307         * configure: Regenerated.
37308         * config.h.in (DO_VERSIONING): Remove macro.
37309         * Makerules [$(versioning) = yes]: Change conditionals to
37310         [$(build-shared) = yes].
37311         * config.make.in (versioning): Remove variable.
37312         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
37313         [$(build-shared) = yes].
37314         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
37315         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
37316         * elf/Makefile [$(versioning) = yes]: Change conditionals to
37317         [$(build-shared) = yes].
37318         * extra-lib.mk [$(versioning) = yes]: Likewise.
37319         * hurd/Makefile [$(versioning) = yes]: Likewise.
37320         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
37321         [SHARED].
37322         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
37323         [SHARED].
37324         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37325         [SHARED && !NO_HIDDEN].
37326         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
37327         [SHARED].
37328         [SHARED && DO_VERSIONING]: Likewise..
37329         * libio/Makefile [$(versioning) = yes]: Change conditionals to
37330         [$(build-shared) = yes].
37331         * manual/install.texi (--disable-versioning): Remove
37332         documentation.
37333         * INSTALL: Regenerated.
37334         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
37335         to [SHARED].
37336         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
37337         [$(build-shared) = yes].
37338         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
37339         * sysdeps/i386/i686/multiarch/strstr-c.c
37340         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37341         [SHARED && !NO_HIDDEN].
37342         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
37343         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
37344         * sysdeps/powerpc/powerpc32/dl-machine.c
37345         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
37346         * sysdeps/powerpc/powerpc32/sysdep.h
37347         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
37348         to [SHARED && PIC && !NO_HIDDEN].
37349         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
37350         conditional to [SHARED].
37352 2013-09-04   Will Newton  <will.newton@linaro.org>
37354         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
37355         * benchtests/bench-string.h: Include bench-timing.h instead
37356         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
37357         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
37358         call to HP_TIMING_DIFF_INIT.
37359         * benchtests/bench-memccpy.c: Use bench-timing.h macros
37360         instead of hp-timing.h macros.
37361         * benchtests/bench-memchr.c: Likewise.
37362         * benchtests/bench-memcmp.c: Likewise.
37363         * benchtests/bench-memcpy.c: Likewise.
37364         * benchtests/bench-memmem.c: Likewise.
37365         * benchtests/bench-memmove.c: Likewise.
37366         * benchtests/bench-memset.c: Likewise.
37367         * benchtests/bench-rawmemchr.c: Likewise.
37368         * benchtests/bench-strcasecmp.c: Likewise.
37369         * benchtests/bench-strcasestr.c: Likewise.
37370         * benchtests/bench-strcat.c: Likewise.
37371         * benchtests/bench-strchr.c: Likewise.
37372         * benchtests/bench-strcmp.c: Likewise.
37373         * benchtests/bench-strcpy.c: Likewise.
37374         * benchtests/bench-strcpy_chk.c: Likewise.
37375         * benchtests/bench-strlen.c: Likewise.
37376         * benchtests/bench-strncasecmp.c: Likewise.
37377         * benchtests/bench-strncat.c: Likewise.
37378         * benchtests/bench-strncmp.c: Likewise.
37379         * benchtests/bench-strncpy.c: Likewise.
37380         * benchtests/bench-strnlen.c: Likewise.
37381         * benchtests/bench-strpbrk.c: Likewise.
37382         * benchtests/bench-strrchr.c: Likewise.
37383         * benchtests/bench-strspn.c: Likewise.
37384         * benchtests/bench-strstr.c: Likewise.
37386 2013-09-04  Will Newton  <will.newton@linaro.org>
37388         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
37390 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
37392         [BZ #15427]
37393         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37394         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
37395         * math/libm-test.inc (lgamma_test_data): Add more tests.
37396         * sysdeps/i386/fpu/libm-test-ulps: Update.
37397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37399 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
37401         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
37402         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37403         Add ifunc.
37404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37405         Add strcmp-sse2-unaligned
37406         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
37408 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37410         * Versions.def (libc): Add GLIBC_2.19.
37412 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37414         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
37415         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
37417 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
37419         [BZ #14155]
37420         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
37421         intermediate calculations in recurrence.
37422         (__ieee754_ynf): Likewise.
37423         * math/libm-test.inc (jn_test_data): Do not allow spurious
37424         underflow exception.  Add more tests.
37425         (yn_test_data): Add more tests.
37426         * sysdeps/i386/fpu/libm-test-ulps: Update.
37427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37429 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
37431         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
37433 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37435         * csu/init-first.c: Fix then/than typos.
37436         * locale/programs/ld-collate.c: Likewise.
37437         * locale/programs/linereader.h: Likewise.
37438         * manual/charset.texi: Likewise.
37439         * manual/filesys.texi: Likewise.
37440         * manual/stdio.texi: Likewise.
37441         * manual/string.texi: Likewise.
37442         * stdlib/fmtmsg.c: Likewise.
37443         * sysdeps/i386/stpncpy.S: Likewise.
37444         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37445         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37446         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37447         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37449 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37451         * elf/dl-open.c: Fix typos.
37452         * iconvdata/gbbig5.c: Likewise.
37453         * iconvdata/iso-2022-jp.c: Likewise.
37454         * iconv/gconv_int.h: Likewise.
37455         * iconv/loop.c: Likewise.
37456         * nis/rpcsvc/nis.h: Likewise.
37457         * resolv/ns_name.c: Likewise.
37458         * stdio-common/vfscanf.c: Likewise.
37459         * streams/stropts.h: Likewise.
37460         * sunrpc/rpc_thread.c: Likewise.
37461         * sysdeps/i386/strpbrk.S: Likewise.
37462         * sysdeps/ieee754/k_standard.c: Likewise.
37463         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37464         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37465         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
37466         * sysdeps/mach/hurd/profil.c: Likewise.
37467         * sysdeps/s390/dl-procinfo.h: Likewise.
37468         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
37469         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37470         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
37471         * sysdeps/x86_64/dl-trampoline.S: Likewise.
37472         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37474 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
37476         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
37477         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
37479 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
37481         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
37482         aix specific files.
37483         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
37484         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
37485         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
37486         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
37487         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
37488         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
37489         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
37490         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
37492 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
37493             Roland McGrath  <roland@hack.frob.com>
37495         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
37496         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
37498 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37500         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
37501         __executable_start symbol instead of _start.
37503 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
37505         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
37506         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
37507         Move macros to...
37508         * sysdeps/gnu/ldsodefs.h: ... this new file.
37510         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
37511         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
37512         instead of ELFOSABI_LINUX.
37514         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
37515         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
37516         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
37517         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
37518         Likewise.
37519         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
37520         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
37521         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
37522         Likewise.
37523         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37524         (ibm_extended_long_double): Add ieee_nan member.
37525         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
37526         (do_test): New function.
37528         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
37529         TEST_TRUNC.
37530         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
37531         functions, renamed from truncdfsf_test, trunctfsf_test,
37532         trunctfdf_test.
37533         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
37534         functions.
37535         (do_test): Run all these.
37537 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
37539         * argp/argp-help.c: Fix typos.
37540         * argp/argp-parse.c: Likewise.
37541         * debug/backtracesyms.c: Likewise.
37542         * elf/elf.h: Likewise.
37543         * malloc/malloc.c: Likewise.
37544         * nis/nis_print.c: Likewise.
37545         * resolv/res_comp.c: Likewise.
37546         * stdlib/stdlib.h: Likewise.
37547         * sunrpc/clnt_tcp.c: Likewise.
37548         * sunrpc/clnt_udp.c: Likewise.
37549         * sunrpc/clnt_unix.c: Likewise.
37550         * sysdeps/unix/bsd/ptsname.c: Likewise.
37551         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37552         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
37553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
37554         Likewise.
37555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
37556         Likewise.
37557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37558         Likewise.
37559         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37561 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37563         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
37564         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37566 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
37568         [BZ #15897]
37569         * dlfcn/Makefile (tests): Add bug-dl-leaf.
37570         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
37571         ($(objpfx)bug-dl-leaf): New rule.
37572         ($(objpfx)bug-dl-leaf.so): Likewise.
37573         ($(objpfx)bug-dl-leaf.out): Likewise.
37574         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
37575         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
37576         * dlfcn/bug-dl-leaf.c: New test.
37577         * dlfcn/bug-dl-leaf-lib.c: Likewise.
37578         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
37579         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
37580         (dlclose): Likewise.
37581         (dlmopen): Likewise.
37583 2013-08-27  Roland McGrath  <roland@hack.frob.com>
37585         * include/netdb.h [!_ISOMAC]:
37586         Don't include <tls.h>.
37587         (h_errno, __libc_h_errno): Move declaration and macros out of
37588         [_LIBC_REENTRANT].
37590         * include/resolv.h [_RESOLV_H_]:
37591         Don't include <tls.h>.
37592         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
37593         * resolv/res_libc.c: Don't include <tls.h>.
37594         (_res): Use __attribute__ ((nocommon)) in place of
37595         __attribute__ ((section (".bss"))).
37597         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
37598         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
37600         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
37602         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
37603         only under [SIOCGIFCONF && SIOCGIFNETMASK].
37605         * resolv/res_mkquery.c: Include <sys/time.h>.
37607         * inet/ifreq.c: Moved to ...
37608         * sysdeps/unix/ifreq.c: ... here.
37609         * inet/ifreq.c: New file, true stub version.
37611         * socket/sa_len.c: New file.
37612         * socket/Makefile (aux): Add it.
37613         * sysdeps/unix/sysv/linux/Makefile
37614         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
37615         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
37616         and #include <socket/sa_len.c>.
37617         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
37618         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
37620         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
37621         * bits/socket.h: ... here.
37623         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
37624         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
37625         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
37627 2013-08-27  Andreas Schwab  <schwab@suse.de>
37629         [BZ #15736]
37630         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
37631         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
37632         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
37633         * string/test-strcasecmp.c (test_main): Run tests in several
37634         locales.
37635         * string/test-strncasecmp.c (test_main): Likewise.
37637         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
37638         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
37639         to __strcasecmp_nonascii and __strncasecmp_nonascii.
37640         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
37641         (__strncasecmp_ssse3) [PIC]: Likewise.
37643 2013-08-26  Roland McGrath  <roland@hack.frob.com>
37645         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
37647         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
37648         instead of explicitly declaring xdecrypt.
37649         * nis/nss_nis/nis-publickey.c: Likewise.
37651 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37653         [BZ #15890]
37654         * nscd/aicache.c: Include res_hconf.h.
37655         (addhstaiX): Initialize res_hconf.
37657 2013-08-26  Andreas Schwab  <schwab@suse.de>
37659         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
37660         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
37662 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37664         * nscd/aicache.c (addhstaiX): Fix indentation.
37666 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
37668         * configure.ac: Quote $build_pt_chown test.
37669         * configure: Regenerated.
37671 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
37673         [BZ #15532]
37674         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
37675         * math/s_cexpf.c (__cexpf): Likewise.
37676         * math/s_cexpl.c (__cexpl): Likewise.
37677         * math/libm-test.inc (cexp_test_data): Correct expected return
37678         value for NaN + i0.  Add another test.
37680 2013-08-22  David S. Miller  <davem@davemloft.net>
37682         * po/ca.po: Update Catalan translation from translation project.
37683         * po/uk.po: Add Ukrainian translations from translation project.
37685 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
37687         [BZ #15797]
37688         * math/s_fdim.c (__fdim): Check for infinite arguments if result
37689         is infinite, not alongside NaN test.
37690         * math/s_fdimf.c (__fdimf): Likewise.
37691         * math/s_fdiml.c (__fdiml): Likewise.
37692         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
37693         errno is unchanged.
37695 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
37697         * argp/argp-help.c: Fix typos.
37698         * crypt/speeds.c: Likewise.
37699         * csu/check_fds.c: Likewise.
37700         * elf/dl-load.c: Likewise.
37701         * elf/dl-open.c: Likewise.
37702         * elf/reldep3.c: Likewise.
37703         * elf/reldep.c: Likewise.
37704         * elf/sprof.c: Likewise.
37705         * iconv/iconv_charmap.c: Likewise.
37706         * iconv/skeleton.c: Likewise.
37707         * iconv/strtab.c: Likewise.
37708         * io/lockf64.c: Likewise.
37709         * libio/libioP.h: Likewise.
37710         * resolv/gai_notify.c: Likewise.
37711         * resolv/ns_name.c: Likewise.
37712         * resolv/ns_samedomain.c: Likewise.
37713         * resolv/res_send.c: Likewise.
37714         * stdlib/random.c: Likewise.
37715         * sunrpc/rpc/xdr.h: Likewise.
37716         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
37717         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37718         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37719         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37720         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37721         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37722         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37723         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37724         * sysdeps/mach/hurd/check_fds.c: Likewise.
37725         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37726         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37727         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37728         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37729         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37730         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37731         * sysdeps/pthread/aio_notify.c: Likewise.
37732         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
37733         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
37734         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
37735         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37736         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37738 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37740         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
37741         version if bit_Slow_SSE4_2 is set.
37742         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37743         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37745 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37747         [BZ #15867]
37748         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
37749         trampoline stack frame information.
37750         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
37751         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
37752         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
37753         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
37754         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
37755         * sysdeps/unix/sysv/linux/powerpc/init-first.c
37756         (_libc_vdso_platform_setup): Initialize the signal trampolines.
37757         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
37758         sa_flags value.
37759         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
37760         interrupting a syscall and set with option SA_SIGINFO.
37762 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
37764         [BZ #15531]
37765         * math/s_cproj.c (__cproj): Only return an infinity if one part of
37766         argument is infinite.
37767         * math/s_cprojf.c (__cprojf): Likewise.
37768         * math/s_cprojl.c (__cprojl): Likewise.
37769         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
37770         * math/libm-test.inc (cproj_test_data): Add more tests.
37772         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
37774         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
37775         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
37776         size.  Use __ffs to determine corresponding shift.
37778 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
37779             Roland McGrath  <roland@hack.frob.com>
37781         * Makefile (INSTALL): Remove trailing blank lines from output of
37782         makeinfo.
37784 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37786         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
37787         Align 32 bit compat elf_greg to 8 bytes.
37789 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
37791         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
37793 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37795         * string/strcoll_l.c (coll_seq): New structure.
37796         (get_next_seq_cached): New function.
37797         (get_next_seq): New function.
37798         (do_compare): New function.
37799         (STRCOLL): Use GNU style definition.  Simplify implementation
37800         by using get_next_seq, get_next_seq_cached and do_compare.
37802 2013-08-16  Florian Weimer  <fweimer@redhat.com>
37804         [BZ #14699]
37805         CVE-2013-4237
37806         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
37807         member.
37808         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
37809         member.
37810         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
37811         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
37812         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
37813         conditional.
37814         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
37815         GETDENTS_64BIT_ALIGNED.
37816         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37817         * manual/filesys.texi (Reading/Closing Directory): Document
37818         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
37819         strongly.
37820         * manual/conf.texi (Limits for Files): Add portability note to
37821         NAME_MAX, PATH_MAX.
37822         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
37824 2013-08-13  Andreas Schwab  <schwab@suse.de>
37826         [BZ #15749]
37827         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
37828         of fabs.
37829         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
37830         LDBL_MAX_EXP >= 16384]: Add tests for it.
37832 2013-08-12  David S. Miller  <davem@davemloft.net>
37834         * version.h (RELEASE): Set to "development".
37835         (VERSION): Set to "2.18.90".
37836         * NEWS: Add 2.19 section.
37838 2013-08-03  David S. Miller  <davem@davemloft.net>
37840         * po/ko.po: Update Korean translation from translation project.
37842 2013-08-01  David S. Miller  <davem@davemloft.net>
37844         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
37845         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
37846         Bilka.
37848 2013-07-30  David S. Miller  <davem@davemloft.net>
37850         * po/fr.po: Update French translation from translation project.
37852 2013-07-28  David S. Miller  <davem@davemloft.net>
37854         * po/cs.po: Update Czech translation from translation project.
37856         * po/sv.po: Update Swedish translation from translation project.
37858 2013-07-27  David S. Miller  <davem@davemloft.net>
37860         * po/eo.po: Update Esperanto translation from translation project.
37862         * po/vi.po: Update Vietnamese translation from translation project.
37864         * po/de.po: Update German translation from translation project.
37866 2013-07-26  David S. Miller  <davem@davemloft.net>
37868         * po/bg.po: Update Bulgarian translation from translation project.
37870         * po/nl.po: Update Dutch translation from translation project.
37871         * po/pl.po: Update Polish translation from translation project.
37872         * po/ru.po: Update Russian translation from translation project.
37874 2013-07-24  David S. Miller  <davem@davemloft.net>
37876         * po/libc.pot: Update.
37878 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37880         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
37881         variable page size.
37882         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
37883         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
37884         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
37886 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37888         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
37890 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37891             Andreas Schwab  <schwab@suse.de>
37892             Roland McGrath  <roland@hack.frob.com>
37893             Joseph Myers  <joseph@codesourcery.com>
37894             Carlos O'Donell  <carlos@redhat.com>
37896         [BZ #15755]
37897         * config.h.in: Define HAVE_PT_CHOWN.
37898         * config.make.in (build-pt-chown): New variable.
37899         * configure.in (--enable-pt_chown): New configure option.
37900         * configure: Regenerate.
37901         * login/Makefile: Include Makeconfig.  Build pt_chown only if
37902         build-pt-chown is enabled.
37903         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
37904         pt_chown to fix pty ownership.
37905         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
37906         CLOSE_ALL_FDS.
37907         * manual/install.texi (Configuring and compiling): Mention
37908         --enable-pt_chown. Add @findex for grantpt.
37909         * INSTALL: Regenerate.
37911 2013-07-20  David S. Miller  <davem@davemloft.net>
37913         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
37914         difference between 32-bit and 64-bit.
37916 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
37918         [BZ #15711]
37919         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
37920         Avoid system header dependency with -ffreestanding.
37921         ($(objpfx)bits/syscall%d): Likewise.
37923 2013-07-13  David S. Miller  <davem@davemloft.net>
37925         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
37926         underflows from atanl/atan2l due to bug 15319.
37927         (casinh_test_data): Likewise.
37929 2013-07-07  David S. Miller  <davem@davemloft.net>
37931         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37933 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
37935         * sysdeps/i386/fpu/libm-test-ulps: Update.
37936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37938 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37940         * configure.in (--enable-lock-elision): Fix message text.
37941         * INSTALL: Regenerate.
37942         * configure: Regenerate.
37944 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37948 2013-07-03  Andreas Jaeger  <aj@suse.de>
37950         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
37951         define.
37952         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
37953         (ptrace_peeksiginfo_args): Add.
37954         (__ptrace_peeksiginfo_flags): Add.
37955         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37956         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37957         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37959 2013-07-03  Allan McRae  <allan@archlinux.org>
37961         * sysdeps/i386/fpu/libm-test-ulps: Update.
37963 2013-07-02  David S. Miller  <davem@davemloft.net>
37965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37967 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
37969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37971 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37973         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37976 2013-07-02  Andi Kleen <ak@linux.intel.com>
37978         * config.h.in (ENABLE_LOCK_ELISION): Add.
37979         * configure.in (--enable-lock-elision): Add option.
37980         * manual/install.texi: Document --enable lock elision.
37981         * configure: Regenerate
37982         * INSTALL: Regenerate.
37984 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
37986         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
37987         SSE4.2 strcasecmp for libc.a.
37988         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37990 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37992         [BZ #13304]
37993         * soft-fp/op-common.h (_FP_FMA): New macro.
37994         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
37995         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
37996         (_FP_MUL_MEAT_1_imm): ... here.
37997         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
37998         (_FP_MUL_MEAT_1_wide): ... here.
37999         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
38000         (_FP_MUL_MEAT_1_hard): ... here.
38001         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
38002         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
38003         (_FP_MUL_MEAT_2_wide): ... here.
38004         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
38005         (_FP_MUL_MEAT_2_wide_3mul): ... here.
38006         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
38007         (_FP_MUL_MEAT_2_gmp): ... here.
38008         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
38009         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
38010         (_FP_MUL_MEAT_4_wide): ... here.
38011         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
38012         (_FP_MUL_MEAT_4_gmp): ... here.
38013         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
38014         (_FP_WFRACBITS_DW_S): Likewise.
38015         (_FP_WFRACXBITS_DW_S): Likewise.
38016         (_FP_HIGHBIT_DW_S): Likewise.
38017         (FP_FMA_S): Likewise.
38018         (_FP_FRAC_HIGH_DW_S): Likewise.
38019         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
38020         (_FP_WFRACBITS_DW_D): Likewise.
38021         (_FP_WFRACXBITS_DW_D): Likewise.
38022         (_FP_HIGHBIT_DW_D): Likewise.
38023         (FP_FMA_D): Likewise.
38024         (_FP_FRAC_HIGH_DW_D): Likewise.
38025         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
38026         (_FP_WFRACBITS_DW_E): Likewise.
38027         (_FP_WFRACXBITS_DW_E): Likewise.
38028         (_FP_HIGHBIT_DW_E): Likewise.
38029         (FP_FMA_E): Likewise.
38030         (_FP_FRAC_HIGH_DW_E): Likewise.
38031         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
38032         (_FP_WFRACBITS_DW_Q): Likewise.
38033         (_FP_WFRACXBITS_DW_Q): Likewise.
38034         (_FP_HIGHBIT_DW_Q): Likewise.
38035         (FP_FMA_Q): Likewise.
38036         (_FP_FRAC_HIGH_DW_Q): Likewise.
38037         * soft-fp/fmasf4.c: New file.
38038         * soft-fp/fmadf4.c: Likewise.
38039         * soft-fp/fmatf4.c: Likewise.
38041 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38044         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
38045         Silvermont.
38046         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
38047         macro.
38048         (index_Slow_SSE4_2): Likewise.
38049         (index_Prefer_PMINUB_for_stringop): Likewise.
38050         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
38051         bit_Slow_SSE4_2 is set.
38052         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38053         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38055 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38057         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
38058         rtld_global._dl_hwcap2.
38059         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
38060         POWER8.
38061         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
38062         POWER8 feature descriptions defined in _dl_hwcap2.
38063         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
38064         string handling for POWER8 feature bits.
38065         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
38066         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
38067         _dl_powerpc_cap_flags.
38068         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
38069         * sysdeps/powerpc/rtld-global-offsets.sym
38070         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
38071         _dl_hwcap2 in the rtld_global_ro structure.
38073 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38075         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
38076         hardware capabilities in support of AT_HWCAP2.
38077         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
38078         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
38079         GLRO(dl_hwcap2).
38080         (_dl_show_auxv): Add support for calling _dl_procinfo to display
38081         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
38082         explicitly the unknown a_type display mechanism is used.
38083         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
38084         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
38085         struct member.
38086         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
38087         to macro prototype for AT_HWCAP2 support.
38088         * sysdeps/i386/dl-procinfo.h: Likewise.
38089         * sysdeps/s390/dl-procinfo.h: Likewise.
38090         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
38091         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
38092         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
38093         return -1 for unknown a_type display fallback.
38094         * sysdeps/sparc/dl-procinfo.h: Likewise.
38095         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
38096         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
38098 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
38100         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
38101         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
38103 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
38105         [BZ #12492]
38106         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
38107         mprotect making __stack_prot writable.
38109 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38110             Joseph Myers  <joseph@codesourcery.com>
38112         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
38113         as being properly aligned.
38115 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
38117         * dlfcn/modstatic5.c: New file.
38118         * dlfcn/tststatic5.c: New file.
38119         * dlfcn/Makefile (tests): Add tststatic5.
38120         (tests-static): Likewise.
38121         (modules-names): Add modstatic5.
38122         (tststatic5-ENV): New variable.
38123         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
38125         [BZ #15022]
38126         * elf/dl-support.c (_dl_main_map): New variable.
38127         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
38128         (_dl_nns, _dl_load_adds): Set to 1.
38129         (_dl_initial_searchlist): Refer to _dl_main_map.
38130         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
38131         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
38132         call to _dl_get_origin.
38133         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
38134         around call_map.
38135         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
38136         * dlfcn/modstatic3.c: New file.
38137         * dlfcn/tststatic3.c: New file.
38138         * dlfcn/tststatic4.c: New file.
38139         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
38140         (tests-static): Likewise.
38141         (modules-names): Add modstatic3.
38142         (tststatic3-ENV, tststatic4-ENV): New variables.
38143         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
38144         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38146 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
38148         * configure.in (CC): Require GCC version 4.4 or later.
38149         * configure: Regenerated.
38150         * manual/install.texi (Tools for Compilation): Update GCC version
38151         requirement.
38152         * INSTALL: Regenerated.
38154 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38156         [BZ #15674]
38157         * string/test-memcmp.c (check2): New.
38158         (main): Call check2.
38160         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
38162 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
38164         [BZ #15022]
38165         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
38166         over to...
38167         (dl_open_worker) [!SHARED]: ... here.
38169 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38171         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
38173 2013-06-25  Richard Henderson  <rth@redhat.com>
38175         * locale/programs/locarchive.c: Include <libc-internal.h>
38177 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
38179         * manual/texinfo.tex: Update to version 2013-06-21.17, with
38180         trailing whitespace removed.
38182 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38184         [BZ #10283]
38185         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
38186         * locale/programs/locarchive.c: Include libc-mmap.h.
38187         (prepare_address_space): Take two new outputs (the mmap base and len).
38188         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
38189         values.
38190         (create_archive): Declare new mmap base and len values for
38191         prepare_address_space, and store the result in ah.
38192         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
38193         (enlarge_archive): If ah->mmap_base is not NULL, use that and
38194         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38195         Declare new mmap base and len values for
38196         prepare_address_space, and store the result in new_ah.
38197         (open_archive): Declare new mmap base and len values for
38198         prepare_address_space, and store the result in ah.
38199         (close_archive): If ah->mmap_base is not NULL, use that and
38200         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38201         * sysdeps/generic/libc-mmap.h: New file.
38203 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38205         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38206         (ALIGN_UP): Likewise.
38207         (PTR_ALIGN_DOWN): Likewise.
38208         (PTR_ALIGN_UP): Likewise.
38210 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38212         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
38213         entry mapped to PPC_PLATFORM_POWER8.
38214         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
38215         POWER8.
38216         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
38217         (_dl_string_platform): Add case for exporting platform position for
38218         POWER8.
38219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
38220         search path to sysdeps/powerpc/powerpc32/power8 directory.
38221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
38222         search path to sysdeps/powerpc/powerpc64/power8 directory.
38223         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
38224         power7 directories.
38225         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
38226         power7 directories.
38228 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38230         * INSTALL: Regenerate.
38232         * nscd/connections.c (nscd_init): Fix comment.
38234 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
38236         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
38238         [BZ #15667]
38239         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
38240         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
38242 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38244         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
38245         DL_DST_REQ_STATIC.
38246         (DL_DST_REQ_STATIC): Remove macro.
38248 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
38250         [BZ #7006]
38251         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
38252         with a shift of 0 bits.
38254 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38256         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
38257         $(tststatic-ENV).
38259 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38261         [BZ #15655]
38262         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
38264 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38266         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
38267         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
38268         accepts -fno-tree-loop-distribute-patterns.
38269         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
38270         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
38271         recursive call.
38272         * string/memset.c (memset): Likewise.
38273         * string/test-memmove.c (simple_memmove): Disable loop transformation
38274         to library calls.
38275         * string/test-memset.c (simple_memset): Likewise.
38276         * benchtests/bench-memmove.c (simple_memmove): Likewise.
38277         * benchtests/bench-memset.c (simple_memset): Likewise.
38278         * configure: Regenerated.
38280 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
38282         * math/test-misc.c (main): Ignore fesetround failure when failures
38283         of subsequent rounding tests would be ignored.
38285         [BZ #15654]
38286         * math/fedisblxcpt.c (fedisableexcept): Return 0.
38287         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
38288         * math/fegetenv.c (__fegetenv): Return 0.
38289         * math/fegetexcept.c (fegetexcept): Return 0.
38290         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
38291         FE_TONEAREST.
38292         * math/feholdexcpt.c (feholdexcept): Return 0.
38293         * math/fesetenv.c (__fesetenv): Return 0.
38294         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
38295         argument FE_TONEAREST.
38296         * math/feupdateenv.c (__feupdateenv): Return 0.
38297         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
38299 2013-06-18  Roland McGrath  <roland@hack.frob.com>
38301         * elf/rtld-Rules (rtld-compile-command.S): New variable.
38302         (rtld-compile-command.s, rtld-compile-command.c): New variables.
38303         ($(objpfx)rtld-%.os rules): Use them.
38305 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38307         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
38308         fields.
38310 2013-06-17  Roland McGrath  <roland@hack.frob.com>
38312         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
38313         length of target pattern, then descending length of dependency pattern.
38314         * configure.in (AWK): Require gawk 3.1.2 or newer.
38315         * manual/install.texi (Tools for Compilation): Say that we do.
38316         * configure: Regenerated.
38318         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
38319         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
38320         * scripts/sysd-rules.awk: ... this new script.
38321         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
38322         than a glob-style pattern.
38324 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
38326         * math/test-misc.c (main): Do not treat incorrectly rounded
38327         conversions as failure unless ROUNDING_TESTS passes.
38329 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
38331         [BZ #15631]
38332         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
38333         restore exception state around main square root computation, then
38334         check for inexactness explicitly.
38336         * math/libm-test.inc (fma_test_data): Add another test.
38338 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38340         * manual/threads.texi (Non-POSIX Extensions): New document
38341         node.  Document pthread_getattr_default_np and
38342         pthread_setattr_default_np.
38344         * Versions.def (libpthread): Add GLIBC_2.18.
38345         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
38346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38347         Likewise.
38348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38349         Likewise.
38350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38351         Likewise.
38352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38353         Likewise.
38354         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
38355         Likewise.
38356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38357         Likewise.
38358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38359         Likewise.
38360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38361         Likewise.
38362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38363         Likewise.
38365 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38368         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
38370 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38371             H.J. Lu  <hjl.tools@gmail.com>
38373         [BZ #15627]
38374         * sysdeps/x86_64/rtld-memset.c: Remove file.
38375         * sysdeps/x86_64/rtld-memset.S: New file.
38377 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
38379         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
38380         (test_in_one_mode): Take arguments for whether the rounding mode
38381         is supported for each floating-point type.
38382         (do_test): Pass new arguments to test_in_one_mode using
38383         ROUNDING_TESTS.
38385 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38387         * posix/tst-waitid.c (do_test): Distinguish different instances of
38388         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
38389         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
38390         before entering the kernel for waitpid.
38392 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38394         * NEWS: Fix note on clock function precision.  Text by Roland
38395         McGrath.
38397 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38399         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
38400         it into place only when and if the sanity check passes.
38402 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
38404         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
38405         output for whether conversion result is exact.  Take argument
38406         indicating whether type is IBM long double.
38407         (round_for_all): Change need_exact field to ibm_ld.
38408         * stdlib/tst-strtod-round.c (struct exactness): New type.
38409         (struct test): Change bool ld_ok field to struct exactness exact.
38410         (TEST): Update all definitions for change to field.
38411         (tests): Regenerate array contents.
38412         (test_in_one_mode): Take pointer to new field instead of old ld_ok
38413         field value.  Check for IBM long double here.
38414         (do_test): Update calls to test_in_one_mode.
38416 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38418         [BZ #12515]
38419         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
38420         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
38422 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38424         [BZ #15605]
38425         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
38426         generated by the compiler on loop optimizations.
38427         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
38428         general definitions.
38430 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
38432         * math/bug-nextafter.c: Include <math-tests.h>.
38433         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38434         the relevant type.
38435         * math/bug-nexttoward.c: Include <math-tests.h>.
38436         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38437         the relevant type.
38438         * math/test-misc.c: Include <math-tests.h>.
38439         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38440         the relevant type.
38442 2013-06-12  Andreas Jaeger  <aj@suse.de>
38444         * po/ia.po: Update Interlingua translation from translation
38445         project.
38447 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38449         * include/fenv.h: Include stdbool.h.
38450         (struct rm_ctx): New structure.
38451         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
38452         Define macro.
38453         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
38454         (SET_RESTORE_ROUNDF): Likewise.
38455         (SET_RESTORE_ROUNDL): Likewise.
38456         (SET_RESTORE_ROUND_NOEX): Likewise.
38457         (SET_RESTORE_ROUND_NOEXF): Likewise.
38458         (SET_RESTORE_ROUND_NOEXL): Likewise.
38459         (SET_RESTORE_ROUND_53BIT): Likewise.
38460         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
38461         (libc_feresetround_noexf_ctx): Likewise.
38462         (libc_feresetround_noexl_ctx): Likewise.
38463         (libc_feholdsetround_53bit_ctx): Likewise.
38464         (libc_feresetround_53bit_ctx): Likewise.
38465         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
38466         (libc_feholdexcept_setround_sse_ctx): New function.
38467         (libc_fesetenv_sse_ctx): Likewise.
38468         (libc_feupdateenv_sse_ctx): Likewise.
38469         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
38470         (libc_feholdexcept_setround_387_ctx): Likewise.
38471         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
38472         (libc_feholdsetround_387_prec_ctx): Likewise.
38473         (libc_feholdsetround_387_ctx): Likewise.
38474         (libc_feholdsetround_387_53bit_ctx): Likewise.
38475         (libc_feholdsetround_sse_ctx): Likewise.
38476         (libc_feresetround_sse_ctx): Likewise.
38477         (libc_feresetround_387_ctx): Likewise.
38478         (libc_feupdateenv_387_ctx): Likewise.
38479         (libc_feholdexcept_setroundf_ctx): Define macro.
38480         (libc_fesetenvf_ctx): Likewise.
38481         (libc_feupdateenvf_ctx): Likewise.
38482         (libc_feholdsetroundf_ctx): Likewise.
38483         (libc_feresetroundf_ctx): Likewise.
38484         (libc_feholdexcept_setround_ctx): Likewise.
38485         (libc_fesetenv_ctx): Likewise.
38486         (libc_feupdateenv_ctx): Likewise.
38487         (libc_feholdsetround_ctx): Likewise.
38488         (libc_feresetround_ctx): Likewise.
38489         (libc_feholdexcept_setroundl_ctx): Likewise.
38490         (libc_feupdateenvl_ctx): Likewise.
38491         (libc_feholdsetroundl_ctx): Likewise.
38492         (libc_feresetroundl_ctx): Likewise.
38493         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
38494         (libc_feresetround_53bit_ctx): Likewise.
38496 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38498         * locale/iso-639.def: Convert to UTF-8.
38500 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
38502         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
38503         (EXCEPTION_TESTS_double): Likewise.
38504         (EXCEPTION_TESTS_long_double): Likewise.
38505         (EXCEPTION_TESTS): Likewise.
38506         * math/libm-test.inc (test_exceptions): Only test exceptions if
38507         EXCEPTION_TESTS (FLOAT).
38509 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38511         * benchtests/Makefile (string-bench): Add strcpy_chk and
38512         stpcpy_chk.
38513         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
38514         * benchtests/bench-stpcpy_chk.c: New file.
38515         * benchtests/bench-strcpy_chk-ifunc.c: New file.
38516         * benchtests/bench-strcpy_chk.c: New file.
38517         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
38518         code.
38519         (do_test): Likewise.
38521 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38523         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
38524         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
38525         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
38526         with tabs where appropriate.
38527         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
38528         dl-procinfo.h.
38529         [PPC_PLATFORM_PPC440]: Likewise.
38530         [PPC_PLATFORM_PPC464]: Likewise.
38531         [PPC_PLATFORM_PPC476]: Likewise.
38532         (_dl_string_platform): Add support for detecting ppc405, ppc440,
38533         ppc464, and ppc476 platform strings merging from ports/
38534         dl-procinfo.h.
38536 2013-06-11  Andreas Schwab  <schwab@suse.de>
38538         [BZ #14991]
38539         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
38540         (from_ucs4_idx): Regenerate.
38541         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
38542         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
38543         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
38544         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
38545         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
38546         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
38547         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
38548         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
38549         from FROM_LOOP and TO_LOOP specific macros.
38550         (BODY): Handle combining characters.
38551         * iconvdata/BIG5HKSCS.irreversible: Update.
38552         * iconvdata/BIG5HKSCS.precomposed: New file.
38553         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
38554         characters.
38555         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
38557 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38559         * include/sys/time.h: Fix indentation and add copyright header.
38561         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
38562         (do_test): Likewise.
38563         * string/test-memchr.c (do_one_test): Likewise.
38564         (do_test): Likewise.
38565         * string/test-memcmp.c (do_one_test): Likewise.
38566         (do_test): Likewise.
38567         * string/test-memcpy.c (do_one_test): Likewise.
38568         (do_test): Likewise.
38569         * string/test-memmem.c (do_one_test): Likewise.
38570         (do_test): Likewise.
38571         (do_random_tests): Likewise.
38572         * string/test-memmove.c (do_one_test): Likewise.
38573         (do_test): Likewise.
38574         * string/test-memset.c (do_one_test): Likewise.
38575         (do_test): Likewise.
38576         * string/test-rawmemchr.c (do_one_test): Likewise.
38577         (do_test): Likewise.
38578         * string/test-strcasecmp.c (do_one_test): Likewise.
38579         (do_test): Likewise.
38580         * string/test-strcasestr.c (do_one_test): Likewise.
38581         (do_test): Likewise.
38582         * string/test-strcat.c (do_one_test): Likewise.
38583         (do_test): Likewise.
38584         * string/test-strchr.c (do_one_test): Likewise.
38585         (do_test): Likewise.
38586         * string/test-strcmp.c (do_one_test): Likewise.
38587         (do_test): Likewise.
38588         * string/test-strcpy.c (do_one_test): Likewise.
38589         (do_test): Likewise.
38590         * string/test-string.h: Likewise.
38591         (test_init): Likewise.
38592         * string/test-strlen.c (do_one_test): Likewise.
38593         (do_test): Likewise.
38594         * string/test-strncasecmp.c (do_one_test): Likewise.
38595         (do_test): Likewise.
38596         * string/test-strncat.c (do_one_test): Likewise.
38597         (do_test): Likewise.
38598         * string/test-strncmp.c (do_one_test): Likewise.
38599         (do_test_limit): Likewise.
38600         (do_test): Likewise.
38601         * string/test-strncpy.c (do_one_test): Likewise.
38602         (do_test): Likewise.
38603         * string/test-strnlen.c (do_one_test): Likewise.
38604         (do_test): Likewise.
38605         * string/test-strpbrk.c (do_one_test): Likewise.
38606         (do_test): Likewise.
38607         * string/test-strrchr.c (do_one_test): Likewise.
38608         (do_test): Likewise.
38609         * string/test-strspn.c (do_one_test): Likewise.
38610         (do_test): Likewise.
38611         * string/test-strstr.c (do_one_test): Likewise.
38612         (do_test): Likewise.
38614         * benchtests/Makefile (string-bench): Add string benchmarks.
38615         * benchtests/bench-bcopy-ifunc.c: New file.
38616         * benchtests/bench-bcopy.c: New file.
38617         * benchtests/bench-bzero-ifunc.c: New file.
38618         * benchtests/bench-bzero.c: New file.
38619         * benchtests/bench-memccpy-ifunc.c: New file.
38620         * benchtests/bench-memccpy.c: New file.
38621         * benchtests/bench-memchr-ifunc.c: New file.
38622         * benchtests/bench-memchr.c: New file.
38623         * benchtests/bench-memcmp-ifunc.c: New file.
38624         * benchtests/bench-memcmp.c: New file.
38625         * benchtests/bench-memmem-ifunc.c: New file.
38626         * benchtests/bench-memmem.c: New file.
38627         * benchtests/bench-memmove-ifunc.c: New file.
38628         * benchtests/bench-memmove.c: New file.
38629         * benchtests/bench-mempcpy-ifunc.c: New file.
38630         * benchtests/bench-mempcpy.c: New file.
38631         * benchtests/bench-memset-ifunc.c: New file.
38632         * benchtests/bench-memset.c: New file.
38633         * benchtests/bench-rawmemchr-ifunc.c: New file.
38634         * benchtests/bench-rawmemchr.c: New file.
38635         * benchtests/bench-stpcpy-ifunc.c: New file.
38636         * benchtests/bench-stpcpy.c: New file.
38637         * benchtests/bench-stpncpy-ifunc.c: New file.
38638         * benchtests/bench-stpncpy.c: New file.
38639         * benchtests/bench-strcasecmp-ifunc.c: New file.
38640         * benchtests/bench-strcasecmp.c: New file.
38641         * benchtests/bench-strcasestr-ifunc.c: New file.
38642         * benchtests/bench-strcasestr.c: New file.
38643         * benchtests/bench-strcat-ifunc.c: New file.
38644         * benchtests/bench-strcat.c: New file.
38645         * benchtests/bench-strchr-ifunc.c: New file.
38646         * benchtests/bench-strchr.c: New file.
38647         * benchtests/bench-strchrnul-ifunc.c: New file.
38648         * benchtests/bench-strchrnul.c: New file.
38649         * benchtests/bench-strcmp-ifunc.c: New file.
38650         * benchtests/bench-strcmp.c: New file.
38651         * benchtests/bench-strcpy-ifunc.c: New file.
38652         * benchtests/bench-strcpy.c: New file.
38653         * benchtests/bench-strcspn-ifunc.c: New file.
38654         * benchtests/bench-strcspn.c: New file.
38655         * benchtests/bench-strlen-ifunc.c: New file.
38656         * benchtests/bench-strlen.c: New file.
38657         * benchtests/bench-strncasecmp-ifunc.c: New file.
38658         * benchtests/bench-strncasecmp.c: New file.
38659         * benchtests/bench-strncat-ifunc.c: New file.
38660         * benchtests/bench-strncat.c: New file.
38661         * benchtests/bench-strncmp-ifunc.c: New file.
38662         * benchtests/bench-strncmp.c: New file.
38663         * benchtests/bench-strncpy-ifunc.c: New file.
38664         * benchtests/bench-strncpy.c: New file.
38665         * benchtests/bench-strnlen-ifunc.c: New file.
38666         * benchtests/bench-strnlen.c: New file.
38667         * benchtests/bench-strpbrk-ifunc.c: New file.
38668         * benchtests/bench-strpbrk.c: New file.
38669         * benchtests/bench-strrchr-ifunc.c: New file.
38670         * benchtests/bench-strrchr.c: New file.
38671         * benchtests/bench-strspn-ifunc.c: New file.
38672         * benchtests/bench-strspn.c: New file.
38673         * benchtests/bench-strstr-ifunc.c: New file.
38674         * benchtests/bench-strstr.c: New file.
38676         * benchtests/Makefile: Disable parallel execution of targets.
38677         (string-bench): Add memcpy.
38678         (benchset): New variable to store a list of benchmark sets.
38679         (bench-func): Renamed from bench.
38680         (bench-set): New target.
38681         (bench): Depend on bench-func and bench-set.
38682         * benchtests/README: Add section on benchmark sets.
38683         * benchtests/bench-memcpy-ifunc.c: New file.
38684         * benchtests/bench-memcpy.c: New file.
38685         * benchtests/bench-string.h: New file.
38687 2013-06-11  Andreas Schwab  <schwab@suse.de>
38689         [BZ #15577]
38690         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
38691         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
38692         values in the triple.
38693         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
38694         terminator in the group key.
38696 2013-06-11  Andreas Jaeger  <aj@suse.de>
38698         * po/zh_TW.po: Update Chinese (traditional) translation from
38699         translation project.
38701 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38703         * include/time.h (__clock_gettime): Add libc_hidden_proto.
38704         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
38705         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
38706         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38707         (clock_getcpuclockid): Likewise.
38708         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
38709         Add weak_alias and libc_hidden_def.
38710         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
38711         * rt/clock_gettime.c (clock_gettime): Rename to
38712         __clock_gettime.  Add weak_alias and libc_hidden_def.
38713         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
38714         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
38715         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
38716         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
38717         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
38718         Likewise.
38719         * rt/clock_settime.c (clock_settime): Rename to
38720         __clock_settime.  Add weak_alias and libc_hidden_def.
38721         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
38723 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
38725         * mach/err_boot.sub: Remove trailing whitespace.
38726         * mach/err_ipc.sub: Likewise.
38727         * mach/err_mach.sub: Likewise.
38729         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
38730         (ROUNDING_TESTS_double): Likewise.
38731         (ROUNDING_TESTS_long_double): Likewise.
38732         (ROUNDING_TESTS): Likewise.
38733         * math/libm-test.inc: Include <math-tests.h>.
38734         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
38735         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
38736         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
38737         (IF_ROUND_INIT_FE_UPWARD): Likewise.
38739 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38741         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
38742         of assigning.
38744 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
38746         * sysdeps/gnu/errlist.awk: Do not generate space at end of
38747         otherwise empty TRANS lines.
38748         * sysdeps/gnu/errlist.c: Regenerated.
38750         * catgets/gencat.c (error_print): Use (void) in function
38751         definition.
38752         * crypt/crypt_util.c (__init_des): Likewise.
38753         * crypt/speeds.c (Stop): Likewise.
38754         (main): Likewise.
38755         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
38756         * inet/ruserpass.c (token): Likewise.
38757         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
38758         * intl/localealias.c (extend_alias_table): Likewise.
38759         * intl/plural-exp.c (init_germanic_plural): Likewise.
38760         * libio/fcloseall.c (__fcloseall): Likewise.
38761         * libio/genops.c (_IO_flush_all): Likewise.
38762         (_IO_flush_all_linebuffered): Likewise.
38763         (_IO_cleanup): Likewise.
38764         (_IO_iter_begin): Likewise.
38765         (_IO_iter_end): Likewise.
38766         (_IO_list_lock): Likewise.
38767         (_IO_list_unlock): Likewise.
38768         (_IO_list_resetlock): Likewise.
38769         * libio/getchar.c (getchar): Likewise.
38770         * libio/getchar_u.c (getchar_unlocked): Likewise.
38771         * libio/getwchar.c (getwchar): Likewise.
38772         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
38773         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
38774         * login/getpt.c (__getpt): Likewise.
38775         * login/tst-utmp.c (main): Likewise.
38776         * malloc/hooks.c (__malloc_check_init): Likewise.
38777         * malloc/malloc.c (__malloc_stats): Likewise.
38778         * malloc/mtrace.c (tr_break): Likewise.
38779         (mtrace): Likewise.
38780         (muntrace): Likewise.
38781         * misc/fstab.c (endfsent): Likewise.
38782         * misc/getclktck.c (__getclktck): Likewise.
38783         * misc/getdtsz.c (__getdtablesize): Likewise.
38784         * misc/gethostid.c (gethostid): Likewise.
38785         * misc/getpagesize.c (__getpagesize): Likewise.
38786         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
38787         (__get_nprocs): Likewise.
38788         (__get_phys_pages): Likewise.
38789         (__get_avphys_pages): Likewise.
38790         * misc/getttyent.c (getttyent): Likewise.
38791         (setttyent): Likewise.
38792         (endttyent): Likewise.
38793         * misc/getusershell.c (getusershell): Likewise.
38794         (endusershell): Likewise.
38795         (setusershell): Likewise.
38796         (initshells): Likewise.
38797         * misc/hsearch.c (__hdestroy): Likewise.
38798         * misc/sync.c (sync): Likewise.
38799         * misc/syslog.c (closelog_internal): Likewise.
38800         (closelog): Likewise.
38801         * misc/ttyslot.c (ttyslot): Likewise.
38802         * misc/vhangup.c (vhangup): Likewise.
38803         * posix/fork.c (__fork): Likewise.
38804         * posix/getegid.c (__getegid): Likewise.
38805         * posix/geteuid.c (__geteuid): Likewise.
38806         * posix/getgid.c (__getgid): Likewise.
38807         * posix/getpid.c (__getpid): Likewise.
38808         * posix/getppid.c (__getppid): Likewise.
38809         * posix/getuid.c (__getuid): Likewise.
38810         * posix/pause.c (pause): Likewise.
38811         * posix/setpgrp.c (setpgrp): Likewise.
38812         * posix/setsid.c (__setsid): Likewise.
38813         * posix/test-vfork.c (noop): Likewise.
38814         * resolv/gethnamaddr.c (_endhtent): Likewise.
38815         (_gethtent): Likewise.
38816         (ht_endhostent): Likewise.
38817         (gethostent): Likewise.
38818         (dns_service): Likewise.
38819         * stdlib/drand48.c (drand48): Likewise.
38820         * stdlib/lrand48.c (lrand48): Likewise.
38821         * stdlib/mrand48.c (mrand48): Likewise.
38822         * stdlib/rand.c (rand): Likewise.
38823         * stdlib/random.c (__random): Likewise.
38824         * stdlib/setenv.c (clearenv): Likewise.
38825         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
38826         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
38827         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
38828         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
38829         (__get_nprocs): Likewise.
38830         (__get_phys_pages): Likewise.
38831         (__get_avphys_pages): Likewise.
38832         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
38833         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
38834         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
38835         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
38836         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
38837         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
38838         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
38839         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
38840         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
38841         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
38842         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
38843         * sysdeps/mach/hurd/sync.c (sync): Likewise.
38844         * sysdeps/posix/clock.c (clock): Likewise.
38845         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
38846         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
38847         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
38848         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
38849         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
38850         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
38851         (__get_nprocs_conf): Likewise.
38852         (__get_phys_pages): Likewise.
38853         (__get_avphys_pages): Likewise.
38854         * time/clock.c (clock): Likewise.
38855         * time/tzset.c (__tzname_max): Likewise.
38857 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
38859         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
38860         (__bswap_32): Do not use "register".
38861         * crypt/crypt.c (_ufc_doit_r): Likewise.
38862         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38863         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38864         * gmon/gmon.c (__monstartup): Likewise.
38865         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
38866         * hurd/hurdmalloc.c (more_memory): Likewise.
38867         (malloc): Likewise.
38868         (free): Likewise.
38869         (realloc): Likewise.
38870         (malloc_fork_prepare): Likewise.
38871         (malloc_fork_parent): Likewise.
38872         (malloc_fork_child): Likewise.
38873         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
38874         (_svcauth_des): Likewise.
38875         * inet/inet_lnaof.c (inet_lnaof): Likewise.
38876         * inet/inet_net.c (inet_network): Likewise.
38877         * inet/inet_netof.c (inet_netof): Likewise.
38878         * inet/rcmd.c (__validuser2_sa): Likewise.
38879         * io/fts.c (fts_open): Likewise.
38880         (fts_load): Likewise.
38881         (fts_close): Likewise.
38882         (fts_read): Likewise.
38883         (fts_children): Likewise.
38884         (fts_build): Likewise.
38885         (fts_stat): Likewise.
38886         (fts_sort): Likewise.
38887         (fts_alloc): Likewise.
38888         (fts_lfree): Likewise.
38889         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
38890         (_IO_file_xsgetn): Likewise.
38891         (_IO_file_xsgetn_mmap): Likewise.
38892         * libio/iofopncook.c (_IO_cookie_read): Likewise.
38893         (_IO_cookie_write): Likewise.
38894         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
38895         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
38896         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
38897         * malloc/obstack.c (_obstack_begin): Likewise.
38898         (_obstack_begin_1): Likewise.
38899         (_obstack_newchunk): Likewise.
38900         (_obstack_allocated_p): Likewise.
38901         (obstack_free): Likewise.
38902         (_obstack_memory_used): Likewise.
38903         * misc/getttyent.c (getttynam): Likewise.
38904         (getttyent): Likewise.
38905         (skip): Likewise.
38906         (value): Likewise.
38907         * misc/getusershell.c (initshells): Likewise.
38908         * misc/syslog.c (__vsyslog_chk): Likewise.
38909         * misc/ttyslot.c (ttyslot): Likewise.
38910         * nis/nis_hash.c (__nis_hash): Likewise.
38911         * posix/fnmatch_loop.c (FCT): Likewise.
38912         * posix/getconf.c (print_all): Likewise.
38913         (main): Likewise.
38914         * posix/getopt.c (exchange): Likewise.
38915         * posix/glob.c (globfree): Likewise.
38916         (prefix_array): Likewise.
38917         (__glob_pattern_type): Likewise.
38918         * resolv/arpa/nameser.h (NS_GET16): Likewise.
38919         (NS_GET32): Likewise.
38920         (NS_PUT16): Likewise.
38921         (NS_PUT32): Likewise.
38922         * resolv/gethnamaddr.c (getanswer): Likewise.
38923         (gethostbyname2): Likewise.
38924         (gethostbyaddr): Likewise.
38925         (_gethtent): Likewise.
38926         (_gethtbyname2): Likewise.
38927         (_gethtbyaddr): Likewise.
38928         * resolv/ns_print.c (dst_s_get_int16): Likewise.
38929         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38930         * resolv/res_init.c (__res_vinit): Likewise.
38931         (net_mask): Likewise.
38932         * resolv/res_mkquery.c (outchar): Likewise.
38933         (PRINT): Likewise.
38934         * stdio-common/printf_fp.c (outchar): Likewise.
38935         (PRINT): Likewise.
38936         * stdio-common/printf_fphex.c (outchar): Likewise.
38937         (PRINT): Likewise.
38938         * stdio-common/printf_size.c (outchar): Likewise.
38939         (PRINT): Likewise.
38940         * stdio-common/test_rdwr.c (main): Likewise.
38941         * stdio-common/tfformat.c (matches): Likewise.
38942         * stdio-common/vfprintf.c (outchar): Likewise.
38943         (printf_unknown): Likewise.
38944         (buffered_vfprintf): Likewise.
38945         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38946         * stdio-common/xbug.c (AppendToBuffer): Likewise.
38947         (ReadFile): Likewise.
38948         * stdlib/qsort.c (SWAP): Likewise.
38949         (_quicksort): Likewise.
38950         * stdlib/setenv.c (__add_to_environ): Likewise.
38951         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38952         * stdlib/strtol_l.c (__strtol_l): Likewise.
38953         * stdlib/tst-strtod.c (main): Likewise.
38954         * stdlib/tst-strtol.c (main): Likewise.
38955         * stdlib/tst-strtoll.c (main): Likewise.
38956         * string/bits/string2.h (__strcmp_cc): Likewise.
38957         (__strcmp_cg): Likewise.
38958         (__strcspn_c1): Likewise.
38959         (__strcspn_c2): Likewise.
38960         (__strcspn_c3): Likewise.
38961         (__strspn_c1): Likewise.
38962         (__strspn_c2): Likewise.
38963         (__strspn_c3): Likewise.
38964         (__strsep_1c): Likewise.
38965         (__strsep_2c): Likewise.
38966         (__strsep_3c): Likewise.
38967         * string/memccpy.c (__memccpy): Likewise.
38968         * string/stpcpy.c (__stpcpy): Likewise.
38969         * string/strcmp.c (strcmp): Likewise.
38970         * string/strrchr.c (strrchr): Likewise.
38971         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
38972         Likewise.
38973         * sysdeps/mach/hurd/getcwd.c
38974         (_hurd_canonicalize_directory_name_internal): Likewise.
38975         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
38976         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
38977         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
38978         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
38979         Likewise, in both definitions.
38980         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
38981         definitions.
38982         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
38983         64] (__bswap_64): Likewise.
38984         * time/test_time.c (main): Likewise.
38985         * time/tzfile.c (__tzfile_read): Likewise.
38986         (__tzfile_compute): Likewise.
38987         * time/tzset.c (__tzset_parse_tz): Likewise.
38988         (tzset_internal): Likewise.
38989         (compute_change): Likewise.
38990         * wcsmbs/wcscat.c (__wcscat): Likewise.
38991         * wcsmbs/wcschr.c (wcschr): Likewise.
38992         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
38993         * wcsmbs/wcscspn.c (wcscspn): Likewise.
38994         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
38995         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
38996         * wcsmbs/wcsspn.c (wcsspn): Likewise.
38997         * wcsmbs/wcsstr.c (wcsstr): Likewise.
38998         * wcsmbs/wmemchr.c (wmemchr): Likewise.
38999         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39000         * wcsmbs/wmemset.c (wmemset): Likewise.
39002 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
39004         * scripts/config.guess: Update to version 2013-05-16.
39005         * scripts/config.sub: Update to version 2013-04-24.
39006         * scripts/install-sh: Update to version 2011-11-20.07.
39007         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
39008         * scripts/move-if-change: Update to version 2012-01-06 07:23.
39010 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
39012         * debug/fgetws_u_chk.c: Fix leading whitespaces.
39013         * elf/sln.c: Likewise.
39014         * hurd/hurd/ioctl.h: Likewise.
39015         * hurd/hurdmalloc.c: Likewise.
39016         * hurd/xattr.c: Likewise.
39017         * include/shlib-compat.h: Likewise.
39018         * inet/ruserpass.c: Likewise.
39019         * libio/iofgets_u.c: Likewise.
39020         * libio/iofgetws_u.c: Likewise.
39021         * locale/programs/ld-identification.c: Likewise.
39022         * locale/programs/ld-time.c: Likewise.
39023         * mach/msg-destroy.c: Likewise.
39024         * nss/nss_files/files-netgrp.c: Likewise.
39025         * resolv/res_data.c: Likewise.
39026         * soft-fp/op-1.h: Likewise.
39027         * soft-fp/op-2.h: Likewise.
39028         * soft-fp/op-4.h: Likewise.
39029         * soft-fp/op-common.h: Likewise.
39030         * stdio-common/printf_fphex.c: Likewise.
39031         * stdlib/strtod_l.c: Likewise.
39032         * sunrpc/rpc/clnt.h: Likewise.
39033         * sysdeps/generic/framestate.c: Likewise.
39034         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39035         * sysdeps/i386/bsd-setjmp.S: Likewise.
39036         * sysdeps/i386/__longjmp.S: Likewise.
39037         * sysdeps/i386/setjmp.S: Likewise.
39038         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39039         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39040         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39041         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39042         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39043         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39044         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39045         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39046         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39047         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39048         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39049         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39050         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39051         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39052         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39053         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39054         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39055         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
39056         * sysdeps/ieee754/support.c: Likewise.
39057         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39058         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
39059         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
39060         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
39061         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
39062         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
39063         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
39064         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
39065         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
39066         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
39067         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
39068         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
39069         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
39070         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
39071         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
39072         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
39073         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39076 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
39078         * posix/transbug.c: Remove executable mode.
39080 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
39082         * crypt/speeds.c: Remove trailing whitespace.
39083         * dlfcn/default.c: Likewise.
39084         * elf/ifuncdep2.c: Likewise.
39085         * elf/ifuncmain1.c: Likewise.
39086         * elf/ifuncmain1vis.c: Likewise.
39087         * elf/testobj.h: Likewise.
39088         * elf/tst-stackguard1.c: Likewise.
39089         * gmon/sys/gmon.h: Likewise.
39090         * hurd/hurdmsg.c: Likewise.
39091         * hurd/new-fd.c: Likewise.
39092         * hurd/ports-get.c: Likewise.
39093         * iconvdata/ibm1008_420.c: Likewise.
39094         * inet/tst-getni1.c: Likewise.
39095         * inet/tst-getni2.c: Likewise.
39096         * libio/ioungetc.c: Likewise.
39097         * libio/wfiledoalloc.c: Likewise.
39098         * manual/libm-err-tab.pl: Likewise.
39099         * math/w_dremf.c: Likewise.
39100         * misc/ftruncate.c: Likewise.
39101         * posix/bug-glob2.c: Likewise.
39102         * posix/tst-pcre.c: Likewise.
39103         * posix/wait4.c: Likewise.
39104         * resolv/README: Likewise.
39105         * resolv/res_debug.h: Likewise.
39106         * resolv/tst-inet_ntop.c: Likewise.
39107         * setjmp/bug269-setjmp.c: Likewise.
39108         * soft-fp/extended.h: Likewise.
39109         * soft-fp/op-1.h: Likewise.
39110         * soft-fp/op-2.h: Likewise.
39111         * soft-fp/op-4.h: Likewise.
39112         * soft-fp/op-8.h: Likewise.
39113         * soft-fp/testit.c: Likewise.
39114         * stdio-common/bug16.c: Likewise.
39115         * stdlib/random.c: Likewise.
39116         * sunrpc/rpcsvc/rquota.x: Likewise.
39117         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
39118         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39119         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39120         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39121         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39122         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39123         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39124         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39125         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39126         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39127         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39128         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39129         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39130         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39131         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39132         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39133         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39134         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39135         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39136         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39137         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39138         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39139         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
39140         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39141         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39142         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39143         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39144         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39145         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39146         * sysdeps/ieee754/s_lib_version.c: Likewise.
39147         * sysdeps/mach/hurd/check_fds.c: Likewise.
39148         * sysdeps/mach/hurd/getsockname.c: Likewise.
39149         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
39150         * sysdeps/mach/hurd/recvfrom.c: Likewise.
39151         * sysdeps/powerpc/bits/link.h: Likewise.
39152         * sysdeps/powerpc/dl-procinfo.c: Likewise.
39153         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
39154         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
39155         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
39156         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39157         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39158         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
39159         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39160         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
39161         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39162         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39163         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39164         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
39165         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39166         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39167         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39168         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39169         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39170         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39171         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39172         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39173         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
39174         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39175         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39176         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
39177         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39178         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39179         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39180         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39181         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39182         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39183         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39184         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39185         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39186         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
39187         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39188         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
39189         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39190         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39191         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
39192         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
39193         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
39194         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
39195         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
39196         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39197         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
39198         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
39199         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39200         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
39201         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
39202         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39203         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39204         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39205         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39206         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
39207         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39208         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39209         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39210         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
39211         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39212         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
39213         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
39214         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
39215         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39216         * sysdeps/powerpc/sysdep.h: Likewise.
39217         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39218         * sysdeps/s390/s390-64/sub_n.S: Likewise.
39219         * sysdeps/sh/dl-trampoline.S: Likewise.
39220         * sysdeps/sh/memset.S: Likewise.
39221         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
39222         * sysdeps/sh/strlen.S: Likewise.
39223         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
39224         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
39225         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
39226         * sysdeps/sparc/sparc32/rem.S: Likewise.
39227         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
39228         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
39229         * sysdeps/sparc/sparc32/strchr.S: Likewise.
39230         * sysdeps/sparc/sparc32/udiv.S: Likewise.
39231         * sysdeps/sparc/sparc32/urem.S: Likewise.
39232         * sysdeps/sparc/sparc64/add_n.S: Likewise.
39233         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39234         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
39235         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
39236         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
39237         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
39238         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
39239         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
39240         * sysdeps/unix/bsd/times.c: Likewise.
39241         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
39242         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
39243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39246         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
39247         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39248         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
39249         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
39250         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
39251         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
39252         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39253         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
39254         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39255         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39256         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
39257         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39258         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
39259         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
39260         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
39261         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
39262         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
39263         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39264         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
39265         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
39266         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39267         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
39268         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39269         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
39270         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
39271         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
39272         * sysdeps/x86_64/strcspn.S: Likewise.
39274 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39276         * locale/C-translit.h: Revert #include <stdint.h> because this is a
39277         generated file.  Regenerate properly from gen-translit.pl.
39278         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
39279         locale/C-translit.h.
39281 2013-06-05  Andreas Schwab  <schwab@suse.de>
39283         [BZ #15100]
39284         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
39285         week as 6 instead of -1.
39286         * time/tst-strptime.c (day_tests): Add test case.
39288 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39290         * sysdeps/generic/math_private.h
39291         (libc_feholdexcept_setround_53bit): Replace with
39292         libc_feholdsetround_53bit.
39293         (libc_feupdateenv_53bit): Replace with
39294         libc_feresetround_53bit.
39295         (SET_RESTORE_ROUND_53BIT): Adjust.
39297 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39299         * string/test-strchrnul.c: Add copyright header.
39301         * posix/tst-getaddrinfo4.c: Increase test timeout.
39303 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
39305         [BZ #15536]
39306         * math/libm-test.inc (MAX_EXP): Remove
39307         (MIN_EXP): Define.
39308         (ulp): Use MIN_EXP - MANT_DIG.
39309         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
39311 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
39313         * po/be.po: Revert last change.
39314         * po/zh_CN.po: Likewise.
39315         * po/header.pot: Likewise.
39317 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
39319         * Makefile ($(common-objpfx)linkobj/libc.so): Define
39320         link-libc-deps to empty as target-specific variable.
39321         * Makerules (link-libc-args): New variable.
39322         (libc-for-link): Likewise.
39323         (link-libc-deps): Likewise.
39324         (lib%.so): Depend on $(link-libc-deps).  Link with
39325         $(link-libc-args).
39326         (build-module): Link with $(link-libc-args).
39327         (build-module-asneeded): Likewise.
39328         (build-module-helper-objlist): Filter out $(link-libc-deps) from
39329         list of objects.
39330         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
39331         target-specific variable.
39332         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
39333         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
39334         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
39335         libc.
39336         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
39337         libc and ld.so.
39338         ($(objpfx)libpcprofile.so): Likewise.
39339         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
39340         libc_nonshared.a.
39341         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
39342         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
39343         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
39344         $(link-libc-deps).
39345         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
39346         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
39347         * login/Makefile ($(objpfx)libutil.so): Likewise.
39348         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
39349         * math/Makefile ($(objpfx)libm.so): Likewise.
39350         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
39351         $(objpfx)libnsl.so): Define libc-for-link as target-specific
39352         variable instead of depending directly on libc.
39353         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
39354         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
39355         $(link-libc-deps).
39356         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
39357         libc.
39358         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
39359         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
39360         ($(objpfx)libanl.so): Likewise.
39361         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
39362         ld.so.
39363         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
39364         $(link-libc-deps).
39365         * sysdeps/i386/fpu/Makefile: Remove file.
39366         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
39367         ($(objpfx)libm.so): Remove dependency on ld.so.
39369 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
39371         [BZ # 15553]
39372         * nis/yp_xdr.c (XDRMAXNAME): Define.
39373         (XDRMAXRECORD): Define.
39374         (xdr_domainname): Use XDRMAXNAME.
39375         (xdr_mapname): Likewise.
39376         (xdr_peername): Likewise.
39377         (xdr_keydat): Use XDRMAXRECORD.
39378         (xdr_valdat): Likewise.
39380 2013-05-30  Jeff Law  <law@redhat.com>
39382         [BZ #14256]
39383         * manual/errno.texi (ESTALE): Update to account for more than
39384         just NFS file systems.
39385         * sysdeps/gnu/errlist.c: Regenerated.
39387 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39389         [BZ #15465]
39390         * elf/Makefile (tests): Add tst-null-argv.
39391         (modules-names):  Add tst-null-argv-lib.
39392         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
39393         (tst-null-argv-ENV): Set environment for tst-null-argv.
39394         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
39395         (RTLD_PROGNAME): New macro.
39396         * elf/tst-null-argv.c: New test case.
39397         * elf/tst-null-argv-lib.c: Library for test case.
39398         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
39399         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
39400         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
39401         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
39402         * elf/dl-init.c (call_init): Likewise.
39403         (_dl_init): Likewise.
39404         * elf/dl-load.c (print_search_path): Likewise.
39405         (_dl_map_object): Likewise.
39406         * elf/dl-lookup.c (do_lookup_x): Likewise.
39407         (add_dependency): Likewise.
39408         (_dl_lookup_symbol_x): Likewise.
39409         (_dl_debug_bindings): Likewise.
39410         * elf/dl-open.c (_dl_show_scope): Likewise.
39411         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39412         * elf/dl-version.c (match_symbol): Likewise.
39413         (_dl_check_map_versions): Likewise.
39414         * elf/rtld.c (dl_main): Likewise.
39415         (print_unresolved): Use RTLD_PROGNAME.
39416         (print_missing_version): Likewise.
39417         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
39418         (elf_machine_rela): Likewise.
39419         * sysdeps/powerpc/powerpc32/dl-machine.c
39420         (__process_machine_rela): Likewise.
39421         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39422         Likewise.
39423         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39424         Likewise.
39425         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39426         Likewise.
39427         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39428         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
39429         Likewise.
39430         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
39431         Likewise.
39432         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39434 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
39436         * po/be.po: Add descriptive title.
39437         * po/zh_CN.po: Likewise.
39438         * po/header.pot: Likewise.
39440 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
39442         * locale/programs/locarchive.c (create_archive): Inlucde fname in
39443         error message.
39444         (enlarge_archive): Likewise.
39446 2013-05-28  Ben North  <ben@redfrontdoor.org>
39448         * manual/arith.texi (frexp): It is the magnitude of the return
39449         value which lies in [0.5, 1), not the return value itself.
39451 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39455 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
39457         * stdio-common/bug26.c (main): Correct fscanf template.
39459         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
39460         declare _dl_skip_args.
39462         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
39463         Don't declare.
39465         * manual/platform.texi: Add missing @end deftypefun.
39467 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
39469         [BZ #15529]
39470         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
39471         bit of mantissa of 2^16382.
39472         * math/libm-test.inc (hypot_test_data): Add more tests.
39474         * math/libm-test.inc: Add drem and pow10 to list of tested
39475         functions.
39476         (pow10_test): New function.
39477         (drem_test): Likewise.
39478         (drem_test_tonearest): Likewise.
39479         (drem_test_towardzero): Likewise.
39480         (drem_test_downward): Likewise.
39481         (drem_test_upward): Likewise.
39482         (main): Call the new functions.
39484         * math/libm-test.inc (finite_test_data): Remove.
39485         (finite_test): Run tests from isfinite_test_data.
39486         (gamma_test_data): Remove.
39487         (gamma_test): Run tests from lgamma_test_data.
39488         * sysdeps/i386/fpu/libm-test-ulps: Update.
39489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39491 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39493         * manual/platform.texi: Add PowerPC PPR function set documentation.
39494         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
39495         implementation.
39497 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
39499         * math/libm-test.inc (MAX_EXP): Define.
39500         (ULPDIFF): Define.
39501         (ulp): New function.
39502         (check_float_internal): Use ULPDIFF.
39503         (cpow_test): Disable failing test.
39504         (check_ulp): Test ulp() implemetnation.
39505         (main): Call check_ulp before starting tests.
39507 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
39509         * math/gen-libm-test.pl (generate_testfile): Do not handle
39510         START_DATA and END_DATA.
39511         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
39512         END_DATA.
39513         (acos_tonearest_test_data): Likewise.
39514         (acos_towardzero_test_data): Likewise.
39515         (acos_downward_test_data): Likewise.
39516         (acos_upward_test_data): Likewise.
39517         (acosh_test_data): Likewise.
39518         (asin_test_data): Likewise.
39519         (asin_tonearest_test_data): Likewise.
39520         (asin_towardzero_test_data): Likewise.
39521         (asin_downward_test_data): Likewise.
39522         (asin_upward_test_data): Likewise.
39523         (asinh_test_data): Likewise.
39524         (atan_test_data): Likewise.
39525         (atanh_test_data): Likewise.
39526         (atan2_test_data): Likewise.
39527         (cabs_test_data): Likewise.
39528         (cacos_test_data): Likewise.
39529         (cacosh_test_data): Likewise.
39530         (carg_test_data): Likewise.
39531         (casin_test_data): Likewise.
39532         (casinh_test_data): Likewise.
39533         (catan_test_data): Likewise.
39534         (catanh_test_data): Likewise.
39535         (cbrt_test_data): Likewise.
39536         (ccos_test_data): Likewise.
39537         (ccosh_test_data): Likewise.
39538         (ceil_test_data): Likewise.
39539         (cexp_test_data): Likewise.
39540         (cimag_test_data): Likewise.
39541         (clog_test_data): Likewise.
39542         (clog10_test_data): Likewise.
39543         (conj_test_data): Likewise.
39544         (copysign_test_data): Likewise.
39545         (cos_test_data): Likewise.
39546         (cos_tonearest_test_data): Likewise.
39547         (cos_towardzero_test_data): Likewise.
39548         (cos_downward_test_data): Likewise.
39549         (cos_upward_test_data): Likewise.
39550         (cosh_test_data): Likewise.
39551         (cosh_tonearest_test_data): Likewise.
39552         (cosh_towardzero_test_data): Likewise.
39553         (cosh_downward_test_data): Likewise.
39554         (cosh_upward_test_data): Likewise.
39555         (cpow_test_data): Likewise.
39556         (cproj_test_data): Likewise.
39557         (creal_test_data): Likewise.
39558         (csin_test_data): Likewise.
39559         (csinh_test_data): Likewise.
39560         (csqrt_test_data): Likewise.
39561         (ctan_test_data): Likewise.
39562         (ctan_tonearest_test_data): Likewise.
39563         (ctan_towardzero_test_data): Likewise.
39564         (ctan_downward_test_data): Likewise.
39565         (ctan_upward_test_data): Likewise.
39566         (ctanh_test_data): Likewise.
39567         (ctanh_tonearest_test_data): Likewise.
39568         (ctanh_towardzero_test_data): Likewise.
39569         (ctanh_downward_test_data): Likewise.
39570         (ctanh_upward_test_data): Likewise.
39571         (erf_test_data): Likewise.
39572         (erfc_test_data): Likewise.
39573         (exp_test_data): Likewise.
39574         (exp_tonearest_test_data): Likewise.
39575         (exp_towardzero_test_data): Likewise.
39576         (exp_downward_test_data): Likewise.
39577         (exp_upward_test_data): Likewise.
39578         (exp10_test_data): Likewise.
39579         (exp2_test_data): Likewise.
39580         (expm1_test_data): Likewise.
39581         (fabs_test_data): Likewise.
39582         (fdim_test_data): Likewise.
39583         (finite_test_data): Likewise.
39584         (floor_test_data): Likewise.
39585         (fma_test_data): Likewise.
39586         (fma_towardzero_test_data): Likewise.
39587         (fma_downward_test_data): Likewise.
39588         (fma_upward_test_data): Likewise.
39589         (fmax_test_data): Likewise.
39590         (fmin_test_data): Likewise.
39591         (fmod_test_data): Likewise.
39592         (fpclassify_test_data): Likewise.
39593         (frexp_test_data): Likewise.
39594         (gamma_test_data): Likewise.
39595         (hypot_test_data): Likewise.
39596         (ilogb_test_data): Likewise.
39597         (isfinite_test_data): Likewise.
39598         (isgreater_test_data): Likewise.
39599         (isgreaterequal_test_data): Likewise.
39600         (isinf_test_data): Likewise.
39601         (isless_test_data): Likewise.
39602         (islessequal_test_data): Likewise.
39603         (islessgreater_test_data): Likewise.
39604         (isnan_test_data): Likewise.
39605         (isnormal_test_data): Likewise.
39606         (issignaling_test_data): Likewise.
39607         (isunordered_test_data): Likewise.
39608         (j0_test_data): Likewise.
39609         (j1_test_data): Likewise.
39610         (jn_test_data): Likewise.
39611         (ldexp_test_data): Likewise.
39612         (lgamma_test_data): Likewise.
39613         (lrint_test_data): Likewise.
39614         (lrint_tonearest_test_data): Likewise.
39615         (lrint_towardzero_test_data): Likewise.
39616         (lrint_downward_test_data): Likewise.
39617         (lrint_upward_test_data): Likewise.
39618         (llrint_test_data): Likewise.
39619         (llrint_tonearest_test_data): Likewise.
39620         (llrint_towardzero_test_data): Likewise.
39621         (llrint_downward_test_data): Likewise.
39622         (llrint_upward_test_data): Likewise.
39623         (log_test_data): Likewise.
39624         (log10_test_data): Likewise.
39625         (log1p_test_data): Likewise.
39626         (log2_test_data): Likewise.
39627         (logb_test_data): Likewise.
39628         (logb_downward_test_data): Likewise.
39629         (lround_test_data): Likewise.
39630         (llround_test_data): Likewise.
39631         (modf_test_data): Likewise.
39632         (nearbyint_test_data): Likewise.
39633         (nextafter_test_data): Likewise.
39634         (nexttoward_test_data): Likewise.
39635         (pow_test_data): Likewise.
39636         (pow_tonearest_test_data): Likewise.
39637         (pow_towardzero_test_data): Likewise.
39638         (pow_downward_test_data): Likewise.
39639         (pow_upward_test_data): Likewise.
39640         (remainder_test_data): Likewise.
39641         (remainder_tonearest_test_data): Likewise.
39642         (remainder_towardzero_test_data): Likewise.
39643         (remainder_downward_test_data): Likewise.
39644         (remainder_upward_test_data): Likewise.
39645         (remquo_test_data): Likewise.
39646         (rint_test_data): Likewise.
39647         (rint_tonearest_test_data): Likewise.
39648         (rint_towardzero_test_data): Likewise.
39649         (rint_downward_test_data): Likewise.
39650         (rint_upward_test_data): Likewise.
39651         (round_test_data): Likewise.
39652         (scalb_test_data): Likewise.
39653         (scalbn_test_data): Likewise.
39654         (scalbln_test_data): Likewise.
39655         (signbit_test_data): Likewise.
39656         (sin_test_data): Likewise.
39657         (sin_tonearest_test_data): Likewise.
39658         (sin_towardzero_test_data): Likewise.
39659         (sin_downward_test_data): Likewise.
39660         (sin_upward_test_data): Likewise.
39661         (sincos_test_data): Likewise.
39662         (sinh_test_data): Likewise.
39663         (sinh_tonearest_test_data): Likewise.
39664         (sinh_towardzero_test_data): Likewise.
39665         (sinh_downward_test_data): Likewise.
39666         (sinh_upward_test_data): Likewise.
39667         (sqrt_test_data): Likewise.
39668         (tan_test_data): Likewise.
39669         (tan_tonearest_test_data): Likewise.
39670         (tan_towardzero_test_data): Likewise.
39671         (tan_downward_test_data): Likewise.
39672         (tan_upward_test_data): Likewise.
39673         (tanh_test_data): Likewise.
39674         (tgamma_test_data): Likewise.
39675         (trunc_test_data): Likewise.
39676         (y0_test_data): Likewise.
39677         (y1_test_data): Likewise.
39678         (yn_test_data): Likewise.
39679         (significand_test_data): Likewise.
39681         * math/gen-libm-test.pl (@functions): Remove variable.
39682         (generate_testfile): Don't handle START and END lines.
39683         * math/libm-test.inc (START): New macro.
39684         (END): Likewise.
39685         (END_COMPLEX): Likewise.
39686         (acos_test): Use END macro without arguments.
39687         (acos_test_tonearest): Likewise.
39688         (acos_test_towardzero): Likewise.
39689         (acos_test_downward): Likewise.
39690         (acos_test_upward): Likewise.
39691         (acosh_test): Likewise.
39692         (asin_test): Likewise.
39693         (asin_test_tonearest): Likewise.
39694         (asin_test_towardzero): Likewise.
39695         (asin_test_downward): Likewise.
39696         (asin_test_upward): Likewise.
39697         (asinh_test): Likewise.
39698         (atan_test): Likewise.
39699         (atanh_test): Likewise.
39700         (atan2_test): Likewise.
39701         (cabs_test): Likewise.
39702         (cacos_test): Use END_COMPLEX macro without arguments.
39703         (cacosh_test): Likewise.
39704         (carg_test): Use END macro without arguments.
39705         (casin_test): Use END_COMPLEX macro without arguments.
39706         (casinh_test): Likewise.
39707         (catan_test): Likewise.
39708         (catanh_test): Likewise.
39709         (cbrt_test): Use END macro without arguments.
39710         (ccos_test): Use END_COMPLEX macro without arguments.
39711         (ccosh_test): Likewise.
39712         (ceil_test): Use END macro without arguments.
39713         (cexp_test): Use END_COMPLEX macro without arguments.
39714         (cimag_test): Use END macro without arguments.
39715         (clog_test): Use END_COMPLEX macro without arguments.
39716         (clog10_test): Likewise.
39717         (conj_test): Likewise.
39718         (copysign_test): Use END macro without arguments.
39719         (cos_test): Likewise.
39720         (cos_test_tonearest): Likewise.
39721         (cos_test_towardzero): Likewise.
39722         (cos_test_downward): Likewise.
39723         (cos_test_upward): Likewise.
39724         (cosh_test): Likewise.
39725         (cosh_test_tonearest): Likewise.
39726         (cosh_test_towardzero): Likewise.
39727         (cosh_test_downward): Likewise.
39728         (cosh_test_upward): Likewise.
39729         (cpow_test): Use END_COMPLEX macro without arguments.
39730         (cproj_test): Likewise.
39731         (creal_test): Use END macro without arguments.
39732         (csin_test): Use END_COMPLEX macro without arguments.
39733         (csinh_test): Likewise.
39734         (csqrt_test): Likewise.
39735         (ctan_test): Likewise.
39736         (ctan_test_tonearest): Likewise.
39737         (ctan_test_towardzero): Likewise.
39738         (ctan_test_downward): Likewise.
39739         (ctan_test_upward): Likewise.
39740         (ctanh_test): Likewise.
39741         (ctanh_test_tonearest): Likewise.
39742         (ctanh_test_towardzero): Likewise.
39743         (ctanh_test_downward): Likewise.
39744         (ctanh_test_upward): Likewise.
39745         (erf_test): Use END macro without arguments.
39746         (erfc_test): Likewise.
39747         (exp_test): Likewise.
39748         (exp_test_tonearest): Likewise.
39749         (exp_test_towardzero): Likewise.
39750         (exp_test_downward): Likewise.
39751         (exp_test_upward): Likewise.
39752         (exp10_test): Likewise.
39753         (exp2_test): Likewise.
39754         (expm1_test): Likewise.
39755         (fabs_test): Likewise.
39756         (fdim_test): Likewise.
39757         (finite_test): Likewise.
39758         (floor_test): Likewise.
39759         (fma_test): Likewise.
39760         (fma_test_towardzero): Likewise.
39761         (fma_test_downward): Likewise.
39762         (fma_test_upward): Likewise.
39763         (fmax_test): Likewise.
39764         (fmin_test): Likewise.
39765         (fmod_test): Likewise.
39766         (fpclassify_test): Likewise.
39767         (frexp_test): Likewise.
39768         (gamma_test): Likewise.
39769         (hypot_test): Likewise.
39770         (ilogb_test): Likewise.
39771         (isfinite_test): Likewise.
39772         (isgreater_test): Likewise.
39773         (isgreaterequal_test): Likewise.
39774         (isinf_test): Likewise.
39775         (isless_test): Likewise.
39776         (islessequal_test): Likewise.
39777         (islessgreater_test): Likewise.
39778         (isnan_test): Likewise.
39779         (isnormal_test): Likewise.
39780         (issignaling_test): Likewise.
39781         (isunordered_test): Likewise.
39782         (j0_test): Likewise.
39783         (j1_test): Likewise.
39784         (jn_test): Likewise.
39785         (ldexp_test): Likewise.
39786         (lgamma_test): Likewise.
39787         (lrint_test): Likewise.
39788         (lrint_test_tonearest): Likewise.
39789         (lrint_test_towardzero): Likewise.
39790         (lrint_test_downward): Likewise.
39791         (lrint_test_upward): Likewise.
39792         (llrint_test): Likewise.
39793         (llrint_test_tonearest): Likewise.
39794         (llrint_test_towardzero): Likewise.
39795         (llrint_test_downward): Likewise.
39796         (llrint_test_upward): Likewise.
39797         (log_test): Likewise.
39798         (log10_test): Likewise.
39799         (log1p_test): Likewise.
39800         (log2_test): Likewise.
39801         (logb_test): Likewise.
39802         (logb_test_downward): Likewise.
39803         (lround_test): Likewise.
39804         (llround_test): Likewise.
39805         (modf_test): Likewise.
39806         (nearbyint_test): Likewise.
39807         (nextafter_test): Likewise.
39808         (nexttoward_test): Likewise.
39809         (pow_test): Likewise.
39810         (pow_test_tonearest): Likewise.
39811         (pow_test_towardzero): Likewise.
39812         (pow_test_downward): Likewise.
39813         (pow_test_upward): Likewise.
39814         (remainder_test): Likewise.
39815         (remainder_test_tonearest): Likewise.
39816         (remainder_test_towardzero): Likewise.
39817         (remainder_test_downward): Likewise.
39818         (remainder_test_upward): Likewise.
39819         (remquo_test): Likewise.
39820         (rint_test): Likewise.
39821         (rint_test_tonearest): Likewise.
39822         (rint_test_towardzero): Likewise.
39823         (rint_test_downward): Likewise.
39824         (rint_test_upward): Likewise.
39825         (round_test): Likewise.
39826         (scalb_test): Likewise.
39827         (scalbn_test): Likewise.
39828         (scalbln_test): Likewise.
39829         (signbit_test): Likewise.
39830         (sin_test): Likewise.
39831         (sin_test_tonearest): Likewise.
39832         (sin_test_towardzero): Likewise.
39833         (sin_test_downward): Likewise.
39834         (sin_test_upward): Likewise.
39835         (sincos_test): Likewise.
39836         (sinh_test): Likewise.
39837         (sinh_test_tonearest): Likewise.
39838         (sinh_test_towardzero): Likewise.
39839         (sinh_test_downward): Likewise.
39840         (sinh_test_upward): Likewise.
39841         (sqrt_test): Likewise.
39842         (tan_test): Likewise.
39843         (tan_test_tonearest): Likewise.
39844         (tan_test_towardzero): Likewise.
39845         (tan_test_downward): Likewise.
39846         (tan_test_upward): Likewise.
39847         (tanh_test): Likewise.
39848         (tgamma_test): Likewise.
39849         (trunc_test): Likewise.
39850         (y0_test): Likewise.
39851         (y1_test): Likewise.
39852         (yn_test): Likewise.
39853         (significand_test): Likewise.
39855 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
39857         [BZ #15381]
39858         * libio/genops.c (_IO_no_init): Initialize wide struct info.
39860 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39862         [BZ #14894]
39863         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
39864         __ppc_mdoio and __ppc_mdoom.
39865         * manual/platform.texi: Document new functions __ppc_yield,
39866         __ppc_mdoio and __ppc_mdoom.
39868 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
39870         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
39871         (main): Mention "tls" pseudo-hwcap is legacy.
39872         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
39874 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39876         * math/gen-libm-test.pl (parse_args): Output only string of
39877         arguments as text for test name, not full call or descriptions of
39878         tests for extra outputs.
39879         (generate_testfile): Do not pass function name to parse_args.
39880         Generate this_func variable from START.
39881         * math/libm-test.inc (struct test_f_f_data): Rename test_name
39882         field to arg_str.
39883         (struct test_ff_f_data): Likewise.
39884         (test_ff_f_data_nexttoward): Likewise.
39885         (struct test_fi_f_data): Likewise.
39886         (struct test_fl_f_data): Likewise.
39887         (struct test_if_f_data): Likewise.
39888         (struct test_fff_f_data): Likewise.
39889         (struct test_c_f_data): Likewise.
39890         (struct test_f_f1_data): Likewise.  Remove field extra_name.
39891         (struct test_fF_f1_data): Likewise.
39892         (struct test_ffI_f1_data): Likewise.
39893         (struct test_c_c_data): Rename test_name field to arg_str.
39894         (struct test_cc_c_data): Likewise.
39895         (struct test_f_i_data): Likewise.
39896         (struct test_ff_i_data): Likewise.
39897         (struct test_f_l_data): Likewise.
39898         (struct test_f_L_data): Likewise.
39899         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
39900         and extra2_name.
39901         (COMMON_TEST_SETUP): New macro.
39902         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
39903         (COMMON_TEST_CLEANUP): Likewise.
39904         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
39905         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
39906         macros.
39907         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
39908         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
39909         macros.
39910         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
39911         (RUN_TEST_fff_f): Take argument string.  Call new setup and
39912         cleanup macros.
39913         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
39914         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
39915         macros.
39916         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
39917         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
39918         macros.
39919         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39920         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
39921         cleanup macros.
39922         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39923         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
39924         cleanup macros.
39925         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39926         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
39927         cleanup macros.
39928         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39929         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
39930         macros.
39931         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
39932         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
39933         macros.
39934         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
39935         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
39936         macros.
39937         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
39938         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
39939         cleanup macros.
39940         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
39941         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
39942         cleanup macros.
39943         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
39944         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
39945         macros.
39946         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
39947         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
39948         cleanup macros.
39949         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
39950         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
39951         macros.
39952         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
39953         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
39954         macros.
39955         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
39956         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
39957         cleanup macros.
39958         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
39960 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
39962         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
39963         to _sifields.sigfault.
39964         (si_addr_lsb): Define new macro.
39965         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39966         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39967         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
39969 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
39971         [BZ #15441]
39972         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
39973         returns -1.
39974         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
39975         null return -1.
39976         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
39977         loading the domain.
39979 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39981         * math/gen-libm-test.pl (parse_args): Do not include expected
39982         result in test name.
39983         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
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 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39992         * benchtests/Makefile: Sort function entries.
39994         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
39995         tanh, asinh, acosh, atanh.
39996         * benchtests/acos-inputs: New file.
39997         * benchtests/acosh-inputs: New file.
39998         * benchtests/asin-inputs: New file.
39999         * benchtests/asinh-inputs: New file.
40000         * benchtests/atanh-inputs: New file.
40001         * benchtests/cosh-inputs: New file.
40002         * benchtests/log-inputs: New file.
40003         * benchtests/sinh-inputs: New file.
40004         * benchtests/tanh-inputs: New file.
40006 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
40008         [BZ #15339]
40009         * posix/tst-getaddrinfo4.c: New test.
40010         * posix/Makefile (tests): Add it.
40012 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40014         [BZ #15339]
40015         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
40016         when no services were used.
40017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
40018         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
40020 2013-05-21  Andreas Schwab  <schwab@suse.de>
40022         [BZ #15014]
40023         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
40024         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
40025         successful.
40026         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
40027         redundant variable declarations and reallocation of buffer when
40028         parsing as IPv6 address.  Always set NSS status when called from
40029         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
40030         buffer too small.  Correct computation of needed size.
40031         * nss/Makefile (tests): Add test-digits-dots.
40032         * nss/test-digits-dots.c: New test.
40034 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40036         * benchtests/Makefile: Remove instructions for adding
40037         benchmark tests.
40038         * benchtests/README: New file to explain how to execute and
40039         enhance the benchmark tests.
40041 2013-05-21  Andreas Schwab  <schwab@suse.de>
40043         [BZ #15493]
40044         * setjmp/Makefile (tests): Add tst-sigsetjmp.
40045         * setjmp/tst-sigsetjmp.c: New test.
40047 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40049         * sysdeps/x86_64/memset.S (memset): New implementation.
40050         (__bzero): Likewise.
40051         (__memset_tail): New function.
40053 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40055         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
40056         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
40057         __memcpy_sse2_unaligned ifunc selection.
40058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40059         Add memcpy-sse2-unaligned.S.
40060         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40061         Add: __memcpy_sse2_unaligned.
40063 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
40065         [BZ #15490]
40066         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40067         math_force_eval before restoring floating-point envrionment.
40068         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
40069         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
40070         Likewise.
40071         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
40072         <math_private.h>.
40073         (__nearbyintl): Use math_force_eval before restoring
40074         floating-point environment.
40075         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
40077         * math/gen-libm-test.pl (special_functions): Remove.
40078         (parse_args): Don't handle TEST_extra.  Handle functions with no
40079         return value.
40080         * math/libm-test.inc (struct test_sincos_data): Replace with
40081         struct test_fFF_11_data.
40082         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
40083         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
40084         (sincos_test_data): Change element type to struct
40085         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
40086         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
40087         RUN_TEST_LOOP_sincos.
40088         * math/README.libm-test: Don't mention special handling of
40089         individual functions.
40090         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
40091         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40092         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40093         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40094         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40097         * math/gen-libm-test.pl (get_variable): Remove function.
40098         (parse_args): Don't show pointer parameters to call in test
40099         names.  Use "extra output N" in test names for extra outputs
40100         rather than naming variables.
40102 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
40104         [BZ #15488]
40105         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
40106         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
40107         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
40108         double tests.
40109         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
40110         disable.
40111         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
40112         check_long_double.
40114         * math/gen-libm-test.pl (@tests): Remove variable.
40115         ($count): Likewise.
40116         (new_test): Remove function.
40117         (show_exceptions): New function.
40118         (special_functions): Use show_exceptions instead of new_test.
40119         (parse_args): Likewise.
40120         (generate_testfile): Pass only function name in generated call to
40121         print_max_error or print_complex_max_error.
40122         (get_ulps): Do not handle complex tests specially.
40123         (output_test): Rename to ...
40124         (get_all_ulps_for_test): ... this.  Return a string rather than
40125         printing to a file.  Require ulps to be present.
40126         (output_ulps): Generate arrays rather than #defines.
40127         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
40128         (struct ulp_data): New type.
40129         (BUILD_COMPLEX_ULP): Remove macro.
40130         (compare_ulp_data): New function.
40131         (find_ulps): Likewise.
40132         (find_test_ulps): Likewise.
40133         (find_function_ulps): Likewise.
40134         (find_complex_function_ulps): Likewise.
40135         (print_max_error): Determine allowed ulps using
40136         find_function_ulps.
40137         (print_complex_max_error): Determine allowed ulps using
40138         find_complex_function_ulps.
40139         (check_float_internal): Determine max ulps using find_test_ulps.
40140         (check_float): Do not take max_ulp parameter.  Update call to
40141         check_float_internal.
40142         (check_complex): Likewise.
40143         (check_int): Do not take max_ulp parameter.
40144         (check_long): Likewise.
40145         (check_bool): Likewise.
40146         (check_longlong): Likewise.
40147         (struct test_f_f_data): Remove max_ulp field.
40148         (struct test_ff_f_data): Likewise.
40149         (struct test_ff_f_data_nexttoward): Likewise.
40150         (struct test_fi_f_data): Likewise.
40151         (struct test_fl_f_data): Likewise.
40152         (struct test_if_f_data): Likewise.
40153         (struct test_fff_f_data): Likewise.
40154         (struct test_c_f_data): Likewise.
40155         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
40156         (struct test_fF_f1_data): Likewise.
40157         (struct test_ffI_f1_data): Likewise.
40158         (struct test_c_c_data): Remove max_ulp field.
40159         (struct test_cc_c_data): Likewise.
40160         (struct test_f_i_data): Likewise.
40161         (struct test_ff_i_data): Likewise.
40162         (struct test_f_l_data): Likewise.
40163         (struct test_f_L_data): Likewise.
40164         (struct test_sincos_data): Likewise.
40165         (RUN_TEST_f_f): Do not handle ulps.
40166         (RUN_TEST_LOOP_f_f): Likewise.
40167         (RUN_TEST_2_f): Likewise.
40168         (RUN_TEST_LOOP_2_f): Likewise.
40169         (RUN_TEST_fff_f): Likewise.
40170         (RUN_TEST_LOOP_fff_f): Likewise.
40171         (RUN_TEST_c_f): Likewise.
40172         (RUN_TEST_LOOP_c_f): Likewise.
40173         (RUN_TEST_f_f1): Likewise.
40174         (RUN_TEST_LOOP_f_f1): Likewise.
40175         (RUN_TEST_fF_f1): Likewise.
40176         (RUN_TEST_LOOP_fF_f1): Likewise.
40177         (RUN_TEST_fI_f1): Likewise.
40178         (RUN_TEST_LOOP_fI_f1): Likewise.
40179         (RUN_TEST_ffI_f1): Likewise.
40180         (RUN_TEST_LOOP_ffI_f1): Likewise.
40181         (RUN_TEST_c_c): Likewise.
40182         (RUN_TEST_LOOP_c_c): Likewise.
40183         (RUN_TEST_cc_c): Likewise.
40184         (RUN_TEST_LOOP_cc_c): Likewise.
40185         (RUN_TEST_f_i): Likewise.
40186         (RUN_TEST_LOOP_f_i): Likewise.
40187         (RUN_TEST_f_i_tg): Likewise.
40188         (RUN_TEST_LOOP_f_i_tg): Likewise.
40189         (RUN_TEST_ff_i_tg): Likewise.
40190         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40191         (RUN_TEST_f_b): Likewise.
40192         (RUN_TEST_LOOP_f_b): Likewise.
40193         (RUN_TEST_f_b_tg): Likewise.
40194         (RUN_TEST_LOOP_f_b_tg): Likewise.
40195         (RUN_TEST_f_l): Likewise.
40196         (RUN_TEST_LOOP_f_l): Likewise.
40197         (RUN_TEST_f_L): Likewise.
40198         (RUN_TEST_LOOP_f_L): Likewise.
40199         (RUN_TEST_sincos): Likewise.
40200         (RUN_TEST_LOOP_sincos): Likewise.
40202 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
40204         [BZ #15480]
40205         [BZ #15485]
40206         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
40207         main case of finite arguments, set rounding mode to FE_TONEAREST
40208         and discard exceptions.
40209         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
40210         exceptions.
40211         (remainder_tonearest_test_data): New variable.
40212         (remainder_test_tonearest): New function.
40213         (remainder_towardzero_test_data): New variable.
40214         (remainder_test_towardzero): New function.
40215         (remainder_downward_test_data): New variable.
40216         (remainder_test_downward): New function.
40217         (remainder_upward_test_data): New variable.
40218         (remainder_test_upward): New function.
40219         (main): Call the new test functions.
40221         * math/libm-test.inc (struct test_f_f1_data): Remove field
40222         extra_init.
40223         (struct test_fF_f1_data): Likewise.
40224         (struct test_ffI_f1_data): Likewise.
40225         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
40226         based on value of EXTRA_EXPECTED.
40227         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40228         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
40229         EXTRA_VAR based on value of EXTRA_EXPECTED.
40230         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40231         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
40232         EXTRA_VAR based on value of EXTRA_EXPECTED.
40233         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40234         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
40235         EXTRA_VAR based on value of EXTRA_EXPECTED.
40236         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40237         * math/gen-libm-test.pl (parse_args): Don't output initializers
40238         for extra output values.
40240         * math/libm-test.inc (check_int): Expect result to be exactly
40241         equal to expected value and do not handle ulps.
40242         (check_long): Likewise.
40243         (check_longlong): Likewise.
40245         * math/libm-test.inc (ceil_test_data): Test for "inexact"
40246         exceptions.
40247         (cimag_test_data): Likewise.
40248         (conj_test_data): Likewise.
40249         (copysign_test_data): Likewise.
40250         (cproj_test_data): Likewise.
40251         (creal_test_data): Likewise.
40252         (fabs_test_data): Likewise.
40253         (fdim_test_data): Likewise.
40254         (finite_test_data): Likewise.
40255         (floor_test_data): Likewise.
40256         (fmax_test_data): Likewise.
40257         (fmin_test_data): Likewise.
40258         (fmod_test_data): Likewise.
40259         (fpclassify_test_data): Likewise.
40260         (frexp_test_data): Likewise.
40261         (ilogb_test_data): Likewise.
40262         (isfinite_test_data): Likewise.
40263         (isgreater_test_data): Likewise.
40264         (isgreaterequal_test_data): Likewise.
40265         (isinf_test_data): Likewise.
40266         (isless_test_data): Likewise.
40267         (islessequal_test_data): Likewise.
40268         (islessgreater_test_data): Likewise.
40269         (isnan_test_data): Likewise.
40270         (isnormal_test_data): Likewise.
40271         (issignaling_test_data): Likewise.
40272         (isunordered_test_data): Likewise.
40273         (ldexp_test_data): Likewise.
40274         (lrint_test_data): Likewise.
40275         (lrint_test_data) [TEST_FLOAT]: Disable one test.
40276         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
40277         (lrint_tonearest_test_data): Test for "inexact" exceptions.
40278         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40279         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
40280         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40281         test input.
40282         (lrint_towardzero_test_data): Test for "inexact" exceptions.
40283         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40284         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
40285         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
40286         that test input.
40287         (lrint_downward_test_data): Test for "inexact" exceptions.
40288         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40289         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
40290         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40291         test input.
40292         (lrint_upward_test_data): Test for "inexact" exceptions.
40293         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
40294         test input.
40295         (llrint_test_data): Test for "inexact" exceptions.
40296         (llrint_test_data) [TEST_FLOAT]: Disable one test.
40297         (llrint_tonearest_test_data): Test for "inexact" exceptions.
40298         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40299         (llrint_towardzero_test_data): Test for "inexact" exceptions.
40300         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40301         (llrint_downward_test_data): Test for "inexact" exceptions.
40302         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40303         (llrint_upward_test_data): Test for "inexact" exceptions.
40304         (logb_test_data): Likewise.
40305         (logb_downward_test_data): Likewise.
40306         (nextafter_test_data): Likewise.
40307         (nexttoward_test_data): Likewise.
40308         (remainder_test_data): Likewise.
40309         (remquo_test_data): Likewise.
40310         (scalbn_test_data): Likewise.
40311         (scalbln_test_data): Likewise.
40312         (signbit_test_data): Likewise.
40313         (sqrt_test_data): Likewise.
40314         (significand_test_data): Likewise.
40316 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40318         [BZ #15424]
40319         * benchtests/bench-modf.c (struct args): Mark arg0 as
40320         volatile.
40321         * scripts/bench.pl: Mark members of struct args as volatile.
40323 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40325         [BZ # 15497]
40326         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
40327         negative infinity on POWER6 or lower.
40328         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
40330 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40332         [BZ #15442]
40333         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
40334         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
40335         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
40336         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
40337         (_FP_SETQNAN): New macro.
40338         (_FP_SETQNAN_SEMIRAW): Likewise.
40339         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
40340         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
40341         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
40342         (FP_EXTEND): Use _FP_FRAC_SNANP.
40343         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
40344         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
40345         into account.
40346         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40347         New macro.
40348         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40349         Likewise.
40351 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40353         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
40354         with DIVIDE_BY_ZERO_EXCEPTION.
40355         (gamma_test_data): Likewise.
40356         (lgamma_test_data): Likewise.
40357         (log_test_data): Likewise.
40358         (log10_test_data): Likewise.
40359         (log2_test_data): Likewise.
40360         (tgamma_test_data): Likewise.
40362         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
40363         (acos_test_tonearest): Likewise.
40364         (acos_test_towardzero): Likewise.
40365         (acos_test_downward): Likewise.
40366         (acos_test_upward): Likewise.
40367         (acosh_test): Likewise.
40368         (asin_test): Likewise.
40369         (asin_test_tonearest): Likewise.
40370         (asin_test_towardzero): Likewise.
40371         (asin_test_downward): Likewise.
40372         (asin_test_upward): Likewise.
40373         (asinh_test): Likewise.
40374         (atan_test): Likewise.
40375         (atanh_test): Likewise.
40376         (atan2_test): Likewise.
40377         (cabs_test): Likewise.
40378         (cacos_test): Likewise.
40379         (cacosh_test): Likewise.
40380         (casin_test): Likewise.
40381         (casinh_test): Likewise.
40382         (catan_test): Likewise.
40383         (catanh_test): Likewise.
40384         (cbrt_test): Likewise.
40385         (ccos_test): Likewise.
40386         (ccosh_test): Likewise.
40387         (cexp_test): Likewise.
40388         (clog_test): Likewise.
40389         (clog10_test): Likewise.
40390         (cos_test): Likewise.
40391         (cos_test_tonearest): Likewise.
40392         (cos_test_towardzero): Likewise.
40393         (cos_test_downward): Likewise.
40394         (cos_test_upward): Likewise.
40395         (cosh_test): Likewise.
40396         (cosh_test_tonearest): Likewise.
40397         (cosh_test_towardzero): Likewise.
40398         (cosh_test_downward): Likewise.
40399         (cosh_test_upward): Likewise.
40400         (cpow_test): Likewise.
40401         (csin_test): Likewise.
40402         (csinh_test): Likewise.
40403         (csqrt_test): Likewise.
40404         (ctan_test): Likewise.
40405         (ctan_test_tonearest): Likewise.
40406         (ctan_test_towardzero): Likewise.
40407         (ctan_test_downward): Likewise.
40408         (ctan_test_upward): Likewise.
40409         (ctanh_test): Likewise.
40410         (ctanh_test_tonearest): Likewise.
40411         (ctanh_test_towardzero): Likewise.
40412         (ctanh_test_downward): Likewise.
40413         (ctanh_test_upward): Likewise.
40414         (erf_test): Likewise.
40415         (erfc_test): Likewise.
40416         (exp_test): Likewise.
40417         (exp_test_tonearest): Likewise.
40418         (exp_test_towardzero): Likewise.
40419         (exp_test_downward): Likewise.
40420         (exp_test_upward): Likewise.
40421         (exp10_test): Likewise.
40422         (exp2_test): Likewise.
40423         (expm1_test): Likewise.
40424         (fmod_test): Likewise.
40425         (gamma_test): Likewise.
40426         (hypot_test): Likewise.
40427         (j0_test): Likewise.
40428         (j1_test): Likewise.
40429         (jn_test): Likewise.
40430         (lgamma_test): Likewise.
40431         (log_test): Likewise.
40432         (log10_test): Likewise.
40433         (log1p_test): Likewise.
40434         (log2_test): Likewise.
40435         (logb_test_downward): Likewise.
40436         (pow_test): Likewise.
40437         (pow_test_tonearest): Likewise.
40438         (pow_test_towardzero): Likewise.
40439         (pow_test_downward): Likewise.
40440         (pow_test_upward): Likewise.
40441         (remainder_test): Likewise.
40442         (remquo_test): Likewise.
40443         (sin_test): Likewise.
40444         (sin_test_tonearest): Likewise.
40445         (sin_test_towardzero): Likewise.
40446         (sin_test_downward): Likewise.
40447         (sin_test_upward): Likewise.
40448         (sincos_test): Likewise.
40449         (sinh_test): Likewise.
40450         (sinh_test_tonearest): Likewise.
40451         (sinh_test_towardzero): Likewise.
40452         (sinh_test_downward): Likewise.
40453         (sinh_test_upward): Likewise.
40454         (sqrt_test): Likewise.
40455         (tan_test): Likewise.
40456         (tan_test_tonearest): Likewise.
40457         (tan_test_towardzero): Likewise.
40458         (tan_test_downward): Likewise.
40459         (tan_test_upward): Likewise.
40460         (tanh_test): Likewise.
40461         (tgamma_test): Likewise.
40462         (y0_test): Likewise.
40463         (y1_test): Likewise.
40464         (yn_test): Likewise.
40466         * math/gen-libm-test.pl (adjust_arg): Remove function.
40467         (special_function): Remove argument $in_func.  Only handle
40468         generating output for tables of tests, not inside functions.
40469         (parse_args): Likewise.
40470         (generate_testfile): Remove variable $in_func.  Update call to
40471         parse_args.
40472         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
40473         (MINUS_ZERO_INIT): Rename macro to minus_zero.
40474         (PLUS_INFTY_INIT): Rename macro to plus_infty.
40475         (MINUS_INFTY_INIT): Rename macro to minus_infty.
40476         (QNAN_VALUE_INIT): Rename macro to qnan_value.
40477         (MAX_VALUE_INIT): Rename macro to max_value.
40478         (MIN_VALUE_INIT): Rename macro to min_value.
40479         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
40480         (plus_zero): Remove variable.
40481         (minus_zero): Likewise.
40482         (plus_infty): Likewise.
40483         (minus_infty): Likewise.
40484         (qnan_value): Likewise.
40485         (max_value): Likewise.
40486         (min_value): Likewise.
40487         (min_subnorm_value): Likewise.
40489 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40491         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
40492         uint64_t or uint32_t usage.
40493         * crypt/sha256-block.c: Likewise.
40494         * crypt/sha256-crypt.c: Likewise.
40495         * crypt/sha256.c: Likewise.
40496         * crypt/sha512-block.c: Likewise.
40497         * crypt/sha512-crypt.c: Likewise.
40498         * crypt/sha512.c: Likewise.
40499         * debug/backtrace-tst.c: Likewise.
40500         * debug/pcprofiledump.c: Likewise.
40501         * elf/cache.c: Likewise.
40502         * elf/dl-cache.c: Likewise.
40503         * elf/dl-misc.c: Likewise.
40504         * elf/dl-profile.c: Likewise.
40505         * elf/dl-support.c: Likewise.
40506         * elf/ldconfig.c: Likewise.
40507         * elf/sprof.c: Likewise.
40508         * iconv/dummy-repertoire.c: Likewise.
40509         * iconv/iconv_charmap.c: Likewise.
40510         * iconv/skeleton.c: Likewise.
40511         * iconvdata/8bit-generic.c: Likewise.
40512         * iconvdata/cp737.h: Likewise.
40513         * iconvdata/cp775.h: Likewise.
40514         * iconvdata/ibm1008.h: Likewise.
40515         * iconvdata/ibm1025.h: Likewise.
40516         * iconvdata/ibm1046.h: Likewise.
40517         * iconvdata/ibm1097.h: Likewise.
40518         * iconvdata/ibm1112.h: Likewise.
40519         * iconvdata/ibm1122.h: Likewise.
40520         * iconvdata/ibm1123.h: Likewise.
40521         * iconvdata/ibm1124.h: Likewise.
40522         * iconvdata/ibm1129.h: Likewise.
40523         * iconvdata/ibm1130.h: Likewise.
40524         * iconvdata/ibm1132.h: Likewise.
40525         * iconvdata/ibm1133.h: Likewise.
40526         * iconvdata/ibm1137.h: Likewise.
40527         * iconvdata/ibm1140.h: Likewise.
40528         * iconvdata/ibm1141.h: Likewise.
40529         * iconvdata/ibm1142.h: Likewise.
40530         * iconvdata/ibm1143.h: Likewise.
40531         * iconvdata/ibm1144.h: Likewise.
40532         * iconvdata/ibm1145.h: Likewise.
40533         * iconvdata/ibm1146.h: Likewise.
40534         * iconvdata/ibm1147.h: Likewise.
40535         * iconvdata/ibm1148.h: Likewise.
40536         * iconvdata/ibm1149.h: Likewise.
40537         * iconvdata/ibm1153.h: Likewise.
40538         * iconvdata/ibm1154.h: Likewise.
40539         * iconvdata/ibm1155.h: Likewise.
40540         * iconvdata/ibm1156.h: Likewise.
40541         * iconvdata/ibm1157.h: Likewise.
40542         * iconvdata/ibm1158.h: Likewise.
40543         * iconvdata/ibm1160.h: Likewise.
40544         * iconvdata/ibm1161.h: Likewise.
40545         * iconvdata/ibm1162.h: Likewise.
40546         * iconvdata/ibm1163.h: Likewise.
40547         * iconvdata/ibm1164.h: Likewise.
40548         * iconvdata/ibm1166.h: Likewise.
40549         * iconvdata/ibm1167.h: Likewise.
40550         * iconvdata/ibm12712.h: Likewise.
40551         * iconvdata/ibm1390.h: Likewise.
40552         * iconvdata/ibm1399.h: Likewise.
40553         * iconvdata/ibm16804.h: Likewise.
40554         * iconvdata/ibm4517.h: Likewise.
40555         * iconvdata/ibm4899.h: Likewise.
40556         * iconvdata/ibm4909.h: Likewise.
40557         * iconvdata/ibm4971.h: Likewise.
40558         * iconvdata/ibm5347.h: Likewise.
40559         * iconvdata/ibm803.h: Likewise.
40560         * iconvdata/ibm856.h: Likewise.
40561         * iconvdata/ibm901.h: Likewise.
40562         * iconvdata/ibm902.h: Likewise.
40563         * iconvdata/ibm9030.h: Likewise.
40564         * iconvdata/ibm9066.h: Likewise.
40565         * iconvdata/ibm921.h: Likewise.
40566         * iconvdata/ibm922.h: Likewise.
40567         * iconvdata/ibm9448.h: Likewise.
40568         * iconvdata/isiri-3342.h: Likewise.
40569         * iconvdata/jis0201.h: Likewise.
40570         * include/link.h: Likewise.
40571         * include/netdb.h: Likewise.
40572         * inet/check_native.c: Likewise.
40573         * inet/check_pf.c: Likewise.
40574         * inet/getipv4sourcefilter.c: Likewise.
40575         * inet/getnameinfo.c: Likewise.
40576         * inet/getsourcefilter.c: Likewise.
40577         * inet/htonl.c: Likewise.
40578         * inet/setipv4sourcefilter.c: Likewise.
40579         * inet/setsourcefilter.c: Likewise.
40580         * inet/test-inet6_opt.c: Likewise.
40581         * inet/tst-network.c: Likewise.
40582         * locale/C-collate.c: Likewise.
40583         * locale/C-ctype.c: Likewise.
40584         * locale/C-time.c: Likewise.
40585         * locale/C-translit.h: Likewise.
40586         * locale/loadarchive.c: Likewise.
40587         * locale/programs/3level.h: Likewise.
40588         * locale/programs/charmap.c: Likewise.
40589         * locale/programs/charmap.h: Likewise.
40590         * locale/programs/ld-address.c: Likewise.
40591         * locale/programs/ld-collate.c: Likewise.
40592         * locale/programs/ld-ctype.c: Likewise.
40593         * locale/programs/ld-identification.c: Likewise.
40594         * locale/programs/ld-measurement.c: Likewise.
40595         * locale/programs/ld-messages.c: Likewise.
40596         * locale/programs/ld-monetary.c: Likewise.
40597         * locale/programs/ld-name.c: Likewise.
40598         * locale/programs/ld-numeric.c: Likewise.
40599         * locale/programs/ld-paper.c: Likewise.
40600         * locale/programs/ld-telephone.c: Likewise.
40601         * locale/programs/ld-time.c: Likewise.
40602         * locale/programs/linereader.c: Likewise.
40603         * locale/programs/locale.c: Likewise.
40604         * locale/programs/locarchive.c: Likewise.
40605         * locale/programs/locfile.h: Likewise.
40606         * locale/programs/repertoire.c: Likewise.
40607         * locale/programs/simple-hash.c: Likewise.
40608         * locale/programs/simple-hash.h: Likewise.
40609         * malloc/memusage.c: Likewise.
40610         * malloc/memusagestat.c: Likewise.
40611         * nis/nis_defaults.c: Likewise.
40612         * nis/nis_hash.c: Likewise.
40613         * nis/nis_print.c: Likewise.
40614         * nis/nis_xdr.c: Likewise.
40615         * nscd/connections.c: Likewise.
40616         * nscd/hstcache.c: Likewise.
40617         * nscd/nscd_gethst_r.c: Likewise.
40618         * nscd/nscd_getserv_r.c: Likewise.
40619         * nscd/nscd_helper.c: Likewise.
40620         * nscd/servicescache.c: Likewise.
40621         * nss/makedb.c: Likewise.
40622         * nss/nss_db/db-XXX.c: Likewise.
40623         * nss/nss_db/db-initgroups.c: Likewise.
40624         * nss/nss_db/db-netgrp.c: Likewise.
40625         * nss/nss_files/files-network.c: Likewise.
40626         * nss/nss_files/files-parse.c: Likewise.
40627         * posix/bug-regex5.c: Likewise.
40628         * posix/fnmatch_loop.c: Likewise.
40629         * posix/regcomp.c: Likewise.
40630         * posix/regexec.c: Likewise.
40631         * posix/tst-rfc3484-2.c: Likewise.
40632         * posix/tst-rfc3484-3.c: Likewise.
40633         * posix/tst-rfc3484.c: Likewise.
40634         * resolv/nss_dns/dns-canon.c: Likewise.
40635         * resolv/nss_dns/dns-network.c: Likewise.
40636         * resolv/res_init.c: Likewise.
40637         * resolv/res_mkquery.c: Likewise.
40638         * resolv/tst-aton.c: Likewise.
40639         * stdlib/cxa_atexit.c: Likewise.
40640         * stdlib/cxa_finalize.c: Likewise.
40641         * stdlib/gen-fpioconst.c: Likewise.
40642         * stdlib/strtol_l.c: Likewise.
40643         * string/tst-endian.c: Likewise.
40644         * sunrpc/auth_des.c: Likewise.
40645         * sunrpc/clnt_udp.c: Likewise.
40646         * sunrpc/rtime.c: Likewise.
40647         * sunrpc/svcauth_des.c: Likewise.
40648         * sunrpc/xdr.c: Likewise.
40649         * sunrpc/xdr_intXX_t.c: Likewise.
40650         * sunrpc/xdr_rec.c: Likewise.
40651         * sysdeps/generic/ldconfig.h: Likewise.
40652         * sysdeps/generic/ldsodefs.h: Likewise.
40653         * sysdeps/generic/memusage.h: Likewise.
40654         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40655         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
40656         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
40657         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40658         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40659         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40660         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40661         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40662         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40663         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40664         * sysdeps/posix/getaddrinfo.c: Likewise.
40665         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40666         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40667         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40668         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40669         * sysdeps/powerpc/test-gettimebase.c: Likewise.
40670         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40671         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
40672         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
40673         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40674         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
40675         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40676         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40677         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
40678         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
40679         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
40680         * sysdeps/x86_64/dl-tls.h: Likewise.
40681         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
40682         * time/alt_digit.c: Likewise.
40683         * time/era.c: Likewise.
40684         * wcsmbs/tst-c16c32-1.c: Likewise.
40686 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40688         * math/libm-test.inc (struct test_sincos_data): New type.
40689         (RUN_TEST_LOOP_sincos): New macro.
40690         (sincos_test_data): New variable.
40691         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
40693 2013-05-16  Richard Henderson  <rth@redhat.com>
40695         * math/atest-exp2.c (LIMB64): New macro.
40696         (CONSTSZ): New macro.
40697         (mp_exp1, mp_exp_m1, mp_log2): New variables.
40698         (hexdig): Move ...
40699         (print_mpn_fp): ... to function scope.
40700         (read_mpn_hex): Remove.
40701         (get_log2): Remove.
40702         (exp2_mpn): Use mp_log2.
40703         (main): Use mp_exp1.
40705 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40707         * math/libm-test.inc: Remove comment about not testing "inexact"
40708         exceptions.
40709         (INEXACT_EXCEPTION): New macro.
40710         (NO_INEXACT_EXCEPTION): Likewise.
40711         (INVALID_EXCEPTION_OK): Update value.
40712         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40713         (OVERFLOW_EXCEPTION_OK): Likewise.
40714         (UNDERFLOW_EXCEPTION_OK): Likewise.
40715         (IGNORE_ZERO_INF_SIGN): Likewise.
40716         (ERRNO_UNCHANGED): Likewise.
40717         (ERRNO_EDOM): Likewise.
40718         (ERRNO_ERANGE): Likewise.
40719         (test_exceptions): Handle testing "inexact" exceptions.
40720         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
40721         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
40722         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
40723         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
40724         INEXACT_EXCEPTION.
40725         (rint_towardzero_test_data): Likewise.
40726         (rint_downward_test_data): Likewise.
40727         (rint_upward_test_data): Likewise.
40729         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
40730         with OVERFLOW_EXCEPTION.
40731         (exp10_test_data): Likewise.
40732         (exp2_test_data): Likewise.
40733         (expm1_test_data): Likewise.
40734         (lgamma_test_data): Likewise.
40735         (pow_test_data): Likewise.
40736         (tgamma_test_data): Likewise.
40737         (yn_test_data): Remove duplicate test of overflow.
40739         * math/libm-test.inc (struct test_cc_c_data): New type.
40740         (RUN_TEST_LOOP_cc_c): New macro.
40741         (cpow_test_data): New variable.
40742         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
40744         * math/libm-test.inc (struct test_f_L_data): New type.
40745         (RUN_TEST_LOOP_f_L): New macro.
40746         (llrint_test_data): New variable.
40747         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
40748         (llrint_tonearest_test_data): New variable.
40749         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
40750         (llrint_towardzero_test_data): New variable.
40751         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
40752         (llrint_downward_test_data): New variable.
40753         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
40754         (llrint_upward_test_data): New variable.
40755         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
40756         (llround_test_data): New variable.
40757         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
40759 2013-05-13  Peter Collingbourne  <pcc@google.com>
40761         * math/atest-exp2.c (get_log2): Remove const attribute.
40763 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40765         * math/libm-test.inc (struct test_f_l_data): New type.
40766         (RUN_TEST_LOOP_f_l): New macro.
40767         (lrint_test_data): New variable.
40768         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
40769         (lrint_tonearest_test_data): New variable.
40770         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
40771         (lrint_towardzero_test_data): New variable.
40772         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
40773         (lrint_downward_test_data): New variable.
40774         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
40775         (lrint_upward_test_data): New variable.
40776         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
40777         (lround_test_data): New variable.
40778         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
40780 2013-05-15  Peter Collingbourne  <pcc@google.com>
40782         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
40783         (EXTRACT_WORDS64) Use where appropriate.
40784         (INSERT_WORDS64) Likewise.
40786         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
40787         constraints with x constraints.
40788         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
40790         * malloc/obstack.c (_obstack_compat): Add initializer.
40792 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40794         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
40795         si_trapno and add si_addr_lsb to _sifields.sigfault.
40796         (si_trapno): Remove macro.
40797         (si_addr_lsb): Define new macro.
40798         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40800 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40802         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
40803         instead of TEST_f_l.
40804         (llrint_test_tonearest): Likewise.
40805         (llrint_test_towardzero): Likewise.
40806         (llrint_test_downward): Likewise.
40807         (llrint_test_upward): Likewise.
40808         (llround_test): Likewise.
40810         * math/libm-test.inc (struct test_f_i_data): Add comment.
40811         (RUN_TEST_LOOP_f_b): New macro.
40812         (RUN_TEST_LOOP_f_b_tg): Likewise.
40813         (finite_test_data): New variable.
40814         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
40815         (isfinite_test_data): New variable.
40816         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40817         (isinf_test_data): New variable.
40818         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40819         (isnan_test_data): New variable.
40820         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40821         (isnormal_test_data): New variable.
40822         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40823         (issignaling_test_data): New variable.
40824         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40825         (signbit_test_data): New variable.
40826         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40828         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
40829         with INVALID_EXCEPTION.
40830         (acosh_test_data): Likewise.
40831         (asin_test_data): Likewise.
40832         (atanh_test_data): Likewise.
40833         (fmod_test_data): Likewise.
40834         (log_test_data): Likewise.
40835         (log10_test_data): Likewise.
40836         (log2_test_data): Likewise.
40837         (pow_test_data): Likewise.
40838         (sqrt_test_data): Likewise.
40839         (y0_test_data): Likewise.
40840         (y1_test_data): Likewise.
40841         (yn_test_data): Likewise.
40843         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
40844         function contents.
40846         * math/libm-test.inc (struct test_ff_i_data): New type.
40847         (RUN_TEST_LOOP_ff_i_tg): New macro.
40848         (isgreater_test_data): New variable.
40849         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40850         (isgreaterequal_test_data): New variable.
40851         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40852         (isless_test_data): New variable.
40853         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40854         (islessequal_test_data): New variable.
40855         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40856         (islessgreater_test_data): New variable.
40857         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40858         (isunordered_test_data): New variable.
40859         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40861 2013-05-14  David S. Miller  <davem@davemloft.net>
40863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40865 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
40867         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
40869         * math/libm-test.inc (struct test_fF_f1_data): Change type of
40870         extra_test to int.
40871         (struct test_f_i_data): Change type of max_ulp to int.
40873         * math/libm-test.inc (test_ffI_f1_data): New type.
40874         (RUN_TEST_LOOP_ffI_f1): New macro.
40875         (remquo_test_data): New variable.
40876         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
40878         * setjmp/tst-setjmp-fp.c: New file.
40879         * setjmp/Makefile (tests): Add tst-setjmp-fp.
40880         (link-libm): New variable.
40881         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
40883         * math/libm-test.inc (struct test_f_i_data): New type.
40884         (RUN_TEST_LOOP_f_i): New macro.
40885         (RUN_TEST_LOOP_f_i_tg): Likewise.
40886         (fpclassify_test_data): New variable.
40887         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
40888         (ilogb_test_data): New variable.
40889         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
40891         * math/libm-test.inc (scalbln_test): Correct function name in END
40892         call.
40894         * math/libm-test.inc (struct test_f_f1_data): Add comment.
40895         (RUN_TEST_LOOP_fI_f1): New macro.
40896         (frexp_test_data): New variable.
40897         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
40899         * math/libm-test.inc (struct test_fF_f1_data): New type.
40900         (RUN_TEST_LOOP_fF_f1): New macro.
40901         (modf_test_data): New variable.
40902         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
40904         * math/libm-test.inc (struct test_f_f1_data): New type.
40905         (RUN_TEST_LOOP_f_f1): New macro.
40906         (gamma_test_data): New variable.
40907         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40908         (lgamma_test_data): New variable.
40909         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40911 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
40913         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
40914         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
40915         (main): Comment "tls" pseudo-hwcap.
40917 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
40919         * math/libm-test.inc (struct test_fl_f_data): New type.
40920         (RUN_TEST_LOOP_fl_f): New variable.
40921         (scalbln_test_data): New variable.
40922         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
40924         * math/libm-test.inc (struct test_fi_f_data): New type.
40925         (RUN_TEST_LOOP_fi_f): New macro.
40926         (ldexp_test_data): New variable.
40927         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
40928         (scalbn_test_data): New variable.
40929         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
40931         * math/libm-test.inc (struct test_c_f_data): New type.
40932         (RUN_TEST_LOOP_c_f): New macro.
40933         (cabs_test_data): New variable.
40934         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
40935         (carg_test_data): New variable.
40936         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
40937         (cimag_test_data): New variable.
40938         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
40939         (creal_test_data): New variable.
40940         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
40942         * math/libm-test.inc (struct test_if_f_data): New type.
40943         (RUN_TEST_LOOP_if_f): New macro.
40944         (jn_test_data): New variable.
40945         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
40946         (yn_test_data): New variable.
40947         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
40949         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
40951 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40953         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
40954         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
40956 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40958         * benchtests/Makefile (CPPFLAGS-nonlib): Add
40959         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
40960         (bench-deps): Add bench-timing.h.
40961         * benchtests-bench-skeleton.c: Include bench-timing.h.
40962         (main): Use TIMING_* macros instead of clock_gettime.
40963         * benchtests/bench-timing.h: New file.
40965         [BZ #14582]
40966         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
40967         Renamed from _LIB_VERSION.
40968         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
40970 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
40972         * math/libm-test.inc (struct test_fff_f_data): New type.
40973         (RUN_TEST_LOOP_fff_f): New macro.
40974         (fma_test_data): New variable.
40975         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
40976         (fma_towardzero_test_data): New variable.
40977         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
40978         (fma_downward_test_data): New variable.
40979         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
40980         (fma_upward_test_data): New variable.
40981         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
40983         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
40984         (struct test_c_c_data): New type.
40985         (RUN_TEST_LOOP_c_c): New macro.
40986         (cacos_test_data): New variable.
40987         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
40988         (cacosh_test_data): New variable.
40989         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
40990         (casin_test_data): New variable.
40991         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
40992         (casinh_test_data): New variable.
40993         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
40994         (catan_test_data): New variable.
40995         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
40996         (catanh_test_data): New variable.
40997         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
40998         (ccos_test_data): New variable.
40999         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
41000         (ccosh_test_data): New variable.
41001         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
41002         (cexp_test_data): New variable.
41003         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
41004         (clog_test_data): New variable.
41005         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
41006         (clog10_test_data): New variable.
41007         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
41008         (conj_test_data): New variable.
41009         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
41010         (cproj_test_data): New variable.
41011         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
41012         (csin_test_data): New variable.
41013         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
41014         (csinh_test_data): New variable.
41015         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
41016         (csqrt_test_data): New variable.
41017         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
41018         (ctan_test_data): New variable.
41019         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
41020         (ctan_tonearest_test_data): New variable.
41021         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41022         (ctan_towardzero_test_data): New variable.
41023         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41024         (ctan_downward_test_data): New variable.
41025         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41026         (ctan_upward_test_data): New variable.
41027         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41028         (ctanh_test_data): New variable.
41029         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
41030         (ctanh_tonearest_test_data): New variable.
41031         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41032         (ctanh_towardzero_test_data): New variable.
41033         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41034         (ctanh_downward_test_data): New variable.
41035         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41036         (ctanh_upward_test_data): New variable.
41037         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41038         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
41039         of BUILD_COMPLEX.
41041         * math/libm-test.inc (struct test_ff_f_data): New type.
41042         (struct test_ff_f_data_nexttoward): Likewise.
41043         (RUN_TEST_LOOP_2_f): New macro.
41044         (RUN_TEST_LOOP_ff_f): Likewise.
41045         (atan2_test_data): New variable.
41046         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
41047         (copysign_test_data): New variable.
41048         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
41049         (fdim_test_data): New variable.
41050         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
41051         (fmax_test_data): New variable.
41052         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
41053         (fmin_test_data): New variable.
41054         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
41055         (fmod_test_data): New variable.
41056         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
41057         (hypot_test_data): New variable.
41058         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
41059         (nextafter_test_data): New variable.
41060         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
41061         (nexttoward_test_data): New variable.
41062         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
41063         (pow_test_data): New variable.
41064         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
41065         (pow_tonearest_test_data): New variable.
41066         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
41067         (pow_towardzero_test_data): New variable.
41068         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
41069         (pow_downward_test_data): New variable.
41070         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
41071         (pow_upward_test_data): New variable.
41072         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
41073         (remainder_test_data): New variable.
41074         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
41075         (scalb_test_data): New variable.
41076         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
41077         * sysdeps/i386/fpu/libm-test-ulps: Update.
41079 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
41081         * math/libm-test.inc (fma_test): Use max_value instead of local
41082         variable fltmax.
41083         (nextafter_test): Likewise.
41085         * math/libm-test.inc (acos_towardzero_test_data): New variable.
41086         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41087         (acos_downward_test_data): New variable.
41088         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41089         (acos_upward_test_data): New variable.
41090         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41091         (acosh_test_data): New variable.
41092         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
41093         (asin_test_data): New variable.
41094         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
41095         (asin_tonearest_test_data): New variable.
41096         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41097         (asin_towardzero_test_data): New variable.
41098         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41099         (asin_downward_test_data): New variable.
41100         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41101         (asin_upward_test_data): New variable.
41102         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41103         (asinh_test_data): New variable.
41104         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
41105         (atan_test_data): New variable.
41106         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
41107         (atanh_test_data): New variable.
41108         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
41109         (cbrt_test_data): New variable.
41110         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
41111         (ceil_test_data): New variable.
41112         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
41113         (cos_test_data): New variable.
41114         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
41115         (cos_tonearest_test_data): New variable.
41116         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41117         (cos_towardzero_test_data): New variable.
41118         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41119         (cos_downward_test_data): New variable.
41120         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41121         (cos_upward_test_data): New variable.
41122         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41123         (cosh_test_data): New variable.
41124         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
41125         (cosh_tonearest_test_data): New variable.
41126         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41127         (cosh_towardzero_test_data): New variable.
41128         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41129         (cosh_downward_test_data): New variable.
41130         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41131         (cosh_upward_test_data): New variable.
41132         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41133         (erf_test_data): New variable.
41134         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
41135         (erfc_test_data): New variable.
41136         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
41137         (exp_test_data): New variable.
41138         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
41139         (exp_tonearest_test_data): New variable.
41140         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41141         (exp_towardzero_test_data): New variable.
41142         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41143         (exp_downward_test_data): New variable.
41144         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41145         (exp_upward_test_data): New variable.
41146         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41147         (exp10_test_data): New variable.
41148         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
41149         (exp2_test_data): New variable.
41150         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
41151         (expm1_test_data): New variable.
41152         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
41153         (fabs_test_data): New variable.
41154         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
41155         (floor_test_data): New variable.
41156         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
41157         (j0_test_data): New variable.
41158         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
41159         (j1_test_data): New variable.
41160         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
41161         (log_test_data): New variable.
41162         (log_test): Run tests with RUN_TEST_LOOP_f_f.
41163         (log10_test_data): New variable.
41164         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
41165         (log1p_test_data): New variable.
41166         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
41167         (log2_test_data): New variable.
41168         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
41169         (logb_test_data): New variable.
41170         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
41171         (logb_downward_test_data): New variable.
41172         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41173         (nearbyint_test_data): New variable.
41174         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
41175         (rint_test_data): New variable.
41176         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
41177         (rint_tonearest_test_data): New variable.
41178         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41179         (rint_towardzero_test_data): New variable.
41180         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41181         (rint_downward_test_data): New variable.
41182         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41183         (rint_upward_test_data): New variable.
41184         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41185         (round_test_data): New variable.
41186         (round_test): Run tests with RUN_TEST_LOOP_f_f.
41187         (sin_test_data): New variable.
41188         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
41189         (sin_tonearest_test_data): New variable.
41190         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41191         (sin_towardzero_test_data): New variable.
41192         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41193         (sin_downward_test_data): New variable.
41194         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41195         (sin_upward_test_data): New variable.
41196         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41197         (sinh_test_data): New variable.
41198         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
41199         (sinh_tonearest_test_data): New variable.
41200         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41201         (sinh_towardzero_test_data): New variable.
41202         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41203         (sinh_downward_test_data): New variable.
41204         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41205         (sinh_upward_test_data): New variable.
41206         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41207         (sqrt_test_data): New variable.
41208         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
41209         (tan_test_data): New variable.
41210         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
41211         (tan_tonearest_test_data): New variable.
41212         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41213         (tan_towardzero_test_data): New variable.
41214         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41215         (tan_downward_test_data): New variable.
41216         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41217         (tan_upward_test_data): New variable.
41218         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41219         (tanh_test_data): New variable.
41220         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
41221         (tgamma_test_data): New variable.
41222         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
41223         (trunc_test_data): New variable.
41224         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
41225         (y0_test_data): New variable.
41226         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
41227         (y1_test_data): New variable.
41228         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
41229         (significand_test_data): New variable.
41230         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
41232 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
41234         [BZ #12387]
41235         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
41237 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41239         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
41241 2013-05-10  Andreas Jaeger  <aj@suse.de>
41243         [BZ #15448]
41244         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
41245         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
41247 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41249         * math/gen-libm-test.pl (adjust_arg): New function.
41250         (special_functions): Handle generating output in both functions
41251         and arrays.
41252         (parse_args): Likewise.
41253         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
41254         $in_func argument to parse_args.
41255         * math/libm-test.inc (struct test_f_f_data): New type.
41256         (IF_ROUND_INIT_): New macro.
41257         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
41258         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41259         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41260         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41261         (ROUND_RESTORE_): Likewise.
41262         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
41263         (ROUND_RESTORE_FE_TONEAREST): Likewise.
41264         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
41265         (ROUND_RESTORE_FE_UPWARD): Likewise.
41266         (RUN_TEST_LOOP_f_f): New macro.
41267         (acos_test_data): New variable.
41268         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
41269         (acos_tonearest_test_data): New variable.
41270         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41272 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41274         * benchtests/bench-skeleton.c (startup): Fix coding style.
41276 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41278         [BZ #6809]
41279         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
41280         negative infinity argument.
41281         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
41282         negative infinity argument.
41283         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
41284         negative infinity argument.
41285         * math/libm-test.inc (tgamma_test): Expect errno to be set for
41286         domain errors.
41288 2013-05-10  Florian Weimer  <fweimer@redhat.com>
41290         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
41291         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
41292         * iconv/iconv_prog.c (main): Likewise.
41293         * locale/programs/charmap-dir.c (charmap_readdir)
41294         (fopen_uncompressed): Likewise.
41295         * locale/programs/locfile.c (siblings_uncached)
41296         (write_locale_data): Use lstat64 instead of lstat.
41297         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
41298         stat.
41300 2013-05-10  Andreas Jaeger  <aj@suse.de>
41302         [BZ #15395]
41303         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
41304         localization.
41305         Include <locale.h>.
41307 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
41309         * elf/dl-close.c (_dl_close_worker): Add comments.
41311 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
41313         [BZ #15359]
41314         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
41315         high part of pi/2.
41316         (__ieee754_rem_pio2l): Update comments.
41318         [BZ #15429]
41319         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
41320         high part of pi/2.
41321         (__ieee754_rem_pio2l): Update comments.
41323         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
41324         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
41326         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
41327         M_PI_4l.
41329         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
41330         (M_PI_34_LOG10El): Likewise.
41331         (M_PI2_LOG10El): Likewise.
41332         (M_PI4_LOG10El): Likewise.
41333         (M_PI_LOG10El): Likewise.
41335 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41339 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
41341         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
41342         (MINUS_ZERO_INIT): Likewise.
41343         (PLUS_INFTY_INIT): Likewise.
41344         (MINUS_INFTY_INIT): Likewise.
41345         (QNAN_VALUE_INIT): Likewise.
41346         (MAX_VALUE_INIT): Likewise.
41347         (MIN_VALUE_INIT): Likewise.
41348         (MIN_SUBNORM_VALUE_INIT): Likewise.
41349         (plus_zero): Initialize with PLUS_ZERO_INIT.
41350         (minus_zero): Initialize with MINUS_ZERO_INIT.
41351         (plus_infty): Initialize with PLUS_INFTY_INIT.
41352         (minus_infty): Initialize with MINUS_INFTY_INIT.
41353         (qnan_value): Initialize with QNAN_VALUE_INIT.
41354         (max_value): Initialize with MAX_VALUE_INIT.
41355         (min_value): Initialize with MIN_VALUE_INIT.
41356         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
41358         * math/libm-test.inc (RUN_TEST_if_f): New macro.
41359         (jn_test): Use TEST_if_f instead of TEST_ff_f.
41360         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
41361         (yn_test): Use TEST_if_f instead of TEST_ff_f.
41363         * math/libm-test.inc (RUN_TEST_f_f): New macro.
41364         (RUN_TEST_2_f): Likewise.
41365         (RUN_TEST_ff_f): Likewise.
41366         (RUN_TEST_fi_f): Likewise.
41367         (RUN_TEST_fl_f): Likewise.
41368         (RUN_TEST_fff_f): Likewise.
41369         (RUN_TEST_c_f): Likewise.
41370         (RUN_TEST_f_f1): Likewise.
41371         (RUN_TEST_fF_f1): Likewise.
41372         (RUN_TEST_fI_f1): Likewise.
41373         (RUN_TEST_ffI_f1): Likewise.
41374         (RUN_TEST_c_c): Likewise.
41375         (RUN_TEST_cc_c): Likewise.
41376         (RUN_TEST_f_i): Likewise.
41377         (RUN_TEST_f_i_tg): Likewise.
41378         (RUN_TEST_ff_i_tg): Likewise.
41379         (RUN_TEST_f_b): Likewise.
41380         (RUN_TEST_f_b_tg): Likewise.
41381         (RUN_TEST_f_l): Likewise.
41382         (RUN_TEST_f_L): Likewise.
41383         (RUN_TEST_sincos): Likewise.
41384         * math/gen-libm-test.pl (new_test): Take new argument to indicate
41385         whether to show exceptions.  Do not include ");\n" in return
41386         value.
41387         (special_functions): Output call to RUN_TEST_sincos instead of
41388         check_float calls.  Update calls to new_test.
41389         (parse_args): Output call to single RUN_TEST_* macro instead of
41390         check_* calls and other assignments.  Update calls to new_test.
41392         [BZ #2546]
41393         [BZ #2560]
41394         [BZ #5159]
41395         [BZ #15426]
41396         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
41397         input to result for tgamma overflow.
41398         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
41399         (gamma_coeff): New variable.
41400         (NCOEFF): New macro.
41401         (gamma_positive): New function.
41402         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
41403         underflow here.  Use gamma_positive instead of exp (lgamma) for
41404         other arguments.
41405         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
41406         (gamma_coeff): New variable.
41407         (NCOEFF): New macro.
41408         (gammaf_positive): New function.
41409         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
41410         underflow here.  Use gamma_positive instead of exp (lgamma) for
41411         other arguments.
41412         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
41413         (gamma_coeff): New variable.
41414         (NCOEFF): New macro.
41415         (gammal_positive): New function.
41416         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
41417         underflow here.  Use gamma_positive instead of exp (lgamma) for
41418         other arguments.
41419         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
41420         (gamma_coeff): New variable.
41421         (NCOEFF): New macro.
41422         (gammal_positive): New function.
41423         (__ieee754_gammal_r): Handle positive infinity, overflow and
41424         underflow here.  Handle NaN the same as positive infinity.  Remove
41425         check x < 0xffffffff for negative integers.  Use gamma_positive
41426         instead of exp (lgamma) for other arguments.
41427         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
41428         (gamma_coeff): New variable.
41429         (NCOEFF): New macro.
41430         (gammal_positive): New function.
41431         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
41432         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
41433         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
41434         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
41435         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
41436         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
41437         * sysdeps/generic/math_private.h (__gamma_productf): New
41438         prototype.
41439         (__gamma_product): Likewise.
41440         (__gamma_productl): Likewise.
41441         * math/Makefile (libm-calls): Add gamma_product.
41442         * math/libm-test.inc (tgamma_test): Add more tests.
41443         * sysdeps/i386/fpu/libm-test-ulps: Update.
41444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41446 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
41448         * benchtests/bench-skeleton.c (main): Preheat CPU.
41450 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
41452         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
41454 2013-05-07  Roland McGrath  <roland@hack.frob.com>
41456         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
41457         and _dl_skip_args_internal.
41459 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
41461         * manual/message.texi (Message Translation): Talk about users.
41462         Message to key mapping impacts design.
41464 2013-05-06  Roland McGrath  <roland@hack.frob.com>
41466         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
41468         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
41470         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
41471         * sysdeps/wordsize-64/glob64.c: ... here.
41473         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
41474         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
41475         New macros.
41477         * debug/getlogin_r_chk.c: Moved to ...
41478         * login/getlogin_r_chk.c: ... here.
41479         * debug/Makefile (routines): Move getlogin_r_chk to ...
41480         * login/Makefile (routines): ... here.
41481         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
41482         * login/Versions (libc: GLIBC_2.4): ... here.
41484         * io/poll.c (__poll): Renamed from poll.
41485         Add libc_hidden_def.
41486         (poll): Define as weak alias.
41488         * debug/ptsname_r_chk.c: Moved to ...
41489         * login/ptsname_r_chk.c: ... here.
41490         * debug/Makefile (routines): Move ptsname_r_chk to ...
41491         * login/Makefile (routines): ... here.
41492         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
41493         * login/Versions (libc: GLIBC_2.4): ... here.
41495         * posix/getlogin.c: Moved to ...
41496         * login/getlogin.c: ... here.
41497         * posix/getlogin_r.c: Moved to ...
41498         * login/getlogin_r.c: ... here.
41499         * posix/getlogin_r.c: Moved to ...
41500         * login/getlogin_r.c: ... here.
41501         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
41502         * login/Makefile (routines): ... here.
41503         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
41504         * login/Versions (libc: GLIBC_2.0): ... here.
41506         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
41507         (setrlimit): Define as weak alias.
41509         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
41510         Call __ names for open, ftruncate, and close.
41511         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
41512         (truncate): Define as weak alias.
41514 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
41516         * math/gen-libm-test.pl (parse_args): Initialize x before each
41517         test of frexp, modf and remquo.
41519         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
41520         test signgam value.
41522 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41524         [BZ #15418]
41525         [BZ #15419]
41526         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
41527         internal tests.
41528         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41530 2013-05-06  Roland McGrath  <roland@hack.frob.com>
41532         * elf/dl-writev.h: New file.
41533         * elf/dl-misc.c: Include it.
41534         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
41535         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
41537 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
41539         * math/libm-test.inc (noXFails): Remove variable.
41540         (noXPasses): Likewise.
41541         (BUILD_COMPLEX_INT): Remove macro.
41542         (print_screen): Remove xfail argument.
41543         (print_screen_max_error): Likewise.
41544         (update_stats): Likewise.
41545         (print_max_error): Likewise.  Update calls to other affected
41546         functions.
41547         (print_complex_max_error): Likewise.
41548         (test_single_exception): Update calls to print_screen.
41549         (test_single_errno): Likewise.
41550         (check_float_internal): Remove xfail argument.  Update calls to
41551         other affected functions.
41552         (check_float): Likewise.
41553         (check_complex): Likewise.
41554         (check_int): Likewise.
41555         (check_long): Likewise.
41556         (check_bool): Likewise.
41557         (check_longlong): Likewise.
41558         (main): Don't print noXFails and noXPasses.
41559         * math/gen-libm-test.pl (top level): Don't mention expected
41560         failure handling in comment.
41561         (new_test): Don't handle expected failures.
41562         (parse_args): Don't mention expected failure handling in comment.
41563         (generate_testfile): Don't handle expected failures.
41564         (parse_ulps): Likewise.
41565         (print_ulps_file): Likewise.
41566         (get_failure): Remove function.
41567         (output_test): Don't handle expected failures.
41568         * make/README.libm-test: Don't mention expected failure handling.
41570         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
41571         (minus_zero): Likewise.
41572         (plus_infty): Likewise.
41573         (minus_infty): Likewise.
41574         (qnan_value): Likewise.
41575         (max_value): Likewise.
41576         (min_value): Likewise.
41577         (min_subnorm_value): Likewise.
41578         (initialize): Do not initialize those variables dynamically.
41580 2013-05-03  Roland McGrath  <roland@hack.frob.com>
41582         * io/open.c (__open_2): Moved to ...
41583         * io/open_2.c: ... this new file.
41584         * io/open64.c (__open64_2): Moved to ...
41585         * io/open64_2.c: ... this new file.
41586         * io/openat.c (__openat_2): Moved to ...
41587         * io/openat_2.c: ... this new file.
41588         * io/openat64.c (__openat64_2): Moved to ...
41589         * io/openat64_2.c: ... this new file.
41590         * io/Makefile (routines): Add them.
41591         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
41592         * sysdeps/unix/sysv/linux/open_2.c: File removed.
41593         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
41594         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
41595         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
41596         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
41597         (__openat64): Add hidden_ver.
41598         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
41599         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
41601         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
41602         Separately conditionalize setting of GLRO(dl_sysinfo) so
41603         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
41604         as well, but the actual setting is only under [NEED_DL_SYSINFO].
41606 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41608         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
41609         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
41610         definition.
41611         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
41612         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41613         (_libc_vdso_platform_setup): Add __vdso_time initialization.
41614         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
41615         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
41617 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
41619         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
41620         test signgam value.
41622         * math/libm-test.inc (hypot_test): Do not use
41623         IGNORE_ZERO_INF_SIGN.
41625 2013-05-03  Andreas Jaeger  <aj@suse.de>
41627         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
41628         Linux 3.9.
41629         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
41630         (PF_MAX): Adjust for VSOCK change.
41632 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41636 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
41638         [BZ #15264]
41639         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
41640         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
41641         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
41643 2013-05-02  David S. Miller  <davem@davemloft.net>
41645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41647 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
41649         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
41651 2013-05-01  Roland McGrath  <roland@hack.frob.com>
41653         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
41655 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
41657         [BZ #14952]
41658         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
41659         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
41660         Use __attribute__ ((__gnu_inline__)).
41661         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
41662         Don't use __attribute__ ((__gnu_inline__)).
41664 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
41666         [BZ #15423]
41667         * math/s_catan.c (__catan): Handle small real or imaginary part of
41668         input specially to avoid spurious underflow.
41669         * math/s_catanf.c (__catanf): Likewise.
41670         * math/s_catanh.c (__catanh): Likewise.
41671         * math/s_catanhf.c (__catanhf): Likewise.
41672         * math/s_catanhl.c (__catanhl): Likewise.
41673         * math/s_catanl.c (__catanl): Likewise.
41674         * math/libm-test.inc (catan_test): Add more tests.
41675         (catanh_test): Likewise.
41676         * sysdeps/i386/fpu/libm-test-ulps: Update.
41677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41679 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41683 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
41685         [BZ #15416]
41686         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
41687         accurately for denominator in atan2.
41688         * math/s_catanf.c (__catanf): Likewise.
41689         * math/s_catanh.c (__catanh): Likewise.
41690         * math/s_catanhf.c (__catanhf): Likewise.
41691         * math/s_catanhl.c (__catanhl): Likewise.
41692         * math/s_catanl.c (__catanl): Likewise.
41693         * math/libm-test.inc (catan_test): Add more tests.
41694         (catanh_test): Likewise.
41695         * sysdeps/i386/fpu/libm-test-ulps: Update.
41696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41698 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41700         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
41702         * benchtests/Makefile (bench): Remove slow benchmarks.
41703         * benchtests/atan-inputs: Add slow benchmark inputs.
41704         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
41705         (BENCH_FUNC): Accept variant offset.
41706         (VARIANT): Define.
41707         * benchtests/bench-skeleton.c (main): Run benchmark for each
41708         variant.
41709         * benchtests/cos-inputs: Add slow benchmark inputs.
41710         * benchtests/exp-inputs: Likewise.
41711         * benchtests/pow-inputs: Likewise.
41712         * benchtests/sin-inputs: Likewise.
41713         * benchtests/slowatan-inputs: Remove.
41714         * benchtests/slowatan.c: Remove.
41715         * benchtests/slowcos-inputs: Remove.
41716         * benchtests/slowcos.c: Remove.
41717         * benchtests/slowexp-inputs: Remove.
41718         * benchtests/slowexp.c: Remove.
41719         * benchtests/slowpow-inputs: Remove.
41720         * benchtests/slowpow.c: Remove.
41721         * benchtests/slowsin-inputs: Remove.
41722         * benchtests/slowsin.c: Remove.
41723         * benchtests/slowtan-inputs: Remove.
41724         * benchtests/slowtan.c: Remove.
41725         * benchtests/tan-inputs: Add slow benchmark inputs.
41726         * scripts/bench.pl: Parse comments and directives.
41728         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
41729         in CPPFLAGS.
41730         ($(objpfx)bench-%.c): Remove *-ITER.
41731         * benchtests/bench-modf.c: Remove definition of ITER.
41732         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
41733         (main): Loop for DURATION seconds instead of fixed number of
41734         iterations.
41735         * scripts/bench.pl: Don't expect iterations in parameters.
41737 2013-04-29  Roland McGrath  <roland@hack.frob.com>
41739         * io/fchdir.c (__fchdir): Renamed from fchdir.
41740         (fchdir): Define as weak alias.
41742 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
41744         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
41745         (ERRNO_EDOM): Likewise.
41746         (ERRNO_ERANGE): Likewise.
41747         (noErrnoTests): New variable.
41748         (init_max_error): Set errno to 0.
41749         (test_single_errno): New function.
41750         (test_errno): Likewise.
41751         (check_float_internal): Call test_errno.  Set errno to 0.
41752         (check_complex): Refer to errno tests in comment.
41753         (check_int): Call test_errno.  Set errno to 0.
41754         (check_long): Likewise.
41755         (check_bool): Likewise.
41756         (check_longlong): Likewise.
41757         (cos_test): Use ERRNO_* flags for errno tests instead of
41758         check_int.
41759         (expm1_test): Likewise.
41760         (fmod_test): Likewise.
41761         (ilogb_test): Likewise.
41762         (lgamma_test): Likewise.
41763         (pow_test): Likewise.
41764         (remainder_test): Likewise.
41765         (sin_test): Likewise.
41766         (tan_test): Likewise.
41767         (yn_test): Likewise.
41768         (initialize): Set errno to 0.
41769         (main): Print number of errno tests.
41770         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
41772 2013-04-29  Andreas Jaeger  <aj@suse.de>
41774         [BZ #15084]
41775         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
41776         and RES_USEVC.
41778         [BZ #15085]
41779         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
41780         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
41781         unimplemented.
41783         [BZ #15380]
41784         * stdlib/random.c (__initstate): Return NULL if
41785         __initstate fails.
41787         [BZ #15086]
41788         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
41789         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
41790         RES_SNGLKUPREOP.
41792 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41796 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
41798         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
41799         of individual tests.
41800         (casin_test): Likewise.
41801         (casinh_test): Likewise.
41803 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
41805         [BZ #15409]
41806         * math/s_catan.c (__catan): Handle arguments with large real or
41807         imaginary part separately without squaring.
41808         * math/s_catanf.c (__catanf): Likewise.
41809         * math/s_catanh.c (__catanh): Likewise.
41810         * math/s_catanhf.c (__catanhf): Likewise.
41811         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41812         and redefine.
41813         (__catanhl): Handle arguments with large real or imaginary part
41814         separately without squaring.
41815         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41816         and redefine.
41817         (__catanl): Handle arguments with large real or imaginary part
41818         separately without squaring.
41819         * math/libm-test.inc (catan_test): Add more tests.
41820         (catanh_test): Likewise.
41821         * sysdeps/i386/fpu/libm-test-ulps: Update.
41822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41824 2013-04-27  Andreas Jaeger  <aj@suse.de>
41826         [BZ #15007]
41827         * stdlib/stdlib.h: Update guards for qecvt.
41828         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
41829         <stdlib.h>.
41831 2013-04-27  Allan McRae  <allan@archlinux.org>
41833         * sysdeps/i386/fpu/libm-test-ulps: Update.
41835 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
41837         [BZ #15406]
41838         * math/s_catan.c: Include <float.h>.
41839         (__catan): Ensure underflow exception occurs for underflowed
41840         result.
41841         * math/s_catanf.c: Include <float.h>.
41842         (__catanf): Ensure underflow exception occurs for underflowed
41843         result.
41844         * math/s_catanh.c: Include <float.h>.
41845         (__catanh): Ensure underflow exception occurs for underflowed
41846         result.
41847         * math/s_catanhf.c: Include <float.h>.
41848         (__catanhf): Ensure underflow exception occurs for underflowed
41849         result.
41850         * math/s_catanhl.c: Include <float.h>.
41851         (__catanhl): Ensure underflow exception occurs for underflowed
41852         result.
41853         * math/s_catanl.c: Include <float.h>.
41854         (__catanl): Ensure underflow exception occurs for underflowed
41855         result.
41856         * math/libm-test.inc (catan_test): Add more tests.
41857         (catanh_test): Likewise.
41859         [BZ #15405]
41860         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
41861         underflowed result.
41862         * math/s_ccoshf.c (__ccoshf): Likewise.
41863         * math/s_ccoshl.c (__ccoshl): Likewise.
41864         * math/s_csin.c (__csin): Likewise.
41865         * math/s_csinf.c (__csinf): Likewise.
41866         * math/s_csinh.c (__csinh): Likewise.
41867         * math/s_csinhf.c (__csinhf): Likewise.
41868         * math/s_csinhl.c (__csinhl): Likewise.
41869         * math/s_csinl.c (__csinl): Likewise.
41870         * math/libm-test.inc (ccos_test): Add more tests.
41871         (ccosh_test): Likewise.
41872         (csin_test): Likewise.
41873         (csinh_test): Likewise.
41875 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41877         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
41878         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
41879         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
41880         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
41881         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
41882         powerpc/power5+/fpu folders.
41883         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
41886 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41888         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41890 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
41892         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
41893         additions to variable.
41894         [$(config-machine) = x86_64] (modules-names): Likewise.
41895         ($(objpfx)tst-audit3): Remove dependency.
41896         ($(objpfx)tst-audit3.out): Likewise.
41897         ($(objpfx)tst-audit4): Likewise.
41898         ($(objpfx)tst-audit4.out): Likewise.
41899         ($(objpfx)tst-audit5): Likewise.
41900         ($(objpfx)tst-audit5.out): Likewise.
41901         ($(objpfx)tst-audit6): Likewise.
41902         ($(objpfx)tst-audit6.out): Likewise.
41903         ($(objpfx)tst-audit7): Likewise.
41904         ($(objpfx)tst-audit7.out): Likewise.
41905         (tst-audit3-ENV): Remove variable.
41906         (tst-audit4-ENV): Likewise.
41907         (tst-audit5-ENV): Likewise.
41908         (tst-audit6-ENV): Likewise.
41909         (tst-audit7-ENV): Likewise.
41910         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
41911         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
41912         addition to variable.
41913         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
41914         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
41915         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
41916         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
41917         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
41918         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
41919         tst-audit3, tst-audit4 and tst-audit5.
41920         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
41921         tst-audit6 and tst-audit7.
41922         [$(subdir) = elf] (modules-names): Add audit modules for those
41923         tests.
41924         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
41925         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
41926         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
41927         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
41928         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
41929         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
41930         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
41931         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
41932         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
41933         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
41934         [$(subdir) = elf] (tst-audit3-ENV): New variable.
41935         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
41936         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
41937         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
41938         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
41939         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
41940         Likewise.
41941         [$(subdir) = elf && $(config-cflags-avx) = yes]
41942         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
41943         [$(subdir) = elf && $(config-cflags-avx) = yes]
41944         (CFLAGS-tst-auditmod4a.c): Likewise.
41945         [$(subdir) = elf && $(config-cflags-avx) = yes]
41946         (CFLAGS-tst-auditmod4b.c): Likewise.
41947         [$(subdir) = elf && $(config-cflags-avx) = yes]
41948         (CFLAGS-tst-auditmod6b.c): Likewise.
41949         [$(subdir) = elf && $(config-cflags-avx) = yes]
41950         (CFLAGS-tst-auditmod6c.c): Likewise.
41951         [$(subdir) = elf && $(config-cflags-avx) = yes]
41952         (CFLAGS-tst-auditmod7b.c): Likewise.
41953         * elf/tst-audit3.c: Move to ...
41954         * sysdeps/x86_64/tst-audit3.c: ... here.
41955         * elf/tst-audit4.c: Move to ...
41956         * sysdeps/x86_64/tst-audit4.c: ... here.
41957         * elf/tst-audit5.c: Move to ...
41958         * sysdeps/x86_64/tst-audit5.c: ... here.
41959         * elf/tst-audit6.c: Move to ...
41960         * sysdeps/x86_64/tst-audit6.c: ... here.
41961         * elf/tst-audit7.c: Move to ...
41962         * sysdeps/x86_64/tst-audit7.c: ... here.
41963         * elf/tst-auditmod3a.c: Move to ...
41964         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
41965         * elf/tst-auditmod3b.c: Move to ...
41966         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
41967         * elf/tst-auditmod4a.c: Move to ...
41968         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
41969         * elf/tst-auditmod4b.c: Move to ...
41970         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
41971         * elf/tst-auditmod5a.c: Move to ...
41972         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
41973         * elf/tst-auditmod5b.c: Move to ...
41974         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
41975         * elf/tst-auditmod6a.c: Move to ...
41976         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
41977         * elf/tst-auditmod6b.c: Move to ...
41978         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
41979         * elf/tst-auditmod6c.c: Move to ...
41980         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
41981         * elf/tst-auditmod7a.c: Move to ...
41982         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
41983         * elf/tst-auditmod7b.c: Move to ...
41984         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
41986 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
41988         [BZ #15366]
41989         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
41990         define unconditionally.
41991         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
41992         define unconditionally.
41993         (INT8_C, INT16_C, etc.): Likewise.
41995 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
41997         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
41998         __ehdr_start with hidden visibility.
42000         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
42002 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
42004         * math/libm-test.inc (cos_test): Use accurate hex constants.
42005         (sincost_test): Likewise.
42007 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
42009         * math/libm-test.inc (catan_test): Add more tests.
42010         (catanh_test): Likewise.
42012         * math/s_catanf.c (__catanf): Use suffixed floating-point
42013         constants.
42014         * math/s_catanhf.c (__catanhf): Likewise.
42015         * math/s_catanhl.c (__catanhl): Likewise.
42016         * math/s_catanl.c (__catanl): Likewise.
42018         [BZ #15394]
42019         * math/s_catan.c (__catan): Calculate imaginary part of result
42020         with log1p not log unless computing log of number close to 0.
42021         * math/s_catanf.c (__catanf): Likewise.
42022         * math/s_catanl.c (__catanl): Likewise.
42023         * math/s_catanh.c (__catanh): Calculate real part of result with
42024         log1p not log unless computing log of number close to 0.
42025         * math/s_catanhf.c (__catanhf): Likewise.
42026         * math/s_catanhl.c (__catanhl): Likewise.
42027         * math/libm-test.inc (catan_test): Add more tests.
42028         (catanh_test): Likewise.
42029         * sysdeps/i386/fpu/libm-test-ulps: Update.
42030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42032 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42034         * benchtests/Makefile: Mention files in which fast and slow
42035         paths of math functions are implemented.
42037 2013-04-23  Roland McGrath  <roland@hack.frob.com>
42039         * sysdeps/posix/timespec_get.c: New file.
42041 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42043         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
42044         POWER.
42045         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
42046         for POWER.
42047         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
42048         powerpc/power5/fpu folders.
42049         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
42050         * benchtests/Makefile: Add modf testcase.
42051         * benchtests/bench-modf.c: New file: Benchmark test for mo
42053 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42055         [BZ #14888]
42056         * time/Makefile (tests): Add tst-strptime-whitespace.
42057         * time/strptime_l.c (get_number): Use ISSPACE.
42058         (__strptime_internal): Likewise.
42059         * time/tst-strptime-whitespace.c: New test case.
42061 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
42063         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
42064         member.
42065         (_nss_files_init): Set it here.
42067 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
42069         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
42070         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
42071         unsigned.
42073 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
42075         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
42077 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42079         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
42080         size just once.
42082 2013-04-21  David S. Miller  <davem@davemloft.net>
42084         * po/ru.po: Update Russion translation from translation project.
42086 2013-04-17  Adam Conrad  <adconrad@0c3.net>
42088         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
42089         and setfsgid.
42091 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
42093         * configure.in: Remove i386 configure warning. Remove i386 case.
42094         * configure: Regenerate.
42095         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
42096         Add example to error message.
42097         * sysdeps/i386/configure: Regenerate.
42099 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42101         * benchtests/Makefile (bench): Add cos, tan, slowcos and
42102         slowtan.
42103         * benchtests/cos-inputs: New file.
42104         * benchtests/slowcos-inputs: New file.
42105         * benchtests/slowcos.c: New file.
42106         * benchtests/slowtan-inputs: New file.
42107         * benchtests/slowtan.c: New file.
42108         * benchtests/tan-inputs: New file.
42110 2013-04-16  Roland McGrath  <roland@hack.frob.com>
42112         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
42113         considered kosher.
42115 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42117         * benchtests/Makefile: Include cppflags-iterator.mk to add
42118         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
42120         * Makefile.in (bench-clean): New target.
42121         * benchtests/Makefile (bench-clean): Likewise.
42123 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
42125         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
42127 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
42129         * stdio-common/tstdiomisc.c: Fix coding-style violation.
42131 2013-04-15  Andreas Schwab  <schwab@suse.de>
42133         * nscd/grpcache.c (cache_addgr): Properly check for short write.
42134         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42135         * nscd/pwdcache.c (cache_addpw): Likewise.
42136         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
42137         more than recsize.
42139 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42141         * benchtests/Makefile (bench): Write all output to
42142         bench-out.tmp together.
42144 2013-04-15  Andreas Schwab  <schwab@suse.de>
42146         * nscd/nscd.c (main): Don't fork again after closing files.
42148 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42150         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
42152         * benchtests/Rules (bench-deps): Collect dependencies into a
42153         single variable.  Add Makefile to dependencies.
42154         ($(objpfx)bench-%.c): Depend on bench-deps.
42156 2013-04-12  Roland McGrath  <roland@hack.frob.com>
42157             Xavier Roche  <roche+kml2@exalead.com>
42159         [BZ #15361]
42160         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
42161         just that it's a file descriptor.
42162         * manual/llio.texi (Synchronizing AIO Operations): Update description
42163         for EBADF error from aio_fsync.
42165 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42167         * Rules (bench): Move target definition...
42168         * benchtests/Makefile: ... here.
42170 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
42172         * math/libm-test.inc (cos_test): Fix PI/2 test.
42173         (sincos_test): Likewise.
42174         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42175         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
42177 2013-04-11  Andreas Schwab  <schwab@suse.de>
42179         [BZ #13988]
42180         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
42181         accept exponent character only when digits were seen.
42182         * stdio-common/Makefile (tests): Add bug26.
42183         * stdio-common/bug26.c: New file.
42185         [BZ #14293]
42186         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
42187         non-freeable.
42189 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42191         * Makeconfig (rtld-prefix): Define built linker prefix.
42192         * Rules (run-bench): Use it.
42193         * math/Makefile (run-regen-ulps): Likewise.
42195         * Rules (bench): Remove eval.
42197 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42198             Roland McGrath  <roland@hack.frob.com>
42199             Ondrej Bilka  <neleai@seznam.cz>
42201         [BZ #15346]
42202         * time/getdate.c: Include ctype.h and alloca.h.
42203         (__getdate_r): Trim leading and trailing spaces of input.
42204         * time/tst-getdate.c (tests): Add tests with leading and
42205         trailing spaces.
42207 2013-04-08  Roland McGrath  <roland@hack.frob.com>
42209         [BZ #14280]
42210         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
42211         when computing value.
42213 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42215         * math/README.libm-test (How can I generate "libm-test-ulps"?):
42216         Use testrun.sh to run libm tests.
42218         [BZ #15309]
42219         * elf/dl-open.c (dl_open_worker): memset all of seen array.
42221 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
42223         [BZ #15264]
42224         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
42226 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42228         * Makefile.in (regen-ulps): New target.
42229         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42230         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
42231         [ifneq (no,$(PERL)] (regen-ulps): New target.
42232         [ifeq (no,$(PERL)] (regen-ulps): New target.
42233         * math/libm-test.inc (ulps_file_name): Define.
42234         (output_dir): New variable.
42235         (options): Add "output-dir" option.
42236         (parse_opt): Handle 'o' case.
42237         (main): If output_dir is non-NULL use it as a prefix
42238         otherwise use "".
42239         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
42241 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42243         [BZ #10060, #10062]
42244         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
42245         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
42246         fail configure if __sync_val_compare_and_swap is not inlined.
42247         * sysdeps/i386/configure: Regenerate.
42248         * configure.in: Build for i686 when configured for i386.
42249         * configure: Regenerate.
42250         * README: Remove i386 reference.
42252 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42254         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
42255         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42257 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42259         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
42260         (lmsnanval): New variables.
42261         (F): Add conversion tests.
42262         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
42263         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
42265         * stdio-common/tstdiomisc.c (F): Properly collect individual
42266         tests' results.
42268         [BZ #14686, #15336]
42269         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
42270         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
42271         Instead, use input NaN values or generate a qNaN by arithmetic
42272         operation.  Also fix bugs to comply with the standard.
42273         * math/libm-test.inc (remainder_test): Add more tests.
42275         [BZ #15335, #15342]
42276         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
42277         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
42278         input NaN values or generate a qNaN by arithmetic operation.
42280         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
42281         unreachable code.
42283         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
42284         definitions.
42286 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
42288         [BZ #14478]
42289         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
42290         underflowed result.
42291         * math/s_cexpf.c (__cexpf): Likewise.
42292         * math/s_cexpl.c (__cexpl): Likewise.
42293         * math/libm-test.inc (cexp_test): Add more tests.
42295 2013-04-03  Andreas Schwab  <schwab@suse.de>
42297         [BZ #15330]
42298         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
42299         order arrays from heap if bigger than alloca cutoff.
42301 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
42303         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42304         (SNAN_TESTS_double): Refer to GCC PR56831.
42305         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
42306         GCC PR56828.
42308 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42310         * Rules (bench): Move bench.out after the run is complete.
42312         * Rules (bench): Echo currently running benchmark.
42314         * benchtests/Makefile (bench): Add atan and slowatan.
42315         * benchtests/atan-inputs: New file.
42316         * benchtests/slowatan-inputs: New file.
42317         * benchtests/slowatan.c: New file.
42319         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
42320         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
42321         its value.
42323         [BZ #15305]
42324         * sysdeps/unix/sysv/linux/kernel-features.h
42325         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
42326         __ASSUME_XFS_RESTRICTED_CHOWN.
42327         * sysdeps/unix/sysv/linux/pathconf.c
42328         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42329         Save and restore errno.
42331 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
42333         [BZ #15327]
42334         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
42335         arguments using __kernel_casinh.
42336         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
42337         arguments using __kernel_casinhf.
42338         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
42339         arguments using __kernel_casinhl.
42340         * math/libm-test.inc (cacosh_test): Add more tests.
42341         * sysdeps/i386/fpu/libm-test-ulps: Update.
42342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42344 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42346         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
42347         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
42349         * bench/Makefile (bench): Add sin and slowsin.
42350         * benchtests/sin-inputs: New file.
42351         * benchtests/slowsin-inputs: New file.
42352         * benchtests/slowsin.c: New file.
42354         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
42355         (bench): Add slowexp and slowpow.
42356         (exp-ITER): Increase iterations.
42357         (pow-ITER): Likewise.
42358         * benchtests/exp-inputs: Change input.
42359         * benchtests/pow-inputs: Likewise.
42360         * benchtests/slowexp-inputs: New file.
42361         * benchtests/slowexp.c: New file.
42362         * benchtests/slowpow-inputs: New file.
42363         * benchtests/slowpow.c: New file.
42365 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42367         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
42368         instructions.
42369         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42370         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
42371         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42372         * benchtests/Makefile: Add rint benchtest.
42373         * benchtests/rint-inputs: Input for rint benchtest.
42375 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42377         * Versions.def (libm): Add GLIBC_2.18.
42378         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
42379         hidden libm prototypes.
42380         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
42381         * math/Makefile (libm-calls): Add s_issignaling.
42382         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
42383         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
42384         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
42385         declaration.
42386         * math/math.h [__USE_GNU] (issignaling): New macro.
42387         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
42388         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
42389         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
42390         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
42391         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
42392         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
42393         * manual/arith.texi (issignaling): New section.
42394         * manual/libm-err-tab.pl (@all_functions): Update comment.
42395         * math/gen-libm-test.pl (parse_args): Apply special handling for
42396         issignaling.
42397         * math/libm-test.inc (print_float, issignaling_test): New
42398         functions.
42399         (check_float_internal): Add issignaling checks.
42400         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
42401         default definition.
42402         * sysdeps/powerpc/math-tests.h: New file.
42403         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
42404         tests.
42405         * math/test-snan.c (TEST_FUNC): Likewise.
42407 2013-03-30  David S. Miller  <davem@davemloft.net>
42409         * po/de.po: Update from translation team.
42411 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
42413         [BZ #10357]
42414         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42415         imaginary part less than 1.0 and real part less than 0.5
42416         specially.
42417         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42418         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42419         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
42420         (cacos_test): Add more tests.
42421         (casin_test): Likewise.
42422         (casinh_test): Likewise.
42423         * sysdeps/i386/fpu/libm-test-ulps: Update.
42424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42426 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42428         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
42429         ONE with its value.
42431         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
42432         (__pow_mp): Replace ONE and MONE with their values.
42433         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42434         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
42435         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42436         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
42437         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42438         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42440         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
42442         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
42443         (__pow_mp): Replace ZERO and MZERO with their values.
42444         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
42445         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42446         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42447         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42448         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42449         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
42450         (__sqr): Likewise.
42452         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
42454         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
42456 2013-03-28  Roland McGrath  <roland@hack.frob.com>
42458         * include/stdlib.h [!SHARED] (__call_tls_dtors):
42459         Declare with __attribute__ ((weak)).
42460         * stdlib/exit.c (__libc_atexit) [!SHARED]:
42461         Call __call_tls_dtors only if it's not NULL.
42463 2013-03-28  Roland McGrath  <roland@hack.frob.com>
42465         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
42466         didn't do it already, then set _dl_phdr and _dl_phnum based on the
42467         magic __ehdr_start linker symbol if it's defined.
42468         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
42469         them up here if it was already done.
42471         * elf/dl-support.c (_dl_phdr): Make pointer to const.
42472         (_dl_aux_init): Use const in cast when setting it.
42473         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
42474         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
42475         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
42477         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
42478         Declare them here.
42479         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
42480         * csu/libc-tls.c: Nor here.
42481         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
42483         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
42484         (__libc_message): Never call vsyslog.
42486 2013-03-28  Alan Modra  <amodra@gmail.com>
42488         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
42489         Define as empty.
42490         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
42491         Likewise.
42493 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42495         [BZ #15214]
42496         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
42497         underflow.
42498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42500 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42502         [BZ #15304]
42503         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42504         Don't add gid passed as argument.
42506         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
42508 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
42510         [BZ #15307]
42511         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42512         imaginary part between 1.0 and 1.5 and real part less than 0.5
42513         specially.
42514         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42515         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42516         * math/libm-test.inc (cacos_test): Add more tests.
42517         (casin_test): Likewise.
42518         (casinh_test): Likewise.
42519         * sysdeps/i386/fpu/libm-test-ulps: Update.
42520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42522 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42524         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
42525         constants.
42526         (norm): Likewise.
42527         (denorm): Likewise.
42528         (__dbl_mp): Likewise.
42529         (add_magnitudes): Likewise.
42530         (sub_magnitudes): Likewise.
42531         (__add): Likewise.
42532         (__sub): Likewise.
42533         (__mul): Likewise.
42534         (__sqr): Likewise.
42535         (__inv): Likewise.
42536         (__dvd): Likewise.
42538         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
42539         commented code.
42540         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
42541         (__dubcos): Likewise.
42542         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
42543         (__ieee754_acos): Likewise.
42544         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
42545         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
42546         (__exp1): Likewise.
42547         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42548         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42549         (log1): Likewise.
42550         (my_log2): Likewise.
42551         (checkint): Likewise.
42552         * sysdeps/ieee754/dbl-64/e_remainder.c
42553         (__ieee754_remainder): Likewise.
42554         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42555         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
42556         (bsloww): Likewise.
42557         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42559         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
42560         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
42561         MANTISSA_STORE_T to store computations on mantissa.  Use
42562         macros for rounding and division.
42563         (denorm): Likewise.
42564         (__dbl_mp): Likewise.
42565         (add_magnitudes): Likewise.
42566         (sub_magnitudes): Likewise.
42567         (__mul): Likewise.
42568         (__sqr): Likewise.
42569         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
42570         powers of two in terms of TWOPOW macro.
42571         (mp_no): Make type of mantissa as MANTISSA_T.
42572         [!RADIXI]: Define RADIXI.
42573         [!TWO52]: Define TWO52.
42574         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
42576 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42578         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
42579         llroundl symbol when building for PPC32.
42581 2013-03-24  Mark H Weaver  <mhw@netris.org>
42583         * manual/arith.texi (Normalization Functions): Fix prototypes for
42584         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
42586 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42588         [BZ #13889]
42589         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
42590         high value to check if expl overflow.
42591         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
42592         to check for underflow and overflow.
42593         * math/libm-test.inc: Add exp test.
42595 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
42597         [BZ #11120]
42598         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
42599         with NOT_IN_libc.
42601 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42603         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
42604         symbol.
42606 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42608         * math/gen-libm-test.pl (parse_args, special_functions): Properly
42609         wrap blocks consisting of several statements.
42611         * sysdeps/generic/math-tests.h: New file.
42612         * sysdeps/i386/fpu/math-tests.h: Likewise.
42613         * math/test-snan.c: Include it.
42614         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
42616 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
42618         [BZ #15285]
42619         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
42620         (__ieee754_j0l): Do not improve calculations using cos of twice
42621         input for inputs above LDBL_MAX / 2.0L.
42622         (__ieee754_y0l): Likewise.
42623         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
42624         (__ieee754_j1l): Do not improve calculations using cos of twice
42625         input for inputs above LDBL_MAX / 2.0L.
42626         (__ieee754_y1l): Likewise.
42627         * math/libm-test.inc (j0_test): Add another test.
42628         (j1_test): Likewise.
42629         (y0_test): Likewise.
42630         (y1_test): Likewise.
42631         * sysdeps/i386/fpu/libm-test-ulps: Update.
42633 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42635         * Rules ($(objpfx)bench-%.c): Include code from a C source
42636         file.
42638 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
42640         [BZ #15287]
42641         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42642         imaginary part 1.0 and real part less than 0.5 specially.
42643         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42644         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42645         * math/libm-test.inc (cacos_test): Add more tests.
42646         (casin_test): Likewise.
42647         (casinh_test): Likewise.
42648         * sysdeps/i386/fpu/libm-test-ulps: Update.
42649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42651 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42653         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
42654         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
42656 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
42658         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
42659         * config.make.in (config-cflags-sse4): Remove variable.
42660         (config-cflags-avx): Likewise.
42661         (config-cflags-sse2avx): Likewise.
42662         (config-cflags-novzeroupper): Likewise.
42663         (config-asflags-i686): Likewise.
42664         (have-mfma4): Likewise.
42665         (have-as-vis3): Likewise.
42666         (MIG): Likewise.
42667         * configure.in (MIG): Do not AC_SUBST.
42668         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
42669         (libc_cv_cc_sse4): Do not AC_SUBST.
42670         (libc_cv_cc_avx): Likewise.
42671         (libc_cv_cc_sse2avx): Likewise.
42672         (libc_cv_cc_novzeroupper): Likewise.
42673         (libc_cv_cc_fma4): Likewise.
42674         (libc_cv_as_i686): Likewise.
42675         (libc_cv_sparc_as_vis3): Likewise.
42676         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
42677         LIBC_CONFIG_VAR.
42678         (config-asflags-i686): Likewise.
42679         (config-cflags-avx): Likewise.
42680         (config-cflags-sse2avx): Likewise.
42681         (have-mfma4): Likewise.
42682         (config-cflags-novzeroupper): Likewise.
42683         * sysdeps/mach/configure.in (MIG): Likewise.
42684         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
42685         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
42686         LIBC_CONFIG_VAR.
42687         (config-cflags-avx): Likewise.
42688         (config-cflags-sse2avx): Likewise.
42689         (have-mfma4): Likewise.
42690         (config-cflags-novzeroupper): Likewise.
42691         * configure: Regenerated.
42692         * sysdeps/i386/configure: Likewise.
42693         * sysdeps/mach/configure: Likewise.
42694         * sysdeps/sparc/configure: Likewise.
42695         * sysdeps/x86_64/configure: Likewise.
42697 2013-03-20  Roland McGrath  <roland@hack.frob.com>
42699         [BZ #14812]
42700         * locale/programs/localedef.c (options): Put N_ translation marker
42701         on argument names, not just descriptions.
42703 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42705         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
42707 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
42709         [BZ #14176]
42710         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
42712 2013-03-19  Roland McGrath  <roland@hack.frob.com>
42714         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
42715         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
42716         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
42717         [!BEFORE_ABORT] (before_abort): New function.
42718         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
42719         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
42720         (writev_for_fatal): New function.
42721         (WRITEV_FOR_FATAL): New macro; call that.
42722         (backtrace_and_maps): New function.
42723         (BEFORE_ABORT): New macro; call that.
42724         (struct str_list): Type removed.
42725         (__libc_message, __libc_fatal): Functions removed.
42726         Include <sysdeps/posix/libc_fatal.c> instead.
42728 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
42730         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
42731         constants.
42732         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
42733         double constants.
42735 2013-03-19  Andreas Schwab  <schwab@suse.de>
42737         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
42738         * sysdeps/gnu/configure: Regenerate.
42740         * configure.in: Substitute libc_cv_rtlddir.
42741         * configure: Regenerate.
42742         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
42743         * Makeconfig (rtlddir, inst_rtlddir): New variables.
42744         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
42745         * elf/Makefile (install-others, CFLAGS-interp.c)
42746         (ldso_install, common-ldd-rewrite): Likewise.
42747         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
42748         $(inst_slibdir)/$(rtld-installed-name).
42749         * scripts/rellns-sh: Add -p option.
42750         * Makerules (make-shlib-link): Use rellns-sh to get relative name
42751         for source.
42753 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42755         * manual/nptl.texi: Renamed to ...
42756         * manual/threads.texi: ... this.
42757         * manual/Makefile (chapters): Update.
42759 2013-03-18  Roland McGrath  <roland@hack.frob.com>
42761         [BZ #14812]
42762         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
42763         on argument names, not just descriptions.
42764         * malloc/memusagestat.c (options): Likewise.
42765         * nss/getent.c (options): Likewise.
42767 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
42769         [BZ #14812]
42770         * iconv/iconv_prog.c (options): Put N_ translation marker
42771         on argument names, not just descriptions.
42772         * iconv/iconvconfig.c (options): Likewise.
42774 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
42776         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
42777         implementation which is faster on all x86_64 architectures.
42778         Tested on AMD, Intel Nehalem, SNB, IVB.
42779         * sysdeps/x86_64/strnlen.S: Likewise.
42781         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42782         Remove all multiarch strlen and strnlen versions.
42783         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42784         Remove strlen and strnlen related parts.
42786         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
42787         Inline strlen part.
42788         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42790         * sysdeps/x86_64/multiarch/strlen.S: Remove.
42791         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
42792         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
42793         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
42794         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42795         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
42797 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
42799         * manual/memory.texi (Malloc Tunable Parameters):
42800         Sort parameters alphabetically. Add comments for missing entries.
42802 2013-03-17  David S. Miller  <davem@davemloft.net>
42804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42806 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
42808         [BZ #15283]
42809         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
42810         for arguments at most half maximum finite value.
42811         * math/libm-test.inc (j0_test): Add more tests.
42812         (j1_test): Likewise.
42813         (y0_test): Likewise.
42814         (y1_test): Likewise.
42815         * sysdeps/i386/fpu/libm-test-ulps: Update.
42816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42818         [BZ #14155]
42819         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
42820         1 / x and functions P and Q for arguments above 0x1p256L.
42821         (__ieee754_y0l): Likewise.
42822         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
42823         (__ieee754_y1l): Likewise.
42824         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
42825         (j1_test): Likewise.
42826         (y0_test): Likewise.
42827         (y1_test): Likewise.
42829 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
42831         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
42832         variable.
42834 2013-03-15  Roland McGrath  <roland@hack.frob.com>
42836         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
42837         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
42838         zero since it's initialized to EXEC_PAGESIZE.
42840         * sysdeps/unix/sysv/linux/ldsodefs.h
42841         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
42842         * sysdeps/generic/ldsodefs.h: ... here.
42844 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
42846         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
42848         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
42849         math/test-snan.c.
42850         * math/test-snan.c: Renamed from
42851         sysdeps/powerpc/fpu/test-powerpc-snan.c.
42852         * math/Makefile (tests): Add test-snan.
42853         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
42854         test-powerpc-snan.
42856         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
42857         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
42858         functions.
42859         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
42860         __builtin_nan family of functions.
42861         * math/libm-test.inc (initialize): Initialize qnan_value with
42862         __builtin_nan family of functions.
42863         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
42864         Remove variables.
42865         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
42866         Remove functions.
42867         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
42868         storage class.  Initialize qNaN_var and sNaN_var with
42869         __builtin_nan and __builtin_nans families of functions,
42870         respectively.
42872         * math/libm-test.inc (acosh_test): Also test with qNaN input.
42873         (sqrt_test): Remove duplicate test with qNaN input.
42874         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
42875         (round_test, signbit_test, significand_test): Note missing +/-Inf
42876         as well as qNaN tests.
42878         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
42879         qNaN_var.  Fix a few strings, too.
42880         * math/libm-test.inc (nan_value): Rename to qnan_value.
42881         * math/gen-libm-test.pl (%beautify): Adjust to that.
42882         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
42883         * math/test-misc.c (main): Likewise.
42884         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
42885         to __qnan_bytes, and __qnan_union, respectively.
42886         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
42887         Likewise.
42888         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
42889         and lqnanval, respectively.
42890         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
42891         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
42892         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
42893         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
42895         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
42896         * math/test-misc.c (main) [__x86_64__]: Enable test for long
42897         doubles.
42899         * math/test-misc.c (main): Fix copy'n'pastos.
42900         * misc/tst-efgcvt.c (special): Likewise.
42902         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
42903         Remove declarations.
42905 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42907         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
42908         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
42909         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
42910         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
42912 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42914         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
42915         macro to return vdso values correctly in IFUNC implementations.
42916         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42917         Optimization by using IFUNC.
42919 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42920             Richard Henderson  <rth@redhat.com>
42921             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42923         * Makefile.in (bench): New target.
42924         * NEWS: Mention the benchmark framework.
42925         * Rules (bench): Likewise.
42926         (binaries-bench): Generate binaries for functions to
42927         benchmark.
42928         * benchtests/Makefile: New makefile for benchmark tests.
42929         * benchtests/bench-skeleton.c: New skeleton file for benchmark
42930         programs.
42931         * benchtests/exp-inputs: New input file for EXP function.
42932         * benchtests/pow-inputs: New input file for POW function.
42933         * scripts/bench.pl: New script to generate source files for
42934         benchmark programs.
42936 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42938         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
42939         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
42940         computations on mantissa.  Use macros for rounding and
42941         division.
42942         (denorm): Likewise.
42943         (__dbl_mp): Likewise.
42944         (add_magnitudes): Likewise.
42945         (sub_magnitudes): Likewise.
42946         (__mul): Likewise.
42947         (__sqr): Likewise.
42948         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
42949         powers of two in terms of TWOPOW macro.
42950         (mp_no): Make type of mantissa as MANTISSA_T.
42951         [!RADIXI]: Define RADIXI.
42952         [!TWO52]: Define TWO52.
42953         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
42955         * manual/nptl.texi (cindex): Modify threads to pthreads.
42957 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
42959         * sysdeps/x86_64/preconfigure: Regenerated.
42961 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
42963         [BZ #14155]
42964         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
42965         0x1p28 and above.
42966         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
42967         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
42968         0x1p28 and above.
42969         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
42970         * math/libm-test.inc (j0_test): Do not allow one spurious
42971         underflow exception.
42972         (y1_test): Likewise.
42974 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42976         * manual/Makefile (chapters): Add nptl.
42977         * manual/debug.texi (Debugging Support): Add link to Threads
42978         chapter.
42979         * manual/nptl.texi: New file.
42981         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
42983 2013-03-14  Petr Baudis  <pasky@ucw.cz>
42985         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
42986         for non-NULL pointer before the memory validity test. Pointed
42987         out by Holger Brunck <holger.brunck@keymile.com>.
42989 2013-03-13  Andreas Schwab  <schwab@suse.de>
42991         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
42992         instead of .os.
42994 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
42996         * timezone/zic.c: Update from tzcode 2013b.
42998 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
43000         * manual/install.texi (Configuring and compiling):
43001         Mention i686 and i586.
43002         * INSTALL: Regenerate.
43004 2013-03-12  Roland McGrath  <roland@hack.frob.com>
43006         * sysdeps/init_array/elf-init.c: New file.
43007         * csu/elf-init.c
43008         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
43009         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
43011         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
43012         __gmon_start__ as global, but as static with a .preinit_array pointer.
43013         * sysdeps/init_array/gmon-start.c: New file.  Use that.
43014         * sysdeps/init_array/crti.S: New file, empty except for comments.
43015         * sysdeps/init_array/crtn.S: Likewise.
43017 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
43019         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
43020         definining bcopy.
43021         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43022         Remove Prefer_SSE_for_memop.
43023         * sysdeps/x86_64/multiarch/init-arch.h: Remove
43024         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
43025         HAS_PREFER_SSE_FOR_MEMOP.
43026         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
43027         memset-x86-64.
43028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43029         Remove bzero, memset ifunc support.
43030         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
43031         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
43032         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43033         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43035 2013-03-11  Andreas Schwab  <schwab@suse.de>
43037         [BZ #15234]
43038         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
43039         by SHLIB_COMPAT.
43040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
43041         (GLIBC_2.16): Remove pthread_atfork.
43043 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
43045         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
43046         (ptestcases.h): Likewise.
43048 2013-03-08  Roland McGrath  <roland@hack.frob.com>
43050         * Makeconfig ($(common-objpfx)config.status): Depend on
43051         sysdeps/*/preconfigure{,.in} too.
43053 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
43055         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
43056         (__free_hook): Use void * instead of __malloc_ptr_t.
43057         (__malloc_hook): Likewise.
43058         (__realloc_hook): Likewise.
43059         (__memalign_hook): Likewise.
43060         (__after_morecore_hook): Likewise.
43061         * malloc/arena.c (save_malloc_hook): Likewise.
43062         (save_free_hook): Likewise.
43063         * malloc/hooks.c (malloc_hook_ini): Likewise.
43064         (realloc_hook_ini): Likewise.
43065         (memalign_hook_ini): Likewise.
43066         * malloc/malloc.c (malloc_hook_ini): Likewise.
43067         (realloc_hook_ini): Likewise.
43068         (memalign_hook_ini): Likewise.
43069         (__free_hook): Likewise.
43070         (__malloc_hook): Likewise.
43071         (__realloc_hook): Likewise.
43072         (__memalign_hook): Likewise.
43073         (__libc_malloc): Likewise.
43074         (__libc_free): Likewise.
43075         (__libc_realloc): Likewise.
43076         (__libc_memalign): Likewise.
43077         (__libc_valloc): Likewise.
43078         (__libc_pvalloc): Likewise.
43079         (__libc_calloc): Likewise.
43080         (__posix_memalign): Likewise.
43081         * malloc/morecore.c (__sbrk): Likewise.
43082         (__default_morecore): Likewise.
43084         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
43086         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
43087         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
43088         __malloc_ptrdiff_t.
43090         * malloc/malloc.h (__malloc_size_t): Remove macro.
43091         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
43092         __malloc_size_t.
43093         (old_memalign_hook): Likewise.
43094         (old_realloc_hook): Likewise.
43095         (struct hdr): Likewise.
43096         (flood): Likewise.
43097         (mallochook): Likewise.
43098         (memalignhook): Likewise.
43099         (reallochook): Likewise.
43100         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
43101         (tr_old_realloc_hook): Likewise.
43102         (tr_old_memalign_hook): Likewise.
43103         (tr_mallochook): Likewise.
43104         (tr_reallochook): Likewise.
43105         (tr_memalignhook): Likewise.
43107 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43109         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
43110         default_ldbl_pack and using as default implementation.
43111         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
43112         implementation.
43113         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
43114         redundant definition.
43115         (ldbl_insert_mantissa): Likewise.
43116         (ldbl_canonicalize): Likewise.
43117         (ldbl_nearbyint): Likewise.
43118         (ldbl_pack): Rename to ldbl_pack_ppc.
43119         (ldbl_unpack): Rename to ldbl_unpack_ppc.
43120         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
43121         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
43123 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
43126         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
43127         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
43128         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
43129         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
43130         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
43131         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
43132         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
43134 2013-03-07  Andreas Jaeger  <aj@suse.de>
43136         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43137         bits/mman-linux.h.
43139 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43141         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
43142         Include mpa.h and declare __MPEXP.
43143         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
43144         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43145         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43146         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
43147         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43148         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43149         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
43151         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
43152         (__slowpow): Use long double EXPL and LOGL functions to
43153         compute POW.
43154         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43155         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43156         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
43157         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43158         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43159         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
43161         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
43162         intermediate variable to calculate exponent.
43163         (__sqr): Likewise.
43164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43165         Likewise.
43166         (__sqr): Likewise.
43168         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
43169         [!NO__SQR]: Define __sqr.
43170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
43171         and NO__SQR.  Remove all code except __mul and __sqr.  Include
43172         sysdeps/ieee754/dbl-64/mpa.c.
43173         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43175         [BZ #12723]
43176         * posix/Makefile (tests): Add tst-pathconf.
43177         * posix/tst-pathconf.c: New test case.
43178         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
43179         _PC_PIPE_BUF.
43180         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
43182 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
43184         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
43186 2013-03-06  Andreas Jaeger  <aj@suse.de>
43188         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
43189         definition via __MAP_ANONYMOUS.
43191         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
43192         it's not part of Linux headers.
43194         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
43195         (MAP_HUGE_MASK): Define.
43197         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43198         Define.
43199         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43200         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43201         Define.
43202         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43203         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43204         Define.
43205         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43206         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
43207         Define.
43208         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43210         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
43211         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
43212         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
43213         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
43214         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
43215         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
43217         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43218         Handle f2fs.
43220         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43221         Handle f2fs and efivarfs.
43223         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
43224         f2fs.
43226         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
43227         (EFIVARFS_MAGIC): Add.
43228         (F2FS_LINK_MAX): Add.
43230 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43232         * stdio-common/vfprintf.c: Replace __builtin_expect with
43233         __glibc_unlikely.
43235 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
43237         [BZ #13550]
43238         * sysdeps/generic/bp-sym.h: Remove file.
43239         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
43240         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
43241         <bp-sym.h> and <bp-asm.h>.
43242         (__longjmp): Don't use BP_SYM.
43243         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
43244         and <bp-asm.h>.
43245         (memcpy): Don't use BP_SYM.
43246         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
43247         <bp-sym.h> and <bp-asm.h>.
43248         (memcpy): Don't use BP_SYM.
43249         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
43250         <bp-asm.h>.
43251         (memcpy): Don't use BP_SYM.
43252         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
43253         <bp-asm.h>.
43254         (memset): Don't use BP_SYM.
43255         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43256         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43257         (__bzero): Don't use BP_SYM.
43258         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43259         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43260         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
43261         <bp-sym.h> and <bp-asm.h>.
43262         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43263         pointers.
43264         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
43265         <bp-sym.h> and <bp-asm.h>.
43266         (memcpy): Don't use BP_SYM.
43267         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
43268         <bp-sym.h> and <bp-asm.h>.
43269         (memset): Don't use BP_SYM.
43270         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43271         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43272         (__bzero): Don't use BP_SYM.
43273         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43274         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43275         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
43276         <bp-sym.h> and <bp-asm.h>.
43277         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43278         pointers.
43279         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
43280         <bp-sym.h> and <bp-asm.h>.
43281         (memcpy): Don't use BP_SYM.
43282         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
43283         <bp-sym.h> and <bp-asm.h>.
43284         (memset): Don't use BP_SYM.
43285         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43286         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43287         (__bzero): Don't use BP_SYM.
43288         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43289         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43290         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
43291         <bp-sym.h> and <bp-asm.h>.
43292         (__memchr): Don't use BP_SYM.
43293         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
43294         <bp-sym.h> and <bp-asm.h>.
43295         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43296         pointers.
43297         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
43298         <bp-sym.h> and <bp-asm.h>.
43299         (memcpy): Don't use BP_SYM.
43300         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
43301         <bp-sym.h> and <bp-asm.h>.
43302         (__mempcpy): Don't use BP_SYM.
43303         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
43304         <bp-sym.h> and <bp-asm.h>.
43305         (__memrchr): Don't use BP_SYM.
43306         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
43307         <bp-sym.h> and <bp-asm.h>.
43308         (memset): Don't use BP_SYM.
43309         (__bzero): Likewise.
43310         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
43311         <bp-sym.h> and <bp-asm.h>.
43312         (__rawmemchr): Don't use BP_SYM.
43313         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
43314         <bp-sym.h> and <bp-asm.h>.
43315         (__STRCMP): Don't use BP_SYM.
43316         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
43317         <bp-sym.h> and <bp-asm.h>.
43318         (strchr): Don't use BP_SYM.
43319         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
43320         <bp-sym.h> and <bp-asm.h>.
43321         (__strchrnul): Don't use BP_SYM.
43322         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
43323         <bp-sym.h> and <bp-asm.h>.
43324         (strlen): Don't use BP_SYM.
43325         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
43326         <bp-sym.h> and <bp-asm.h>.
43327         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43328         pointers.
43329         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
43330         <bp-sym.h> and <bp-asm.h>.
43331         (__strnlen): Don't use BP_SYM.
43332         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
43333         <bp-sym.h> and <bp-asm.h>.
43334         (__GI__setjmp): Don't use BP_SYM.
43335         (_setjmp): Likewise.
43336         (__sigsetjmp): Likewise.
43337         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
43338         (L(start_addresses)): Don't use BP_SYM.
43339         (_start): Likewise.
43340         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
43341         <bp-asm.h>.
43342         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
43343         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
43344         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43345         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43346         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
43347         <bp-asm.h>.
43348         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
43349         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
43350         about bounded pointers.
43351         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43352         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43353         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
43354         <bp-asm.h>.
43355         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43356         about bounded pointers.  Remove GKM FIXME comments.
43357         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43358         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
43359         <bp-asm.h>.
43360         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
43361         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
43362         Remove GKM FIXME comments.
43363         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43364         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43365         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
43366         <bp-asm.h>.
43367         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43368         about bounded pointers.  Remove GKM FIXME comment.
43369         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
43370         and <bp-asm.h>.
43371         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43372         pointers.
43373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
43374         <bp-sym.h> and <bp-asm.h>.
43375         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
43377         <bp-sym.h> and <bp-asm.h>.
43378         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43379         comment.
43381 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43383         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
43384         call free(NULL).
43386 2013-03-05  David S. Miller  <davem@davemloft.net>
43388         * po/es.po: Update from translation team.
43390 2013-03-05  Andreas Jaeger  <aj@suse.de>
43392         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
43393         <bits/mman-linux.h>.
43394         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43395         is fine.
43396         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
43397         <bits/mman-linux.h> to end of file.
43398         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43399         is fine.
43400         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
43401         <bits/mman-linux.h> to end of file.
43402         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43403         is fine.
43404         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
43405         <bits/mman-linux.h> to end of file.
43407         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
43408         (MCL_CURRENT, MCL_FUTURE): Define here.
43410 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43412         [BZ #15232]
43413         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
43414         attribute_hidden.
43415         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43417 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43419         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
43420         fourth parameter needed for rt_sigprocmask syscall.
43421         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43422         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43423         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
43424         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43425         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43426         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
43428 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
43430         [BZ #13550]
43431         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
43432         comment about bounded pointers.
43433         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
43434         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
43436 2013-03-04  Andreas Jaeger  <aj@suse.de>
43438         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
43439         common definitions.
43441         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
43442         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
43443         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
43444         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43445         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43446         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43448 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43450         [BZ #15055]
43451         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
43452         __ieee754_sqrl instead of __sqrl.
43454 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
43456         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
43457         * sysdeps/powerpc/fpu_control.h: ... here.
43458         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
43459         * sysdeps/powerpc/bits/fenvinline.h: ... here.
43460         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
43461         * sysdeps/powerpc/bits/mathinline.h: ... here.
43463 2013-03-01  Roland McGrath  <roland@hack.frob.com>
43465         * elf/dl-hwcaps.c (_dl_important_hwcaps):
43466         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
43467         to just [NEED_DL_SYSINFO_DSO].
43468         * elf/dl-support.c: Likewise.
43469         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43470         * elf/rtld.c (dl_main): Likewise.
43471         * elf/setup-vdso.h (setup_vdso): Likewise.
43472         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
43473         * sysdeps/unix/sysv/linux/dl-sysdep.c
43474         (_dl_discover_osversion): Likewise.
43476 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
43478         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
43479         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
43481 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43483         * NEWS: Mention libm performance improvements and non-x86 PI
43484         futex support.
43486         * csu/libc-start.c (__pthread_initialize_minimal): Change
43487         function arguments.
43488         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
43490 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
43492         [BZ #13550]
43493         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
43494         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
43495         <bp-sym.h> and <bp-asm.h>.
43496         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43497         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
43498         and <bp-asm.h>.
43499         (memcpy): Don't use BP_SYM.
43500         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
43501         <bp-asm.h>.
43502         (__mpn_add_n): Don't use BP_SYM.
43503         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
43504         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
43505         and <bp-asm.h>.
43506         (__mpn_addmul_1): Don't use BP_SYM.
43507         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43508         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
43509         <bp-sym.h>.
43510         (_setjmp): Don't use BP_SYM.
43511         (__novmx_setjmp): Likewise.
43512         (__GI__setjmp): Likewise.
43513         (__vmx_setjmp): Likewise.
43514         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
43515         <bp-sym.h>.
43516         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
43517         (__bzero): Don't use BP_SYM.
43518         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43519         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43520         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
43521         <bp-sym.h> and <bp-asm.h>.
43522         (memcpy): Don't use BP_SYM.
43523         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
43524         <bp-sym.h> and <bp-asm.h>.
43525         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43526         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
43527         <bp-sym.h> and <bp-asm.h>.
43528         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43529         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
43530         <bp-asm.h>.
43531         (__mpn_lshift): Don't use BP_SYM.
43532         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43533         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
43534         <bp-asm.h>.
43535         (memset): Don't use BP_SYM.
43536         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43537         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43538         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
43539         <bp-asm.h>.
43540         (__mpn_mul_1): Don't use BP_SYM.
43541         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43542         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
43543         <bp-sym.h> and <bp-asm.h>.
43544         (memcmp): Don't use BP_SYM.
43545         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
43546         <bp-sym.h> and <bp-asm.h>.
43547         (memcpy): Don't use BP_SYM.
43548         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
43549         <bp-sym.h> and <bp-asm.h>.
43550         (memset): Don't use BP_SYM.
43551         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
43552         <bp-sym.h> and <bp-asm.h>.
43553         (strncmp): Don't use BP_SYM.
43554         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
43555         <bp-sym.h> and <bp-asm.h>.
43556         (memcpy): Don't use BP_SYM.
43557         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
43558         <bp-sym.h> and <bp-asm.h>.
43559         (memset): Don't use BP_SYM.
43560         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
43561         <bp-sym.h> and <bp-asm.h>.
43562         (__memchr): Don't use BP_SYM.
43563         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
43564         <bp-sym.h> and <bp-asm.h>.
43565         (memcmp): Don't use BP_SYM.
43566         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
43567         <bp-sym.h> and <bp-asm.h>.
43568         (memcpy): Don't use BP_SYM.
43569         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
43570         <bp-sym.h> and <bp-asm.h>.
43571         (__mempcpy): Don't use BP_SYM.
43572         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
43573         <bp-sym.h> and <bp-asm.h>.
43574         (__memrchr): Don't use BP_SYM.
43575         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
43576         <bp-sym.h> and <bp-asm.h>.
43577         (memset): Don't use BP_SYM.
43578         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
43579         <bp-sym.h> and <bp-asm.h>.
43580         (__rawmemchr): Don't use BP_SYM.
43581         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
43582         <bp-sym.h> and <bp-asm.h>.
43583         (__STRCMP): Don't use BP_SYM.
43584         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
43585         <bp-sym.h> and <bp-asm.h>.
43586         (strchr): Don't use BP_SYM.
43587         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
43588         <bp-sym.h> and <bp-asm.h>.
43589         (__strchrnul): Don't use BP_SYM.
43590         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
43591         <bp-sym.h> and <bp-asm.h>.
43592         (strlen): Don't use BP_SYM.
43593         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
43594         <bp-sym.h> and <bp-asm.h>.
43595         (strncmp): Don't use BP_SYM.
43596         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
43597         <bp-sym.h> and <bp-asm.h>.
43598         (__strnlen): Don't use BP_SYM.
43599         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
43600         <bp-asm.h>.
43601         (__mpn_rshift): Don't use BP_SYM.
43602         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43603         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
43604         <bp-sym.h> and <bp-asm.h>.
43605         (__sigsetjmp): Don't use BP_SYM.
43606         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
43607         (L(start_addresses)): Don't use BP_SYM.
43608         (_start): Likewise.
43609         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
43610         <bp-asm.h>.
43611         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
43612         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43613         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43614         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
43615         <bp-asm.h>.
43616         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
43617         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43618         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43619         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
43620         <bp-asm.h>.
43621         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
43622         comments.
43623         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43624         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
43625         <bp-asm.h>.
43626         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
43627         FIXME comments.
43628         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43629         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43630         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
43631         <bp-asm.h>.
43632         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
43633         comment.
43634         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
43635         and <bp-asm.h>.
43636         (strncmp): Don't use BP_SYM,
43637         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
43638         <bp-asm.h>.
43639         (__mpn_sub_n): Don't use BP_SYM.
43640         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43641         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
43642         and <bp-asm.h>.
43643         (__mpn_submul_1): Don't use BP_SYM.
43644         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
43646         <bp-sym.h> and <bp-asm.h>.
43647         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
43649         <bp-sym.h> and <bp-asm.h>.
43650         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43651         comment.
43653 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
43656         Use ZK to minimize writes to Z.
43657         (sub_magnitudes): Simplify code a bit.
43658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
43659         Use ZK to minimize writes to Z.
43660         (sub_magnitudes): Simplify code a bit.
43662 2013-02-27  Roland McGrath  <roland@hack.frob.com>
43664         * csu/gmon-start.c: Add special exception to license text.
43666 2013-02-27  Richard Henderson  <rth@redhat.com>
43668         * scripts/config.guess: Update from config.git.
43669         * scripts/config.sub: Likewise.
43671 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43673         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
43675         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
43677         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
43679         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
43681         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
43683 2013-02-26  Roland McGrath  <roland@hack.frob.com>
43685         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
43686         [$(build-shared = yes].
43688 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43690         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
43691         (__mul): Reduce iterations for calculating mantissa.
43693         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
43694         MPTWO.
43695         (__mpranred): Likewise.
43697         [BZ #15160]
43698         * malloc/memusagestat.c (main): Draw graphs for heap and stack
43699         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
43701 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
43703         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
43704         Define __attribute__.
43706 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43708         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
43709         unused.
43710         * posix/regex_internal.h (__attribute): Remove.
43711         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
43712         (re_string_context_at): Likewise.
43713         (bitset_not): Use __attribute__ and mark function as possibly
43714         unused.
43715         (bitset_merge): Likewise.
43716         (bitset_mask): Likewise.
43717         (re_string_char_size_at): Likewise.
43718         (re_string_wchar_at): Likewise.
43719         (re_string_elem_size_at): Likewise.
43721 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43723         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
43724         code.
43725         (cc32): Likewise.
43727         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
43728         (__acr): Likewise.
43729         (__cpy): Likewise.
43730         (norm): Likewise.
43731         (denorm): Likewise.
43732         (__dbl_mp): Likewise.
43733         (add_magnitudes): Likewise.
43734         (sub_magnitudes): Likewise.
43735         (__mul): Likewise.
43736         (__inv): Likewise.
43738         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
43739         style.
43741         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
43742         style.
43744         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
43745         code.
43747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
43748         up changes with default code.
43749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
43750         Likewise.
43752 2013-02-24  Allan McRae  <allan@archlinux.org>
43754         * manual/socket.texi (The Internet Namespace): Order menu items
43755         to match that in the file.
43757         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
43758         node listing of the info page menu.
43760 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
43762         [BZ #13550]
43763         * sysdeps/i386/bp-asm.h: Remove file.
43764         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
43765         (PARMS): Do not use macros from bp-asm.h.
43766         (S1): Likewise.
43767         (S2): Likewise.
43768         (SIZE): Likewise.
43769         (__mpn_add_n): Do not use BP_SYM
43770         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
43771         "bp-asm.h".
43772         (PARMS): Do not use macros from bp-asm.h.
43773         (S1): Likewise.
43774         (SIZE): Likewise.
43775         (__mpn_addmul_1): Do not use BP_SYM
43776         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
43777         "bp-asm.h".
43778         (PARMS): Do not use macros from bp-asm.h.
43779         (SIGMSK): Likewise.
43780         (_setjmp): Likewise.  Do not use BP_SYM.
43781         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
43782         "bp-asm.h".
43783         (PARMS): Do not use macros from bp-asm.h.
43784         (SIGMSK): Likewise.
43785         (setjmp): Likewise.  Do not use BP_SYM.
43786         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
43787         "bp-asm.h".
43788         (PARMS): Do not use macros from bp-asm.h.
43789         (__frexp): Do not use BP_SYM.
43790         (frexp): Likewise.
43791         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
43792         "bp-asm.h".
43793         (PARMS): Do not use macros from bp-asm.h.
43794         (__frexpf): Do not use BP_SYM.
43795         (frexpf): Likewise.
43796         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
43797         "bp-asm.h".
43798         (PARMS): Do not use macros from bp-asm.h.
43799         (__frexpl): Do not use BP_SYM.
43800         (frexpl): Likewise.
43801         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
43802         "bp-asm.h".
43803         (PARMS): Do not use macros from bp-asm.h.
43804         (__remquo): Do not use BP_SYM.
43805         (remquo): Likewise.
43806         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
43807         "bp-asm.h".
43808         (PARMS): Do not use macros from bp-asm.h.
43809         (__remquof): Do not use BP_SYM.
43810         (remquof): Likewise.
43811         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
43812         "bp-asm.h".
43813         (PARMS): Do not use macros from bp-asm.h.
43814         (__remquol): Do not use BP_SYM.
43815         (remquol): Likewise.
43816         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
43817         "bp-asm.h".
43818         (PARMS): Do not use macros from bp-asm.h.
43819         (DEST): Likewise.
43820         (SRC): Likewise.
43821         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
43822         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
43823         "bp-asm.h".
43824         (PARMS): Do not use macros from bp-asm.h.
43825         (strlen): Do not use BP_SYM.
43826         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
43827         "bp-asm.h".
43828         (PARMS): Do not use macros from bp-asm.h.
43829         (S1): Likewise.
43830         (S2): Likewise.
43831         (SIZE): Likewise.
43832         (__mpn_add_n): Do not use BP_SYM.
43833         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
43834         "bp-asm.h".
43835         (PARMS): Do not use macros from bp-asm.h.
43836         (S1): Likewise.
43837         (SIZE): Likewise.
43838         (__mpn_addmul_1): Do not use BP_SYM.
43839         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
43840         weak_alias.
43841         (bzero): Likewise.
43842         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
43843         "bp-asm.h".
43844         (PARMS): Do not use macros from bp-asm.h.
43845         (S): Likewise.
43846         (SIZE): Likewise.
43847         (__mpn_lshift): Do not use BP_SYM.
43848         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
43849         "bp-asm.h".
43850         (PARMS): Do not use macros from bp-asm.h.
43851         (DEST): Likewise.
43852         (SRC): Likewise.
43853         (LEN): Likewise.
43854         (memcpy): Likewise.  Do not use BP_SYM.
43855         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
43856         libc_hidden_def and weak_alias.
43857         (mempcpy): Do not use BP_SYM in weak_alias.
43858         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
43859         "bp-asm.h".
43860         (PARMS): Do not use macros from bp-asm.h.
43861         (DEST): Likewise.
43862         (LEN): Likewise.
43863         [!BZERO_P] (CHR): Likewise.
43864         (memset): Likewise.  Do not use BP_SYM.
43865         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
43866         "bp-asm.h".
43867         (PARMS): Do not use macros from bp-asm.h.
43868         (S1): Likewise.
43869         (SIZE): Likewise.
43870         (__mpn_mul_1): Do not use BP_SYM.
43871         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
43872         "bp-asm.h".
43873         (PARMS): Do not use macros from bp-asm.h.
43874         (S): Likewise.
43875         (SIZE): Likewise.
43876         (__mpn_rshift): Do not use BP_SYM.
43877         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
43878         "bp-asm.h".
43879         (PARMS): Do not use macros from bp-asm.h.
43880         (STR): Likewise.
43881         (CHR): Likewise.
43882         (strchr): Likewise.  Do not use BP_SYM.
43883         (index): Do not use BP_SYM in weak_alias.
43884         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
43885         "bp-asm.h".
43886         (PARMS): Do not use macros from bp-asm.h.
43887         (DEST): Likewise.
43888         (SRC): Likewise.
43889         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
43890         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
43891         "bp-asm.h".
43892         (PARMS): Do not use macros from bp-asm.h.
43893         (strlen): Do not use BP_SYM.
43894         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
43895         "bp-asm.h".
43896         (PARMS): Do not use macros from bp-asm.h.
43897         (S1): Likewise.
43898         (S2): Likewise.
43899         (SIZE): Likewise.
43900         (__mpn_sub_n): Do not use BP_SYM.
43901         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
43902         "bp-asm.h".
43903         (PARMS): Do not use macros from bp-asm.h.
43904         (S1): Likewise.
43905         (SIZE): Likewise.
43906         (__mpn_submul_1): Do not use BP_SYM.
43907         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
43908         "bp-asm.h".
43909         (PARMS): Do not use macros from bp-asm.h.
43910         (S1): Likewise.
43911         (S2): Likewise.
43912         (SIZE): Likewise.
43913         (__mpn_add_n): Do not use BP_SYM.
43914         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
43915         weak_alias.
43916         (bzero): Likewise.
43917         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
43918         "bp-asm.h".
43919         (PARMS): Do not use macros from bp-asm.h.
43920         (BLK2): Likewise.
43921         (LEN): Likewise.
43922         (memcmp): Do not use BP_SYM.
43923         (bcmp): Do not use BP_SYM in weak_alias.
43924         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
43925         "bp-asm.h".
43926         (PARMS): Do not use macros from bp-asm.h.
43927         (DEST): Likewise.
43928         (SRC): Likewise.
43929         (LEN): Likewise.
43930         (memcpy): Likewise.  Do not use BP_SYM.
43931         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
43932         "bp-asm.h".
43933         (PARMS): Do not use macros from bp-asm.h.
43934         (DEST): Likewise.
43935         (SRC): Likewise.
43936         (LEN): Likewise.
43937         (memmove): Likewise.  Do not use BP_SYM.
43938         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
43939         "bp-asm.h".
43940         (PARMS): Do not use macros from bp-asm.h.
43941         (DEST): Likewise.
43942         (SRC): Likewise.
43943         (LEN): Likewise.
43944         (__mempcpy): Likewise.  Do not use BP_SYM.
43945         (mempcpy): Do not use BP_SYM in weak_alias.
43946         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
43947         "bp-asm.h".
43948         (PARMS): Do not use macros from bp-asm.h.
43949         (DEST): Likewise.
43950         (LEN): Likewise.
43951         [!BZERO_P] (CHR): Likewise.
43952         (memset): Likewise.  Do not use BP_SYM.
43953         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
43954         "bp-asm.h".
43955         (PARMS): Do not use macros from bp-asm.h.
43956         (STR2): Likewise.
43957         (strcmp): Do not use BP_SYM.
43958         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
43959         "bp-asm.h".
43960         (PARMS): Do not use macros from bp-asm.h.
43961         (STR): Likewise.
43962         (DELIM): Likewise.
43963         [USE_AS_STRTOK_R] (SAVE): Likewise.
43964         (FUNCTION): Likewise.  Do not use BP_SYM.
43965         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
43966         aliases.
43967         (strtok_r): Likewise.
43968         (__GI___strtok_r): Likewise.
43969         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43970         (PARMS): Do not use macros from bp-asm.h.
43971         (S): Likewise.
43972         (SIZE): Likewise.
43973         (__mpn_lshift): Do not use BP_SYM.
43974         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43975         (PARMS): Do not use macros from bp-asm.h.
43976         (STR): Likewise.
43977         (CHR): Likewise.
43978         (__memchr): Do not use BP_SYM.
43979         (memchr): Do not use BP_SYM in weak_alias.
43980         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43981         (PARMS): Do not use macros from bp-asm.h.
43982         (BLK2): Likewise.
43983         (LEN): Likewise.
43984         (memcmp): Do not use BP_SYM.
43985         (bcmp): Do not use BP_SYM in weak_alias.
43986         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
43987         (PARMS): Do not use macros from bp-asm.h.
43988         (S1): Likewise.
43989         (SIZE): Likewise.
43990         (__mpn_mul_1): Do not use BP_SYM.
43991         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
43992         "bp-asm.h".
43993         (PARMS): Do not use macros from bp-asm.h.
43994         (STR): Likewise.
43995         (CHR): Likewise.
43996         (__rawmemchr): Do not use BP_SYM.
43997         (rawmemchr): Do not use BP_SYM in weak_alias.
43998         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43999         (PARMS): Do not use macros from bp-asm.h.
44000         (S): Likewise.
44001         (SIZE): Likewise.
44002         (__mpn_rshift): Do not use BP_SYM.
44003         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44004         (PARMS): Do not use macros from bp-asm.h.
44005         (SIGMSK): Likewise.
44006         (__sigsetjmp): Likewise.  Do not use BP_SYM.
44007         * sysdeps/i386/start.S: Do not include "bp-sym.h".
44008         (_start): Do not use BP_SYM.
44009         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
44010         (PARMS): Do not use macros from bp-asm.h.
44011         (DEST): Likewise.
44012         (SRC): Likewise.
44013         (__stpcpy): Likewise.  Do not use BP_SYM.
44014         (stpcpy): Do not use BP_SYM in weak_alias.
44015         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
44016         "bp-asm.h".
44017         (PARMS): Do not use macros from bp-asm.h.
44018         (DEST): Likewise.
44019         (SRC): Likewise.
44020         (LEN): Likewise.
44021         (__stpncpy): Likewise.  Do not use BP_SYM.
44022         (stpncpy): Do not use BP_SYM in weak_alias.
44023         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44024         (PARMS): Do not use macros from bp-asm.h.
44025         (STR): Likewise.
44026         (CHR): Likewise.
44027         (strchr): Likewise.  Do not use BP_SYM.
44028         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
44029         "bp-asm.h".
44030         (PARMS): Do not use macros from bp-asm.h.
44031         (STR): Likewise.
44032         (CHR): Likewise.
44033         (__strchrnul): Likewise.  Do not use BP_SYM.
44034         (strchrnul): Do not use BP_SYM in weak_alias.
44035         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
44036         "bp-asm.h".
44037         (PARMS): Do not use macros from bp-asm.h.
44038         (STOP): Likewise.
44039         (strcspn): Do not use BP_SYM.
44040         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
44041         "bp-asm.h".
44042         (PARMS): Do not use macros from bp-asm.h.
44043         (STR): Likewise.
44044         (STOP): Likewise.
44045         (strpbrk): Likewise.  Do not use BP_SYM.
44046         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
44047         "bp-asm.h".
44048         (PARMS): Do not use macros from bp-asm.h.
44049         (STR): Likewise.
44050         (CHR): Likewise.
44051         (strrchr): Likewise.  Do not use BP_SYM.
44052         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
44053         (PARMS): Do not use macros from bp-asm.h.
44054         (SKIP): Likewise.
44055         (strspn): Do not use BP_SYM.
44056         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
44057         (PARMS): Do not use macros from bp-asm.h.
44058         (STR): Likewise.
44059         (DELIM): Likewise.
44060         (SAVE): Likewise.
44061         (FUNCTION): Likewise.  Do not use BP_SYM.
44062         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
44063         aliases.
44064         (strtok_r): Likewise.
44065         (__GI___strtok_r): Likewise.
44066         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44067         (PARMS): Do not use macros from bp-asm.h.
44068         (S1): Likewise.
44069         (S2): Likewise.
44070         (SIZE): Likewise.
44071         (__mpn_sub_n): Do not use BP_SYM.
44072         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
44073         "bp-asm.h".
44074         (PARMS): Do not use macros from bp-asm.h.
44075         (S1): Likewise.
44076         (SIZE): Likewise.
44077         (__mpn_submul_1): Do not use BP_SYM.
44078         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
44079         <bp-sym.h>.
44080         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
44081         and <bp-asm.h>.
44082         (PARMS): Do not use macros from bp-asm.h.
44083         (FLAGS): Likewise.
44084         (PTID): Likewise.
44085         (TLS): Likewise.
44086         (CTID): Likewise.
44087         (__clone): Do not use BP_SYM.
44088         (clone): Do not use BP_SYM in weak_alias.
44089         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
44090         and <bp-asm.h>.
44091         (PARMS): Do not use macros from bp-asm.h.
44092         (LEN): Likewise.
44093         (__mmap64): Do not use BP_SYM.
44094         (mmap64): Do not use BP_SYM in weak_alias.
44095         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44096         <bp-sym.h> and <bp-asm.h>.
44097         (PARMS): Do not use macros from bp-asm.h.
44098         (__posix_fadvise64_l64): Do not use BP_SYM.
44099         * sysdeps/unix/sysv/linux/i386/semtimedop.S
44100         (PARMS): Do not use macros from bp-asm.h.
44101         (NSOPS): Likewise.
44102         (semtimedop): Do not use BP_SYM.
44103         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
44104         and <bp-asm.h>.
44106 2013-02-21  Allan McRae  <allan@archlinux.org>
44108         * manual/message.texi (Charset conversion in gettext):
44109         Move @end statement to beginning of line.
44111 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44113         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
44114         static.
44115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44116         Likewise.
44118         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
44119         (denorm): Likewise.
44120         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
44121         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
44123 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44125         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
44126         tail-call to the resolved function if pltexit isn't needed.
44128 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
44131         or Y being zero as being unlikely.
44132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44133         Likewise.
44135 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
44137         * manual/nss.texi (System Databases and Name Service Switch):
44138         Remove frobnicate @pxref.
44140 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44142         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44143         __attribute__ ((unused)) to __attribute__ ((__unused__)).
44145 2013-02-20  Petr Machata  <pmachata@redhat.com>
44147         * elf/elf.h (R_ARM_TARGET1): New macro.
44148         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44149         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
44150         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
44151         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
44152         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
44153         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
44154         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
44155         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
44156         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
44157         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
44158         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44159         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
44160         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
44161         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
44162         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
44163         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
44164         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
44165         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
44166         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
44167         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
44168         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
44169         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
44170         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
44171         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
44172         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
44173         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
44174         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
44175         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
44176         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
44177         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44178         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
44179         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
44180         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
44181         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
44182         (R_ARM_THM_GOT_BREL12): Likewise.
44183         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
44184         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
44185         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
44186         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
44187         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44188         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
44189         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
44190         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
44191         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
44193 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44195         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44196         __attribute_used__ to __attribute__ ((unused)).
44198 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44200         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
44201         powerpc mpa.c.
44202         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
44203         comment formatting.
44204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
44206 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
44208         [BZ #13550]
44209         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
44210         Remove macro.
44211         (ENTER): Remove both macro definitions.
44212         (LEAVE): Likewise.
44213         (CHECK_BOUNDS_LOW): Likewise.
44214         (CHECK_BOUNDS_HIGH): Likewise.
44215         (CHECK_BOUNDS_BOTH): Likewise.
44216         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
44217         (RETURN_BOUNDED_POINTER): Likewise.
44218         (RETURN_NULL_BOUNDED_POINTER): Likewise.
44219         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
44220         (POP_ERRNO_LOCATION_RETURN): Likewise.
44221         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
44222         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44223         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
44224         macros.
44225         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44226         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
44227         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
44228         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
44229         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
44230         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
44231         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
44232         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
44233         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
44234         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
44235         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
44236         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
44237         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44238         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
44239         removed macros.
44240         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44241         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
44242         macros.
44243         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44244         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
44245         * sysdeps/i386/i586/memset.S (memset): Likewise.
44246         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
44247         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44248         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
44249         macros.
44250         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44251         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
44252         Change uses of L(2) to L(out).
44253         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
44254         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
44255         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
44256         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44257         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
44258         removed macros.
44259         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44260         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
44261         macros.
44262         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44263         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
44264         (RETURN): Do not use macro LEAVE.
44265         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
44266         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
44267         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
44268         * sysdeps/i386/i686/memset.S (memset): Likewise.
44269         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
44270         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
44271         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44272         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
44273         Likewise.
44274         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44275         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
44276         L(1_2) and L(1_3) into L(1).
44277         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44278         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
44279         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44280         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
44281         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44282         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
44283         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
44284         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44285         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
44286         macros.
44287         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
44288         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44289         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
44290         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
44291         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
44292         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44293         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
44294         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
44295         * sysdeps/i386/strcspn.S (strcspn): Likewise.
44296         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
44297         * sysdeps/i386/strrchr.S (strrchr): Likewise.
44298         * sysdeps/i386/strspn.S (strspn): Likewise.
44299         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
44300         conditional code.
44301         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44302         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
44303         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44304         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
44305         L(1_3) into L(1_1).
44306         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
44307         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44308         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
44309         macros.
44310         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44312 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
44314         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
44315         macro.
44317 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44319         * math/atest-exp.c (exp_mpn): Remove ROUND.
44320         * math/atest-exp2.c (exp_mpn): Likewise.
44321         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
44323         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
44324         * stdlib/tst-tls-atexit-lib.c: Likewise.
44325         * stdlib/tst-tls-atexit.c: Likewise.
44327 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44329         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
44330         and __attribute_alloc_size__.
44332 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44334         * include/programs/xmalloc.h: Change __attribute_alloc_size to
44335         __attribute_alloc_size__.
44336         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
44337         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
44339 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44341         * include/programs/xmalloc.h: New file.
44342         * catgets/gencat.c: Include it.
44343         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
44344         * elf/pldd.c: Likewise.
44345         * iconv/iconv_charmap.c: Likewise.
44346         * iconv/iconvconfig.c: Likewise.
44347         * iconv/strtab.c: Likewise.
44348         * locale/programs/locale.c: Likewise.
44349         * locale/programs/localedef.h: Likewise.
44350         * locale/programs/simple-hash.c: Likewise.
44351         * nscd/nscd.h: Likewise.
44352         * nss/makedb.c: Likewise.
44353         * sysdeps/generic/ldconfig.h: Likewise.
44355 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44357         * Versions.def: Add GLIBC_2.18.
44358         * include/link.h (struct link_map): New member l_tls_dtor_count.
44359         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
44360         (__call_tls_dtors): Likewise.
44361         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
44362         __cxa_thread_atexit_impl.
44363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44364         Likewise.
44365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44366         Likewise.
44367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44368         Likewise.
44369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44370         Likewise.
44371         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
44373         Likewise.
44374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
44375         Likewise.
44376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44378         Likewise.
44379         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
44380         (tests): Add test case tst-tls-atexit.
44381         (modules-names): Add shared library for tst-tls-atexit.
44382         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
44383         (GLIBC_PRIVATE): Add __call_tls_dtors.
44384         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
44385         for libstdc++.
44386         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
44387         * stdlib/tst-tls-atexit.c: New test case.
44388         * stdlib/tst-tls-atexit-lib.c: New test case.
44390         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
44392         * elf/Versions (ld): Add _dl_find_dso_for_object.
44393         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
44394         * elf/dl-open.c (_dl_find_dso_for_object): New function.
44395         (dl_open_worker): Use _dl_find_dso_for_object.
44396         * elf/dl-sym.c (do_sym): Likewise.
44397         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
44399 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44401         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
44402         Syntactic changes only.
44403         (_dl_runtime_profile): Do a tail-call to the resolved function.
44405 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
44407         [BZ #13550]
44408         * sysdeps/x86_64/bp-asm.h: Remove file.
44409         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
44410         <bp-sym.h> and <bp-asm.h>.
44411         (__clone): Do not use BP_SYM.
44412         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
44413         <bp-sym.h> and <bp-asm.h>.
44414         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44415         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
44416         "bp-asm.h".
44417         (_setjmp): Do not use BP_SYM.
44418         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
44419         "bp-asm.h".
44420         (setjmp): Do not use BP_SYM.
44421         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
44422         libc_hidden_def.
44423         (mempcpy): Do not use BP_SYM in weak_alias.
44424         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
44425         "bp-asm.h".
44426         (strchr): Do not use BP_SYM.
44427         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
44428         "bp-asm.h".
44429         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
44430         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
44431         (_start): Do not use BP_SYM.
44432         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
44433         "bp-asm.h".
44434         (strcat): Do not use BP_SYM.
44435         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
44436         "bp-asm.h".
44437         (STRCMP): Do not use BP_SYM.
44438         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
44439         "bp-asm.h".
44440         (STRCPY): Do not use BP_SYM.
44441         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
44442         "bp-asm.h".
44443         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
44444         "bp-asm.h".
44445         (FUNCTION): Do not use BP_SYM.
44446         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
44447         weak_alias.
44448         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
44450 2013-02-17  Andreas Jaeger  <aj@suse.de>
44452         * time/Versions: Sort entries.
44453         * string/Versions: Likewise.
44454         * resolv/Versions: Likewise.
44455         * posix/Versions: Likewise.
44456         * iconv/Versions: Likewise.
44457         * elf/Versions: Likewise.
44458         * wcsmbs/Versions: Likewise.
44460 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44462         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
44463         loop termination condition.
44465         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
44466         variable to calculate EZ.
44467         (__sqr): Likewise.
44469         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
44470         the lower precision input.
44472 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
44474         [BZ #13550]
44475         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
44476         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
44477         (run-via-rtld-prefix): Do not handle %-bp tests.
44478         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
44479         (all-object-suffixes): Remove .ob.
44480         (bppfx): Remove variable.
44481         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
44482         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
44483         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
44484         [$(build-bounded) = yes] (libtype.ob): Likewise.
44485         * Makerules (elide-routines.ob): Remove variable.
44486         (do-tests-clean): Do not handle *-bp.out.
44487         (common-mostlyclean): Do not handle *-bp and *-bp.out.
44488         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
44489         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
44490         (tests): Do not include $(tests-bp.out).
44491         (xtests): Do not include $(xtests-bp.out).
44492         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
44493         [$(build-bounded) = yes] ($(addprefix
44494         $(objpfx),$(binaries-bounded))): Remove rule.
44495         ($(objpfx)%-bp.out): Remove rule.
44496         * config.make.in (build-bounded): Remove variable.
44497         * crypt/Makefile [$(build-bounded) = yes]
44498         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
44499         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
44500         append to variable.
44501         [$(build-bounded) = yes] (install-lib): Likewise.
44502         [$(build-bounded) = yes] (generated): Likewise.
44503         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
44504         Remove rule.
44505         * intl/Makefile [$(build-bounded) = yes]
44506         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
44507         * math/Makefile [$(build-bounded) = yes]
44508         ($(tests:%=$(objpfx)%-bp): Likewise.
44509         * misc/Makefile [$(build-bounded) = yes]
44510         ($(objpfx)tst-tsearch-bp): Likewise.
44511         * nptl/Makeconfig (bounded-thread-library): Remove variable.
44512         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
44513         Remove dependency.
44514         * string/Makefile (o-objects.ob): Remove variable.
44515         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
44516         (CFLAGS-.ob): Remove variable.
44517         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
44518         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
44519         both definitions of variable.
44520         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
44521         (ASFLAGS-.ob): Remove variable.
44523 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
44525         [BZ #13550]
44526         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
44527         Remove __BOUNDED_POINTERS__ from condition.
44528         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
44529         * string/bits/string2.h [!__NO_STRING_INLINES &&
44530         !__BOUNDED_POINTERS__]: Likewise.
44531         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
44532         Likewise.
44533         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
44534         Remove conditional code.
44535         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
44536         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
44537         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
44538         condition.
44540         [BZ #13550]
44541         * csu/libc-start.c: Do not include <bp-sym.h>.
44542         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
44543         * elf/dl-open.c: Do not include <bp-sym.h>.
44544         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
44545         * math/fegetenv.c: Do not include <bp-sym.h>.
44546         (fegetenv): Do not use BP_SYM in versioned symbols.
44547         * nptl/sysdeps/pthread/bits/libc-lockP.h
44548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
44549         <bp-sym.h>.
44550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44551         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
44552         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44553         (__pthread_mutex_destroy): Likewise.
44554         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44555         (__pthread_mutex_lock): Likewise.
44556         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44557         (__pthread_mutex_trylock): Likewise.
44558         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44559         (__pthread_mutex_unlock): Likewise.
44560         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44561         (__pthread_mutexattr_init): Likewise.
44562         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44563         (__pthread_mutexattr_destroy): Likewise.
44564         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44565         (__pthread_mutexattr_settype): Likewise.
44566         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44567         (__pthread_rwlock_init): Likewise.
44568         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44569         (__pthread_rwlock_destroy): Likewise.
44570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44571         (__pthread_rwlock_rdlock): Likewise.
44572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44573         (__pthread_rwlock_tryrdlock): Likewise.
44574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44575         (__pthread_rwlock_wrlock): Likewise.
44576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44577         (__pthread_rwlock_trywrlock): Likewise.
44578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44579         (__pthread_rwlock_unlock): Likewise.
44580         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44581         (__pthread_key_create): Likewise.
44582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44583         (__pthread_setspecific): Likewise.
44584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44585         (__pthread_getspecific): Likewise.
44586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
44587         Likewise.
44588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44589         (_pthread_cleanup_push_defer): Likewise.
44590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44591         (_pthread_cleanup_pop_restore): Likewise.
44592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44593         (pthread_setcancelstate): Likewise.
44594         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
44595         <bp-sym.h>.
44596         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
44597         (memchr): Do not use BP_SYM in weak_alias.
44598         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
44599         (fegetenv): Do not use BP_SYM in versioned symbols.
44600         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
44601         (fesetenv): Do not use BP_SYM in versioned symbols.
44602         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
44603         (feupdateenv): Do not use BP_SYM in versioned symbols.
44604         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
44605         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
44606         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
44607         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
44608         (open64): Do not use BP_SYM in weak_alias.
44609         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
44610         (fegetenv): Do not use BP_SYM in versioned symbols.
44611         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
44612         (fesetenv): Do not use BP_SYM in versioned symbols.
44613         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
44614         (feupdateenv): Do not use BP_SYM in versioned symbols.
44615         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
44616         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
44617         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
44618         (feraiseexcept): Do not use BP_SYM in versioned symbols.
44619         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
44620         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
44621         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
44622         <bp-sym.h>.
44623         (__libc_start_main): Do not use BP_SYM.
44625 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44627         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
44628         redundant return line.
44629         (norm): Likewise.
44630         (denorm): Likewise.
44631         (dbl_mp): Likewise.
44632         (sub_magnitudes): Likewise.
44633         (__add): Likewise.
44634         (__sub): Likewise.
44635         (__mul): Likewise.
44636         (__inv): Likewise.
44637         (__dvd): Likewise.
44638         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
44639         (norm): Likewise.
44640         (denorm): Likewise.
44641         (dbl_mp): Likewise.
44642         (sub_magnitudes): Likewise.
44643         (__add): Likewise.
44644         (__sub): Likewise.
44645         (__mul): Likewise.
44646         (__inv): Likewise.
44647         (__dvd): Likewise.
44649         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
44650         instead of __mul.
44651         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44652         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
44653         (cc32): Likewise.
44655         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
44656         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
44657         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
44658         of __mul for squares.
44659         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
44660         function
44661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
44662         Likewise.
44663         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
44664         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44666 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
44668         [BZ #13550]
44669         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
44670         code.
44671         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
44672         prototype or function definition.  Rename ubp_* variables and
44673         parameters.  Remove argv definitions conditional on
44674         [__BOUNDED_POINTERS__].
44675         * debug/backtrace.c (__backtrace): Do not use __unbounded.
44676         * elf/dl-runtime.c (_dl_fixup): Likewise.
44677         * include/set-hooks.h (RUN_HOOK): Likewise.
44678         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
44679         definition.
44680         * string/strcpy.c (strcpy): Do not use __unbounded.
44681         * sysdeps/generic/frame.h (struct layout): Likewise.
44682         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
44683         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
44684         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
44685         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
44686         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
44687         (__backtrace): Likewise.
44688         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
44689         use __ptrvalue.
44690         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
44691         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44692         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
44693         Likewise.
44694         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
44695         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
44696         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44697         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
44698         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
44699         Do not use __unbounded.
44700         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
44701         Rename __unboundedrlimits parameter to rlimits in prototype.
44702         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
44703         Do not use __unbounded.
44704         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
44705         not use __ptrvalue.
44706         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
44707         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
44708         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
44709         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
44710         __ptrvalue or __unbounded.
44711         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
44712         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
44713         use __unbounded.
44714         (__new_msgctl): Do not use __ptrvalue.
44715         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
44716         __unbounded.
44717         (__libc_msgrcv): Do not use __ptrvalue.
44718         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
44719         startup_info): Do not use __unbounded.
44720         (__libc_start_main): Likewise.  Rename ubp_* variables and
44721         parameters.  Remove argv definitions conditional on
44722         [__BOUNDED_POINTERS__].
44723         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
44724         __ptrvalue.
44725         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
44726         use __unbounded.
44727         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
44728         or __ptrvalue.
44729         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
44730         use __unbounded.
44731         (__new_shmctl): Do not use __ptrvalue.
44732         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
44733         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
44734         Likewise.
44735         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
44736         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
44737         (__libc_sigaction): Likewise.
44738         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
44739         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
44740         Likewise.
44741         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
44743 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
44745         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
44747         * string/mempcpy.c: Implement by calling memcpy.
44749 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44751         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
44753         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
44754         evaluation.
44756         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
44757         values in the mantissa.
44759         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
44760         minimize writes to Z.
44761         (sub_magnitudes): Simplify code a bit.
44763 2013-02-12  Roland McGrath  <roland@hack.frob.com>
44765         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
44766         from the message.  The linker prefixes all warnings with that already.
44768 2013-02-12  Andreas Schwab  <schwab@suse.de>
44770         [BZ #15078]
44771         * posix/regexec.c (extend_buffers): Add parameter min_len.
44772         (check_matching): Pass minimum needed length.
44773         (clean_state_log_if_needed): Likewise.
44774         (get_subexp): Likewise.
44775         * posix/Makefile (tests): Add bug-regex34.
44776         (bug-regex34-ENV): Define.
44777         * posix/bug-regex34.c: New file.
44779         [BZ #11561]
44780         * posix/regcomp.c (parse_bracket_exp): When looking up collating
44781         elements compare against the byte sequence of it, not its name.
44782         * posix/Makefile (tests): Add bug-regex35.
44783         (bug-regex35-ENV): Define.
44784         * posix/bug-regex35.c: New file.
44786 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44788         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
44789         comment.
44790         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
44791         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
44792         (CHECK_EOL): Add undef.
44794 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
44796         * bits/stdlib-bsearch.h: New file.
44797         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
44798         * stdlib/stdlib.h: Likewise.
44800 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44802         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
44803         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
44804         declaration.
44805         * manual/search.texi (Array Search Function): Add missing const in
44806         lfind prototype.
44807         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
44808         declaration to use rlim_t.
44809         (Basic Scheduling Functions): Remove erroneous const from
44810         sched_getparam prototype.  Remove erroneous * from
44811         sched_get_priority_max and sched_get_priority_min prototypes.
44812         (Resource Usage): Fix summary @comment on vtimes to refer to
44813         sys/vtimes.h rather than vtimes.h.
44814         Add missing *s in vtimes prototype.
44815         (Limits on Resources): Fix ulimit prototype to return long int.
44816         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
44817         prototypes to use long int rather than double.
44818         (BSD Random): Fix initstate and setstate to use char *, not void *.
44819         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
44820         prototype to make second argument 'struct aiocb64 *const[]'.
44821         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
44822         (Status of AIO Operations): Remove erroneous const in aio_return and
44823         aio_return64 prototypes.
44824         (Synchronizing I/O): Fix sync prototype to return void.
44825         * manual/startup.texi (Suboptions): Remove an erroneous const in
44826         getsubopt prototype.
44827         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
44828         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
44829         use size_t rather than int.
44830         (Scanning All Users): Likewise for getpwent_r.
44831         (Setting Groups): Add missing const to setgroups prototype.
44832         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
44833         * manual/socket.texi (Host Names): Fix gethostbyaddr and
44834         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
44835         'const void *' rather than 'const char *'.
44836         (Host Address Functions): Likewise for inet_ntop.
44837         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
44838         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
44839         ssize_t for return value.
44840         (Sending Data): Likewise for send, sendto, sendmsg.
44841         (Socket Option Functions): Add a missing const in setsockopt prototype.
44842         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
44843         use wchar_t for the argument.
44844         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
44845         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
44846         take no arguments.
44847         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
44848         double/float/long double for second argument.
44849         Fix return types of significand, significandf, significandl.
44850         * manual/filesys.texi (Setting Permissions): Use mode_t for second
44851         argument in fchmod prototype.
44852         (File Owner): Use uid_t and gid_t in fchown prototype.
44853         (File Times): Add const to utimes, futimes, and lutimes prototypes.
44854         (Making Special Files): Use mode_t and dev_t in mknod prototype.
44855         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
44856         use 'const struct dirent **' as argument types to CMP function pointer
44857         argument.
44858         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
44859         (File Times): Fix summary magic @comment for struct utimbuf and utime
44860         to refer to utime.h, not time.h.
44861         * manual/string.texi (Argz Functions): Add missing const in
44862         argz_extract and argz_next prototypes.
44863         (Finding Tokens in a String): Likewise for basename.
44864         (String/Array Comparison): Fix typo in wcscasecmp prototype.
44865         (Copying and Concatenation): Fix typo in wmemmove prototype.
44866         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
44867         (Signal Stack): Remove erroneous const in sigstack prototype.
44868         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
44869         prototype.
44870         (Simple Calendar Time): Likewise for stime.
44871         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
44872         prototype.
44873         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
44874         say sys/sysctl.h instead.
44875         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
44876         and vsyslog prototypes.
44878 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44880         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
44881         Remove.
44883 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44885         * misc/sys/mman.h: Fix typo in mremap comment.
44887 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44889         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
44890         the '\0' terminator.
44892 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44894         [BZ #13550]
44895         * debug/segfault.c: Don't include <bp-checks.h>.
44896         * sysdeps/generic/bp-checks.h: Remove file.
44897         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
44898         (__GETDENTS): Don't use CHECK_N.
44899         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
44900         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44901         (__getgroups): Don't use CHECK_N.
44902         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
44903         (setgroups): Don't use CHECK_N.
44904         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
44905         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
44906         (__libc_msgrcv): Don't use CHECK_N.
44907         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
44908         (__libc_msgsnd): Don't use CHECK_N.
44909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
44910         <bp-checks.h>.
44911         (__libc_pread): Don't use CHECK_N.
44912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
44913         include <bp-checks.h>.
44914         (__libc_pread64): Don't use CHECK_N.
44915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
44916         include <bp-checks.h>.
44917         (__libc_pwrite): Don't use CHECK_N.
44918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
44919         include <bp-checks.h>.
44920         (__libc_pwrite64): Don't use CHECK_N.
44921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
44922         <bp-checks.h>.
44923         (__libc_pread): Don't use CHECK_N.
44924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
44925         include <bp-checks.h>.
44926         (__libc_pread64): Don't use CHECK_N.
44927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
44928         include <bp-checks.h>.
44929         (__libc_pwrite): Don't use CHECK_N.
44930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
44931         include <bp-checks.h>.
44932         (__libc_pwrite64): Don't use CHECK_N.
44933         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
44934         (do_pread): Don't use CHECK_N.
44935         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
44936         (do_pread64): Don't use CHECK_N.
44937         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
44938         (do_pwrite): Don't use CHECK_N.
44939         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
44940         (do_pwrite64): Don't use CHECK_N.
44941         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
44942         (__libc_readv): Don't use CHECK_N.
44943         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
44944         (semop): Don't use CHECK_N.
44945         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
44946         <bp-checks.h>.
44947         (semtimedop): Don't use CHECK_N.
44948         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
44949         (__libc_pread): Don't use CHECK_N.
44950         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
44951         <bp-checks.h>.
44952         (__libc_pread64): Don't use CHECK_N.
44953         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
44954         <bp-checks.h>.
44955         (__libc_pwrite): Don't use CHECK_N.
44956         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
44957         <bp-checks.h>.
44958         (__libc_pwrite64): Don't use CHECK_N.
44959         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
44960         <bp-checks.h>.
44961         (__libc_msgrcv): Don't use CHECK_N.
44962         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
44963         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
44964         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
44965         (__libc_writev): Don't use CHECK_N.
44967 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44969         * string/strcpy.c: Removed unused variable.
44971         * Makeconfig (+sysdep-includes): Define with := rather than =.
44972         Use an existing include/ subdir of each sysdeps dir before it.
44974 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44976         * nscd/connection.c (register_traced_file): Comment function.
44977         [HAVE_INOTIFY] (union __inev): Define.
44978         [HAVE_INOTIFY] (inotify_check_files): New function.
44979         [HAVE_INOTIFY] (clear_db_cache): Likewise.
44980         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
44981         clear_db_cache.
44982         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
44984 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44986         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
44987         loaded if not already and that a failure is permanent.
44989 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44991         [BZ #15006]
44992         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
44993         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
44995 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44997         [BZ #13550]
44998         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
44999         (CHECK_1_NULL_OK): Likewise.
45000         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
45001         (__fxstat): Do not use CHECK_1.
45002         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
45003         <bp-checks.h>.
45004         (___fxstat64): Do not use CHECK_1.
45005         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45006         <bp-checks.h>.
45007         (__fxstatat): Do not use CHECK_1.
45008         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45009         <bp-checks.h>.
45010         (__fxstatat64): Do not use CHECK_1.
45011         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
45012         <bp-checks.h>.
45013         (__fxstat): Do not use CHECK_1.
45014         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45015         <bp-checks.h>.
45016         (__fxstatat): Do not use CHECK_1.
45017         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45018         <bp-checks.h>.
45019         (__getresgid): Do not use CHECK_1.
45020         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45021         <bp-checks.h>.
45022         (__getresuid): Do not use CHECK_1.
45023         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
45024         <bp-checks.h>.
45025         (__lxstat): Do not use CHECK_1.
45026         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45027         <bp-checks.h>.
45028         (__old_msgctl): Do not use CHECK_1.
45029         (__new_msgctl): Likewise.
45030         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
45031         <bp-checks.h>.
45032         (__new_setrlimit): Do not use CHECK_1.
45033         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45034         <bp-checks.h>.
45035         (__old_shmctl): Do not use CHECK_1.
45036         (__new_shmctl): Likewise.
45037         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
45038         <bp-checks.h>.
45039         (__xstat): Do not use CHECK_1.
45040         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
45041         (__lxstat): Do not use CHECK_1.
45042         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
45043         <bp-checks.h>.
45044         (___lxstat64): Do not use CHECK_1.
45045         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
45046         (__old_msgctl): Do not use CHECK_1.
45047         (__new_msgctl): Likewise.
45048         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
45049         <bp-checks.h>.
45050         (__gettimeofday): Do not use CHECK_1.
45051         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
45052         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
45053         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
45054         <bp-checks.h>.
45055         (__gettimeofday): Do not use CHECK_1.
45056         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
45057         (__old_shmctl): Do not use CHECK_1_NULL_OK.
45058         (__new_shmctl): Do not use CHECK_1.
45059         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
45060         <bp-checks.h>.
45061         (do_sigtimedwait): Do not use CHECK_1.
45062         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
45063         <bp-checks.h>.
45064         (do_sigwaitinfo): Do not use CHECK_1.
45065         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
45066         <bp-checks.h>.
45067         (msgctl): Do not use CHECK_1.
45068         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
45069         <bp-checks.h>.
45070         (shmctl): Do not use CHECK_1.
45071         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
45072         (ustat): Do not use CHECK_1.
45073         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
45074         <bp-checks.h>.
45075         (__fxstat): Do not use CHECK_1.
45076         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45077         <bp-checks.h>.
45078         (__fxstatat): Do not use CHECK_1.
45079         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
45080         <bp-checks.h>.
45081         (__lxstat): Do not use CHECK_1.
45082         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
45083         <bp-checks.h>.
45084         (__xstat): Do not use CHECK_1.
45085         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
45086         (__xstat): Do not use CHECK_1.
45087         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
45088         (___xstat64): Do not use CHECK_1.
45090         [BZ #13550]
45091         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
45092         definitions.
45093         (CHECK_BOUNDS_HIGH): Likewise.
45094         * string/strcpy.c: Do not include <bp-checks.h>.
45095         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
45097 2013-02-07  Roland McGrath  <roland@hack.frob.com>
45099         * nscd/nscd-client.h (__nscd_drop_map_ref):
45100         Add __attribute__ ((unused)).
45101         * nis/nss-nisplus.h (niserr2nss): Likewise.
45103         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
45104         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
45106         * csu/libc-tls.c (init_static_tls, init_slotinfo):
45107         Remove inline keyword.
45108         * include/rounding-mode.h (round_away): Likewise.
45109         * libio/wfileops.c (adjust_wide_data): Likewise.
45110         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
45111         (__m128i_strloadu_tolower): Likewise.
45112         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
45113         (__m128i_strloadu_tolower): Likewise.
45114         * time/mktime.c (ydhms_diff): Likewise.
45115         * locale/elem-hash.h (elem_hash): Likewise.
45116         * locale/setlocale.c (setdata): Likewise.
45117         * posix/regex_internal.h (re_string_char_size_at): Likewise.
45118         (re_string_wchar_at): Likewise.
45119         (bitset_not, bitset_merge, bitset_mask): Likewise.
45120         [!(__GNUC__ > 3)] (inline): Remove macro.
45121         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
45122         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
45123         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
45124         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
45125         * string/memcmp.c (memcmp_bytes): Likewise.
45126         * locale/programs/locarchive.c (compute_hashval): Likewise.
45127         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
45128         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
45129         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
45130         * nss/getent.c (print_rpc, print_protocols): Likewise.
45131         (print_passwd, print_group, print_aliases): Likewise.
45132         * nis/nss-nisplus.h (niserr2nss): Likewise.
45133         * nscd/connections.c (restart_p): Likewise.
45134         Change return type to bool.
45136 2013-02-05  Roland McGrath  <roland@hack.frob.com>
45138         * Makeconfig (all-Depend-files): Add existing
45139         $(sorted-subdirs:=/Depend) files.
45140         (all-subdirs): Remove nss.
45141         * sysdeps/unix/inet/Subdirs: Add it here instead.
45142         * hesiod/Depend: New file.
45144         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
45145         instead of calling alloca.
45147         * io/lseek.c (__lseek): Rename to __libc_lseek.
45148         Define __lseek as an alias.
45150         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
45152 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
45154         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
45155         else clause and remove check for non-standard endianness.
45157 2013-02-04  David S. Miller  <davem@davemloft.net>
45159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45161 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
45163         [BZ #13550]
45164         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
45165         (__ubp_memchr): Remove prototype.
45166         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
45167         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45168         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
45169         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45170         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
45171         Remove alias.
45172         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
45173         (__ubp_memchr): Likewise.
45174         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
45175         (__ubp_memchr): Likewise.
45176         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
45177         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
45178         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
45179         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
45180         CHECK_STRING.
45181         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45182         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
45183         (__getcwd): Do not use CHECK_STRING.
45184         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45185         <bp-checks.h>.
45186         (__real_chown): Do not use CHECK_STRING.
45187         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
45188         <bp-checks.h>.
45189         (fchownat): Do not use CHECK_STRING.
45190         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
45191         CHECK_STRING.
45192         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45193         <bp-checks.h>.
45194         (__lchown): Do not use CHECK_STRING.
45195         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45196         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45197         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45198         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
45199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45200         include <bp-checks.h>.
45201         (truncate64): Do not use CHECK_STRING.
45202         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45203         <bp-checks.h>.
45204         (__real_chown): Do not use CHECK_STRING.
45205         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45206         <bp-checks.h>.
45207         (__lchown): Do not use CHECK_STRING.
45208         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45209         <bp-checks.h>.
45210         (__chown): Do not use CHECK_STRING.
45211         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
45212         <bp-checks.h>.
45213         (truncate64): Do not use CHECK_STRING.
45214         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
45215         Likewise.
45216         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
45217         (__xmknod): Do not use CHECK_STRING.
45218         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45219         <bp-checks.h>.
45220         (__xmknodat): Do not use CHECK_STRING.
45221         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45222         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
45224 2013-02-04  Andreas Schwab  <schwab@suse.de>
45226         [BZ #14142]
45227         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
45228         * include/netdb.h: Likewise for h_errno.
45229         * elf/tst-stackguard1.c: Include <tls.h>.
45231 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45233         * elf/link.h (struct link_map): Extend the l_addr comment.
45234         * include/link.h (struct link_map): Likewise.
45236 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
45238         [BZ #13550]
45239         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
45240         (BOUNDED_1): Remove macro.
45241         * debug/backtrace.c: Don't include <bp-checks.h>.
45242         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
45243         (__backtrace): Likewise.
45244         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
45245         <bp-checks.h>.
45246         (__backtrace): Don't use BOUNDED_1.
45247         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
45248         <bp-checks.h>.
45249         (__backtrace): Don't use BOUNDED_1.
45250         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
45251         (__backtrace): Don't use BOUNDED_1.
45252         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
45253         (shmat): Don't use BOUNDED_N.
45255 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
45257         [BZ #13550]
45258         * sysdeps/generic/bp-start.h: Remove file.
45259         * csu/libc-start.c: Don't include <bp-start.h>.
45260         (LIBC_START_MAIN): Set up __environ directly instead of using
45261         INIT_ARGV_and_ENVIRON.
45262         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
45263         <bp-start.h>.
45265         [BZ #13550]
45266         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
45267         definitions.
45268         (CHECK_FCNTL): Likewise.
45269         (CHECK_N_PAGES): Likewise.
45271         [BZ #13550]
45272         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
45273         definitions.
45274         (CHECK_SIGSET_NULL_OK): Likewise.
45275         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
45276         <bp-checks.h>.
45277         (sigpending): Don't use CHECK_SIGSET.
45278         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
45279         <bp-checks.h>.
45280         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45281         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
45282         <bp-checks.h>.
45283         (do_sigsuspend): Don't use CHECK_SIGSET.
45284         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
45285         use CHECK_SIGSET.
45286         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
45287         (do_sigwait): Don't use CHECK_SIGSET.
45288         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
45289         use CHECK_SIGSET.
45290         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
45291         include <bp-checks.h>.
45292         (sigpending): Don't use CHECK_SIGSET.
45293         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
45294         include <bp-checks.h>.
45295         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45296         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
45297         <bp-checks.h>.
45298         (sigpending): Don't use CHECK_SIGSET.
45299         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
45300         <bp-checks.h>.
45301         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45303         [BZ #13550]
45304         * sysdeps/generic/bp-semctl.h: Remove file.
45305         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
45306         <bp-checks.h> and <bp-semctl.h>.
45307         (__old_semctl): Don't use CHECK_SEMCTL.
45308         (__new_semctl): Likewise.
45309         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
45310         and <bp-semctl.h>.
45311         (__old_semctl): Don't use CHECK_SEMCTL.
45312         (__new_semctl): Likewise.
45313         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
45314         <bp-checks.h> and <bp-semctl.h>.
45315         (__old_semctl): Don't use CHECK_SEMCTL.
45316         (__new_semctl): Likewise.
45317         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
45318         <bp-checks.h> and <bp-semctl.h>.
45319         (semctl): Don't use CHECK_SEMCTL.
45321         [BZ #13550]
45322         * Makerules (elide-bp-thunks): Remove variable.
45323         (elide-routines.oS): Don't use $(elide-bp-thunks).
45324         (elide-routines.os): Likewise.
45325         (elide-routines.o): Likewise.
45326         (elide-routines.op): Likewise.
45327         (elide-routines.og): Likewise.
45328         (objects): Don't use $(bp-thunks).
45329         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
45330         include.
45331         (common-generated): Do not add s-proto-bp.d.
45332         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
45333         (int): Likewise.
45334         (typ): Likewise.
45335         Do not generate makefile rules for bounded-pointer thunks.
45336         * sysdeps/generic/bp-thunks.h: Remove file.
45337         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
45338         * sysdeps/unix/s-proto-bp.S: Likewise.
45340         [BZ #15062]
45341         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
45342         parts of result separately when argument is not close to line from
45343         -i to i and one part of argument is small.
45344         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45345         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45346         * math/libm-test.inc (cacos_test): Add more tests.
45347         (casin_test): Likewise.
45348         (casinh_test): Likewise.
45349         * sysdeps/i386/fpu/libm-test-ulps: Update.
45350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45352 2013-01-31  David S. Miller  <davem@davemloft.net>
45354         * po/de.po: Update from translation team.
45356 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
45358         * time/tzfile.c: Include stdint.h for SIZE_MAX.
45360 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
45362         * configure.in (_AC_PROG_CC_C89): New definition.
45363         * configure: Regenerate.
45365         * configure.in (AC_PROG_CPP): New definition.
45366         * configure: Regenerate.
45368 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45370         * debug/tst-backtrace.h: New file.
45371         * debug/tst-backtrace2.c: Include tst-backtrace.h.
45372         (ret): Remove variable.
45373         (x): Likewise.
45374         (FAIL): Remove macro.
45375         (NO_INLINE): Likewise.
45376         (fn1): Use match function instead of strstr.
45377         * debug/tst-backtrace3.c: Include tst-backtrace.h.
45378         (ret): Remove variable.
45379         (x): Likewise.
45380         (FAIL): Remove macro.
45381         (NO_INLINE): Likewise.
45382         (fn): Use match function instead of strstr.
45383         * debug/tst-backtrace4.c: Include tst-backtrace.h.
45384         (ret): Remove variable.
45385         (x): Likewise.
45386         (FAIL): Remove macro.
45387         (NO_INLINE): Likewise.
45388         (handle_signal): Use match function instead of strstr.
45389         * debug/tst-backtrace5.c: Include tst-backtrace.h.
45390         (ret): Remove variable.
45391         (x): Likewise.
45392         (FAIL): Remove macro.
45393         (NO_INLINE): Likewise.
45394         (handle_signal): Use match function instead of strstr.
45396 2013-01-23  Roland McGrath  <roland@hack.frob.com>
45398         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
45400 2013-01-23  David S. Miller  <davem@davemloft.net>
45402         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
45403         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
45404         argument of CAS if possible.
45405         * sysdeps/sparc/sparc64/bits/atomic.h
45406         (__arch_compare_and_exchange_val_32_acq): Likewise.
45407         (__arch_compare_and_exchange_val_64_acq): Likewise.
45409 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
45411         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
45412         * sysdeps/posix/ulimit.c: ... this.
45413         Include <limits.h>.
45414         * sysdeps/unix/bsd/ulimit.c: Remove file.
45416 2013-01-23  Adam Conrad  <adconrad@0c3.net>
45418         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
45419         (LDFLAGS-tst-array5): Likewise.
45421 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45423         [BZ #15036]
45424         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
45425         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
45426         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
45427         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
45429 2013-01-21  David S. Miller  <davem@davemloft.net>
45431         * sysdeps/sparc/backtrace.c: New file.
45432         * sysdeps/sparc/sparc32/backtrace.h: New file.
45433         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
45434         * sysdeps/sparc/sparc64/backtrace.h: New file.
45435         * sysdeps/sparc/sparc64/backtrace.c: Delete.
45436         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
45437         -funwind-tables.
45439 2013-01-21  Andreas Schwab  <schwab@suse.de>
45441         [BZ #15020]
45442         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
45443         closed its stdout.
45445 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
45447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
45448         "mpa2.h".
45449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45451 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
45452             Mark Mitchell  <mark@codesourcery.com>
45453             Tom de Vries  <tom@codesourcery.com>
45454             Paul Pluzhnikov  <ppluzhnikov@google.com>
45456         * debug/tst-backtrace2.c: New file.
45457         * debug/tst-backtrace3.c: Likewise.
45458         * debug/tst-backtrace4.c: Likewise.
45459         * debug/tst-backtrace5.c: Likewise.
45460         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
45461         (CFLAGS-tst-backtrace3.c): Likewise.
45462         (CFLAGS-tst-backtrace4.c): Likewise.
45463         (CFLAGS-tst-backtrace5.c): Likewise.
45464         (LDFLAGS-tst-backtrace2): Likewise.
45465         (LDFLAGS-tst-backtrace3): Likewise.
45466         (LDFLAGS-tst-backtrace4): Likewise.
45467         (LDFLAGS-tst-backtrace5): Likewise.
45468         (tests): Add new tests tst-backtrace2, tst-backtrace3,
45469         tst-backtrace4 and tst-backtrace5.
45471 2013-01-18  Anton Blanchard  <anton@samba.org>
45472             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45474         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
45475         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
45476         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
45477         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
45478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45479         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
45480         "+r" and remove output regs list as redundant.  Add explicit inline
45481         asm to specify register of return val to work around compiler codegen
45482         bug.  Remove (int) cast on return value.  Add return type parameter to
45483         use in macro so that this macro does not truncate return value for
45484         64-bit values.
45485         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
45486         pass to INTERNAL_VSYSCALL_NCS.
45487         (INLINE_VSYSCALL): Add 'long int' as return type to
45488         INTERNAL_VSYSCALL_NCS macro invocation.
45489         (INTERNAL_VSYSCALL): Add 'long int' as return type to
45490         INTERNAL_VSYSCALL_NCS macro invocation.
45491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45493 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45495         [BZ #14496]
45496         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
45497         Fix application of SIMD FP exception mask.
45499         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
45500         mp_no from a power of two.
45501         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
45502         __mpexp_twomm1.  Use __pow_mp.
45504         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
45505         multiplication.
45507 2013-01-17  David S. Miller  <davem@davemloft.net>
45509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45511 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
45513         [BZ #15023]
45514         * include/complex.h: Condition contents on [!_COMPLEX_H].
45515         (__kernel_casinhf): New prototype.
45516         (__kernel_casinh): Likewise.
45517         (__kernel_casinhl): Likewise.
45518         * math/Makefile (libm_calls): Add k_casinh.
45519         * math/k_casinh.c: New file.
45520         * math/k_casinhf.c: Likewise.
45521         * math/k_casinhl.c: Likewise.
45522         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
45523         finite nonzero arguments.
45524         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
45525         finite nonzero arguments.
45526         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
45527         finite nonzero arguments.
45528         * math/s_casinh.c: Do not include <float.h>.
45529         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
45530         * math/s_casinhf.c: Do not include <float.h>.
45531         (__casinhf): Move code for finite nonzero arguments to
45532         k_casinhf.c.
45533         * math/s_casinhl.c: Do not include <float.h>.
45534         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
45535         redefine.
45536         (__casinhl): Move code for finite nonzero arguments to
45537         k_casinhl.c.
45538         * math/libm-test.inc (cacos_test): Add more tests.
45539         * sysdeps/i386/fpu/libm-test-ulps: Update.
45540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45542 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
45544         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
45545         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
45546         [!HAVE_MREMAP]: Remove [defined linux] case.
45547         * malloc/arena.c: Do not include <malloc-sysdep.h>.
45549 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45551         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
45553 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
45555         * elf/elf.h (R_386_SIZE32): New relocation.
45556         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
45557         R_386_SIZE32.
45558         (elf_machine_rela): Likewise.
45559         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45560         R_X86_64_SIZE64 and R_X86_64_SIZE32.
45562 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
45564         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
45565         (FP_FAST_FMA): Do not define.
45566         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
45567         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
45568         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
45569         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
45570         !_SOFT_FLOAT]: Likewise.
45571         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
45572         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
45573         value.
45574         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
45575         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
45576         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
45577         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
45578         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
45579         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
45580         file.
45582 2013-01-16  Andreas Schwab  <schwab@suse.de>
45584         [BZ #14327]
45585         * include/stdlib.h (__mktemp): Add declaration.
45586         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
45587         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
45589 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45591         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
45592         definitions.
45593         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45594         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
45595         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
45596         definitions here.
45597         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
45598         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
45599         definitions.
45600         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
45601         and ONE.
45602         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
45603         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
45604         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
45605         definitions.
45606         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
45607         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
45608         definitions.
45609         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45611         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
45613 2013-01-15  David S. Miller  <davem@davemloft.net>
45615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45616         trunc{,f} to libm-sysdep_routes.
45617         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
45619         file.
45620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
45621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
45622         file.
45623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
45624         file.
45625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
45626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
45627         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
45628         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
45629         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
45630         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
45631         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
45632         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
45634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45635         nearbyint{,f} to libm-sysdep_routes.
45636         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
45638         New file.
45639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
45640         file.
45641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
45642         New file.
45643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
45644         file.
45645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
45646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
45647         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
45648         file.
45649         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
45650         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
45651         file.
45652         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
45653         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
45654         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
45656         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45657         libc_feholdexcept and libc_fesetenv.
45659 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
45661         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
45663 2013-01-14  David S. Miller  <davem@davemloft.net>
45665         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
45666         (SPARC_ASM_VIS2_IFUNC): Likewise.
45667         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
45668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
45669         use of 'siam' instruction.
45670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
45671         Likewise.
45672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
45673         Likewise.
45674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
45675         Likewise.
45676         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
45677         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
45678         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
45679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
45680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
45681         file.
45682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
45683         file.
45684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
45685         file.
45686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
45687         file.
45688         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
45689         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
45690         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
45691         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
45692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
45693         new VIS2 routines.
45694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45697         Likewise.
45698         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45699         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45700         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45701         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
45703         routines to libm-sysdep_routines.
45704         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45707         fdim/fdimf to libm-sysdep_routines.
45708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
45709         file.
45710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
45711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
45712         file.
45713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
45714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
45715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
45716         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
45717         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
45718         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
45719         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
45721 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45723         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
45724         to optimize copies.
45726         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
45727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45728         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45730         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
45731         local variable MPTWO.
45732         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45733         Likewise.
45735 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
45737         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
45738         GLOB_NOESCAPE.
45740 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
45742         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
45744 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
45746         * manual/pattern.texi (glob_t): Document gl_flags.
45747         (glob64_t): Likewise.
45749 2013-01-11  David S. Miller  <davem@davemloft.net>
45751         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
45752         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
45753         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
45754         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
45755         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
45756         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
45757         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
45758         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
45759         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
45760         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
45761         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
45762         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
45763         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
45765         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
45766         sparc V9 rather than using V8 code.
45767         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45768         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45770         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45771         Move to...
45772         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
45773         Here.
45775 2013-01-11  Roland McGrath  <roland@hack.frob.com>
45777         [BZ #14941]
45778         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
45779         not in the main loop.
45780         * configure: Regenerated.
45782 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
45784         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
45785         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
45786         to just #else.
45787         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
45788         [!__GLIBC_HAVE_LONG_LONG] case.
45789         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
45790         condition to just #else.
45791         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
45792         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
45793         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
45794         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
45795         unconditional.
45796         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
45797         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45798         #elif condition to just #else.
45799         * sysdeps/unix/sysv/linux/sys/sysmacros.h
45800         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
45801         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45802         #elif condition to just #else.
45804 2013-01-11  Steve Ellcey  <sellcey@mips.com>
45806         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
45807         (EF_MIPS_ARCH_64): Fix value.
45808         (EF_MIPS_ARCH_32R2): New.
45809         (EF_MIPS_ARCH_64R2): New.
45811 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
45813         * Makeconfig (+link-pie-before-libc): New.
45814         (+link-pie-after-libc): Likewise.
45815         (+link-pie-tests): Likewise.
45816         (+link-pie): Rewritten.
45817         (link-before-libc): Remove $(config-LDFLAGS).
45818         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
45819         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
45820         (config-LDFLAGS): Renamed to ...
45821         (rtld-LDFLAGS): This.
45822         (rtld-tests-LDFLAGS): New macro.
45823         (link-libc-rpath-link): Likewise.
45824         (link-libc-tests-rpath-link): Likewise.
45825         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
45826         (link-libc): Prepand $(link-libc-rpath-link).
45827         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
45828         (test-program-prefix): New macro.
45829         (test-via-rtld-prefix): Likewise.
45830         (test-program-cmd): Likewise.
45831         (host-test-program-cmd): Likewise.
45832         * Makefile ($(common-objpfx)testrun.sh): Replace
45833         $(run-program-prefix) with $(test-program-prefix).
45834         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
45835         $(rtld-LDFLAGS).
45836         ($(common-objpfx)shlib.lds): Likewise.
45837         (build-module-helper): Likewise.
45838         ($(common-objpfx)format.lds): Likewise.
45839         * Rules (binaries-pie-tests): New.
45840         (binaries-pie-notests): Likewise.
45841         (binaries-pie): Rewritten.
45842         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
45843         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
45844         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
45845         (make-test-out): Replace $(host-built-program-cmd) with
45846         $(host-test-program-cmd).
45847         * config.make.in (build-hardcoded-path-in-tests): New variable.
45848         * configure.in (--enable-hardcoded-path-in-tests): New configure
45849         option.
45850         (hardcoded_path_in_tests): New AC_SUBST.
45851         * configure: Regenerated.
45852         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
45853         $(built-program-cmd) with $(test-program-cmd).
45854         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
45855         (test_program_cmd): This.
45856         * elf/Makefile ($(objpfx)order.out): Run test with
45857         $(test-program-prefix).
45858         ($(objpfx)order2.out): Likewise.
45859         ($(objpfx)tst-initorder.out): Likewise.
45860         ($(objpfx)tst-initorder2.out): Likewise.
45861         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
45862         $(test-program-cmd).
45863         ($(objpfx)tst-array1-static.out): Likewise.
45864         ($(objpfx)tst-array2.out): Likewise.
45865         ($(objpfx)tst-array3.out): Likewise.
45866         ($(objpfx)tst-array4.out): Likewise.
45867         ($(objpfx)tst-array5.out): Likewise.
45868         ($(objpfx)tst-array5-static.out): Likewise.
45869         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
45870         $(test-program-cmd).
45871         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
45872         $(run-program-prefix) with $(test-program-prefix).
45873         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
45874         (test_program_prefix): This.
45875         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
45876         $(run-program-prefix) with $(test-program-prefix).
45877         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
45878         (test_program_prefix): This.
45879         * iconvdata/tst-tables.sh: Likewise.
45880         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
45881         $(run-program-prefix) with $(test-program-prefix).
45882         ($(objpfx)tst-translit.out): Likewise.
45883         ($(objpfx)tst-gettext2.out): Likewise.
45884         ($(objpfx)tst-gettext4.out): Likewise.
45885         ($(objpfx)tst-gettext6.out): Likewise.
45886         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
45887         (test_program_prefix): This.
45888         * intl/tst-gettext2.sh: Likewise.
45889         * intl/tst-gettext4.sh  Likewise.
45890         * intl/tst-gettext6.sh: Likewise.
45891         * intl/tst-translit.sh: Likewise.
45892         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
45893         with $(test-program-cmd).
45894         * libio/Makefile ($(objpfx)test-freopen.out): Replace
45895         $(run-program-prefix) with $(test-program-prefix).
45896         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
45897         (test_program_prefix): This.
45898         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
45899         $(run-program-prefix) with $(test-program-prefix).
45900         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
45901         (test_program_prefix): This.
45902         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
45903         * posix/Makefile ($(objpfx)globtest.out): Replace
45904         $(run-via-rtld-prefix) and $(test-wrapper) with
45905         $(test-program-prefix) and $(test-via-rtld-prefix).
45906         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
45907         $(test-program-prefix).
45908         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
45909         $(host-test-program-cmd).
45910         (tst-spawn-ARGS): Likewise.
45911         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
45912         $(test-program-prefix).
45913         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
45914         (test_via_rtld_prefix): This.
45915         (test_wrapper): Renamed to ...
45916         (test_program_prefix): This.
45917         (run_program_prefix): Replaced by test_program_prefix.
45918         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
45919         (test_program_prefix): This.
45920         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
45921         with $(host-test-program-cmd).
45922         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
45923         $(run-program-prefix) with $(test-program-prefix).
45924         ($(objpfx)tst-printf.out): Likewise.
45925         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
45926         $(test-program-cmd).
45927         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
45928         (test_program_prefix): This.
45929         * stdio-common/tst-unbputc.sh: Likewise.
45930         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
45931         $(run-program-prefix) with $(test-program-prefix).
45932         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
45933         (test_program_prefix): This.
45934         * string/Makefile ($(objpfx)tst-svc.out):  Replace
45935         $(built-program-cmd) with $(test-program-cmd).
45937 2013-01-11  Andreas Jaeger  <aj@suse.de>
45939         [BZ #15003]
45940         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
45941         value. Sync with Linux 3.7.
45943 2013-01-10  David S. Miller  <davem@davemloft.net>
45945         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
45946         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45947         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45949 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45951         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
45952         never set.
45953         * configure: Regenerated.
45955 2013-01-10  David S. Miller  <davem@davemloft.net>
45957         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
45958         sparc V9 rather than using V8 code.
45959         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45960         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45962 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45964         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
45965         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
45966         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
45967         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
45968         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
45969         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
45970         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
45971         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
45972         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
45973         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
45974         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
45975         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
45976         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
45977         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
45978         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
45979         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
45980         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
45981         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
45982         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
45983         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
45984         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
45985         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
45986         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
45987         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
45988         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
45989         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
45990         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
45992 2013-01-10  David S. Miller  <davem@davemloft.net>
45994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45996 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45998         * posix/Makefile (tests-static): New variable.
45999         (tests): Add $(tests-static).
46000         (tst-exec-static-ARGS): New variable.
46001         (tst-spawn-static-ARGS): Likewise.
46002         * posix/tst-exec-static.c: New file.
46003         * posix/tst-spawn-static.c: Likewise.
46004         * posix/tst-exec.c: Support run directly.
46005         * posix/tst-spawn.c: Likewise.
46007 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
46009         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
46010         long.
46011         * math/bits/mathcalls.h (llrint): Likewise.
46012         (llround): Likewise.
46013         * stdlib/stdlib.h (struct drand48_data): Likewise.
46014         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
46015         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
46016         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
46017         Likewise.
46018         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
46019         Likewise.
46020         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
46021         (elf_greg_t): Likewise.
46022         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
46023         (__jmp_buf): Likewise.
46024         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
46025         definitions.
46026         (llrint): Likewise, for all definitions.
46027         (llrintl): Likewise.
46029         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
46030         Remove [__GNUC__] condition.
46031         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
46032         condition to just [__USE_ISOC99].
46033         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
46035 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46037         [BZ #14200]
46038         * sysdeps/unix/sysv/linux/x86/bits/environments.h
46039         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
46040         defined.
46041         (_POSIX_V6_ILP32_OFF32): Likewise.
46042         (_XBS5_ILP32_OFF32): Likewise.
46043         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
46044         (__ILP32_OFFBIG_LDFLAGS): Likewise.
46046 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46048         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
46050         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
46051         doubles __mpexp_twomm1.  Adjust usage.
46052         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
46053         Remove.
46055 2013-01-10  Andreas Schwab  <schwab@suse.de>
46057         [BZ #14964]
46058         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
46059         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
46061 2013-01-09  David S. Miller  <davem@davemloft.net>
46063         [BZ #15003]
46064         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
46065         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
46066         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
46067         (TCP_FASTOPEN): Define.
46068         (tcp_repair_opt): New structure.
46069         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
46070         enum values.
46071         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
46072         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
46073         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
46074         (tcp_cookie_transactions): New structure.
46076 2013-01-09  Anton Blanchard  <anton@samba.org>
46078         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
46079         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
46080         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
46081         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
46083 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
46085         * include/features.h (__USE_ANSI): Remove.
46087 2013-01-09  Roland McGrath  <roland@hack.frob.com>
46089         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
46091         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
46093 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46095         * sysdeps/s390/fpu/libm-test-ulps: Update.
46097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46099         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
46100         (__acr): Likewise.
46101         (__cpy): Likewise.
46102         (norm): Likewise.
46103         (denorm): Likewise.
46104         (__mp_dbl): Likewise.
46105         (__dbl_mp): Likewise.
46106         (add_magnitudes): Likewise.
46107         (sub_magnitudes): Likewise.
46108         (__add): Likewise.
46109         (__sub): Likewise.
46110         (__mul): Likewise.
46111         (__inv): Likewise.
46112         (__dvd): Likewise.
46113         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
46114         (__acr): Likewise.
46115         (__cpy): Likewise.
46116         (norm): Likewise.
46117         (denorm): Likewise.
46118         (__mp_dbl): Likewise.
46119         (__dbl_mp): Likewise.
46120         (add_magnitudes): Likewise.
46121         (sub_magnitudes): Likewise.
46122         (__add): Likewise.
46123         (__sub): Likewise.
46124         (__mul): Likewise.
46125         (__inv): Likewise.
46126         (__dvd): Likewise.
46127         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46128         (__acr): Likewise.
46129         (__cpy): Likewise.
46130         (norm): Likewise.
46131         (denorm): Likewise.
46132         (__mp_dbl): Likewise.
46133         (__dbl_mp): Likewise.
46134         (add_magnitudes): Likewise.
46135         (sub_magnitudes): Likewise.
46136         (__add): Likewise.
46137         (__sub): Likewise.
46138         (__mul): Likewise.
46139         (__inv): Likewise.
46140         (__dvd): Likewise.
46142 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
46144         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
46145         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
46146         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
46147         2 && __USE_EXTERN_INLINES]: Likewise.
46149 2013-01-08  Andreas Jaeger  <aj@suse.de>
46151         [BZ# 14985]
46152         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
46153         Remove.
46154         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46155         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46157 2013-01-07  Anton Blanchard  <anton@samba.org>
46159         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
46160         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46161         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
46162         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46163         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46164         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46165         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
46166         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46167         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46168         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46169         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46170         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46171         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46172         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46173         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46174         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46175         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46176         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46177         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46178         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46179         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46180         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
46181         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46182         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46183         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
46184         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46185         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46186         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46187         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
46188         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46189         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46191         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46192         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46193         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46194         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46195         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46196         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46197         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
46198         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46199         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
46200         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46201         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46203 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
46205         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
46206         (__MALLOC_PMT): Likewise.
46207         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
46208         [__GNUC__], only on [_LIBC].
46209         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46210         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
46211         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46212         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
46213         forward declaration.
46214         (realloc_hook_ini): Likewise.
46215         (memalign_hook_ini): Likewise.
46216         (__libc_memalign): Do not use __MALLOC_PMT in variable
46217         declaration.
46218         (__libc_valloc): Likewise.
46219         (__libc_pvalloc): Likewise.
46220         (__libc_calloc): Likewise.
46221         (__posix_memalign): Likewise.
46223         [BZ #14996]
46224         * math/s_casinh.c: Include <float.h>.
46225         (__casinh): Do not do computation with squaring and square root
46226         for large arguments.
46227         * math/s_casinhf.c: Include <float.h>.
46228         (__casinhf): Do not do computation with squaring and square root
46229         for large arguments.
46230         * math/s_casinhl.c: Include <float.h>.
46231         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
46232         (__casinhl): Do not do computation with squaring and square root
46233         for large arguments.
46234         * math/libm-test.inc (casin_test): Add more tests.
46235         (casinh_test): Likewise.
46236         * sysdeps/i386/fpu/libm-test-ulps: Update.
46237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46239 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
46241         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
46242         (__x86_64_raw_data_cache_size): Likewise.
46243         (__x86_64_data_cache_size_half): Likewise.
46244         (__x86_64_raw_data_cache_size_half): Likewise.
46245         (__x86_64_shared_cache_size): Likewise.
46246         (__x86_64_raw_shared_cache_size): Likewise.
46247         (__x86_64_shared_cache_size_half): Likewise.
46248         (__x86_64_raw_shared_cache_size_half): Likewise.
46249         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
46250         to ...
46251         (__x86_data_cache_size): This.
46252         (__x86_64_raw_data_cache_size): Renamed to ...
46253         (__x86_raw_data_cache_size): This.
46254         (__x86_64_data_cache_size_half): Renamed to ...
46255         (__x86_data_cache_size_half): This.
46256         (__x86_64_raw_data_cache_size_half): Renamed to ...
46257         (__x86_raw_data_cache_size_half): This.
46258         (__x86_64_shared_cache_size): Renamed to ...
46259         (__x86_shared_cache_size): This.
46260         (__x86_64_raw_shared_cache_size): Renamed to ...
46261         (__x86_raw_shared_cache_size): This.
46262         (__x86_64_shared_cache_size_half): Renamed to ...
46263         (__x86_shared_cache_size_half): This.
46264         (__x86_64_raw_shared_cache_size_half): Renamed to ...
46265         (__x86_raw_shared_cache_size_half): This.
46266         * sysdeps/x86_64/memcpy.S: Updated.
46267         * sysdeps/x86_64/memset.S: Likewise.
46268         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46269         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46270         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46272 2013-01-04  David S. Miller  <davem@davemloft.net>
46274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46276 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
46278         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
46279         1 to avoid redefinition warning.
46280         (__USE_GNU): Don't define.
46281         (init_signaling_nan): Protoize.
46283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46285 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46287         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
46288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
46289         (__cpymn): Likewise.
46290         (norm): Remove commented code.
46291         (denorm): Likewise.
46292         (__mp_dbl): Likewise.
46293         (__inv): Likewise.
46294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
46295         (__cpymn): Likewise.
46296         (norm): Remove commented code.
46297         (denorm): Likewise.
46298         (__mp_dbl): Likewise.
46299         (__inv): Likewise.
46301         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
46302         mp_no value for 1.0 and 2.0.
46303         (norm): Use RADIXI instead of radixi.d.
46304         (denorm): Likewise.
46305         (__mul): Use 0.0 instead of zero.d.
46306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
46307         mp_no value for 1.0 and 2.0.
46308         (norm): Use RADIXI instead of radixi.d.
46309         (denorm): Likewise.
46310         (__mul): Use 0.0 instead of zero.d.
46312 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
46314         [BZ #14994]
46315         * math/s_casinh.c (__casinh): Reduce finite argument to first
46316         quadrant then set signs of results at the end.
46317         * math/s_casinhf.c (__casinhf): Likewise.
46318         * math/s_casinhl.c (__casinhl): Likewise.
46319         * math/libm-test.inc (casin_test): Add more tests.
46320         (casinh_test): Likewise.
46321         * sysdeps/i386/fpu/libm-test-ulps: Update.
46322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46324 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46326         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
46328         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
46330         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
46331         declarations.
46332         (denorm): Likewise.
46333         (__mp_dbl): Likewise.
46334         (__inv): Likewise.
46336         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
46337         and adjust the header comment.
46339         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
46340         variable name from declaration.
46342 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
46344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46345         Initialize COMMON_CPUID_INDEX_7 element.
46346         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
46347         (CPUID_RTM): Likewise.
46348         (HAS_RTM): Likewise.
46349         (COMMON_CPUID_INDEX_7): New enum.
46351 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
46353         [BZ #14981]
46354         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
46355         size is zero, record memory as freed.
46357 2013-01-03  Andreas Jaeger  <aj@suse.de>
46359         * po/ia.po: Add new Interlingua translation.
46361 2012-01-03  Allan McRae  <allan@archlinux.org>
46363         * locale/programs/localedef.c: Fix description of '--posix' flag.
46365 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
46367         * NEWS: Update dates in second copyright notice.
46368         * README: Update copyright dates in example.
46369         * manual/libc.texinfo: Update copyright dates.
46370         * scripts/test-installation.pl: Update copyright date in --version
46371         output.
46373         * hurd/ctty-input.c: Fix copyright notice formatting.
46374         * hurd/ctty-output.c: Likewise.
46375         * hurd/dtable.c: Likewise.
46376         * hurd/hurd-raise.c: Likewise.
46377         * hurd/hurdprio.c: Likewise.
46378         * hurd/msgportdemux.c: Likewise.
46379         * misc/sys/file.h: Likewise.
46380         * misc/sys/ioctl.h: Likewise.
46381         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46382         * sysdeps/mach/hurd/chdir.c: Likewise.
46383         * sysdeps/mach/hurd/fchdir.c: Likewise.
46384         * sysdeps/mach/hurd/rename.c: Likewise.
46385         * sysdeps/mach/hurd/rmdir.c: Likewise.
46386         * sysdeps/mach/hurd/seekdir.c: Likewise.
46387         * sysdeps/mach/hurd/setsid.c: Likewise.
46388         * sysdeps/posix/wait3.c: Likewise.
46390         * All files with FSF copyright notices: Update copyright dates
46391         using scripts/update-copyrights.
46392         * intl/plural.c: Regenerated.
46393         * locale/programs/charmap-kw.h: Likewise.
46394         * locale/programs/locfile-kw.h: Likewise.
46396 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46398         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
46399         four values.
46401         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
46402         calculation loop and add branch prediction.
46404         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
46405         check access beyond bounds of m1np.
46407         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46408         MPTWO.
46409         (__inv): Remove local variable MPTWO to use the global
46410         constant.
46411         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
46412         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46413         variable MPTWO.
46414         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
46415         MP3HALFS static const.
46417 2013-01-01  David S. Miller  <davem@davemloft.net>
46419         * po/ca.po: Update from translation team.
46421 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
46423         * scripts/update-copyrights: New file.
46424         * Makeconfig: Reformat copyright notice.
46425         * ctype/ctype.h: Likewise.
46426         * debug/swprintf_chk.c: Likewise.
46427         * elf/dl-cache.c: Likewise.
46428         * elf/dl-debug.c: Likewise.
46429         * elf/dl-object.c: Likewise.
46430         * grp/initgroups.c: Likewise.
46431         * hurd/Makefile: Likewise.
46432         * hurd/hurd/signal.h: Likewise.
46433         * hurd/hurdfault.c: Likewise.
46434         * hurd/hurdioctl.c: Likewise.
46435         * hurd/hurdlookup.c: Likewise.
46436         * hurd/intr-msg.c: Likewise.
46437         * iconv/gconv_open.c: Likewise.
46438         * libio/swprintf.c: Likewise.
46439         * locale/lc-ctype.c: Likewise.
46440         * locale/nl_langinfo.c: Likewise.
46441         * mach/Machrules: Likewise.
46442         * mach/Makefile: Likewise.
46443         * malloc/obstack.h: Likewise.
46444         * manual/Makefile: Likewise.
46445         * manual/tsort.awk: Likewise.
46446         * misc/bits/stab.def: Likewise.
46447         * nis/nis_print_group_entry.c: Likewise.
46448         * nis/nis_table.c: Likewise.
46449         * nis/nss_compat/compat-pwd.c: Likewise.
46450         * nis/nss_compat/compat-spwd.c: Likewise.
46451         * po/Makefile: Likewise.
46452         * posix/fnmatch.c: Likewise.
46453         * posix/regex.h: Likewise.
46454         * resolv/Makefile: Likewise.
46455         * resolv/nss_dns/dns-network.c: Likewise.
46456         * resolv/res_hconf.c: Likewise.
46457         * scripts/gen-sorted.awk: Likewise.
46458         * soft-fp/soft-fp.h: Likewise.
46459         * stdio-common/printf.h: Likewise.
46460         * stdlib/monetary.h: Likewise.
46461         * stdlib/random.c: Likewise.
46462         * stdlib/random_r.c: Likewise.
46463         * sysdeps/generic/Makefile: Likewise.
46464         * sysdeps/gnu/Makefile: Likewise.
46465         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46466         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46467         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46468         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46469         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46470         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46471         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46472         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46473         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46474         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46475         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46476         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46477         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46478         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46479         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
46480         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46481         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46482         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46483         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46484         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46485         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46486         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46487         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46488         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46489         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
46490         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46491         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46492         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
46493         * sysdeps/mach/hurd/errnos.awk: Likewise.
46494         * sysdeps/mach/hurd/fork.c: Likewise.
46495         * sysdeps/mach/hurd/getcwd.c: Likewise.
46496         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
46497         * sysdeps/mach/hurd/mmap.c: Likewise.
46498         * sysdeps/mach/hurd/utimes.c: Likewise.
46499         * sysdeps/mach/hurd/xmknod.c: Likewise.
46500         * sysdeps/posix/profil.c: Likewise.
46501         * sysdeps/posix/readdir_r.c: Likewise.
46502         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46503         * sysdeps/powerpc/bits/setjmp.h: Likewise.
46504         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
46505         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46506         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46507         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46508         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46509         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46510         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46511         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46512         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46513         * sysdeps/pthread/lio_listio.c: Likewise.
46514         * sysdeps/sparc/dl-procinfo.h: Likewise.
46515         * sysdeps/unix/i386/sysdep.S: Likewise.
46516         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
46517         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
46518         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
46519         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
46520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46521         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
46522         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
46523         * sysdeps/unix/sysv/linux/speed.c: Likewise.
46524         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
46525         * sysdeps/wordsize-32/divdi3.c: Likewise.
46526         * time/sys/time.h: Likewise.
46527         * wcsmbs/Makefile: Likewise.
46529 2013-01-01  David S. Miller  <davem@davemloft.net>
46531         * po/fr.po: Update from translation team.
46533         * catgets/gencat.c: Update copyright year.
46534         * csu/version.c: Likewise.
46535         * debug/catchsegv.sh: Likewise.
46536         * debug/pcprofiledump.c: Likewise.
46537         * debug/xtrace.sh: Likewise.
46538         * elf/ldconfig.c: Likewise.
46539         * elf/ldd.bash.in: Likewise.
46540         * elf/pldd.c: Likewise.
46541         * elf/sotruss.ksh: Likewise.
46542         * elf/sprof.c: Likewise.
46543         * iconv/iconv_prog.c: Likewise.
46544         * iconv/iconvconfig.c: Likewise.
46545         * locale/programs/locale.c: Likewise.
46546         * locale/programs/localedef.c: Likewise.
46547         * login/programs/pt_chown.c: Likewise.
46548         * malloc/memusage.sh: Likewise.
46549         * malloc/memusagestat.c: Likewise.
46550         * malloc/mtrace.pl: Likewise.
46551         * nscd/nscd.c: Likewise.
46552         * nss/getent.c: Likewise.
46553         * nss/makedb.c: Likewise.
46554         * posix/getconf.c: Likewise.
46556 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46558         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
46559         numbers.
46561 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
46563         * math/bits/mathcalls.h (modf): Use __nonnull.
46565 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46567         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
46568         (split): Use macro CN instead of the bare value.
46569         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
46570         could be used.
46571         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
46572         instead of the bare value.
46573         (power1): Likewise.
46575 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46577         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
46578         __ATAN_TWOM.
46579         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46581         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
46582         their values.
46583         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46584         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46585         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
46586         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46588 2012-12-28  Andreas Jaeger  <aj@suse.de>
46590         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
46591         values are from Linux 3.7.
46593         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
46594         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
46596 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46598         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
46599         TRUE case.
46601         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
46602         (norm): Likewise.
46603         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
46604         variables with preprocessor constants.
46605         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46606         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46607         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46609 2012-12-27  Bruno Haible  <bruno@clisp.org>
46611         [BZ #14317]
46612         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
46613         only if needed.
46615 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46617         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
46618         and use variable directly.
46619         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
46621         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46622         MPONE.
46623         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
46624         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46625         variable MPONE.
46626         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46627         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46628         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
46629         include directive.  Remove local variable MPONE.
46630         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
46631         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
46632         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46634 2012-12-25  David S. Miller  <davem@davemloft.net>
46636         * version.h (RELEASE): Set to "development".
46637         (VERSION): Set to "2.17.90".
46638         * NEWS: Add 2.18 section.
46640 2012-12-21  David S. Miller  <davem@davemloft.net>
46642         * po/hr.po: Update from translation team.
46644 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46646         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
46648 2012-12-19  Steve Ellcey  <sellcey@mips.com>
46650         * NEWS:  Mention new memcpy for MIPS.
46652 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46654         * manual/contrib.texi (Contributors): Spelling correction.
46656 2012-12-15  David S. Miller  <davem@davemloft.net>
46658         * po/ru.po: Update from translation team.
46660 2012-12-13  David S. Miller  <davem@davemloft.net>
46662         * NEWS: Mention IFUNC testsuite enhancements.
46664         * po/pl.po: Update from translation team.
46665         * po/bg.po: Likewise.
46667         * manual/contrib.texi (Contributors): Update entries for Hongjiu
46668         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
46670 2012-12-11  David S. Miller  <davem@davemloft.net>
46672         * po/sv.po: Update from translation team.
46674         * po/vi.po: Update from translation team.
46676         * po/cs.po: Update from translation team.
46678         * po/de.po: Update from translation team.
46679         * po/eo.po: Likewise.
46680         * po/nl.po: Likewise.
46682 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46684         [BZ #14246]
46685         * manual/argp.texi (Argp Helper Functions): Move node to follow
46686         Argp Parsing State.
46688         [BZ #14872]
46689         * manual/conf.texi (Limits on File System Capacity): Mention if
46690         terminating null is included in the max size.
46692 2012-12-10  Andreas Jaeger  <aj@suse.de>
46694         * po/cs.po: Update from translation team.
46696 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46698         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
46699         void pointer and cast to uintptr_t.
46700         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
46701         path.
46702         * sysdeps/s390/s390-64/memcpy.S: Likewise.
46703         * sysdeps/s390/s390-64/memset.S: Likewise.
46705 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
46707         [BZ #14833]
46708         * menual/message.texi (Message Translation): Fix typos.
46709         (Helper programs for gettext): Likewise.
46711 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
46713         [BZ #14898]
46714         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
46715         Change to -1.
46717 2012-12-07  David S. Miller  <davem@davemloft.net>
46719         * po/libc.pot: Update.
46721 2012-12-07  Richard Henderson  <rth@redhat.com>
46723         [BZ #10114]
46724         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
46725         normal/normal case to before the switch.
46726         (_FP_DIV): Likewise.
46728 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
46729             Mike Frysinger  <vapier@gentoo.org>
46731         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
46732         check for __NR_fadvise64_64.
46734 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
46736         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
46737         0, not just to plain "0" as a statement.
46738         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
46739         with cw.
46741 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
46743         * NEWS: Use sourceware.org in Bugzilla URL.
46745 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
46748         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
46750         * stdio-common/tst-put-error.c (do_test): Add newline to the
46751         padded test to ensure flush.
46753 2012-12-05  Jeff Law  <law@redhat.com>
46755         * sunrpc/etc.rpc (fedfs_admin): Add entry.
46757 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
46759         * README: Don't refer to ports add-on as distributed separately.
46760         Mention AArch64 in list of systems supported in the ports add-on.
46762         * LICENSES: Add more non-FSF copyright and license notices.
46764         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
46765         ((unused)).
46767         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
46769         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
46770         10000 as width of padded output.
46772 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46774         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
46776         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
46777         variable LX with __attribute__ ((unused)).
46778         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46779         Likewise.
46780         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46781         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46782         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
46783         with __attribute__ ((unused)).
46785 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
46787         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
46789 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46791         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
46792         (CFLAGS-nldbl-acos.c): New variable.
46793         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
46794         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
46795         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
46796         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
46797         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
46798         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
46799         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
46800         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
46801         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
46802         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
46803         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
46804         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
46805         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
46806         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
46807         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
46808         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
46809         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
46810         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
46811         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
46812         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
46813         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
46814         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
46815         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
46816         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
46817         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
46818         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
46819         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
46820         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
46821         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
46822         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
46823         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
46824         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
46825         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
46826         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
46827         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
46828         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
46829         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
46830         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
46831         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
46832         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
46833         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
46834         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
46835         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
46836         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
46837         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
46838         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
46839         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
46840         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
46841         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
46842         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
46843         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
46844         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
46845         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
46846         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
46847         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
46848         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
46849         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
46850         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
46851         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
46852         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
46853         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
46854         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
46855         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
46856         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
46857         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
46858         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
46859         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
46860         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
46861         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
46862         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
46863         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
46864         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
46865         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
46866         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
46867         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
46868         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
46869         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
46870         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
46871         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
46872         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
46873         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
46874         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
46875         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
46876         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
46877         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
46878         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
46879         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
46880         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
46881         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
46882         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
46883         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
46884         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
46885         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
46886         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
46887         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
46888         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
46889         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
46891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46892         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
46894         [BZ #14914]
46895         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
46896         whole low double instead of just low 47 bits when splitting values
46897         into two parts.
46899 2012-12-03  Allan McRae  <allan@archlinux.org>
46901         * manual/stdio.texi (Predefined Printf Handlers): Remove
46902         @hsep and @vsep usage.
46904 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
46906         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
46907         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
46909 2012-12-03  Jeff Law  <law@redhat.com>
46911         * time/sys/time.h (settimeofday): Do not mark TV argument
46912         as __nonnull.
46914 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
46916         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
46917         when currently writing and seek to current position when not.
46918         * libio/Makefile (tests): Remove bug-fclose1.
46919         * libio/bug-fclose1.c: Delete.
46921 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
46923         * manual/arith.texi (feenableexcept): Fix typo.
46924         (fedisableexcept): Likewise.
46926 2012-11-30  Roland McGrath  <roland@hack.frob.com>
46928         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
46929         second, differently-typed declaration, rather than a cast.
46931 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46933         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
46934         * include/rpc/svc.h: ... here.
46936 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
46938         [BZ #13013]
46939         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
46940         depending n and resplen2 to catch cases where answer
46941         equals answerp2.
46943 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
46945         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
46946         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
46948 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
46950         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
46952 2012-11-29  Roland McGrath  <roland@hack.frob.com>
46954         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
46956 2012-11-28  Jeff Law  <law@redhat.com>
46958         [BZ #13761]
46959         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
46960         dataset_temporary.  Track alloca usage into alloca_used.
46961         If dataset is large allocate and release it via malloc/free.
46963 2012-06-04  Florian Weimer  <fweimer@redhat.com>
46965         [BZ #14197]
46966         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
46968 2012-11-28  David S. Miller  <davem@davemloft.net>
46970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46972 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46974         [BZ #14803]
46975         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
46976         of pi/2 rounded to nearest to 64 bits.
46977         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
46978         nearest to 64 bits.
46979         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
46980         bits.
46982 2012-11-28  Jeff Law <law@redhat.com>
46983             Martin Osvald <mosvald@redhat.com>
46985         [BZ #14889]
46986         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
46987         * sunrpc/svc.c: Include time.h.
46988         (__svc_accept_failed): New function.
46989         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
46990         any reason other than EINTR, call __svc_accept_failed.
46991         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
46992         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
46994 2012-11-28  Andreas Schwab  <schwab@suse.de>
46996         * scripts/abilist.awk: Also handle indirect functions in .opd
46997         section.
46999 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47001         [BZ #13881]
47002         * sysdeps/x86/fpu/powl_helper.c: New file.
47003         * sysdeps/x86/fpu/Makefile: Likewise.
47004         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
47005         (p3): New object.
47006         (__ieee754_powl): Use __powl_helper for finite arguments except
47007         integer exponents below 8.
47008         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
47009         (p3): New object.
47010         (__ieee754_powl): Use __powl_helper for finite arguments except
47011         integer exponents below 8.
47012         * math/libm-test.inc (pow_test): Add more tests and enable some
47013         previously disabled tests.
47014         * sysdeps/i386/fpu/libm-test-ulps: Update.
47015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47017 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47018             Carlos O'Donell  <carlos_odonell@mentor.com>
47020         * nss/makedb.c (is_prime): Assert that input is odd and greater
47021         than 4.  Note that fact in a comment too.
47022         (next_prime): Add 4 to input.
47024 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47026         [BZ #11741]
47027         * libio/Makefile (tests): Add test case tst-fwrite-error.
47028         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
47029         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
47030         * libio/tst-fwrite-error.c: New test case.
47032 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
47034         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
47035         before casting to void *.
47036         * include/libc-internal.h (__pointer_type): New macro.
47037         (__integer_if_pointer_type_sub): Likewise.
47038         (__integer_if_pointer_type): Likewise.
47039         (cast_to_integer): Likewise.
47040         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
47041         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
47042         before casting to atomic64_t.
47043         (atomic_exchange_acq): Likewise.
47044         (__arch_exchange_and_add_body): Likewise.
47045         (__arch_add_body): Likewise.
47046         (atomic_add_negative): Likewise.
47047         (atomic_add_zero): Likewise.
47049 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
47051         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
47052         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
47053         (add_fdes): Likewise.
47054         (linear_search_fdes): Likewise.
47055         (binary_search_unencoded_fdes): Likewise.
47057 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
47059         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
47061 2012-11-24  Adam Conrad  <adconrad@0c3.net>
47063         * configure.in: Autodetect C++ header directories.
47064         * configure: Regenerated.
47066 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
47068         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
47070 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
47072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47074 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
47076         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
47077         LDBL_MANT_DIG == 106]: Disable some tests.
47078         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47079         Likewise.
47080         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47081         Likewise.
47083         [BZ #14871]
47084         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
47085         input for small inputs.  Return +/- pi/2 for large inputs.
47086         * math/libm-test.inc (atan_test): Add more tests.
47088         * sysdeps/generic/unwind-dw2-fde-glibc.c
47089         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
47090         __attribute__ ((unused)).
47092         [BZ #14645]
47093         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
47094         x * y if x and y are nonzero and z is zero.
47096         [BZ #14811]
47097         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
47098         nonzero exponents with absolute value below 0x1p-117 to +/-
47099         0x1p-117.
47101         [BZ #14869]
47102         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
47103         up arguments below 2**-450, not just those below 2**-500.
47104         * math/libm-test.inc (hypot_test): Add another test.
47106         [BZ #14868]
47107         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
47108         Return a+b for ratio over 2**120, not 2**60.
47109         * math/libm-test.inc (hypot_test): Add another test.
47111         * math/libm-test.inc (clog_test): Use
47112         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
47113         (clog10_test): Likewise.
47115         [BZ #6778]
47116         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
47118 2012-11-22  Andreas Schwab  <schwab@suse.de>
47120         * sysdeps/i386/fpu/libm-test-ulps: Update.
47122 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
47124         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
47125         printf output with newline.
47127 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
47129         [BZ #14865]
47130         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
47131         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
47132         -z nodlopen, -z initfirst and -z execstack support.
47133         * configure: Regenerated.
47135         * elf/elf.h (DF_1_NODIRECT): New macro.
47136         (DF_1_IGNMULDEF): Likewise.
47137         (DF_1_NOKSYMS): Likewise.
47138         (DF_1_NOHDR): Likewise.
47139         (DF_1_EDITED): Likewise.
47140         (DF_1_NORELOC): Likewise.
47141         (DF_1_SYMINTPOSE): Likewise.
47142         (DF_1_GLOBAUDIT): Likewise.
47143         (DF_1_SINGLETON): Likewise.
47144         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
47145         DT_1_SUPPORTED_MASK bits.
47146         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
47148 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
47150         * sysdeps/unix/make-syscalls.sh: Document prefixes.
47152 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
47154         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
47155         macro.
47157         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
47158         (sendmmsg): Move declarations...
47159         * socket/sys/socket.h: ... here.
47160         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
47161         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
47162         include it from...
47163         * socket/recvmmsg.c: ... this new file.
47164         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
47165         (sendmmsg): Rename to __sendmmsg, create weak alias and make
47166         definition of __sendmmsg hidden.
47167         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
47168         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
47169         Move ENOSYS stub into and include it from...
47170         * socket/sendmmsg.c: ... this new file.
47171         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
47172         (sysdep_routines): Move recvmmsg and sendmmsg...
47173         * socket/Makefile (routines): ... here.
47174         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
47175         (GLIBC_PRIVATE): Add __sendmmsg.
47176         * include/sys/socket.h (__sendmmsg): Add declarations.
47177         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
47178         sendmmsg.
47180 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
47182         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
47183         variable I1 with __attribute__ ((unused)).
47184         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47186 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47188         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
47189         DUMMY variables with __attribute__ ((unused)).
47191         * bits/byteswap.h: Include <bits/types.h>.
47192         (__bswap_64): Use __uint64_t instead of unsigned long long int.
47194 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47196         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
47197         string_t.  Do not manually set errno.
47198         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
47199         length with __strnlen.  Make sure to both set errno and return it on
47200         failure.
47202 2012-11-19  David S. Miller  <davem@davemloft.net>
47204         With help from Joseph Myers.
47205         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
47206         very large arguments properly.
47207         * math/libm-test.inc (atan_test): New tests.
47208         (atan2_test): New tests.
47209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47210         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47212 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47214         [BZ #14856]
47215         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
47216         Define to 3.
47218         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
47219         [POSIX] (EADDRNOTAVAIL): Likewise.
47220         [POSIX] (EAFNOSUPPORT): Likewise.
47221         [POSIX] (EALREADY): Likewise.
47222         [POSIX] (ECONNABORTED): Likewise.
47223         [POSIX] (ECONNREFUSED): Likewise.
47224         [POSIX] (ECONNRESET): Likewise.
47225         [POSIX] (EDESTADDRREQ): Likewise.
47226         [POSIX] (EDQUOT): Likewise.
47227         [POSIX] (EHOSTUNREACH): Likewise.
47228         [POSIX] (EIDRM): Likewise.
47229         [POSIX] (EISCONN): Likewise.
47230         [POSIX] (ELOOP): Likewise.
47231         [POSIX] (EMULTIHOP): Likewise.
47232         [POSIX] (ENETDOWN): Likewise.
47233         [POSIX] (ENETUNREACH): Likewise.
47234         [POSIX] (ENOBUFS): Likewise.
47235         [POSIX] (ENODATA): Likewise.
47236         [POSIX] (ENOLINK): Likewise.
47237         [POSIX] (ENOMSG): Likewise.
47238         [POSIX] (ENOPROTOOPT): Likewise.
47239         [POSIX] (ENOSR): Likewise.
47240         [POSIX] (ENOSTR): Likewise.
47241         [POSIX] (ENOTCONN): Likewise.
47242         [POSIX] (ENOTSOCK): Likewise.
47243         [POSIX] (EOPNOTSUPP): Likewise.
47244         [POSIX] (EOVERFLOW): Likewise.
47245         [POSIX] (EPROTO): Likewise.
47246         [POSIX] (EPROTONOSUPPORT): Likewise.
47247         [POSIX] (EPROTOTYPE): Likewise.
47248         [POSIX] (ESTALE): Likewise.
47249         [POSIX] (ETIME): Likewise.
47250         [POSIX] (ETXTBSY): Likewise.
47251         [POSIX] (EWOULDBLOCK): Likewise.
47252         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
47253         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
47254         [POSIX] (SEEK_CUR): Likewise.
47255         [POSIX] (SEEK_END): Likewise.
47256         [POSIX || UNIX98] (mode_t): Do not require.
47257         [POSIX] (off_t): Likewise.
47258         [POSIX] (pid_t): Likewise.
47259         [POSIX] (sys/stat.h): Do not allow header.
47260         [POSIX] (unistd.h): Likewise.
47261         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47262         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
47263         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
47264         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
47265         require.
47266         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
47267         sigevent): Specify elements.
47268         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
47269         entry.
47270         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
47271         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
47273         * conform/data/cpio.h-data [POSIX]: Disable whole file.
47274         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
47275         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
47276         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
47277         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
47278         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
47279         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
47280         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
47281         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
47282         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
47283         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
47284         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
47285         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
47286         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
47287         Likewise.
47288         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
47289         Likewise.
47290         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
47291         Likewise.
47292         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
47293         Likewise.
47294         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
47295         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
47296         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
47297         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
47298         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
47299         Specify lower bound on value.
47300         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
47301         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
47302         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
47303         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
47304         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
47305         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
47306         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
47307         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
47308         value.
47309         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
47310         as optional.
47311         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
47312         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
47313         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
47314         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
47315         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
47316         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
47317         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
47318         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
47319         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
47320         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
47321         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
47322         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
47323         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
47324         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
47325         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
47326         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
47327         entry.
47328         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
47329         optional.
47330         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
47331         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
47332         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
47333         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
47334         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
47335         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
47336         Likewise.
47337         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
47338         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
47339         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
47340         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
47341         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
47342         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
47343         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
47344         as optional.
47345         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
47346         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
47347         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
47348         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
47349         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
47350         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
47351         specify as optional.
47352         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
47353         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
47354         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
47355         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
47356         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
47357         [XPG3] (NL_LANGMAX): Likewise.
47358         [POSIX || XPG3] (NL_MSGMAX): Likewise.
47359         [POSIX || XPG3] (NL_NMAX): Likewise.
47360         [POSIX || XPG3] (NL_SETMAX): Likewise.
47361         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
47362         [XPG3] (NZERO): Likewise.
47363         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
47364         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
47365         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
47366         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
47367         (REG_ERANGE): Expect.
47368         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
47369         optional-constant.
47370         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
47371         Use (void) in prototype.
47372         [POSIX] (*_t): Allow.
47373         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
47374         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
47375         (WRDE_BADVAL): Expect.
47377         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
47378         expect.
47379         [XPG3 || XPG4] (O_RSYNC): Likewise.
47380         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
47381         Likewise.
47382         [XPG3 || XPG4] (pthread_sigmask): Likewise.
47383         [XPG3 || XPG4] (sigqueue): Likewise.
47384         [XPG3 || XPG4] (sigtimedwait): Likewise.
47385         [XPG3 || XPG4] (sigwaitinfo): Likewise.
47386         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
47387         [XPG3 || XPG4] (vsnprintf): Likewise.
47388         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
47389         Likewise.
47390         [XPG3 || XPG4] (blksize_t): Likewise.
47391         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
47392         Likewise.
47393         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
47394         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47395         [XPG3 || XPG4] (struct itimerspec): Likewise.
47396         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
47397         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
47398         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
47399         [XPG3 || XPG4] (clockid_t): Likewise.
47400         [XPG3 || XPG4] (timer_t): Likewise.
47401         [XPG3 || XPG4] (clock_getres): Likewise.
47402         [XPG3 || XPG4] (clock_gettime): Likewise.
47403         [XPG3 || XPG4] (clock_settime): Likewise.
47404         [XPG3 || XPG4] (nanosleep): Likewise.
47405         [XPG3 || XPG4] (timer_create): Likewise.
47406         [XPG3 || XPG4] (timer_delete): Likewise.
47407         [XPG3 || XPG4] (timer_gettime): Likewise.
47408         [XPG3 || XPG4] (timer_getoverrun): Likewise.
47409         [XPG3 || XPG4] (timer_settime): Likewise.
47410         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
47411         [XPG3 || XPG4] (getlogin_r): Likewise.
47412         [XPG3 || XPG4] (pread): Likewise.
47413         [XPG3 || XPG4] (pthread_atfork): Likewise.
47414         [XPG3 || XPG4] (pwrite): Likewise.
47416         [BZ #14835]
47417         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
47418         <bits/siginfo.h>.
47420 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47422         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
47423         finalizing MALLSTREAM.
47425         * sysdeps/mach/hurd/syncfs.c: New file.
47427 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47429         [BZ #14719]
47430         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
47431         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
47432         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
47433         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
47434         (_nss_dns_gethostbyname4_r): Likewise.
47435         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
47436         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
47438 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
47440         [BZ #13763]
47441         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
47443 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
47445         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
47446         * elf/cache.c (print_entry): Print ",AArch64" for
47447         FLAG_AARCH64_LIB64
47449         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
47450         * elf/cache.c (print_entry): Print ",hard-float" for
47451         FLAG_ARM_LIBHF.
47453 2012-11-18  David S. Miller  <davem@davemloft.net>
47455         With help from Joseph Myers.
47456         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
47457         cutoff to 2**-13.
47458         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
47459         cutoff to 2**-25.
47460         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
47461         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
47462         small.
47463         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
47464         * math/libm-test.inc (y0_test): New tests.
47465         (y1_test): New tests.
47466         * sysdeps/i386/fpu/libm-test-ulps: Update.
47467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47470 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
47472         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
47473         64-bit targets.
47474         * configure: Regenerated.
47476 2012-11-17  David S. Miller  <davem@davemloft.net>
47478         [BZ #14811]
47479         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
47480         nonzero exponents with absolute value below 0x1p-128 to +/-
47481         0x1p-128.
47483 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
47485         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
47487         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
47489         * posix/getconf-speclist.c: New file.
47490         * posix/posix-envs.def: Likewise.
47491         * posix/confstr.c (START_ENV_GROUP): New macro.
47492         (END_ENV_GROUP): Likewise.
47493         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
47494         (KNOWN_PRESENT_ENV_STRING): Likewise.
47495         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
47496         (UNKNOWN_ENVIRONMENT): Likewise.
47497         (confstr): Include posix-envs.def instead of handling
47498         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
47499         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
47500         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
47501         (END_ENV_GROUP): Likewise.
47502         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
47503         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
47504         (UNKNOWN_ENVIRONMENT): Likewise.
47505         (__sysconf): Include posix-envs.def instead of handling associated
47506         cases directly here.
47507         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
47508         preprocessing getconf-speclist.c rather than running getconf or
47509         generating empty file.
47511 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
47513         * scripts/check-local-headers.sh: Ignore 'mach' headers.
47515 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
47517         [BZ #14672]
47518         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
47520 2012-11-16  David S. Miller  <davem@davemloft.net>
47522         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
47523         smaller than LDBL_EPSILON/2.0L, just return xm1.
47525 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
47527         * elf/tst-array1.c (init): Set constructor priority to 1000.
47528         (fini): Set destructor priority to 1000.
47529         * elf/tst-array2dep.c: Likewise.
47531 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47533         [BZ #11741]
47534         * libio/fileops.c (_IO_new_file_write): Correctly return error.
47535         (_IO_new_file_xsputn): Also return EOF if none of the input
47536         data was written when overflow failed.
47537         * libio/iopadn.c (_IO_padn): Likewise.
47538         * libio/iowpadn.c (_IO_wpadn): Likewise.
47539         * stdio-common/tst-put-error.c: Add copyright notice.
47540         (do_test): Add case for printing padded string.
47541         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
47542         _IO_padn returned error.
47543         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
47544         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
47545         return EOF.
47547 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47549         * libio/libioP.h: Add comment note that the references to C++
47550         bits are now obsolete.
47552 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47554         * math/libm-test.inc (check_complex): Use asprintf.
47556 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
47558         * debug/pcprofiledump.c (print_version): Update copyright year.
47559         * malloc/memusagestat.c (print_version): Likewise.
47561 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
47563         [BZ #14831]
47564         * elf/Makefile (tests): Add tst-audit8.
47565         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
47566         ($(objpfx)tst-audit8.out): New target.
47567         (tst-audit8-ENV): New variable.
47568         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
47569         audit if l_reloc_result is NULL.
47570         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
47571         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
47572         * elf/tst-audit8.c: New file.
47574 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47576         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
47577         * misc/Makefile (CFLAGS-select.c): Define.
47578         * posix/Makefile (CFLAGS-pause.c): Define.
47580 2012-11-13  David S. Miller  <davem@davemloft.net>
47582         * crypt/Makefile: Move test targets after toplevel Rules
47583         inclusion.  Grab any necessary sysdep routines when linking.
47584         * crypt/md5.c (md5_process_block): Remove define, we will always
47585         name it __md5_process_block.
47586         (md5_finish_ctx): Update md5_process_block call.
47587         (md5_stream): Likewise.
47588         (md5_process_bytes): Likewise.
47589         (md5_process_block): Rename to __md5_process_block and move to ...
47590         * crypt/md5-block.c: ... here.
47591         * crypt/sha256.c (sha256_process_block): Move to ...
47592         * crypt/sha256-block.c: ... here.
47593         * crypt/sha512.c (sha512_process_block): Move to ...
47594         * crypt/sha512-block.c: ... here.
47595         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
47596         path.
47597         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
47598         * sysdeps/sparc/sparc64/multiarch/Makefile
47599         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
47600         crypt subdir.
47601         (localedef-aux): Add md5 crypto assembler when in locale subdir.
47602         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
47603         multiarch changes.
47604         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
47605         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
47606         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
47607         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
47608         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
47609         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
47610         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
47611         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
47612         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
47613         file.
47614         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
47615         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
47616         file.
47617         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
47619 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
47621         * timezone/tzselect.ksh: Update from tzcode git revision
47622         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
47623         * timezone/zdump.c: Likewise.
47624         * timezone/zic.c: Likewise.
47625         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
47626         in TZVERSION setting, not $(PKGVERSION).
47627         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
47628         REPORT_BUGS_TO settings.
47630         [BZ #14838]
47631         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
47632         macro.
47634 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47636         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
47637         detection to immediately after _FP_ROUND().
47638         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
47639         bits are 0.
47641 2012-11-11  David S. Miller  <davem@davemloft.net>
47643         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
47644         inttypes.h
47645         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
47646         __close rather than their public counterparts.
47648 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
47650         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
47651         file.
47652         [UNIX98] (sem_timedwait): Do not expect.
47653         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
47654         [XPG4 || UNIX98] (sockatmark): Do not expect.
47655         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
47656         (clock_getcpuclockid): Do not expect.
47657         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
47658         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
47659         Do not expect.
47660         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
47661         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
47662         [UNIX98] (vwscanf): Likewise.
47663         [UNIX98] (vswscanf): Likewise.
47665 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
47667         * timezone/version.h: Remove file.
47668         * timezone/README: Do not refer to version.h.
47669         * timezone/Makefile ($(objpfx)zic.o): New dependency on
47670         $(objpfx)version.h.
47671         ($(objpfx)zdump.o): Likewise.
47672         ($(objpfx)version.h): New target.
47674         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
47675         2012i.
47676         * timezone/README: Don't mention modification to tzselect.ksh.
47677         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
47678         work on unmodified tzselect.ksh.  Substitute version numbers in
47679         tzselect.ksh.
47681         * Makefile (format-me): Remove.
47682         (INSTALL): Adjust indentation.  Use commands directly instead of
47683         using $(format-me).
47685         * aclocal.m4 (ACX_PKGVERSION): New macro.
47686         (ACX_BUGURL): Likewise.
47687         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
47688         (PKGVERSION): New AC_DEFINE_UNQUOTED.
47689         (REPORT_BUGS_TO): Likewise.
47690         * configure: Regenerated.
47691         * config.h.in (PKGVERSION): New macro.
47692         (REPORT_BUGS_TO): Likewise.
47693         * config.make.in (PKGVERSION): New variable.
47694         (PKGVERSION_TEXI): Likewise.
47695         (REPORT_BUGS_TO): Likewise.
47696         (REPORT_BUGS_TEXI): Likewise.
47697         * Makefile (format-me): Use -I$(common-objpfx)manual.
47698         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
47699         ($(common-objpfx)manual/%): New target.
47700         (manual/%): Remove target.
47701         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
47702         (print_version): Use PKGVERSION.
47703         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
47704         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
47705         and REPORT_BUGS_TO.
47706         ($(objpfx)xtrace): Likewise.
47707         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
47708         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
47709         (print_version): Use PKGVERSION.
47710         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
47711         (do_version): Use PKGVERSION.
47712         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
47713         REPORT_BUGS_TO.
47714         (common-ldd-rewrite): Likewise.
47715         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
47716         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
47717         (print_version): Use PKGVERSION.
47718         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
47719         * elf/pldd.c (argp_program_bug_address): Remove variable.
47720         (more_help): New function.
47721         (argp): Use more_help.
47722         (print_version): Use PKGVERSION.
47723         * elf/sln.c (main): Use PKGVERSION.
47724         (usage): Use REPORT_BUGS_TO.
47725         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
47726         (top level): Use PKGVERSION.
47727         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
47728         (print_version): Use PKGVERSION.
47729         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
47730         (print_version): Use PKGVERSION.
47731         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
47732         (print_version): Use PKGVERSION.
47733         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
47734         (print_version): Use PKGVERSION.
47735         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
47736         (print_version): Use PKGVERSION.
47737         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
47738         (print_version): Use PKGVERSION.
47739         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
47740         and BUGURL.
47741         ($(objpfx)memusage): Likewise.
47742         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
47743         (do_version): Use PKGVERSION.
47744         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
47745         (print_version): Use PKGVERSION.
47746         * malloc/mtrace.pl ($PACKAGE): Remove variable.
47747         ($PKGVERSION): New variable.
47748         ($REPORT_BUGS_TO): Likewise.
47749         (usage): Use $REPORT_BUGS_TO.
47750         (top level): Use $PKGVERSION.
47751         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
47752         ($(objpfx)pkgvers.texi): New rule.
47753         ($(objpfx)stamp-pkgvers): Likewise.
47754         * manual/install.texi: Include pkgvers.texi.
47755         (--with-pkgversion): Document new configure option.
47756         (--with-bugurl): Likewise.
47757         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
47758         than necessarily for this particular distribution.  Use
47759         REPORT_BUGS_TO for where to report bugs.
47760         * INSTALL: Regenerated.
47761         * manual/libc.texinfo: Include pkgvers.texi.
47762         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
47763         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
47764         (print_version): Use PKGVERSION.
47765         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
47766         (print_version): Use PKGVERSION.
47767         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
47768         (print_version): Use PKGVERSION.
47769         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
47770         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
47771         macro.
47772         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
47773         (print_version): Use PKGVERSION.
47774         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
47775         (print_version): Use PKGVERSION.
47776         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
47777         and PKGVERSION.
47779         * timezone/checktab.awk: Update from tzcode 2012i.
47780         * timezone/ialloc.c: Likewise.
47781         * timezone/private.h: Likewise.
47782         * timezone/scheck.c: Likewise.
47783         * timezone/tzfile.h: Likewise.
47784         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
47785         (TZVERSION): Hardcode tzcode version number.
47786         * timezone/zdump.c: Update from tzcode 2012i.
47787         * timezone/zic.c: Likewise.
47788         * timezone/version.h: New file.
47789         * timezone/README: Describe version.h.  Update upstream location.
47791         [BZ #14824]
47792         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
47793         (mktemp): Enable declaration.
47794         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
47795         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
47796         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
47797         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
47798         Likewise.
47799         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
47800         Likewise.
47801         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
47802         Likewise.
47803         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
47804         Likewise.
47805         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
47806         Likewise.
47807         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
47808         Likewise.
47810         [BZ #14821]
47811         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
47812         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
47813         for copies of such integer values.
47814         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47815         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47817 2012-11-09  Andreas Jaeger  <aj@suse.de>
47819         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
47820         definitions and declarations that are provided by
47821         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
47823 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47825         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
47826         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
47827         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
47828         definition.
47830 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47832         * elf/elf.h: Update comment before AArch64 relocations.
47834 2012-11-07  David S. Miller  <davem@davemloft.net>
47836         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
47837         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47838         (__start_context): Declare.
47839         (__makecontext_ret): Delete.
47840         (__makecontext): Hook up __start_context instead of
47841         __makecontext_ret.
47842         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
47843         (sysdep_routines): Add __start_context when in stdlib.
47845 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47847         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
47848         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
47849         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
47850         hardcoded "nm".
47851         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
47852         (READELF): New variable.  Use it instead of hardcoded "readelf".
47854 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47856         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
47857         * sysdeps/x86/Makefile: Here.
47858         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
47859         * sysdeps/x86/tst-xmmymm.sh: This.
47861 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47863         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
47864         expectations.
47865         [UNIX98] (pthread_barrier_t): Do not expect.
47866         [UNIX98] (pthread_barrierattr_t): Likewise.
47867         [UNIX98] (pthread_spinlock_t): Likewise.
47868         [UNIX98] (pthread_barrier_destroy): Likewise.
47869         [UNIX98] (pthread_barrier_init): Likewise.
47870         [UNIX98] (pthread_barrier_wait): Likewise.
47871         [UNIX98] (pthread_barrierattr_destroy): Likewise.
47872         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
47873         [UNIX98] (pthread_barrierattr_init): Likewise.
47874         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
47875         [UNIX98] (pthread_getcpuclockid): Likewise.
47876         [UNIX98] (pthread_mutex_timedlock): Likewise.
47877         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
47878         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
47879         [UNIX98] (pthread_sigmask): Likewise.
47880         [UNIX98] (pthread_spin_destroy): Likewise.
47881         [UNIX98] (pthread_spin_init): Likewise.
47882         [UNIX98] (pthread_spin_lock): Likewise.
47883         [UNIX98] (pthread_spin_trylock): Likewise.
47884         [UNIX98] (pthread_spin_unlock): Likewise.
47885         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
47886         Do not expect.
47887         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
47888         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
47889         [XPG3 || XPG4] (pthread_cond_t): Likewise.
47890         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
47891         [XPG3 || XPG4] (pthread_key_t): Likewise.
47892         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
47893         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
47894         [XPG3 || XPG4] (pthread_once_t): Likewise.
47895         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
47896         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
47897         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
47898         [XPG3 || XPG4] (pthread_t): Likewise.
47900         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
47901         not expect.
47902         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
47904         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
47905         Change function return type to int.
47907         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
47908         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
47909         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
47910         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
47911         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
47912         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
47913         [!POSIX] (posix_madvise): Likewise.
47914         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
47915         && !UNIX98].
47916         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
47917         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
47918         (mode_t): Likewise.
47919         (posix_mem_offset): Likewise.
47920         (posix_typed_mem_get_info): Likewise.
47921         (posix_typed_mem_open): Likewise.
47923         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
47924         Change condition to [XOPEN2K8].
47926         * conform/conformtest.pl: Preprocess allow-header data with -x c
47927         instead of from stdin.
47928         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
47929         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
47930         [C99-based standards] (cerfc): Likewise.
47931         [C99-based standards] (cexp2): Likewise.
47932         [C99-based standards] (cexpm1): Likewise.
47933         [C99-based standards] (clog10): Likewise.
47934         [C99-based standards] (clog1p): Likewise.
47935         [C99-based standards] (clog2): Likewise.
47936         [C99-based standards] (clgamma): Likewise.
47937         [C99-based standards] (ctgamma): Likewise.
47938         [C99-based standards] (cerff): Likewise.
47939         [C99-based standards] (cerfcf): Likewise.
47940         [C99-based standards] (cexp2f): Likewise.
47941         [C99-based standards] (cexpm1f): Likewise.
47942         [C99-based standards] (clog10f): Likewise.
47943         [C99-based standards] (clog1pf): Likewise.
47944         [C99-based standards] (clog2f): Likewise.
47945         [C99-based standards] (clgammaf): Likewise.
47946         [C99-based standards] (ctgammaf): Likewise.
47947         [C99-based standards] (cerfl): Likewise.
47948         [C99-based standards] (cerfcl): Likewise.
47949         [C99-based standards] (cexp2l): Likewise.
47950         [C99-based standards] (cexpm1l): Likewise.
47951         [C99-based standards] (clog10l): Likewise.
47952         [C99-based standards] (clog1pl): Likewise.
47953         [C99-based standards] (clog2l): Likewise.
47954         [C99-based standards] (clgammal): Likewise.
47955         [C99-based standards] (ctgammal): Likewise.
47956         * conform/data/inttypes.h-data [C99-based standards]: Include
47957         stdint.h-data.  Remove all expectations for stdint.h contents.
47958         [C99-based standards] (PRI*): Do not allow.
47959         [C99-based standards] (SCN*): Likewise.
47960         [C99-based standards] (*_t): Likewise.
47961         [C99-based-standards] (PRId8): Expect macro.
47962         [C99-based-standards] (PRIi8): Likewise.
47963         [C99-based-standards] (PRIo8): Likewise.
47964         [C99-based-standards] (PRIu8): Likewise.
47965         [C99-based-standards] (PRIx8): Likewise.
47966         [C99-based-standards] (PRIX8): Likewise.
47967         [C99-based-standards] (SCNd8): Likewise.
47968         [C99-based-standards] (SCNi8): Likewise.
47969         [C99-based-standards] (SCNo8): Likewise.
47970         [C99-based-standards] (SCNu8): Likewise.
47971         [C99-based-standards] (SCNx8): Likewise.
47972         [C99-based-standards] (PRIdLEAST8): Likewise.
47973         [C99-based-standards] (PRIiLEAST8): Likewise.
47974         [C99-based-standards] (PRIoLEAST8): Likewise.
47975         [C99-based-standards] (PRIuLEAST8): Likewise.
47976         [C99-based-standards] (PRIxLEAST8): Likewise.
47977         [C99-based-standards] (PRIXLEAST8): Likewise.
47978         [C99-based-standards] (SCNdLEAST8): Likewise.
47979         [C99-based-standards] (SCNiLEAST8): Likewise.
47980         [C99-based-standards] (SCNoLEAST8): Likewise.
47981         [C99-based-standards] (SCNuLEAST8): Likewise.
47982         [C99-based-standards] (SCNxLEAST8): Likewise.
47983         [C99-based-standards] (PRIdFAST8): Likewise.
47984         [C99-based-standards] (PRIiFAST8): Likewise.
47985         [C99-based-standards] (PRIoFAST8): Likewise.
47986         [C99-based-standards] (PRIuFAST8): Likewise.
47987         [C99-based-standards] (PRIxFAST8): Likewise.
47988         [C99-based-standards] (PRIXFAST8): Likewise.
47989         [C99-based-standards] (SCNdFAST8): Likewise.
47990         [C99-based-standards] (SCNiFAST8): Likewise.
47991         [C99-based-standards] (SCNoFAST8): Likewise.
47992         [C99-based-standards] (SCNuFAST8): Likewise.
47993         [C99-based-standards] (SCNxFAST8): Likewise.
47994         [C99-based-standards] (PRId16): Likewise.
47995         [C99-based-standards] (PRIi16): Likewise.
47996         [C99-based-standards] (PRIo16): Likewise.
47997         [C99-based-standards] (PRIu16): Likewise.
47998         [C99-based-standards] (PRIx16): Likewise.
47999         [C99-based-standards] (PRIX16): Likewise.
48000         [C99-based-standards] (SCNd16): Likewise.
48001         [C99-based-standards] (SCNi16): Likewise.
48002         [C99-based-standards] (SCNo16): Likewise.
48003         [C99-based-standards] (SCNu16): Likewise.
48004         [C99-based-standards] (SCNx16): Likewise.
48005         [C99-based-standards] (PRIdLEAST16): Likewise.
48006         [C99-based-standards] (PRIiLEAST16): Likewise.
48007         [C99-based-standards] (PRIoLEAST16): Likewise.
48008         [C99-based-standards] (PRIuLEAST16): Likewise.
48009         [C99-based-standards] (PRIxLEAST16): Likewise.
48010         [C99-based-standards] (PRIXLEAST16): Likewise.
48011         [C99-based-standards] (SCNdLEAST16): Likewise.
48012         [C99-based-standards] (SCNiLEAST16): Likewise.
48013         [C99-based-standards] (SCNoLEAST16): Likewise.
48014         [C99-based-standards] (SCNuLEAST16): Likewise.
48015         [C99-based-standards] (SCNxLEAST16): Likewise.
48016         [C99-based-standards] (PRIdFAST16): Likewise.
48017         [C99-based-standards] (PRIiFAST16): Likewise.
48018         [C99-based-standards] (PRIoFAST16): Likewise.
48019         [C99-based-standards] (PRIuFAST16): Likewise.
48020         [C99-based-standards] (PRIxFAST16): Likewise.
48021         [C99-based-standards] (PRIXFAST16): Likewise.
48022         [C99-based-standards] (SCNdFAST16): Likewise.
48023         [C99-based-standards] (SCNiFAST16): Likewise.
48024         [C99-based-standards] (SCNoFAST16): Likewise.
48025         [C99-based-standards] (SCNuFAST16): Likewise.
48026         [C99-based-standards] (SCNxFAST16): Likewise.
48027         [C99-based-standards] (PRId32): Likewise.
48028         [C99-based-standards] (PRIi32): Likewise.
48029         [C99-based-standards] (PRIo32): Likewise.
48030         [C99-based-standards] (PRIu32): Likewise.
48031         [C99-based-standards] (PRIx32): Likewise.
48032         [C99-based-standards] (PRIX32): Likewise.
48033         [C99-based-standards] (SCNd32): Likewise.
48034         [C99-based-standards] (SCNi32): Likewise.
48035         [C99-based-standards] (SCNo32): Likewise.
48036         [C99-based-standards] (SCNu32): Likewise.
48037         [C99-based-standards] (SCNx32): Likewise.
48038         [C99-based-standards] (PRIdLEAST32): Likewise.
48039         [C99-based-standards] (PRIiLEAST32): Likewise.
48040         [C99-based-standards] (PRIoLEAST32): Likewise.
48041         [C99-based-standards] (PRIuLEAST32): Likewise.
48042         [C99-based-standards] (PRIxLEAST32): Likewise.
48043         [C99-based-standards] (PRIXLEAST32): Likewise.
48044         [C99-based-standards] (SCNdLEAST32): Likewise.
48045         [C99-based-standards] (SCNiLEAST32): Likewise.
48046         [C99-based-standards] (SCNoLEAST32): Likewise.
48047         [C99-based-standards] (SCNuLEAST32): Likewise.
48048         [C99-based-standards] (SCNxLEAST32): Likewise.
48049         [C99-based-standards] (PRIdFAST32): Likewise.
48050         [C99-based-standards] (PRIiFAST32): Likewise.
48051         [C99-based-standards] (PRIoFAST32): Likewise.
48052         [C99-based-standards] (PRIuFAST32): Likewise.
48053         [C99-based-standards] (PRIxFAST32): Likewise.
48054         [C99-based-standards] (PRIXFAST32): Likewise.
48055         [C99-based-standards] (SCNdFAST32): Likewise.
48056         [C99-based-standards] (SCNiFAST32): Likewise.
48057         [C99-based-standards] (SCNoFAST32): Likewise.
48058         [C99-based-standards] (SCNuFAST32): Likewise.
48059         [C99-based-standards] (SCNxFAST32): Likewise.
48060         [C99-based-standards] (PRId64): Likewise.
48061         [C99-based-standards] (PRIi64): Likewise.
48062         [C99-based-standards] (PRIo64): Likewise.
48063         [C99-based-standards] (PRIu64): Likewise.
48064         [C99-based-standards] (PRIx64): Likewise.
48065         [C99-based-standards] (PRIX64): Likewise.
48066         [C99-based-standards] (SCNd64): Likewise.
48067         [C99-based-standards] (SCNi64): Likewise.
48068         [C99-based-standards] (SCNo64): Likewise.
48069         [C99-based-standards] (SCNu64): Likewise.
48070         [C99-based-standards] (SCNx64): Likewise.
48071         [C99-based-standards] (PRIdLEAST64): Likewise.
48072         [C99-based-standards] (PRIiLEAST64): Likewise.
48073         [C99-based-standards] (PRIoLEAST64): Likewise.
48074         [C99-based-standards] (PRIuLEAST64): Likewise.
48075         [C99-based-standards] (PRIxLEAST64): Likewise.
48076         [C99-based-standards] (PRIXLEAST64): Likewise.
48077         [C99-based-standards] (SCNdLEAST64): Likewise.
48078         [C99-based-standards] (SCNiLEAST64): Likewise.
48079         [C99-based-standards] (SCNoLEAST64): Likewise.
48080         [C99-based-standards] (SCNuLEAST64): Likewise.
48081         [C99-based-standards] (SCNxLEAST64): Likewise.
48082         [C99-based-standards] (PRIdFAST64): Likewise.
48083         [C99-based-standards] (PRIiFAST64): Likewise.
48084         [C99-based-standards] (PRIoFAST64): Likewise.
48085         [C99-based-standards] (PRIuFAST64): Likewise.
48086         [C99-based-standards] (PRIxFAST64): Likewise.
48087         [C99-based-standards] (PRIXFAST64): Likewise.
48088         [C99-based-standards] (SCNdFAST64): Likewise.
48089         [C99-based-standards] (SCNiFAST64): Likewise.
48090         [C99-based-standards] (SCNoFAST64): Likewise.
48091         [C99-based-standards] (SCNuFAST64): Likewise.
48092         [C99-based-standards] (SCNxFAST64): Likewise.
48093         [C99-based-standards] (PRIdMAX): Likewise.
48094         [C99-based-standards] (PRIiMAX): Likewise.
48095         [C99-based-standards] (PRIoMAX): Likewise.
48096         [C99-based-standards] (PRIuMAX): Likewise.
48097         [C99-based-standards] (PRIxMAX): Likewise.
48098         [C99-based-standards] (PRIXMAX): Likewise.
48099         [C99-based-standards] (SCNdMAX): Likewise.
48100         [C99-based-standards] (SCNiMAX): Likewise.
48101         [C99-based-standards] (SCNoMAX): Likewise.
48102         [C99-based-standards] (SCNuMAX): Likewise.
48103         [C99-based-standards] (SCNxMAX): Likewise.
48104         [C99-based-standards] (PRIdPTR): Likewise.
48105         [C99-based-standards] (PRIiPTR): Likewise.
48106         [C99-based-standards] (PRIoPTR): Likewise.
48107         [C99-based-standards] (PRIuPTR): Likewise.
48108         [C99-based-standards] (PRIxPTR): Likewise.
48109         [C99-based-standards] (PRIXPTR): Likewise.
48110         [C99-based-standards] (SCNdPTR): Likewise.
48111         [C99-based-standards] (SCNiPTR): Likewise.
48112         [C99-based-standards] (SCNoPTR): Likewise.
48113         [C99-based-standards] (SCNuPTR): Likewise.
48114         [C99-based-standards] (SCNxPTR): Likewise.
48115         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
48116         allow.
48117         * conform/data/stdint.h-data: Update comments to clarify
48118         requirements.
48119         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
48120         type.
48121         [C99-based standards] (INT8_MAX): Likewise.
48122         [C99-based standards] (INT16_MIN): Likewise.
48123         [C99-based standards] (INT16_MAX): Likewise.
48124         [C99-based standards] (INT32_MIN): Likewise.
48125         [C99-based standards] (INT32_MAX): Likewise.
48126         [C99-based standards] (INT64_MIN): Likewise.
48127         [C99-based standards] (INT64_MAX): Likewise.
48128         [C99-based standards] (UINT8_MAX): Likewise.
48129         [C99-based standards] (UINT16_MAX): Likewise.
48130         [C99-based standards] (UINT32_MAX): Likewise.
48131         [C99-based standards] (UINT64_MAX): Likewise.
48132         [C99-based standards] (INT_LEAST8_MIN): Likewise.
48133         [C99-based standards] (INT_LEAST8_MAX): Likewise.
48134         [C99-based standards] (INT_LEAST16_MIN): Likewise.
48135         [C99-based standards] (INT_LEAST16_MAX): Likewise.
48136         [C99-based standards] (INT_LEAST32_MIN): Likewise.
48137         [C99-based standards] (INT_LEAST32_MAX): Likewise.
48138         [C99-based standards] (INT_LEAST64_MIN): Likewise.
48139         [C99-based standards] (INT_LEAST64_MAX): Likewise.
48140         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
48141         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
48142         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
48143         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
48144         [C99-based standards] (INT_FAST8_MIN): Likewise.
48145         [C99-based standards] (INT_FAST8_MAX): Likewise.
48146         [C99-based standards] (INT_FAST16_MIN): Likewise.
48147         [C99-based standards] (INT_FAST16_MAX): Likewise.
48148         [C99-based standards] (INT_FAST32_MIN): Likewise.
48149         [C99-based standards] (INT_FAST32_MAX): Likewise.
48150         [C99-based standards] (INT_FAST64_MIN): Likewise.
48151         [C99-based standards] (INT_FAST64_MAX): Likewise.
48152         [C99-based standards] (UINT_FAST8_MAX): Likewise.
48153         [C99-based standards] (UINT_FAST16_MAX): Likewise.
48154         [C99-based standards] (UINT_FAST32_MAX): Likewise.
48155         [C99-based standards] (UINT_FAST64_MAX): Likewise.
48156         [C99-based standards] (INTPTR_MIN): Likewise.
48157         [C99-based standards] (INTPTR_MAX): Likewise.
48158         [C99-based standards] (UINTPTR_MAX): Likewise.
48159         [C99-based standards] (INTMAX_MIN): Likewise.
48160         [C99-based standards] (INTMAX_MAX): Likewise.
48161         [C99-based standards] (UINTMAX_MAX): Likewise.
48162         [C99-based standards] (PTRDIFF_MIN): Likewise.
48163         [C99-based standards] (PTRDIFF_MAX): Likewise.
48164         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
48165         [C99-based standards] (SIZE_MAX): Likewise.
48166         [C99-based standards] (WCHAR_MAX): Likewise.
48167         [C99-based standards] (WINT_MAX): Likewise.
48168         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
48169         constraint on value.
48170         [C99-based standards] (WCHAR_MIN): Likewise.
48171         [C99-based standards] (WINT_MIN): Likewise.
48172         [C99-based standards] (*_t): Allow.
48173         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
48174         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
48175         Include math.h-data and complex.h-data.  Remove all expectations
48176         of math.h and complex.h contents.
48177         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
48178         at end of line.
48179         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
48180         (struct tm): Expect tag.
48181         [C99-based-standards] (wcstof): Expect function.
48182         [C99-based-standards] (wcstold): Likewise.
48183         [C99-based-standards] (wcstoll): Likewise.
48184         [C99-based-standards] (wcstoull): Likewise.
48185         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
48186         macro-int-constant.  Specify type.
48187         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
48188         constraint on value.
48189         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48190         Specify type.
48191         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
48192         Specify value.
48193         [ISO C standards]: Do not allow headers.
48194         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
48195         wcs[abcdefghijklmnopqrstuvwxyz]*.
48196         [ISO C standards] (*_t): Do not allow.
48197         * conform/data/wctype.h-data [C99-based standards] (iswblank):
48198         Expect function.
48199         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
48200         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48201         Specify type.
48202         [ISO C standards]: Do not allow headers.
48203         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
48204         is[abcdefghijklmnopqrstuvwxyz]*.
48205         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
48206         to[abcdefghijklmnopqrstuvwxyz]*.
48207         [ISO C standards] (*_t): Do not allow.
48208         * conform/data/stdalign.h-data: New file.
48209         * conform/data/stdbool.h-data: Likewise.
48210         * conform/data/stdnoreturn.h-data: Likewise.
48212 2012-11-07  Roland McGrath  <roland@hack.frob.com>
48214         [BZ #14815]
48215         * manual/filesys.texi (Directory Entries): Typo fix.
48216         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
48218 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48220         * elf/elf.h (EM_AARCH64): New macro.
48221         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
48222         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
48223         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
48224         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
48225         (R_AARCH64_TLSDESC): Likewise.
48226         (NT_ARM_TLS): Likewise.
48227         (NT_ARM_HW_BREAK): Likewise.
48228         (NT_ARM_HW_WATCH): Likewise.
48230 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48232         [BZ #14811]
48233         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
48234         (__ieee754_powl): Saturate nonzero exponents with absolute value
48235         below 0x1p-79 to +/- 0x1p-79.
48236         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
48237         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
48238         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
48239         nonzero exponents with absolute value below 0x1p-32 to +/-
48240         0x1p-32.
48241         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
48242         (__ieee754_powl): Saturate nonzero exponents with absolute value
48243         below 0x1p-79 to +/- 0x1p-79.
48244         * math/libm-test.inc (pow_test): Add more tests.
48246 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48248         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
48249         _dl_s390_cap_flags with kernel. Increase string length.
48250         (_dl_s390_platforms): Add z196 and zEC12.
48252 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48254         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
48255         Change XOPEN21K to XOPEN2K.
48257 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
48259         * string/memmove.c: Use memcpy when possible.
48261 2012-11-06  Andreas Jaeger  <aj@suse.de>
48263         * po/eo.po: Update from translation team.
48265 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
48267         [BZ #14793]
48268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
48269         exponent and small x and y exponents, scale x or y up.  Increase
48270         by 2 the exponent used in scaling up.
48271         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48272         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48273         * math/libm-test.inc (fma_test): Add more tests.
48274         (fma_test_towardzero): Likewise.
48275         (fma_test_downward): Likewise.
48276         (fma_test_upward): Likewise.
48278 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
48280         [BZ #14805]
48281         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
48282         fenv_t *.
48284         [BZ #14801]
48285         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
48286         namespace for names of struct fields.
48287         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
48288         fenv_t fields.
48289         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
48290         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
48292 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48294         [BZ #3665]
48295         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
48297 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48299         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
48300         PTR_DEMANGLE.
48302         [BZ #5246]
48303         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
48304         PTR_DEMANGLE.
48306 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
48308         [BZ #14797]
48309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
48310         definitely overflow as x * y not x * y + z.
48311         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48312         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48313         * math/libm-test.inc (fma_test): Add more tests.
48314         (fma_test_towardzero): Likewise.
48315         (fma_test_downward): Likewise.
48316         (fma_test_upward): Likewise.
48318 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48320         [BZ #157]
48322         * include/stub-tag.h: Remove file.
48323         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
48324         '#include' of it.
48325         * manual/maint.texi (Porting): Don't reference it.
48326         * Makerules ($(objpfx)stubs): Likewise.
48327         * dirent/closedir.c: Don't include <stub-tag.h>.
48328         * dirent/dirfd.c: Likewise.
48329         * dirent/fdopendir.c: Likewise.
48330         * dirent/getdents.c: Likewise.
48331         * dirent/getdents64.c: Likewise.
48332         * dirent/opendir.c: Likewise.
48333         * dirent/readdir.c: Likewise.
48334         * dirent/readdir64.c: Likewise.
48335         * dirent/readdir64_r.c: Likewise.
48336         * dirent/readdir_r.c: Likewise.
48337         * dirent/rewinddir.c: Likewise.
48338         * dirent/seekdir.c: Likewise.
48339         * dirent/telldir.c: Likewise.
48340         * gmon/profil.c: Likewise.
48341         * grp/setgroups.c: Likewise.
48342         * inet/if_index.c: Likewise.
48343         * io/access.c: Likewise.
48344         * io/chdir.c: Likewise.
48345         * io/chmod.c: Likewise.
48346         * io/chown.c: Likewise.
48347         * io/close.c: Likewise.
48348         * io/dup.c: Likewise.
48349         * io/dup2.c: Likewise.
48350         * io/dup3.c: Likewise.
48351         * io/euidaccess.c: Likewise.
48352         * io/faccessat.c: Likewise.
48353         * io/fchdir.c: Likewise.
48354         * io/fchmod.c: Likewise.
48355         * io/fchmodat.c: Likewise.
48356         * io/fchown.c: Likewise.
48357         * io/fchownat.c: Likewise.
48358         * io/fcntl.c: Likewise.
48359         * io/flock.c: Likewise.
48360         * io/fstatfs.c: Likewise.
48361         * io/fstatfs64.c: Likewise.
48362         * io/fstatvfs.c: Likewise.
48363         * io/fstatvfs64.c: Likewise.
48364         * io/futimens.c: Likewise.
48365         * io/fxstat.c: Likewise.
48366         * io/fxstat64.c: Likewise.
48367         * io/fxstatat.c: Likewise.
48368         * io/fxstatat64.c: Likewise.
48369         * io/getcwd.c: Likewise.
48370         * io/isatty.c: Likewise.
48371         * io/lchmod.c: Likewise.
48372         * io/lchown.c: Likewise.
48373         * io/link.c: Likewise.
48374         * io/linkat.c: Likewise.
48375         * io/lseek.c: Likewise.
48376         * io/lseek64.c: Likewise.
48377         * io/lxstat64.c: Likewise.
48378         * io/mkdir.c: Likewise.
48379         * io/mkdirat.c: Likewise.
48380         * io/mkfifo.c: Likewise.
48381         * io/mkfifoat.c: Likewise.
48382         * io/open.c: Likewise.
48383         * io/open64.c: Likewise.
48384         * io/openat.c: Likewise.
48385         * io/openat64.c: Likewise.
48386         * io/pipe.c: Likewise.
48387         * io/pipe2.c: Likewise.
48388         * io/poll.c: Likewise.
48389         * io/posix_fadvise.c: Likewise.
48390         * io/posix_fadvise64.c: Likewise.
48391         * io/posix_fallocate.c: Likewise.
48392         * io/posix_fallocate64.c: Likewise.
48393         * io/read.c: Likewise.
48394         * io/readlink.c: Likewise.
48395         * io/readlinkat.c: Likewise.
48396         * io/rmdir.c: Likewise.
48397         * io/sendfile.c: Likewise.
48398         * io/sendfile64.c: Likewise.
48399         * io/statfs.c: Likewise.
48400         * io/statfs64.c: Likewise.
48401         * io/statvfs.c: Likewise.
48402         * io/statvfs64.c: Likewise.
48403         * io/symlink.c: Likewise.
48404         * io/symlinkat.c: Likewise.
48405         * io/ttyname.c: Likewise.
48406         * io/ttyname_r.c: Likewise.
48407         * io/umask.c: Likewise.
48408         * io/unlink.c: Likewise.
48409         * io/unlinkat.c: Likewise.
48410         * io/utime.c: Likewise.
48411         * io/utimensat.c: Likewise.
48412         * io/write.c: Likewise.
48413         * io/xmknod.c: Likewise.
48414         * io/xmknodat.c: Likewise.
48415         * io/xstat.c: Likewise.
48416         * io/xstat64.c: Likewise.
48417         * login/getpt.c: Likewise.
48418         * login/grantpt.c: Likewise.
48419         * login/unlockpt.c: Likewise.
48420         * math/e_acoshl.c: Likewise.
48421         * math/e_acosl.c: Likewise.
48422         * math/e_asinl.c: Likewise.
48423         * math/e_atan2l.c: Likewise.
48424         * math/e_atanhl.c: Likewise.
48425         * math/e_coshl.c: Likewise.
48426         * math/e_expl.c: Likewise.
48427         * math/e_fmodl.c: Likewise.
48428         * math/e_gammal_r.c: Likewise.
48429         * math/e_hypotl.c: Likewise.
48430         * math/e_j0l.c: Likewise.
48431         * math/e_j1l.c: Likewise.
48432         * math/e_jnl.c: Likewise.
48433         * math/e_lgammal_r.c: Likewise.
48434         * math/e_log10l.c: Likewise.
48435         * math/e_log2l.c: Likewise.
48436         * math/e_logl.c: Likewise.
48437         * math/e_powl.c: Likewise.
48438         * math/e_rem_pio2l.c: Likewise.
48439         * math/e_sinhl.c: Likewise.
48440         * math/e_sqrtl.c: Likewise.
48441         * math/fclrexcpt.c: Likewise.
48442         * math/fedisblxcpt.c: Likewise.
48443         * math/feenablxcpt.c: Likewise.
48444         * math/fegetenv.c: Likewise.
48445         * math/fegetexcept.c: Likewise.
48446         * math/fegetround.c: Likewise.
48447         * math/feholdexcpt.c: Likewise.
48448         * math/fesetenv.c: Likewise.
48449         * math/fesetround.c: Likewise.
48450         * math/feupdateenv.c: Likewise.
48451         * math/fgetexcptflg.c: Likewise.
48452         * math/fraiseexcpt.c: Likewise.
48453         * math/fsetexcptflg.c: Likewise.
48454         * math/ftestexcept.c: Likewise.
48455         * math/k_cosl.c: Likewise.
48456         * math/k_rem_pio2l.c: Likewise.
48457         * math/k_sinl.c: Likewise.
48458         * math/k_tanl.c: Likewise.
48459         * math/s_asinhl.c: Likewise.
48460         * math/s_atanl.c: Likewise.
48461         * math/s_cbrtl.c: Likewise.
48462         * math/s_erfl.c: Likewise.
48463         * math/s_expm1l.c: Likewise.
48464         * math/s_log1pl.c: Likewise.
48465         * math/s_tanhl.c: Likewise.
48466         * misc/acct.c: Likewise.
48467         * misc/brk.c: Likewise.
48468         * misc/chflags.c: Likewise.
48469         * misc/chroot.c: Likewise.
48470         * misc/fchflags.c: Likewise.
48471         * misc/fgetxattr.c: Likewise.
48472         * misc/flistxattr.c: Likewise.
48473         * misc/fremovexattr.c: Likewise.
48474         * misc/fsetxattr.c: Likewise.
48475         * misc/fsync.c: Likewise.
48476         * misc/ftruncate.c: Likewise.
48477         * misc/futimes.c: Likewise.
48478         * misc/futimesat.c: Likewise.
48479         * misc/getdomain.c: Likewise.
48480         * misc/getdtsz.c: Likewise.
48481         * misc/gethostid.c: Likewise.
48482         * misc/gethostname.c: Likewise.
48483         * misc/getloadavg.c: Likewise.
48484         * misc/getpagesize.c: Likewise.
48485         * misc/getsysstats.c: Likewise.
48486         * misc/getxattr.c: Likewise.
48487         * misc/gtty.c: Likewise.
48488         * misc/ioctl.c: Likewise.
48489         * misc/lgetxattr.c: Likewise.
48490         * misc/listxattr.c: Likewise.
48491         * misc/llistxattr.c: Likewise.
48492         * misc/lremovexattr.c: Likewise.
48493         * misc/lsetxattr.c: Likewise.
48494         * misc/lutimes.c: Likewise.
48495         * misc/madvise.c: Likewise.
48496         * misc/mincore.c: Likewise.
48497         * misc/mlock.c: Likewise.
48498         * misc/mlockall.c: Likewise.
48499         * misc/mmap.c: Likewise.
48500         * misc/mprotect.c: Likewise.
48501         * misc/msync.c: Likewise.
48502         * misc/munlock.c: Likewise.
48503         * misc/munlockall.c: Likewise.
48504         * misc/munmap.c: Likewise.
48505         * misc/preadv.c: Likewise.
48506         * misc/preadv64.c: Likewise.
48507         * misc/ptrace.c: Likewise.
48508         * misc/pwritev.c: Likewise.
48509         * misc/pwritev64.c: Likewise.
48510         * misc/readv.c: Likewise.
48511         * misc/reboot.c: Likewise.
48512         * misc/remap_file_pages.c: Likewise.
48513         * misc/removexattr.c: Likewise.
48514         * misc/revoke.c: Likewise.
48515         * misc/select.c: Likewise.
48516         * misc/setdomain.c: Likewise.
48517         * misc/setegid.c: Likewise.
48518         * misc/seteuid.c: Likewise.
48519         * misc/sethostid.c: Likewise.
48520         * misc/sethostname.c: Likewise.
48521         * misc/setregid.c: Likewise.
48522         * misc/setreuid.c: Likewise.
48523         * misc/setxattr.c: Likewise.
48524         * misc/sstk.c: Likewise.
48525         * misc/stty.c: Likewise.
48526         * misc/swapoff.c: Likewise.
48527         * misc/swapon.c: Likewise.
48528         * misc/sync.c: Likewise.
48529         * misc/syncfs.c: Likewise.
48530         * misc/syscall.c: Likewise.
48531         * misc/truncate.c: Likewise.
48532         * misc/ualarm.c: Likewise.
48533         * misc/usleep.c: Likewise.
48534         * misc/ustat.c: Likewise.
48535         * misc/utimes.c: Likewise.
48536         * misc/vhangup.c: Likewise.
48537         * misc/writev.c: Likewise.
48538         * posix/_exit.c: Likewise.
48539         * posix/alarm.c: Likewise.
48540         * posix/execve.c: Likewise.
48541         * posix/fexecve.c: Likewise.
48542         * posix/fork.c: Likewise.
48543         * posix/fpathconf.c: Likewise.
48544         * posix/getaddrinfo.c: Likewise.
48545         * posix/getegid.c: Likewise.
48546         * posix/geteuid.c: Likewise.
48547         * posix/getgid.c: Likewise.
48548         * posix/getgroups.c: Likewise.
48549         * posix/getlogin.c: Likewise.
48550         * posix/getlogin_r.c: Likewise.
48551         * posix/getpgid.c: Likewise.
48552         * posix/getpid.c: Likewise.
48553         * posix/getppid.c: Likewise.
48554         * posix/getresgid.c: Likewise.
48555         * posix/getresuid.c: Likewise.
48556         * posix/getsid.c: Likewise.
48557         * posix/getuid.c: Likewise.
48558         * posix/glob64.c: Likewise.
48559         * posix/nanosleep.c: Likewise.
48560         * posix/pathconf.c: Likewise.
48561         * posix/pause.c: Likewise.
48562         * posix/posix_madvise.c: Likewise.
48563         * posix/pread.c: Likewise.
48564         * posix/pread64.c: Likewise.
48565         * posix/pwrite.c: Likewise.
48566         * posix/pwrite64.c: Likewise.
48567         * posix/sched_getaffinity.c: Likewise.
48568         * posix/sched_getp.c: Likewise.
48569         * posix/sched_gets.c: Likewise.
48570         * posix/sched_primax.c: Likewise.
48571         * posix/sched_primin.c: Likewise.
48572         * posix/sched_rr_gi.c: Likewise.
48573         * posix/sched_setaffinity.c: Likewise.
48574         * posix/sched_setp.c: Likewise.
48575         * posix/sched_sets.c: Likewise.
48576         * posix/sched_yield.c: Likewise.
48577         * posix/setgid.c: Likewise.
48578         * posix/setlogin.c: Likewise.
48579         * posix/setpgid.c: Likewise.
48580         * posix/setresgid.c: Likewise.
48581         * posix/setresuid.c: Likewise.
48582         * posix/setsid.c: Likewise.
48583         * posix/setuid.c: Likewise.
48584         * posix/sleep.c: Likewise.
48585         * posix/spawni.c: Likewise.
48586         * posix/sysconf.c: Likewise.
48587         * posix/times.c: Likewise.
48588         * posix/wait.c: Likewise.
48589         * posix/wait3.c: Likewise.
48590         * posix/wait4.c: Likewise.
48591         * posix/waitpid.c: Likewise.
48592         * resolv/gai_sigqueue.c: Likewise.
48593         * resource/getpriority.c: Likewise.
48594         * resource/getrlimit.c: Likewise.
48595         * resource/getrusage.c: Likewise.
48596         * resource/nice.c: Likewise.
48597         * resource/setpriority.c: Likewise.
48598         * resource/setrlimit.c: Likewise.
48599         * resource/ulimit.c: Likewise.
48600         * rt/aio_cancel.c: Likewise.
48601         * rt/aio_fsync.c: Likewise.
48602         * rt/aio_read.c: Likewise.
48603         * rt/aio_sigqueue.c: Likewise.
48604         * rt/aio_suspend.c: Likewise.
48605         * rt/aio_write.c: Likewise.
48606         * rt/clock_getres.c: Likewise.
48607         * rt/clock_gettime.c: Likewise.
48608         * rt/clock_nanosleep.c: Likewise.
48609         * rt/clock_settime.c: Likewise.
48610         * rt/lio_listio.c: Likewise.
48611         * rt/mq_close.c: Likewise.
48612         * rt/mq_getattr.c: Likewise.
48613         * rt/mq_notify.c: Likewise.
48614         * rt/mq_open.c: Likewise.
48615         * rt/mq_receive.c: Likewise.
48616         * rt/mq_send.c: Likewise.
48617         * rt/mq_setattr.c: Likewise.
48618         * rt/mq_timedreceive.c: Likewise.
48619         * rt/mq_timedsend.c: Likewise.
48620         * rt/mq_unlink.c: Likewise.
48621         * rt/shm_open.c: Likewise.
48622         * rt/shm_unlink.c: Likewise.
48623         * rt/timer_create.c: Likewise.
48624         * rt/timer_delete.c: Likewise.
48625         * rt/timer_getoverr.c: Likewise.
48626         * rt/timer_gettime.c: Likewise.
48627         * rt/timer_settime.c: Likewise.
48628         * setjmp/__longjmp.c: Likewise.
48629         * setjmp/setjmp.c: Likewise.
48630         * signal/kill.c: Likewise.
48631         * signal/killpg.c: Likewise.
48632         * signal/raise.c: Likewise.
48633         * signal/sigaction.c: Likewise.
48634         * signal/sigaltstack.c: Likewise.
48635         * signal/sigblock.c: Likewise.
48636         * signal/sigignore.c: Likewise.
48637         * signal/sigintr.c: Likewise.
48638         * signal/signal.c: Likewise.
48639         * signal/sigpause.c: Likewise.
48640         * signal/sigpending.c: Likewise.
48641         * signal/sigqueue.c: Likewise.
48642         * signal/sigreturn.c: Likewise.
48643         * signal/sigset.c: Likewise.
48644         * signal/sigsetmask.c: Likewise.
48645         * signal/sigstack.c: Likewise.
48646         * signal/sigsuspend.c: Likewise.
48647         * signal/sigtimedwait.c: Likewise.
48648         * signal/sigvec.c: Likewise.
48649         * signal/sigwait.c: Likewise.
48650         * signal/sigwaitinfo.c: Likewise.
48651         * signal/sysv_signal.c: Likewise.
48652         * socket/accept.c: Likewise.
48653         * socket/accept4.c: Likewise.
48654         * socket/bind.c: Likewise.
48655         * socket/connect.c: Likewise.
48656         * socket/getpeername.c: Likewise.
48657         * socket/getsockname.c: Likewise.
48658         * socket/getsockopt.c: Likewise.
48659         * socket/isfdtype.c: Likewise.
48660         * socket/listen.c: Likewise.
48661         * socket/recv.c: Likewise.
48662         * socket/recvfrom.c: Likewise.
48663         * socket/recvmsg.c: Likewise.
48664         * socket/send.c: Likewise.
48665         * socket/sendmsg.c: Likewise.
48666         * socket/sendto.c: Likewise.
48667         * socket/setsockopt.c: Likewise.
48668         * socket/shutdown.c: Likewise.
48669         * socket/sockatmark.c: Likewise.
48670         * socket/socket.c: Likewise.
48671         * socket/socketpair.c: Likewise.
48672         * stdio-common/ctermid.c: Likewise.
48673         * stdio-common/cuserid.c: Likewise.
48674         * stdio-common/remove.c: Likewise.
48675         * stdio-common/rename.c: Likewise.
48676         * stdio-common/renameat.c: Likewise.
48677         * stdio-common/tempname.c: Likewise.
48678         * stdlib/getcontext.c: Likewise.
48679         * stdlib/makecontext.c: Likewise.
48680         * stdlib/setcontext.c: Likewise.
48681         * stdlib/swapcontext.c: Likewise.
48682         * stdlib/system.c: Likewise.
48683         * streams/fattach.c: Likewise.
48684         * streams/fdetach.c: Likewise.
48685         * streams/getmsg.c: Likewise.
48686         * streams/getpmsg.c: Likewise.
48687         * streams/putmsg.c: Likewise.
48688         * streams/putpmsg.c: Likewise.
48689         * sysdeps/unix/bsd/getpt.c: Likewise.
48690         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
48691         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
48692         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48694         Likewise.
48695         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
48696         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48697         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48698         * sysvipc/msgctl.c: Likewise.
48699         * sysvipc/msgget.c: Likewise.
48700         * sysvipc/msgrcv.c: Likewise.
48701         * sysvipc/msgsnd.c: Likewise.
48702         * sysvipc/semctl.c: Likewise.
48703         * sysvipc/semget.c: Likewise.
48704         * sysvipc/semop.c: Likewise.
48705         * sysvipc/semtimedop.c: Likewise.
48706         * sysvipc/shmat.c: Likewise.
48707         * sysvipc/shmctl.c: Likewise.
48708         * sysvipc/shmdt.c: Likewise.
48709         * sysvipc/shmget.c: Likewise.
48710         * termios/tcdrain.c: Likewise.
48711         * termios/tcflow.c: Likewise.
48712         * termios/tcflush.c: Likewise.
48713         * termios/tcgetattr.c: Likewise.
48714         * termios/tcgetpgrp.c: Likewise.
48715         * termios/tcsendbrk.c: Likewise.
48716         * termios/tcsetattr.c: Likewise.
48717         * termios/tcsetpgrp.c: Likewise.
48718         * time/adjtime.c: Likewise.
48719         * time/clock.c: Likewise.
48720         * time/getitimer.c: Likewise.
48721         * time/gettimeofday.c: Likewise.
48722         * time/setitimer.c: Likewise.
48723         * time/settimeofday.c: Likewise.
48724         * time/stime.c: Likewise.
48725         * time/time.c: Likewise.
48727 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
48729         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
48730         /usr/old/bin.
48732         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
48733         instead of spaces.
48734         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
48736 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
48738         [BZ #14796]
48739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
48740         FE_TONEAREST before applying Dekker multiplication and Knuth
48741         addition.  Clear inexact exceptions and check for exact zero
48742         results afterwards.
48743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48744         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48745         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48746         * math/libm-test.inc (fma_test): Add more tests.
48747         (fma_test_towardzero): Likewise.
48748         (fma_test_downward): Likewise.
48749         (fma_test_upward): Likewise.
48750         * sysdeps/generic/math_private.h (default_libc_fesetround): New
48751         function.
48752         (libc_fesetround): New macro.
48753         (libc_fesetroundf): Likewise.
48754         (libc_fesetroundl): Likewise.
48755         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
48756         function.
48757         (libc_fesetround_387): Likewise.
48758         (libc_fesetroundf): New macro.
48759         (libc_fesetround): Likewise.
48760         (libc_fesetroundl): Likewise.
48761         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
48762         function.
48763         (libc_fesetroundf): New macro.
48764         (libc_fesetround): Likewise.
48765         (libc_fesetroundl): Likewise.
48766         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
48767         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
48768         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
48769         libm_hidden_ver.
48770         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
48771         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
48772         libm_hidden_def.
48773         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
48774         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
48775         libm_hidden_ver.
48776         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
48777         libm_hidden_def.
48779         [BZ #3439]
48780         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
48781         integer constant usable in #if and use that to give value to enum
48782         constant.
48783         (FE_DIVBYZERO): Likewise.
48784         (FE_UNDERFLOW): Likewise.
48785         (FE_OVERFLOW): Likewise.
48786         (FE_INVALID): Likewise.
48787         (FE_INVALID_SNAN): Likewise.
48788         (FE_INVALID_ISI): Likewise.
48789         (FE_INVALID_IDI): Likewise.
48790         (FE_INVALID_ZDZ): Likewise.
48791         (FE_INVALID_IMZ): Likewise.
48792         (FE_INVALID_COMPARE): Likewise.
48793         (FE_INVALID_SOFTWARE): Likewise.
48794         (FE_INVALID_SQRT): Likewise.
48795         (FE_INVALID_INTEGER_CONVERSION): Likewise.
48796         (FE_TONEAREST): Likewise.
48797         (FE_TOWARDZERO): Likewise.
48798         (FE_UPWARD): Likewise.
48799         (FE_DOWNWARD): Likewise.
48800         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
48801         (FE_DIVBYZERO): Likewise.
48802         (FE_OVERFLOW): Likewise.
48803         (FE_UNDERFLOW): Likewise.
48804         (FE_INEXACT): Likewise.
48805         (FE_TONEAREST): Likewise.
48806         (FE_DOWNWARD): Likewise.
48807         (FE_UPWARD): Likewise.
48808         (FE_TOWARDZERO): Likewise.
48809         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
48810         (FE_UNDERFLOW): Likewise.
48811         (FE_OVERFLOW): Likewise.
48812         (FE_DIVBYZERO): Likewise.
48813         (FE_INVALID): Likewise.
48814         (FE_TONEAREST): Likewise.
48815         (FE_TOWARDZERO): Likewise.
48816         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
48817         (FE_OVERFLOW): Likewise.
48818         (FE_UNDERFLOW): Likewise.
48819         (FE_DIVBYZERO): Likewise.
48820         (FE_INEXACT): Likewise.
48821         (FE_TONEAREST): Likewise.
48822         (FE_TOWARDZERO): Likewise.
48823         (FE_UPWARD): Likewise.
48824         (FE_DOWNWARD): Likewise.
48825         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
48826         (FE_DIVBYZERO): Likewise.
48827         (FE_OVERFLOW): Likewise.
48828         (FE_UNDERFLOW): Likewise.
48829         (FE_INEXACT): Likewise.
48830         (FE_TONEAREST): Likewise.
48831         (FE_DOWNWARD): Likewise.
48832         (FE_UPWARD): Likewise.
48833         (FE_TOWARDZERO): Likewise.
48835 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
48837         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
48839 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
48841         * scripts/cross-test-ssh.sh (command): Use newlines to separate
48842         commands.  Quote $PWD.
48843         (blacklist_exports): Don't use remove_newlines.  Replace "declare
48844         -x" by "export".
48845         (remove_newlines): Remove.
48847 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
48849         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
48850         * stdlib/stdlib.h (atof): Moved to ...
48851         * include/bits/stdlib-float.h: Here.  New file.
48852         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
48853         * stdlib/bits/stdlib-float.h: New file.
48854         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
48855         -mno-sse -mno-mmx.
48856         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
48857         <xmmintrin.h>.
48859 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48861         * conform/conformtest.pl (@headers): Add fenv.h.
48862         * conform/data/fenv.h-data: New file.
48863         * include/fenv.h [_ISOMAC]: Disable all contents of file except
48864         include of <math/fenv.h>.
48866         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
48867         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
48868         && !UNIX98].  Enables tests for XOPEN2K8.
48869         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
48870         POSIX2008]: Likewise.
48872         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
48873         (struct rusage): Do not expect type or its members.
48875         [BZ #3439]
48876         * math/math.h (FP_NAN): Define macro to integer constant usable in
48877         #if and use that to give value to enum constant.
48878         (FP_INFINITE): Likewise.
48879         (FP_ZERO): Likewise.
48880         (FP_SUBNORMAL): Likewise.
48881         (FP_NORMAL): Likewise.
48883 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
48885         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
48886         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
48887         arguments.
48889 2012-11-02  Roland McGrath  <roland@hack.frob.com>
48891         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
48892         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
48893         autoconf-time if not.
48894         * configure.in: Remove AC_PREREQ.
48896 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48898         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
48899         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
48900         of the internal implementation.
48902 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48904         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
48905         except include of <misc/sys/syslog.h>.
48907 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
48910         function returns with a NULL context exit with zero.
48912 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48914         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
48916 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
48918         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
48919         (run_program_cmd): This.
48920         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
48921         (tst_langinfo): New variable.  Use it.
48923 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
48925         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
48926         floating point opcodes.
48928 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48930         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
48931         variable.
48933         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
48935         * sysdeps/mach/hurd/powerpc: Remove directory.
48936         * sysdeps/mach/powerpc: Likewise.
48938 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48940         * scripts/check-local-headers.sh: Ignore c++ headers.
48942 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48944         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
48945         __libc_cleanup_region_start argument.
48947 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
48949         [BZ #14784]
48950         [BZ #14785]
48951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
48952         x * y using scaling, not as x * y + z.
48953         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48954         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48955         * math/libm-test.inc (fma_test): Add more tests.
48956         (fma_test_towardzero): Likewise.
48957         (fma_test_downward): Likewise.
48958         (fma_test_upward): Likewise.
48960 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48962         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
48964 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48966         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
48967         New variable.
48969 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
48971         * rt/tst-shm.c (worker): Correct checking for mmap failure.
48973 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48976         Fix sort order.
48977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48978         Likewise.
48980 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48983         Fix the order of the list for glibc 2.17.
48984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48985         Likewise.
48987 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48991 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48993         [BZ #14610]
48994         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
48995         for low part of x being zero before using __atanl (y).
48996         * math/libm-test.inc (atan2_test): Add another test.
48998         * manual/install.texi (Configuring and compiling): Document
48999         general use of test-wrapper and test-wrapper-env.
49000         * INSTALL: Regenerated.
49002         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
49003         (__fma): Do not extract and scale down low bits on after-rounding
49004         systems when result rounded to normal precision would have normal
49005         exponent.
49006         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
49007         (__fmal): Do not extract and scale down low bits on after-rounding
49008         systems when result rounded to normal precision would have normal
49009         exponent.
49010         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
49011         (__fmal): Do not extract and scale down low bits on after-rounding
49012         systems when result rounded to normal precision would have normal
49013         exponent.
49014         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
49015         macro.
49016         (fma_test): Add more tests.
49017         (fma_test_towardzero): Likewise.
49018         (fma_test_downward): Likewise.
49019         (fma_test_upward): Likewise.
49021 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
49023         * sysdeps/i386/tininess.h: Renamed to ...
49024         * sysdeps/x86/tininess.h: This.
49025         * sysdeps/x86_64/tininess.h: Removed.
49027 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49029         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
49030         input.  Use $(build-program-cmd).
49031         ($(objpfx)tst-array1-static.out): Likewise.
49032         ($(objpfx)tst-array2.out): Likewise.
49033         ($(objpfx)tst-array3.out): Likewise.
49034         ($(objpfx)tst-array4.out): Likewise.
49035         ($(objpfx)tst-array5.out): Likewise.
49036         ($(objpfx)tst-array5-static.out): Likewise.
49038 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
49040         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
49041         if defined.
49043         * nss/nsswitch.h (nss_interface_function): Provide new
49044         macro for use with NSS functions.
49045         * grp/initgroups.c: Use new macro.
49046         * nss/getXXbyYY.c: Likewise.
49047         * nss/getXXbyYY_r.c: Likewise.
49048         * nss/getXXent.c: Likewise.
49049         * nss/getXXent_r.c: Likewise.
49050         * sysdeps/posix/getaddrinfo.c: Likewise.
49052 2012-10-30  Andreas Jaeger  <aj@suse.de>
49054         * po/ru.po: Update Russion translation from translation project.
49056 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49058         [BZ #14152]
49059         [BZ #14783]
49060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
49061         result and shift together with sticky bit instead of replicating
49062         round-to-nearest rounding.
49063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49064         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49065         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
49066         missing underflow exceptions.
49067         (fma_test_towardzero): Add more tests.
49068         (fma_test_downward): Likewise.
49069         (fma_test_upward): Likewise.
49071         [BZ #14047]
49072         * sysdeps/generic/tininess.h: New file.
49073         * sysdeps/i386/tininess.h: Likewise.
49074         * sysdeps/sh/tininess.h: Likewise.
49075         * sysdeps/x86_64/tininess.h: Likewise.
49076         * stdlib/tst-strtod-underflow.c: Likewise.
49077         * stdlib/tst-tininess.c: Likewise.
49078         * stdlib/strtod_l.c: Include <tininess.h>.
49079         (round_and_return): Do not set errno for exact underflow cases.
49080         Force an underflow exception when setting errno for underflow.
49081         Determine underflow based on rounding to normal precision if
49082         TININESS_AFTER_ROUNDING.
49083         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
49084         ERANGE for exact underflow cases.
49085         * stdlib/Makefile (tests): Add tst-tininess and
49086         tst-strtod-underflow.
49087         ($(objpfx)tst-tininess): Use $(link-libm).
49088         ($(objpfx)tst-strtod-underflow): Likewise.
49090 2012-10-30  Andreas Jaeger  <aj@suse.de>
49092         [BZ#14767]
49093         * elf/Makefile (tests): Remove conditional for have-initfini-array
49094         since this is now always required and the variable does not exist
49095         anymore.
49096         (tests-static): Likewise.
49097         (modules-names): Likewise.
49099         * po/eo.po: Add Esperanto translation from translation project.
49101         * elf/tst-array1.c (fini_array): Make writeable so that it can be
49102         merged with constructor/destructor.
49103         (init_array): Likewise.
49104         * elf/tst-array2dep.c (fini_array): Likewise.
49105         (init_array): Likewise.
49107 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
49109         * manual/message.texi: Delete @cartouche tags.
49111 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
49113         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
49114         EOPNOTSUPP.
49115         * sysdeps/mach/hurd/fsync.c: Likewise.
49117         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
49118         [_POSIX_REALTIME_SIGNALS]: Change condition to
49119         [_POSIX_REALTIME_SIGNALS > 0].
49121 2012-10-27  Andreas Jaeger  <aj@suse.de>
49123         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
49124         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
49125         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
49126         [__WORDSIZE != 64]: Likewise.
49128 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
49130         *  iconvdata/tst-table.sh: Remove ${SHELL}.
49131         *  iconvdata/tst-tables.sh: Likewise.
49133 2012-10-25  David S. Miller  <davem@davemloft.net>
49135         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49136         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
49137         of strtoull.
49139         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
49140         ifunc-impl-list.c
49141         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49142         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
49143         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
49144         file.
49146 2012-10-25  Roland McGrath  <roland@hack.frob.com>
49148         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49149         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
49150         __getdirentries.
49152 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49153             Jim Blandy  <jimb@codesourcery.com>
49155         * scripts/cross-test-ssh.sh: New file.
49156         * manual/install.texi (Configuring and compiling): Document use of
49157         cross-test-ssh.sh.
49158         * INSTALL: Regenerated.
49160 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
49162         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
49163         EOPNOTSUPP.
49165 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49167         * Makeconfig (run-program-prefix): Fix comment.
49169 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49170             Jim Blandy  <jimb@codesourcery.com>
49172         * Makeconfig (test-wrapper): New variable,
49173         (test-wrapper-env): Likewise.
49174         [$(cross-compiling) = yes && $(test-wrapper) != ""]
49175         (run-built-tests): Define to yes.
49176         (run-program-prefix): Use $(test-wrapper).
49177         (built-program-cmd): Likewise.
49178         * Rules (make-test-out): Use $(test-wrapper-env) and
49179         $(host-built-program-cmd).
49180         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49181         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
49182         tst-pathopt.sh.
49183         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
49184         $(test-wrapper-env) to tst-rtld-load-self.sh.
49185         ($(objpfx)order2.out): Use $(test-wrapper).
49186         ($(objpfx)tst-initorder.out): Likewise.
49187         ($(objpfx)tst-initorder2.out): Likewise.
49188         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
49189         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
49190         (test_wrapper_env): New variable.  Use it to run ld.so.
49191         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
49192         Use it to run ld.so.
49193         (test_wrapper_env): Likewise.
49194         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
49195         $(test-wrapper) to run-iconv-test.sh.
49196         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
49197         (ICONV): Use $test_wrapper.
49198         * posix/Makefile ($(objpfx)globtest.out): Pass
49199         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
49200         globtest.sh, not $(run-program-prefix).
49201         * posix/globtest.sh (run_via_rtld_prefix): New variable.
49202         (test_wrapper): Likewise.
49203         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
49204         set together with run_via_rtld_prefix.
49205         (run_program_prefix): Define in terms of test_wrapper and
49206         run_via_rtld_prefix.
49208 2012-10-24  Roland McGrath  <roland@hack.frob.com>
49210         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
49211         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
49212         Targets removed.
49214         [BZ #14743]
49215         * include/time.h: Remove librt_hidden_proto (clock_gettime).
49216         Declare __clock_getres, __clock_gettime, __clock_settime,
49217         __clock_nanosleep, and __clock_getcpuclockid.
49218         * rt/clock_gettime.c: Define __clock_gettime as an alias.
49219         Remove librt_hidden_def (clock_gettime).
49220         * sysdeps/unix/clock_gettime.c: Likewise.
49221         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
49222         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49223         * rt/clock_getres.c: Define __clock_getres as an alias.
49224         * sysdeps/posix/clock_getres.c: Likewise.
49225         * rt/clock_settime.c: Define __clock_settime as an alias.
49226         * sysdeps/unix/clock_settime.c: Likewise.
49227         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
49228         * sysdeps/unix/clock_nanosleep.c: Likewise.
49229         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49230         * rt/clock-compat.c: New file.
49231         * rt/Makefile (librt-routines): Add clock-compat and move
49232         $(clock-routines) to ...
49233         (routines): ... here, new variable.
49234         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
49235         Don't add get_clockfreq here.
49236         * rt/Versions (libc: GLIBC_2.17): New version set.
49237         Add clock_* symbols here.
49238         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
49239         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
49240         (GLIBC_2.17): Add clock_* symbols.
49241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49243         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49245         Likewise.
49246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49247         Likewise.
49248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49252         * NEWS: Mention the move.
49254         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49255         Use __open, __read, __close rather than their public counterparts.
49256         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49257         (__get_clockfreq_via_cpuinfo): Likewise.
49258         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
49259         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
49261         * config.h.in (HAVE_IFUNC): New #undef.
49262         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
49263         was successful.
49264         * configure: Regenerated.
49266 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49268         * configure.in: Move READELF check to start of file.
49269         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
49270         libc_cv_asm_gnu_indirect_function in the process.
49271         * configure: Regenerated.
49273 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49275         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
49276         send the output to /dev/null.
49277         (libc_cv_cc_with_libunwind): Likewise.
49278         (libc_cv_as_noexecstack): Likewise.
49279         * configure: Regenerate.
49281 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49283         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
49285         * posix/globtest.sh (TMPDIR): Do not set.
49286         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
49287         (testout): Likewise.
49289 2012-10-24  Andreas Jaeger  <aj@suse.de>
49291         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
49292         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
49293         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
49294         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
49295         posix_fadvise64, posix_fallocate64.
49297         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
49298         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
49299         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
49300         Likewise.
49301         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
49302         Likewise.
49303         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
49305         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
49306         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
49307         <bits/fcntl-linux.h>.
49308         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
49310         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
49311         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
49312         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
49313         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
49314         [__WORDSIZE != 64]: Likewise.
49316 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49318         * Makeconfig (run-built-tests): New variable.
49319         * Rules [$(cross-compiling) = yes]: Change condition to
49320         [$(run-built-tests) = no].
49321         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
49322         to [$(run-built-tests) = yes].
49323         * elf/Makefile [$(cross-compiling) = no]: Likewise
49324         * grp/Makefile [$(cross-compiling) = no]: Likewise.
49325         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
49326         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
49327         * intl/Makefile [$(cross-compiling) = no]: Likewise.
49328         * io/Makefile [$(cross-compiling) = no]: Likewise.
49329         * libio/Makefile [$(cross-compiling) = no]: Likewise.
49330         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
49331         * misc/Makefile [$(cross-compiling) = no]: Likewise.
49332         * posix/Makefile [$(cross-compiling) = no]: Likewise.
49333         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
49334         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
49335         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
49336         * string/Makefile [$(cross-compiling) = no]: Likewise.
49338         * posix/Makefile ($(objpfx)globtest.out): Pass
49339         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
49340         $(rtld-installed-name).
49341         * posix/globtest.sh (elf_objpfx): Remove variable.
49342         (rtld_installed_name): Likewise.
49343         (library_path): Likewise.
49344         (run_program_prefix): New variable.  Use for running globtest
49345         binary.
49347 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
49348             Joseph Myers  <joseph@codesourcery.com>
49350         * Makeconfig (host-built-program-cmd): New variable.
49351         * elf/Makefile (tst-stackguard1-ARGS): Use
49352         $(host-built-program-cmd).
49353         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
49354         (tst-spawn-ARGS): Likewise.
49355         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
49357 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49358             Jim Blandy  <jimb@codesourcery.com>
49360         * Makeconfig (run-via-rtld-prefix): New variable.
49361         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
49362         (built-program-cmd): Likewise.
49364 2012-10-22  Andreas Jaeger  <aj@suse.de>
49366         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
49367         __O_RSYNC if it exists, otherwise to O_SYNC.
49369 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
49370             Joseph Myers  <joseph@codesourcery.com>
49372         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
49373         /dev/null.
49374         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
49375         from /dev/null
49376         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
49377         /dev/null.
49379 2012-10-22  Andreas Jaeger  <aj@suse.de>
49381         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
49382         Define always.
49383         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
49385         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49386         bits/fcntl-linux.h.
49388         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
49389         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
49391         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
49392         to __O_LARGEFILE.
49393         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
49394         to __O_LARGEFILE.
49396 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
49397             Joseph Myers  <joseph@codesourcery.com>
49399         * config.make.in (NM): New variable.
49401 2012-10-21  Andreas Jaeger  <aj@suse.de>
49403         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
49404         definitions and declarations that are provided by
49405         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49407 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49409         [BZ #14683]
49410         * elf/Makefile (tests-static): Add tst-leaks1-static.
49411         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
49412         ($(objpfx)tst-leaks1-static): New rule.
49413         ($(objpfx)tst-leaks1-static-mem): Likewise.
49414         (tst-leaks1-static-ENV): New macro.
49415         * elf/dl-open.c (dl_open_worker): Check the main application
49416         only if SHARED is defined.
49417         * elf/tst-leaks1-static.c: New file.
49419 2012-10-20  Andreas Jaeger  <aj@suse.de>
49421         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
49422         generic values for Linux.
49423         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
49424         and declarations that are provided by <bits/fcntl-linux.h> and
49425         include <bits/fcntl-linux.h>.
49426         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49427         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49429 2012-10-20  Roland McGrath  <roland@hack.frob.com>
49431         * io/fcntl.h: Move include of <bits/types.h> to the top and
49432         include it unconditionally.
49434 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49436         * wcsmbs/Makefile (tests-ifunc): New variable.
49437         (tests): Add $(tests-ifunc).
49438         * wcsmbs/test-wcschr-ifunc.c: New file.
49439         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
49440         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
49441         * wcsmbs/test-wcslen-ifunc.c: Likewise.
49442         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
49443         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
49445         * string/Makefile (tests-ifunc): New variable.
49446         (tests): Add $(tests-ifunc).
49447         * string/test-memccpy.c (TEST_NAME): New macro.
49448         * string/test-memchr.c (TEST_NAME): Likewise.
49449         * string/test-memcmp.c (TEST_NAME): Likewise.
49450         * string/test-memcpy.c (TEST_NAME): Likewise.
49451         * string/test-memmem.c (TEST_NAME): Likewise.
49452         * string/test-memmove.c (TEST_NAME): Likewise.
49453         * string/test-memset.c (TEST_NAME): Likewise.
49454         * string/test-rawmemchr.c (TEST_NAME): Likewise.
49455         * string/test-stpcpy.c (TEST_NAME): Likewise.
49456         * string/test-stpncpy.c (TEST_NAME): Likewise.
49457         * string/test-strcasecmp.c (TEST_NAME): Likewise.
49458         * string/test-strcasestr.c (TEST_NAME): Likewise.
49459         * string/test-strcat.c (TEST_NAME): Likewise.
49460         * string/test-strchr.c (TEST_NAME): Likewise.
49461         * string/test-strcmp.c(TEST_NAME): Likewise.
49462         * string/test-strcpy.c (TEST_NAME): Likewise.
49463         * string/test-strcspn.c (TEST_NAME): Likewise.
49464         * string/test-strlen.c (TEST_NAME): Likewise.
49465         * string/test-strncasecmp.c (TEST_NAME): Likewise.
49466         * string/test-strncmp.c (TEST_NAME): Likewise.
49467         * string/test-strncpy.c (TEST_NAME): Likewise.
49468         * string/test-strnlen.c (TEST_NAME): Likewise.
49469         * string/test-strpbrk.c (TEST_NAME): Likewise.
49470         * string/test-strrchr.c (TEST_NAME): Likewise.
49471         * string/test-strspn.c (TEST_NAME): Likewise.
49472         * string/test-strstr.c (TEST_NAME): Likewise.
49473         * string/test-bcopy-ifunc.c: New file.
49474         * string/test-bzero-ifunc.c: Likewise.
49475         * string/test-memccpy-ifunc.c: Likewise.
49476         * string/test-memchr-ifunc.c: Likewise.
49477         * string/test-memcmp-ifunc.c: Likewise.
49478         * string/test-memcpy-ifunc.c: Likewise.
49479         * string/test-memmem-ifunc.c: Likewise.
49480         * string/test-memmove-ifunc.c: Likewise.
49481         * string/test-mempcpy-ifunc.c: Likewise.
49482         * string/test-memset-ifunc.c: Likewise.
49483         * string/test-rawmemchr-ifunc.c: Likewise.
49484         * string/test-stpcpy-ifunc.c: Likewise.
49485         * string/test-stpncpy-ifunc.c: Likewise.
49486         * string/test-strcasecmp-ifunc.c: Likewise.
49487         * string/test-strcasestr-ifunc.c: Likewise.
49488         * string/test-strcat-ifunc.c: Likewise.
49489         * string/test-strchr-ifunc.c: Likewise.
49490         * string/test-strchrnul-ifunc.c: Likewise.
49491         * string/test-strcmp-ifunc.c: Likewise.
49492         * string/test-strcpy-ifunc.c: Likewise.
49493         * string/test-strcspn-ifunc.c: Likewise.
49494         * string/test-strlen-ifunc.c: Likewise.
49495         * string/test-strncasecmp-ifunc.c: Likewise.
49496         * string/test-strncat-ifunc.c: Likewise.
49497         * string/test-strncmp-ifunc.c: Likewise.
49498         * string/test-strncpy-ifunc.c: Likewise.
49499         * string/test-strnlen-ifunc.c: Likewise.
49500         * string/test-strpbrk-ifunc.c: Likewise.
49501         * string/test-strrchr-ifunc.c: Likewise.
49502         * string/test-strspn-ifunc.c: Likewise.
49503         * string/test-strstr-ifunc.c: Likewise.
49505         * debug/Makefile (tests-ifunc): New variable.
49506         (tests): Add $(tests-ifunc).
49507         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
49508         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
49509         * debug/test-stpcpy_chk-ifunc.c: New file.
49510         * debug/test-strcpy_chk-ifunc.c: Likewise.
49512 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49514         [BZ #13601]
49515         * elf/dl-load.c (open_verify): Retry read if the entire ELF
49516         header is not read in.
49518 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
49520         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
49521         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
49522         directly.  Pass built executable to script as
49523         $(built-program-cmd).
49524         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
49525         $testprogram without using LD_LIBRARY_PATH and $ldso.
49527         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
49528         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
49529         $(rtld-installed-name).
49530         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
49531         (rtld_installed_name): Likewise.
49532         (library_path): Likewise.
49533         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
49534         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
49535         $(run-program-prefix) to tst-tables.sh.
49536         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
49537         it to run tst-table-from and tst-table-to.
49538         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
49539         Pass it to tst-table.sh.
49540         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
49541         $(run-program-prefix) to tst-gettext.sh.
49542         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
49543         tst-translit.sh.
49544         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
49545         tst-gettext2.sh.
49546         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
49547         to run tst-gettext.
49548         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
49549         to run tst-gettext2.
49550         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
49551         to run tst-translit.
49552         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
49553         $(run-program-prefix) to tst-mtrace.sh.
49554         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
49555         to run tst-mtrace.
49556         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
49557         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
49558         $(rtld-installed-name).
49559         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
49560         (rtld_installed_name): Likewise.
49561         (run_program_prefix): New variable.  Use it to run wordexp-test.
49563         * Makeconfig (ARCH): Remove all definitions.
49564         (machine): Likewise.
49565         [ARCH]: Remove conditional code.
49566         [!objdir]: Give error.
49567         [!objdir] (objpfx): Remove.
49568         [!objdir] (common-objpfx): Likewise.
49569         [!objdir] (common-objdir): Likewise.
49570         * configure.in (config_makefile): Remove.  Hardcode Makefile in
49571         AC_CONFIG_FILES call.
49572         * configure: Regenerated.
49574         [BZ #13888]
49575         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
49576         or TMPDIR.
49577         (testout): Likewise.
49579         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
49580         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
49581         $(rtld-installed-name).
49582         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
49583         (rtld_installed_name): Likwise.
49584         (runit): Remove function.
49585         (run_getconf): New variable,  Use it for running getconf binary.
49587 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
49589         [BZ #14716]
49590         * string/test-memmem.c (check_result): New function.
49591         (do_one_test): Use it.
49592         (check1): New function.
49593         (test_main): Use it.
49595 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
49597         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
49599 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
49601         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
49602         (_G_LSEEK64): Likewise.
49603         (_G_MMAP64): Likewise.
49604         (_G_FSTAT64): Likewise.
49605         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
49606         (_G_LSEEK64): Likewise.
49607         (_G_MMAP64): Likewise.
49608         (_G_FSTAT64): Likewise.
49609         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
49610         unconditional.  Call __mmap64 directly.
49611         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
49612         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
49613         __lseek64 directly.
49614         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
49615         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
49616         __mmap64 directly.
49617         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
49618         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
49619         __lseek64 directly.
49620         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
49621         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
49622         __lseek64 directly.
49623         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
49624         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
49625         __lseek64 directly.
49626         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
49627         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
49628         __fxstat64 directly.
49629         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
49630         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
49631         unconditional.
49632         (freopen64) [!_G_OPEN64]: Remove conditional code.
49633         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
49634         unconditional.
49635         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
49636         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
49637         unconditional.
49638         (ftello64) [!_G_LSEEK64]: Remove conditional code.
49639         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
49640         unconditional.
49641         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
49642         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
49643         unconditional.
49644         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
49645         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
49646         unconditional.
49647         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
49648         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
49649         unconditional.
49650         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
49651         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
49652         unconditional.
49653         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
49655 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49657         [BZ #12140]
49658         * manual/memory.texi (Malloc Tunable Parameters): Add note
49659         about free list pointers overwriting some perturb bytes.
49660         Wording suggested by Roland McGrath.
49662 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
49664         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
49665         (lgamma_test): Likewise.
49666         (tgamma_test): Likewise.
49668 2012-10-16  Florian Weimer  <fweimer@redhat.com>
49670         [BZ #14700]
49671         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
49672         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
49674 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
49676         * NEWS: Mention BZ #14716.
49677         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
49678         when removing AVAILABLE1_USES_J macro.
49680 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
49682         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
49683         (__bswap_64): __uint64_t for unsigned 64-bit int.
49685 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
49687         * include/string.h (memmem): Declare libc hidden alias.
49688         * string/memmem.c (memmem): Define libc hidden alias.
49689         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
49690         __read, __close instead of open, read, close.
49692 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
49694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
49695         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
49696         global and hidden.
49697         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
49698         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
49699         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
49700         Likewise.
49701         (__rawmemchr_sse2): Likewise.
49702         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
49703         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
49704         (__strchr_sse2): Likewise.
49705         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
49706         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
49707         (__strcasecmp_sse2): Likewise.
49708         (__strncasecmp_sse2): Likewise.
49709         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
49710         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
49711         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
49712         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
49713         (__strrchr_sse2): Likewise.
49714         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
49715         ifunc-impl-list.c.
49716         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
49717         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
49718         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
49719         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49720         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
49721         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
49722         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49723         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49724         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
49725         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
49726         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
49727         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
49728         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
49729         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
49730         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
49731         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49732         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
49733         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
49734         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
49735         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
49736         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
49737         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
49738         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
49739         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49740         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
49741         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49742         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
49743         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
49744         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
49745         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
49747         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
49748         global and hidden.
49749         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
49750         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
49751         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
49752         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
49753         Likewise.
49754         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
49755         Likewise.
49756         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
49757         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
49758         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
49759         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
49760         ifunc-impl-list.c.
49761         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49762         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49763         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49764         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49765         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49766         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49767         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49768         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49769         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49770         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49771         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49772         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49773         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49774         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
49775         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
49776         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49777         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
49778         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
49779         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49780         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49781         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49782         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49783         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49784         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49785         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49786         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
49787         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
49788         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
49789         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
49790         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49791         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
49792         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49793         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49794         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
49795         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49796         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49797         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49798         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49799         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49800         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49801         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
49803         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
49804         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
49805         * include/ifunc-impl-list.h: New file.
49806         * misc/ifunc-impl-list.c: Likewise.
49807         * misc/Makefile (routines): Add ifunc-impl-list.
49808         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
49809         * string/test-string.h: Include <ifunc-impl-list.h>.
49810         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
49811         TEST_NAME]: New variables.
49812         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
49813         are defined.
49814         (test_init): Call __libc_ifunc_impl_list to initialize
49815         func_list if TEST_IFUNC and TEST_NAME are defined.
49817         * string/Makefile (strop-tests): Add bcopy and bzero.
49818         * string/test-bcopy.c: New file.
49819         * string/test-bzero.c: Likewise.
49820         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
49821         defined.
49822         * string/test-memset.c: Support bzero test if TEST_BZERO is
49823         defined.
49824         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
49825         __libc_memmove.
49826         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
49827         __libc_memset.
49828         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
49829         of memset.
49831 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
49833         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
49834         * configure: Regenerated.
49836         * Makeconfig (+link-static-before-libc): Don't include
49837         $(link-static-libc).
49839         * libio/libio.h (_IO_pos_t): Remove.
49841 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49843         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
49844         McGrath.
49846 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49848         * crypt/crypt-entry.c: Include fips-private.h.
49849         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
49850         * crypt/md5c-test.c (main): Tolerate disabled MD5.
49851         * sysdeps/unix/sysv/linux/fips-private.h: New file.
49852         * sysdeps/generic/fips-private.h: New file, dummy fallback.
49854 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49856         * crypt/crypt-private.h: Include stdbool.h.
49857         (_ufc_setup_salt_r): Return bool.
49858         * crypt/crypt-entry.c: Include errno.h.
49859         (__crypt_r): Return NULL with EINVAL for bad salt.
49860         * crypt/crypt_util.c (bad_for_salt): New.
49861         (_ufc_setup_salt_r): Check that salt is long enough and within
49862         the specified alphabet.
49863         * crypt/badsalttest.c: New file.
49864         * crypt/Makefile (tests): Add it.
49865         ($(objpfx)badsalttest): New.
49867 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
49869         * NEWS: Add entry for BZ #14602.
49871 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49873         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
49874         type-generic.
49875         * math/libm-test.inc: Update comment listing what functions and
49876         macros are tested.
49877         (isgreater_test): New function.
49878         (isgreaterequal_test): Likewise.
49879         (isless_test): Likewise.
49880         (islessequal_test): Likewise.
49881         (islessgreater_test): Likewise.
49882         (isunordered_test): Likewise.
49883         (main): Call the new functions.
49885 2012-10-09  Roland McGrath  <roland@hack.frob.com>
49887         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
49888         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
49889         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
49890         * sysdeps/i386/configure: Regenerated.
49891         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
49892         * sysdeps/mach/configure: Regenerated.
49893         * sysdeps/mach/hurd/configure: Regenerated.
49894         * sysdeps/powerpc/configure: Regenerated.
49895         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49896         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49897         * sysdeps/s390/s390-32/configure: Regenerated.
49898         * sysdeps/s390/s390-64/configure: Regenerated.
49899         * sysdeps/sh/configure: Regenerated.
49900         * sysdeps/sparc/configure: Regenerated.
49901         * sysdeps/unix/sysv/linux/configure: Regenerated.
49902         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49903         * sysdeps/x86_64/configure: Regenerated.
49905         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
49906         defined.  Don't check if MAP is NULL.
49908 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49910         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
49911         (_G_stat64): Likewise.
49912         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
49913         (_G_stat64): Likewise.
49914         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
49915         instead of struct _G_stat64.
49916         * libio/fileops.c (mmap_remap_check): Likewise.
49917         (decide_maybe_mmap): Likewise.
49918         (_IO_new_file_seekoff): Likewise.
49919         (_IO_file_stat): Likewise.
49920         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
49921         _G_off64_t.
49922         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
49923         instead of struct _G_stat64.
49924         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49926 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
49928         [BZ #14602]
49929         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49930         Replace with ...
49931         (CHECK_EOL): New macro.
49932         (two_way_short_needle): Check beginning of haystack for EOL.  Use
49933         CHECK_EOL.
49934         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49935         Replace with CHECK_EOL.
49936         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49937         Replace with CHECK_EOL.
49939 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
49941         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
49942         type-generic.
49943         * math/libm-test.inc: Update comment listing what functions and
49944         macros are tested.
49945         (finite_test): New function.
49946         (isinf_test): Likewise.
49947         (isnan_test): Likewise.
49948         (fpclassify_test): Test subnormal input.
49949         (isfinite_test): Likewise.
49950         (isnormal_test): Likewise.
49951         (main): Call the new functions.
49953 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
49955         [BZ #14660]
49956         * Makerules (%.dynsym): Force C locale when running
49957         $(OBJDUMP) --dynamic-syms.
49959 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
49961         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
49962         <stdint.h>.
49964 2012-10-06  David S. Miller  <davem@davemloft.net>
49966         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
49967         upper 32-bits of the length value in %o2 since we use branch-on-register
49968         tests which consider the entire 64-bit register.
49970 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
49972         * string/test-strstr.c (check2): Add a test for page boundary.
49974 2012-10-05  David S. Miller  <davem@davemloft.net>
49976         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
49977         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
49978         file.
49979         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49980         sysdep_routines.
49981         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49982         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
49983         and bzero when HWCAP_SPARC_CRYPTO is present.
49985 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
49987         [BZ #14602]
49988         * string/test-strstr.c (check2): New function.
49989         (test_main): Call check2.
49991         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
49992         and bug-strchr1.
49993         * string/bug-strcasestr1.c (do_test): Moved to ...
49994         * string/test-strcasestr.c (check1): Here.  New function.
49995         (do_one_test): Break out result checking code into ...
49996         (check_result): This.  New function.
49997         (do_one_test): Call check_result.
49998         (test_main): Call check1.
49999         * string/bug-strchr1.c (do_test): Moved to ...
50000         * string/test-strchr.c (check1): Here.  New function.
50001         (do_one_test): Break out result checking code into ...
50002         (check_result): This.  New function.
50003         (do_one_test): Call check_result.
50004         (test_main): Call check1.
50005         * string/bug-strstr1.c (main): Moved to ...
50006         * string/test-strstr.c (check1): Here.  New function.
50007         (do_one_test): Break out result checking code into ...
50008         (check_result): This.  New function.
50009         (do_one_test): Call check_result.
50010         (test_main): Call check1.
50011         * string/bug-strcasestr1.c: Removed.
50012         * string/bug-strchr1.c: Likewise.
50013         * string/bug-strstr1.c: Likewise.
50015         * elf/Makefile (dl-routines): Add hwcaps.
50016         * elf/dl-support.c (_dl_important_hwcaps): Removed.
50017         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
50018         (_dl_important_hwcaps): Moved to ...
50019         * elf/dl-hwcaps.c: Here.  New file.
50020         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
50022         [BZ #14557]
50023         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
50024         if IS_IN_rtld isn't defined.
50026         * elf/dl-support.c (_dl_sysinfo_map): New.
50027         Include "get-dynamic-info.h" and "setup-vdso.h".
50028         (_dl_non_dynamic_init): Call setup_vdso.
50029         * elf/dynamic-link.h: Don't include <assert.h>.
50030         (elf_get_dynamic_info): Moved to ...
50031         * elf/get-dynamic-info.h: Here.  New file.
50032         * elf/dynamic-link.h: Include "get-dynamic-info.h".
50033         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
50034         * elf/setup-vdso.h: Here.  New file.
50035         * elf/rtld.c: Include "setup-vdso.h".
50036         (dl_main): Call setup_vdso.
50038 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
50040         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
50041         creal in comment listing functions tested.  List finite, isinf,
50042         isnan, isless, islessequal, isgreater, isgreaterequal,
50043         islessgreater, isunordered, lgamma_r and pow10 as functions and
50044         macros not tested.  Mention which functions not tested are aliases
50045         for other functions.  Fix typo.  Note that signs of NaNs are not
50046         tested.
50048         * scripts/config.guess: Update from config.git.
50049         * scripts/config.sub: Likewise.
50051 2012-10-04  Roland McGrath  <roland@hack.frob.com>
50053         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
50054         * misc/madvise.c (madvise): Renamed to __madvise.
50055         Make madvise a weak alias.
50056         * include/sys/mman.h: Declare __madvise.
50057         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
50058         * sysdeps/unix/syscalls.list
50059         (madvise): Make __madvise the strong name, and madvise a weak alias.
50060         * sysdeps/unix/sysv/linux/syscalls.list
50061         (madvise, mmap): Remove redundant entries.
50062         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
50063         * malloc/malloc.c (mtrim): Likewise.
50064         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
50066 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50068         * sysdeps/mach/hurd/dl-cache.c: File removed.
50069         * config.h.in (USE_LDCONFIG): New #undef.
50070         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
50071         * configure: Regenerated.
50072         * elf/Makefile (dl-routines): Add dl-cache only under
50073         [$(use-ldconfig) = yes].
50074         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
50075         cache on [USE_LDCONFIG].
50076         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
50077         [USE_LDCONFIG].
50078         * elf/rtld.c (dl_main): Likewise.
50080 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
50082         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
50083         _SC_LEVEL4_CACHE_LINESIZE.
50085 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50087         * sysdeps/unix/bsd/confstr.h: File removed.
50089 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
50091         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
50092         sys/sdt-config.h.
50094 2012-10-02  Roland McGrath  <roland@hack.frob.com>
50096         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
50097         Make 'mapoff' field ElfW(Off) rather than off_t.
50099 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
50101         * nscd/Makefile: Remove nscd-cflags and all its users.
50102         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
50103         (CFLAGS-nonlib): Add compiler flags for nscd modules.
50105         [BZ #10631]
50106         * malloc.c (malloc_printerr): Clarify error message.
50108 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
50110         [BZ #14648]
50111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50112         Set bit_FMA_Usable if FMA is supported.
50113         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50114         macro.
50115         (bit_FMA4_Usable): Updated.
50116         (index_FMA_Usable): New macro.
50117         (CPUID_FMA): Likewise
50118         (HAS_FMA): Defined with bit_FMA_Usable.
50120 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50122         * bits/types.h (__swblk_t): Type removed.
50123         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
50124         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
50125         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50126         (__SWBLK_T_TYPE): Likewise.
50127         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50128         (__SWBLK_T_TYPE): Likewise.
50129         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50130         (__SWBLK_T_TYPE): Likewise.
50131         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50132         (__SWBLK_T_TYPE): Likewise.
50134 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
50135             Honza Horak <hhorak@redhat.com>
50137         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
50138         (xdr_mapname): Use YPMAXMAP as maxsize.
50139         (xdr_peername): Use YPMAXPEER as maxsize.
50140         (xdr_keydat): Use YPAXRECORD as maxsize.
50141         (xdr_valdat): Use YPMAXRECORD as maxsize.
50143 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50145         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
50147         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
50148         * csu/init-first.c: ... here.
50149         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
50150         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
50151         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
50152         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
50153         * sysdeps/i386/init-first.c: File removed.
50154         * sysdeps/sh/init-first.c: File removed.
50156 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
50158         [BZ #14645]
50159         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
50160         if x * y might underflow to zero and z is zero.
50161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50162         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50163         * math/libm-test.inc (min_subnorm_value): New variable.
50164         (fma_test): Add more tests.
50165         (fma_test_towardzero): Likewise.
50166         (fma_test_downward): Likewise
50167         (fma_test_upward): Likewise.
50168         (initialize): Set min_subnorm_value.
50170 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
50172         [BZ #14638]
50173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
50174         0 + 0.
50175         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
50176         mode for addition resulting in exact zero.
50177         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
50178         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
50179         exact 0 + 0.
50180         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50181         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50182         * math/libm-test.inc (fma_test): Add more tests.
50183         (fma_test_towardzero): New function.
50184         (fma_test_downward): Likewise.
50185         (fma_test_upward): Likewise.
50186         (main): Call the new functions.
50188 2012-09-28  David S. Miller  <davem@davemloft.net>
50190         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
50192 2012-09-28  Roland McGrath  <roland@hack.frob.com>
50194         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
50195         instead of SIGALRM.
50197         * sysdeps/gnu/_G_config.h: Moved to ...
50198         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
50199         * sysdeps/mach/hurd/_G_config.h: Moved to ...
50200         * sysdeps/generic/_G_config.h: ... here.
50202         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
50204         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
50206         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
50207         Conditionalize target on [libnss_test1.so-version].
50209         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
50211         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
50212         (elfobjdir): Move out of conditionals.
50214         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
50215         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
50216         (__nss_lookup_function): Conditionalize label remove_from_tree on
50217         [!DO_STATIC_NSS || SHARED], matching its only use.
50219 2012-09-28  David S. Miller  <davem@davemloft.net>
50221         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
50222         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
50223         file.
50224         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50225         sysdep_routines.
50226         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50227         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
50228         when HWCAP_SPARC_CRYPTO is present.
50230 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50232         * io/tst-mknodat.c: Create a FIFO instead of a socket.
50234 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
50236         [BZ #6530]
50237         * stdio-common/vfprintf.c (process_string_arg): Revert
50238         2000-07-22 change.
50240 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
50242         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
50243         for testcase.
50244         * stdio-common/tst-sprintf.c: Include <locale.h>
50245         (main): Test sprintf's handling of incomplete multibyte
50246         characters.
50248 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
50250         * elf/dl-runtime.c (VERSYMIDX): Removed.
50251         * elf/dl-version.c (VERSYMIDX): Likewise.
50252         * elf/do-rel.h (VERSYMIDX): Likewise.
50253         (VALIDX): Likewise.
50254         * elf/dynamic-link.h (VERSYMIDX): Likewise.
50255         * elf/rtld.c (VALIDX): Likewise.
50256         (ADDRIDX): Likewise.
50257         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50258         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
50259         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
50260         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
50261         (VALIDX): Likewise.
50262         (ADDRIDX): Likewise.
50264 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50266         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
50268 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
50270         [BZ #11438]
50271         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
50272         to global scope.
50273         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
50274         addresses are in the same scope as 192.0.2/24.
50275         * posix/gai.conf: Document new scope table defaults.
50277 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50279         [BZ #5298]
50280         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
50281         for ftell.  Compute offsets from write pointers instead.
50282         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50284 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50286         [BZ #14543]
50287         * libio/Makefile (tests): New test case tst-fseek.
50288         * libio/tst-fseek.c: New test case to verify that fseek/ftell
50289         combination works in wide mode.
50290         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
50291         state when the external buffer state changes.
50293 2012-09-27  David S. Miller  <davem@davemloft.net>
50295         [BZ #14376]
50296         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
50297         pass reloc->r_addend in as the 'high' argument to
50298         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
50300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50302 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50304         * rt/tst-aio2.c: Include <pthread.h>.
50305         * rt/tst-aio3.c: Likewise.
50307 2012-09-27  Steve Ellcey  <sellcey@mips.com>
50309         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
50311 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
50313         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
50314         contents on [SHARED].
50316 2012-09-26  Marek Polacek  <polacek@redhat.com>
50318         [BZ #14530]
50319         [BZ #13741]
50320         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
50321         for C++ and GCC <4.3 as well as for non GCC compilers.
50323 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50325         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50327 2012-09-25  Roland McGrath  <roland@hack.frob.com>
50329         * Makefile.in (all, install): Declare with .PHONY.
50330         Reported by Michael Hope <michael.hope@linaro.org>.
50332 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50334         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
50335         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
50336         system header.
50337         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
50338         Likewise.
50339         (sydep_routines): Add the new and the internal functions.
50340         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
50341         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
50342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
50343         (GLIBC_2.17): Add the new function.
50344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50345         (GLIBC_2.17): Likewise.
50346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
50347         (GLIBC_2.17): Likewise.
50348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
50349         (GLIBC_2.17): Likewise.
50350         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
50352 2012-09-25  Alan Modra  <amodra@gmail.com>
50354         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
50355         Add release barrier before setting once_control to say
50356         initialisation is done.  Add hints on lwarx.  Use macro in
50357         place of isync.
50358         (clear_once_control): Add release barrier.
50360 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50362         [BZ #13629]
50363         * math/s_clog.c (__clog): Handle more values close to |z| = 1
50364         specially.
50365         * math/s_clog10.c (__clog10): Likewise.
50366         * math/s_clog10f.c (__clog10f): Likewise.
50367         * math/s_clog10l.c (__clog10l): Likewise.
50368         * math/s_clogf.c (__clogf): Likewise.
50369         * math/s_clogl.c (__clogl): Likewise.
50370         * math/Makefile (libm-calls): Add x2y2m1.
50371         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
50372         (__x2y2m1): Likewise.
50373         (__x2y2m1l): Likewise.
50374         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
50375         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
50376         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
50377         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50378         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
50379         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
50380         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
50381         * sysdeps/i386/fpu/libm-test-ulps: Update.
50382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50384         [BZ #14621]
50385         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
50386         int as type of variable DEPTH.
50387         (glob): Use size_t instead of int as type of variables NEWCOUNT
50388         and OLD_PATHC.
50390 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50392         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50393         Add s_sincosf-sse2.
50394         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
50395         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
50396         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
50397         macros for using routine as __sincosf_ia32.
50398         Use macro for function declaration and weak_alias.
50399         * sysdeps/i386/fpu/libm-test-ulps: Update.
50401         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
50402         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50404         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
50405         subnormal argument.
50406         * math/s_cexpf.c (__cexpf): Likewise.
50407         * math/s_csinf.c (__csinf): Likewise.
50408         * math/s_csinhf.c (__csinhf): Likewise.
50409         * math/s_ctanf.c (__ctanf): Likewise.
50410         * math/s_ctanhf.c (__ctanhf): Likewise.
50411         * math/s_ccosh.c (__ccoshf): Likewise.
50412         * math/s_cexp.c (__cexpl): Likewise.
50413         * math/s_csin.c (__csin): Likewise.
50414         * math/s_csinh.c (__csinh): Likewise.
50415         * math/s_ctan.c (__ctan): Likewise.
50416         * math/s_ctanh.c (ctanh): Likewise.
50417         * math/s_ccoshl.c (__ccoshl): Likewise.
50418         * math/s_cexpl.c (__cexpl): Likewise.
50419         * math/s_csinl.c (__csinl): Likewise.
50420         * math/s_csinhl.c (__csinhl): Likewise.
50421         * math/s_ctanl.c (__ctanl): Likewise.
50422         * math/s_ctanhl.c (__ctanhl): Likewise.
50424 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50426         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
50427         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
50428         (_IO_off_t): Define to __off_t, not _G_off_t.
50429         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
50430         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
50431         (_IO_wint_t): Define to wint_t, not _G_wint_t.
50432         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
50433         type of __dummy and __dummy2 fields.
50434         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
50435         (_G_ssize_t): Likewise.
50436         (_G_off_t): Likewise.
50437         (_G_pid_t): Likewise.
50438         (_G_uid_t): Likewise.
50439         (_G_wchar_t): Likewise.
50440         (_G_wint_t): Likewise.
50441         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
50442         (_G_ssize_t): Likewise.
50443         (_G_off_t): Likewise.
50444         (_G_pid_t): Likewise.
50445         (_G_uid_t): Likewise.
50446         (_G_wchar_t): Likewise.
50447         (_G_wint_t): Likewise.
50448         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
50449         (_G_ssize_t): Likewise.
50450         (_G_off_t): Likewise.
50451         (_G_pid_t): Likewise.
50452         (_G_uid_t): Likewise.
50453         (_G_wchar_t): Likewise.
50454         (_G_wint_t): Likewise.
50456 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50458         * malloc/arena.c: Include malloc-sysdep.h.
50459         (shrink_heap): Use check_may_shrink_heap to decide if madvise
50460         is sufficient to shrink the heap or an unmap is needed.
50461         * sysdeps/generic/malloc-sysdep.h: New file.  Define
50462         new function check_may_shrink_heap.
50463         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
50464         new function check_may_shrink_heap.
50466 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50468         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
50469         comments.
50471 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
50473         * catgets/test-gencat.sh: Add "set -e".
50474         * elf/tst-pathopt.sh: Likewise.
50475         * grp/tst_fgetgrent.sh: Likewise.
50476         * iconvdata/run-iconv-test.sh: Likewise.
50477         * intl/tst-gettext.sh: Likewise.
50478         * intl/tst-gettext2.sh: Likewise.
50479         * intl/tst-gettext4.sh: Likewise.
50480         * intl/tst-gettext6.sh: Likewise.
50481         * intl/tst-translit.sh: Likewise.
50482         * io/ftwtest-sh: Likewise.
50483         * libio/test-freopen.sh: Likewise.
50484         * malloc/tst-mtrace.sh: Likewise.
50485         * posix/globtest.sh: Likewise.
50486         * posix/tst-getconf.sh: Likewise.
50487         * posix/wordexp-tst.sh: Likewise.
50488         * stdio-common/tst-printf.sh: Likewise.
50489         * stdio-common/tst-unbputc.sh: Likewise.
50490         * stdlib/tst-fmtmsg.sh: Likewise.
50491         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
50492         * catgets/Makefile: Do not specify -e option when running
50493         testsuite shell scripts.
50494         * elf/Makefile: Likewise.
50495         * grp/Makefile: Likewise.
50496         * iconvdata/Makefile: Likewise.
50497         * intl/Makefile: Likewise.
50498         * io/Makefile: Likewise.
50499         * libio/Makefile: Likewise.
50500         * malloc/Makefile: Likewise.
50501         * posix/Makefile: Likewise.
50502         * stdio-common/Makefile: Likewise.
50503         * stdlib/Makefile: Likewise.
50504         * sysdeps/x86_64/Makefile: Likewise.
50506         * io/ftwtest-sh: Add copyright header.
50507         * posix/globtest.sh: Likewise.
50508         * posix/tst-getconf.sh: Likewise.
50509         * posix/wordexp-tst.sh: Likewise.
50510         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
50512 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
50514         [BZ #13679]
50515         * Makeconfig (+link): Defined as $(+link-static) if
50516         $(build-shared) isn't yes.
50517         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
50518         isn't yes.
50519         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
50521         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
50523         [BZ #14562]
50524         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
50525         new chunk size with MALLOC_ALIGN_MASK.
50527 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
50529         [BZ #5044]
50530         * stdio-common/printf_fphex.c: Include <stdbool.h> and
50531         <rounding-mode.h>.
50532         (__printf_fphex): Determine rounding using get_rounding_mode and
50533         round_away.
50534         * stdio-common/tst-printf-round.c (struct hex_test): New
50535         structure.
50536         (hex_tests): New variable.
50537         (test_hex_in_one_mode): New function.
50538         (do_test): Also run tests for hex float output.
50540 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
50542         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
50543         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
50544         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
50545         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
50546         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
50547         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
50548         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
50549         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
50551 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
50553         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
50554         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
50555         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
50556         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
50558 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
50560         [BZ #14579]
50561         * elf/rtld.c (dl_main): Limit the check for self loading to normal
50562         mode only.
50563         * elf/tst-rtld-load-self.sh: New test.
50564         * elf/Makefile: Run it.
50566 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
50568         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
50569         (tst-writev-ENV): Remove.
50570         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
50572 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
50574         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
50576 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
50578         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
50579         unconditional.
50580         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
50581         Likewise.
50582         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
50583         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
50584         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
50585         Likewise.
50587 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
50589         [BZ #14587]
50590         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
50591         * config.make.in (have-cpp-asm-debuginfo): Removed.
50592         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
50593         * configure: Regenerated.
50595 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
50597         [BZ #5044]
50598         * stdio-common/printf_fp.c: Include <stdbool.h> and
50599         <rounding-mode.h>.
50600         (___printf_fp): Determine rounding using get_rounding_mode and
50601         round_away.
50602         * stdio-common/tst-printf-round.c: New file.
50603         * stdio-common/Makefile (tests): Add tst-printf-round.
50604         (link-libm): New variable.
50605         ($(objpfx)tst-printf-round): Depend in $(link-libm).
50607 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
50609         [BZ #14576]
50610         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
50611         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
50612         Likewise.
50613         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
50614         Likewise.
50616 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
50618         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
50619         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50620         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50621         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50623 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
50625         [BZ #14518]
50626         * include/rounding-mode.h: New file.
50627         * sysdeps/generic/get-rounding-mode.h: Likewise.
50628         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
50629         * stdlib/strtod_l.c: Include <rounding-mode.h>.
50630         (MAX_VALUE): New macro.
50631         (MIN_VALUE): Likewise.
50632         (overflow_value): New function.
50633         (underflow_value): Likewise.
50634         (round_and_return): Use overflow_value and underflow_value to
50635         determine return values in overflow and underflow cases.  Use
50636         round_away to determine rounding depending on rounding mode.
50637         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
50638         determine return values in overflow and underflow cases.
50639         * stdlib/tst-strtod-round.c: Include <fenv.h>.
50640         (struct test_results): New structure.
50641         (struct test): Use struct test_results to store expected results
50642         for all rounding modes.
50643         (TEST): Include expected results for all rounding modes.
50644         (test_in_one_mode): New function.
50645         (do_test): Use test_in_one_mode to compute and check results.
50646         Check results for all rounding modes.
50647         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
50648         $(link-libm).
50650 2012-12-09  Allan McRae  <allan@archlinux.org>
50652         * sysdeps/i386/fpu/libm-test-ulps: Update
50654 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
50656         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
50657         (_G_int32_t): Likewise.
50658         (_G_uint16_t): Likewise.
50659         (_G_uint32_t): Likewise.
50660         (_G_HAVE_BOOL): Likewise.
50661         (_G_HAVE_ATEXIT): Likewise.
50662         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50663         (_G_HAVE_IO_FILE_OPEN): Likewise.
50664         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
50665         (_G_int32_t): Likewise.
50666         (_G_uint16_t): Likewise.
50667         (_G_uint32_t): Likewise.
50668         (_G_HAVE_BOOL): Likewise.
50669         (_G_HAVE_ATEXIT): Likewise.
50670         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50671         (_G_HAVE_IO_FILE_OPEN): Likewise.
50672         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
50673         (_G_int32_t): Likewise.
50674         (_G_uint16_t): Likewise.
50675         (_G_uint32_t): Likewise.
50676         (_G_HAVE_BOOL): Likewise.
50677         (_G_HAVE_ATEXIT): Likewise.
50678         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50679         (_G_HAVE_IO_FILE_OPEN): Likewise.
50681 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
50683         * csu/libc-tls.c: Update copyright years.
50685 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
50687         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
50688         [!_G_USING_THUNKS]: Remove conditional code.
50689         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
50690         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
50692         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
50693         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
50694         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
50695         (_G_VTABLE_LABEL_PREFIX): Likewise.
50696         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50697         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
50698         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50699         (_G_VTABLE_LABEL_PREFIX): Likewise.
50700         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
50701         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
50702         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50703         (_G_VTABLE_LABEL_PREFIX): Likewise.
50704         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
50706 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
50708         * libio/Makefile: Include ../Makeconfig before tests.
50709         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
50710         only if $(build-shared) is yes.
50712         * iconv/gconv_db.c: Update copyright years.
50714 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50716         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
50717         unwind info if defined PIC. Fix special cases description.
50718         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
50720         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
50721         DP_HI_MASK entry.
50722         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
50724 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
50726         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
50728         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
50729         is NULL.
50731         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
50732         (LDLIBS-tst-chk4): This.
50733         (LDFLAGS-tst-chk5): Renamed to ...
50734         (LDLIBS-tst-chk5): This.
50735         (LDFLAGS-tst-chk6): Renamed to ...
50736         (LDLIBS-tst-chk6): This.
50737         (LDFLAGS-tst-lfschk4): Renamed to ...
50738         (LDLIBS-tst-lfschk4): This.
50739         (LDFLAGS-tst-lfschk5): Renamed to ...
50740         (LDLIBS-tst-lfschk5): This.
50741         (LDFLAGS-tst-lfschk6): Renamed to ...
50742         (LDLIBS-tst-lfschk6): This.
50744         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
50745         on $(common-objpfx)soversions.mk.
50747 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
50749         [BZ #10014]
50750         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
50751         example host name.
50753 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50755         * malloc/arena.c (arena_get_retry): New function that gets
50756         another arena for the caller to try its request on.
50757         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
50758         current arena cannot fulfill the request.
50759         (__libc_memalign): Likewise.
50760         (__libc_memalign): Likewise.
50761         (__libc_pvalloc): Likewise.
50762         (__libc_calloc): Likewise.
50764 2012-09-05  John Tobey  <john.tobey@gmail.com>
50766         [BZ #13542]
50767         * manual/arith.texi (Operations on Complex): Fix description
50768         of carg branch cut.
50770 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50772         [BZ #10014]
50773         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
50774         host name.
50776         [BZ #10038]
50777         * manual/memory.texi (Memory): Make order of menu items match
50778         order of sections.
50780 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50782         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
50783         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
50784         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
50786 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50788         * csu/libc-tls.c (static_dtv): Renamed to ...
50789         (_dl_static_dtv): This.  Make it global.
50790         (_dl_initial_dtv): Removed.
50791         (__libc_setup_tls): Updated.
50792         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
50793         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
50794         DL_INITIAL_DTV.
50796 2012-09-06  Petr Machata  <pmachata@redhat.com>
50798         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
50799         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
50800         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
50801         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
50803 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50805         [BZ #14545]
50806         * csu/libc-tls.c (_dl_initial_dtv): New variable.
50807         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
50808         freeing dtv[-1].
50810 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50812         [BZ #14544]
50813         * Makeconfig (link-static-before-libc): Replace $(+prector)
50814         with $(+prectorT).
50815         (link-static-after-libc): Replace $(+postctor) with
50816         $(+postctorT).
50817         (link-bounded): Replace $(+prector)/$(+postctor) with
50818         $(+prectorT)/$(+postctorT).
50819         (+prectorT): New macro.
50820         (+postctorT): Likewise.
50822 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50824         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
50825         (round_str): Handle values above the maximum for IBM long double
50826         as inexact.
50827         * stdlib/tst-strtod-round.c (tests): Regenerated.
50829 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50831         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
50832         assembler flag.
50833         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
50834         zarch_nohighgprs around the zarch optimized routines.
50835         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
50836         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
50837         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
50838         for zarch.
50840 2012-09-05  David S. Miller  <davem@davemloft.net>
50842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50844         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
50845         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
50846         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
50847         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50848         entries.
50850 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50852         * malloc/arena.c: Fold copyright years.
50853         * malloc/mcheck.c, malloc/memusage.c: Likewise.
50855 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50857         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
50859 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50861         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
50863 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50865         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
50866         change internal state upon failure.
50868 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50870         * malloc/mcheck.c (mcheck_check_all): Fix typo.
50871         * malloc/memusage.c (mmap): Likewise.
50872         (mmap64, mremap): Likewise.  Adjust name in comment.
50874 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50876         * libio/fileops.c: Fix typos in comments.
50877         * libio/oldfileops.c: Likewise.
50878         * libio/wfileops.c: Likewise.
50880 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50882         [BZ #1349]
50883         * malloc/Makefile (tests): Add tst-malloc-usable test case.
50884         (tst-malloc-usable-ENV): Set environment for test case.
50885         * malloc/hooks.c (malloc_check_get_size): New function to get
50886         requested size.
50887         * malloc/malloc.c (musable): Use malloc_check_get_size.
50888         * malloc/tst-malloc-usable.c: New test case.
50890 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50892         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
50894 2012-09-05  Allan McRae  <allan@archlinux.org>
50896         [BZ #13966]
50897         * configure.in (CXX_SYSINCLUDES): Use compiler output to
50898         determine header location.
50899         * configure: Regenerated.
50901 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50903         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
50904         float format.
50905         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
50906         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
50907         format.
50908         (test): Regenerate.
50910 2012-09-04  David S. Miller  <davem@davemloft.net>
50912         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
50913         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
50914         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
50916 2012-09-04  Florian Weimer  <fweimer@redhat.com>
50918         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
50919         failures.
50921         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
50923 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
50925         [BZ #9914]
50926         * libio/iogetdelim.c: Include <limits.h>.
50927         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
50928         + len + 1 would overflow.
50930 2012-09-03  Andreas Jaeger  <aj@suse.de>
50932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50933         * sysdeps/i386/fpu/libm-test-ulps: Update.
50935 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50937         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50938         Add s_sinf-sse2, s_conf-sse2.
50940         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
50941         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
50942         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
50943         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
50945         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
50946         for using routine as __sinf_ia32.
50947         Use macro for function declaration and weak_alias.
50948         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
50949         for using routine as __cosf_ia32.
50950         Use macro for function declaration and weak_alias.
50952         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
50953         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
50955         * sysdeps/x86_64/fpu/s_sinf.S: New file.
50956         * sysdeps/x86_64/fpu/s_cosf.S: New file.
50957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50959         * math/libm-test.inc (cos_test): Add more test cases.
50960         (sin_test): Likewise.
50961         (sincos_test): Likewise.
50963 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50965         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
50966         (IFUNC_RESOLVE): Make pointers to the specialized implementations
50967         hidden.
50968         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50970 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
50972         [BZ #14538]
50973         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
50974         first element of the GOT.
50975         (elf_machine_load_address): Return the difference between
50976         the runtime address of _DYNAMIC and elf_machine_dynamic ().
50978 2012-09-01  Allan McRae  <allan@archlinux.org>
50980         [BZ #13412]
50981         * configure.in (AWK): Require gawk version 3.0 or later.
50982         * configure: Regenerated.
50984 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
50986         * sysdeps/unix/sysv/linux/kernel-features.h
50987         (__ASSUME_POSIX_CPU_TIMERS): Remove.
50988         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50989         [__NR_clock_getres]: Make code unconditional.
50990         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
50991         (clock_getcpuclockid): Remove code left unreachable by removal of
50992         conditionals.
50993         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
50994         code unconditional.
50995         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50996         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50997         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
50998         Make code unconditional.
50999         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51000         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51001         * sysdeps/unix/sysv/linux/clock_settime.c
51002         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
51003         conditional code.
51004         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
51005         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51007 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
51009         [BZ #14476]
51010         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
51011         scripts/test-installation.pl.
51013         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
51014         and $ld_so_version if it is set.
51016 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51018         [BZ #14516]
51019         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
51020         failure if reading from procfs failed.
51021         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
51023 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51025         * sysdeps/unix/sysv/linux/kernel-features.h
51026         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
51027         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51028         Remove conditional code.
51029         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51030         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
51031         Remove conditional code.
51032         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51033         * sysdeps/unix/sysv/linux/i386/fxstat.c
51034         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51035         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51036         * sysdeps/unix/sysv/linux/i386/fxstatat.c
51037         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51038         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51039         * sysdeps/unix/sysv/linux/i386/lxstat.c
51040         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51041         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51042         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
51043         Remove conditional code.
51044         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51045         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51046         Remove conditional code.
51047         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51048         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
51049         <kernel-features.h>.
51050         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
51051         Remove.
51052         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
51053         Remove conditional code.
51054         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51055         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
51056         Remove conditional.
51058 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
51060         [BZ #5400]
51061         * NEWS: Add fixed bug number.
51063 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51065         [BZ #14519]
51066         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
51067         underflowing exponent in case of negative sign.
51068         * stdlib/tst-strtod-round-data: Add more tests.
51069         * stdlib/tst-strtod-round.c (tests): Regenerated.
51071         [BZ #3479]
51072         * stdlib/strtod_l.c (NDIG): Remove.
51073         (HEXNDIG): Likewise.
51074         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
51075         smallest representable value.
51076         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
51077         lie within an exact representation of 1/2 ulp of the result.
51078         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
51079         unconditionally.
51080         (TENS_P9_IDX): Define unconditionally.
51081         (TENS_P9_SIZE): Likewise.
51082         (TENS_P10_IDX): Likewise.
51083         (TENS_P10_SIZE): Likewise.
51084         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
51085         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
51086         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
51087         entries for 10^2^13 and 10^2^14.
51088         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
51089         (TENS_P13_IDX): Define.
51090         (TENS_P13_SIZE): Likewise.
51091         (TENS_P14_IDX): Likewise.
51092         (TENS_P14_SIZE): Likewise.
51093         (_fpioconst_pow10): Change array size to
51094         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
51095         unconditional.
51096         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
51097         1024]: Add entries for 10^2^13 and 10^2^14.
51098         [LAST_POW10 > _LAST_POW10]: Remove #error.
51099         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
51100         (_fpioconst_pow10): Change array size to
51101         FPIOCONST_POW10_ARRAY_SIZE.
51102         * stdlib/gen-fpioconst.c: New file.
51103         * stdlib/gen-tst-strtod-round.c: Likewise.
51104         * stdlib/tst-strtod-round-data: Likewise.
51105         * stdlib/tst-strtod-round.c: Likewise.
51106         * stdlib/Makefile (tests): Add tst-strtod-round.
51108         [BZ #14459]
51109         * stdlib/strtod_l.c: Include <stdint.h>.
51110         (NDEBUG): Do not define.
51111         (round_and_return): Change EXPONENT parameter to type intmax_t.
51112         Rearrange calculations to avoid internal overflow possibilities.
51113         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
51114         Rearrange calculations to avoid internal overflow possibilities.
51115         Assert that number fits inside MPNSIZE limbs.
51116         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
51117         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
51118         calculations and add assertions to avoid internal overflow
51119         possibilities.  Add casts to avoid signed/unsigned operations.
51120         * stdlib/tst-strtod-overflow.c: New file.
51121         * stdlib/Makefile (tests): Add tst-strtod-overflow.
51123 2012-08-25  Marek Polacek  <polacek@redhat.com>
51125         * time/time.h: Fix some typos in comments.
51127 2012-08-23  Roland McGrath  <roland@hack.frob.com>
51129         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
51130         * posix/tst-rfc3484-2.c: Likewise.
51131         * posix/tst-rfc3484-3.c: Likewise.
51133 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
51135         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
51136         (EF_ARM_ABI_FLOAT_HARD): Likewise.
51138 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
51140         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
51141         #include of fxstatat64.c.
51143 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51145         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
51146         * shadow/getspent_r.c: Likewise.
51147         * shadow/getspnam.c: Likewise.
51148         * shadow/getspnam_r.c: Likewise.
51149         * gshadow/getsgent.c: Likewise.
51150         * gshadow/getsgent_r.c: Likewise.
51151         * gshadow/getsgnam.c: Likewise.
51152         * gshadow/getsgnam_r.c: Likewise.
51153         * inet/getnetbyad.c: Likewise.
51154         * inet/getnetbyad_r.c: Likewise.
51155         * inet/getnetbynm.c: Likewise.
51156         * inet/getnetbynm_r.c: Likewise.
51157         * inet/getnetent.c: Likewise.
51158         * inet/getnetent_r.c: Likewise.
51159         * inet/getproto.c: Likewise.
51160         * inet/getproto_r.c: Likewise.
51161         * inet/getprtent.c: Likewise.
51162         * inet/getprtent_r.c: Likewise.
51163         * inet/getprtname.c: Likewise.
51164         * inet/getprtname_r.c: Likewise.
51165         * inet/getrpcbyname.c: Likewise.
51166         * inet/getrpcbyname_r.c: Likewise.
51167         * inet/getrpcbynumber.c: Likewise.
51168         * inet/getrpcbynumber_r.c: Likewise.
51169         * inet/getrpcent.c: Likewise.
51170         * inet/getrpcent_r.c: Likewise.
51171         * inet/getaliasent.c: Likewise.
51172         * inet/getaliasent_r.c: Likewise.
51173         * inet/getaliasname.c: Likewise.
51174         * inet/getaliasname_r.c: Likewise.
51175         * nscd/getgrgid_r.c: Likewise.
51176         * nscd/getgrnam_r.c: Likewise.
51177         * nscd/gethstbyad_r.c: Likewise.
51178         * nscd/gethstbynm3_r.c: Likewise.
51179         * nscd/getpwnam_r.c: Likewise.
51180         * nscd/getpwuid_r.c: Likewise.
51181         * nscd/getsrvbynm_r.c: Likewise.
51182         * nscd/getsrvbypt_r.c: Likewise.
51183         * nscd/gai.c: Likewise.
51185         * configure.in (build_nscd): New substituted variable, set
51186         by --disable-build-nscd and defaults to $use_nscd.
51187         * configure: Regenerated.
51188         * config.make.in (build-nscd): New substituted variable.
51189         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
51190         Change conditional to require [$(build-nscd) = yes] as well.
51191         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
51193         [BZ# 13696]
51194         * configure.in (use_nscd): New substituted variable, set by
51195         --disable-nscd.  If enabled, define USE_NSCD.
51196         * configure: Regenerated.
51197         * config.h.in: Add USE_NSCD.
51198         * config.make.in (use-nscd): New substituted variable.
51199         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
51200         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
51201         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
51202         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
51203         (CFLAGS-getgrnam_r.c): Likewise.
51204         (CFLAGS-initgroups.c): Likewise.
51205         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
51206         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
51207         Variables removed.
51208         * inet/getnetgrent_r.c
51209         (nscd_setnetgrent): New function, broken out of ...
51210         (setnetgrent): ... here.  Call it.
51211         (innetgr): Conditionalize nscd bits on [USE_NSCD].
51212         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
51213         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
51214         * nscd/Makefile (routines, aux): Move definitions after include of
51215         Makeconfig.  Conditionalize on [$(use-nscd) != no].
51216         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
51217         Conditionalize on [USE_NSCD].
51218         (is_nscd, nscd_init_cb): Likewise.
51219         (nss_load_library): Conditionalize init callback on [USE_NSCD].
51220         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
51221         * nss/nss_db/db-init.c: Likewise.
51222         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
51223         [USE_NSCD].
51224         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
51225         (make_request): Use it.
51226         (cache_valid_p): New function.
51227         (__check_pf): Use it.
51228         * NEWS: Add item for --disable-nscd.
51230 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
51232         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51233         to support sed >= 4.2.1-20-ga9bf076.
51234         * configure: Regenerated.
51236 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51238         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
51239         Conditionalize whole body on [IREL].
51241 2012-08-22  Jeff Law <law@redhat.com>
51243         [BZ #14505]
51244         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
51245         if the family is PF_UNSPEC.
51247 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
51249         * Makerules (lib-version): Rename from V.
51250         (install-lib-nosubdir): Change V to lib-version.
51252 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
51254         [BZ #14252]
51255         * powerpc32/power6/wcschr.c: New file.
51256         * powerpc32/power6/wcscpy.c: New file.
51257         * powerpc32/power6/wcsrchr.c: New file.
51258         * powerpc64/power6/wcschr.c: New file.
51259         * powerpc64/power6/wcscpy.c: New file.
51260         * powerpc64/power6/wcsrchr.c: New file.
51262 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51264         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
51265         (two_way_short_needle): Use it.
51266         * string/strstr.c (AVAILABLE1_USES_J): Define.
51267         * string/strcasestr.c: Likewise.
51269         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
51270         array references.
51271         * string/strcasestr.c (TOLOWER): Make side-effect safe.
51273         [BZ #11607]
51274         * NEWS: Add an entry.
51275         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
51276         define their defaults.
51277         (two_way_short_needle): Detect end-of-string on-the-fly.
51278         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
51279         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
51280         * string/bug-strcasestr1.c: New test.
51281         * string/Makefile: Run it.
51283 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51285         [BZ #11607]
51286         * string/str-two-way.h (two_way_short_needle): Optimize matching of
51287         the first character.
51289 2012-08-21  Roland McGrath  <roland@hack.frob.com>
51291         * csu/elf-init.c (__libc_csu_irel): Function removed.
51292         * csu/libc-start.c (apply_irel): New function.
51293         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
51295 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
51297         * sysdeps/unix/sysv/linux/kernel-features.h
51298         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
51299         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51300         <kernel-features.h>.
51301         [__NR_fadvise64_64]: Make code unconditional.
51302         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
51303         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51304         !__NR_fadvise64_64)]: Likewise.
51305         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51306         !__NR_fadvise64_64))]: Likewise.
51307         [__NR_fadvise64]: Make code unconditional.
51308         [!__NR_fadvise64]: Remove conditional code.
51309         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
51310         <kernel-features.h>.
51311         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51312         unconditional.
51313         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51314         conditional code.
51315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
51316         not include <kernel-features.h>.
51317         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51318         unconditional.
51319         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51320         conditional code.
51321         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
51322         include <kernel-features.h>.
51323         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51324         unconditional.
51325         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51326         conditional code.
51328 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51330         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
51331         slight instruction rearrangements per scrollpipe analysis.
51332         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51334 2012-08-20  Roland McGrath  <roland@hack.frob.com>
51336         * manual/syslog.texi (syslog; vsyslog, closelog):
51337         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
51338         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
51340         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
51341         DSOCAPS to match condition on defining it.
51343 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
51345         * sysdeps/unix/sysv/linux/kernel-features.h
51346         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
51347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
51348         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51349         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
51351         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51352         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
51354         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51355         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51357         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
51358         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
51360         * sysdeps/unix/sysv/linux/kernel-features.h
51361         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
51362         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
51363         unconditional.
51364         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51365         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
51366         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51367         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51368         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
51369         Make code unconditional.
51370         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51371         (__mmap64) [!__NR_mmap2]: Likewise.
51372         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
51373         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51374         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51375         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
51376         [__NR_mmap2]: Make code unconditional.
51377         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51378         (__mmap64) [!__NR_mmap2]: Likewise.
51380 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51382         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
51384 2012-08-18  Andreas Jaeger  <aj@suse.de>
51386         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
51388 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51390         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
51391         * include/unistd.h (__have_sock_cloexec): Likewise.
51392         (__have_pipe2): Likewise.
51393         (__have_dup3): Likewise.
51395 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51397         [BZ #9685]
51398         * include/unistd.h (__have_pipe2): Change define into an extern int.
51399         (__have_dup3): Likewise.
51400         * socket/have_sock_cloexec.c: Include fcntl.h.
51401         (__have_pipe2): New variable.
51402         (__have_dup3): Likewise.
51404 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
51406         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
51408 2012-08-17  Marek Polacek  <polacek@redhat.com>
51410         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
51411         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
51413 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51415         * configure.in: Add AC_SUBST for sysheaders.
51416         * configure: Regenerated.
51417         * config.make.in (sysheaders): New substituted variable.
51419         * sysdeps/unix/mkfifo.c: Moved ...
51420         * sysdeps/posix/mkfifo.c: ... here.
51421         * sysdeps/unix/mkfifoat.c: Moved ...
51422         * sysdeps/posix/mkfifoat.c: ... here.
51424         * sysdeps/unix/utime.c: Moved ...
51425         * sysdeps/posix/utime.c: ... here.
51427         * sysdeps/unix/time.c: Moved ...
51428         * sysdeps/posix/time.c: ... here.
51429         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
51430         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
51432         * sysdeps/unix/nice.c: Moved ...
51433         * sysdeps/posix/nice.c: ... here.
51435         * sysdeps/unix/alarm.c: Moved ...
51436         * sysdeps/posix/alarm.c: ... here.
51438         * intl/Makefile ($(codeset_mo)): Depend on the input file.
51440 2012-08-17  Jeff Law <law@redhat.com>
51442         * intl/Makefile (codeset_mo): New variable.
51443         ($(codeset_mo)): New target.
51444         (tst-codeset.out): Depend on that.  Remove explicit rule.
51445         (tst-gettext3.out, tst-gettext5.out): Likewise.
51446         (LOCPATH-ENV, tst-codeset-ENV): New variables.
51447         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
51448         * intl/tst-codeset.sh: Remove.
51449         * intl/tst-gettext3.sh: Likewise.
51450         * intl/tst-gettext5.sh: Likewise.
51452 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51454         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
51455         * sysdeps/unix/syscalls.list: ... here.
51457         * sysdeps/posix/getaddrinfo.c
51458         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
51459         (gaiconf_init, gaiconf_reload): Use them.
51460         [!_STATBUF_ST_NSEC]
51461         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
51462         Define using time_t rather than struct timespec.
51464         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
51465         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
51466         Macros removed.
51467         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
51468         [!NO_THREADS].
51469         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
51470         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
51471         Likewise.
51473         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
51474         __libc_cleanup_push argument.
51476         * bits/param.h: New file.
51477         * misc/sys/param.h: New file.
51478         * include/sys/param.h: New file.
51479         * misc/Makefile (headers): Add bits/param.h.
51480         * sysdeps/generic/sys/param.h: File removed.
51481         * sysdeps/unix/sysv/linux/bits/param.h: New file.
51482         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
51483         * sysdeps/mach/hurd/bits/param.h: New file.
51484         * sysdeps/mach/hurd/sys/param.h: File removed.
51486         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
51487         last change.
51489         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
51490         [_IO_MTSAFE_IO].
51491         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
51492         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
51493         New macros.
51495         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
51496         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
51497         rather than -D_IO_MTSAFE_IO conditionally.
51498         * stdio-common/Makefile (CPPFLAGS): Likewise.
51499         * wcsmbs/Makefile (CPPFLAGS): Likewise.
51500         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
51501         Use $(libio-mtsafe).
51502         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
51503         of -D_IO_MTSAFE_IO.
51504         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
51505         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
51506         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
51507         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
51508         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
51509         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
51510         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
51511         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
51512         (CFLAGS-fread_u_chk.c): Likewise.
51513         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
51514         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
51515         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
51516         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
51517         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
51518         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
51519         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
51520         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
51521         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
51523         * libio/Makefile: Test [$(libc-reentrant) = yes]
51524         instead of [$(filter %REENTRANT, $(defines)) nonempty].
51526         * Makeconfig
51527         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
51528         * sysdeps/pthread/configure: File removed.
51529         * sysdeps/pthread/Makeconfig: New file.
51530         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
51531         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
51533 2012-08-16  Gary Benson  <gbenson@redhat.com>
51535         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
51536         unmapping the first object in a namespace.
51538 2012-08-16  Roland McGrath  <roland@hack.frob.com>
51540         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
51541         (__internal_setnetgrent): ... this.  Add internal_function to
51542         definition.  Add libc_hidden_def.
51543         (setnetgrent): Update caller.
51544         (internal_endnetgrent): Renamed to ...
51545         (__internal_endnetgrent): ... this.  Add internal_function to
51546         definition.  Add libc_hidden_def.
51547         (endnetgrent): Update caller.
51548         (internal_getnetgrent_r): Renamed to ...
51549         (__internal_getnetgrent_r): ... this.  Add internal_function to
51550         definition.  Add libc_hidden_def.
51551         (__getnetgrent_r): Update caller.
51552         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
51554 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
51556         * stdlib/longlong.h: Update from GCC.
51558 2012-08-16  Roland McGrath  <roland@hack.frob.com>
51560         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
51561         on _QL, which is set by umul_ppmm but never used.
51562         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
51563         variables, which are set by GMP macros but never used.
51564         * stdio-common/_itowa.c (_itowa): Likewise.
51565         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
51566         * stdlib/mod_1.c (mpn_mod_1): Likewise.
51568 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
51570         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
51571         struct La_sh_regs is not constant.
51572         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
51573         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
51574         and struct La_sparc64_regs are not constant.
51576 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
51578         * sysdeps/unix/sysv/linux/kernel-features.h
51579         (__ASSUME_POSIX_TIMERS): Remove.
51580         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51581         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51582         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
51583         Make code unconditional.
51584         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51585         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
51586         Make code unconditional.
51587         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51588         * sysdeps/unix/sysv/linux/clock_nanosleep.c
51589         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
51590         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51591         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
51592         Make code unconditional.
51593         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51594         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
51595         (__libc_missing_posix_timers): Remove.
51597 2012-08-15  Roland McGrath  <roland@hack.frob.com>
51599         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
51600         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
51602         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
51604         * elf/dl-sym.c: Include <stdlib.h>.
51606         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
51607         constants, which avoids warnings in 32-bit builds.
51609         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
51610         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
51612         * misc/lseek.c: File moved to ...
51613         * io/lseek.c: ... here.
51615         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
51617         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
51618         shifting LEN more than 31 bits at once.
51620 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51622         [BZ #14195]
51623         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
51624         segmentation fault for a case of two empty input strings.
51625         * string/test-strncasecmp.c (check1): Renamed to...
51626         (bz12205): ...this.
51627         (bz14195): Add new testcase for two empty input strings and N > 0.
51628         (test_main): Call new testcase, adapt for renamed function.
51630 2012-08-15  Andreas Jaeger  <aj@suse.de>
51632         [BZ #14090]
51633         * crypt/md5test2.c: New test, based on test supplied by Serge
51634         Belyshev <belyshev@depni.sinp.msu.ru>.
51635         * crypt/Makefile (xtests): Add md5test-giant..
51636         * crypt/Makefile ($(objpfx)md5test-giant): Add.
51638 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
51640         [BZ #14090]
51641         * crypt/md5.c (md5_process_block): Don't assume the buffer
51642         length is less than 2**32.
51643         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
51644         length is less than 2**64.
51646 2012-08-15  Roland McGrath  <roland@hack.frob.com>
51648         * string/str-two-way.h: Include <sys/param.h>.
51649         (MAX): Macro removed.
51651         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
51652         Move #define and #undef of memmove to just before and after
51653         including <string.h>.
51655         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
51656         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
51657         and after including <string.h>.  Move declarations of
51658         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
51659         to before #include "string/memmove.c".
51661         * include/dirent.h: Declare __getdirentries.
51663         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
51664         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
51666 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
51668         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
51669         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
51670         * sysdeps/i386/configure: Regenerated.
51671         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
51672         STABS_CURRENT_FILE, and STABS_FUN.
51673         (END): Remove call to STABS_FUN_END.
51674         (STABS_CURRENT_FILE1): Delete.
51675         (STABS_CURRENT_FILE): Likewise.
51676         (STABS_FUN): Likewise.
51677         (STABS_FUN_END): Likewise.
51678         (STABS_FUN2): Likewise.
51679         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
51680         * sysdeps/x86_64/configure: Regenerated.
51682 2012-08-14  Roland McGrath  <roland@hack.frob.com>
51684         * elf/dl-open.c: Include <atomic.h>.
51685         * elf/dl-lookup.c: Likewise.
51687 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
51689         * sysdeps/unix/sysv/linux/kernel-features.h
51690         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
51691         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
51692         unconditionally.
51693         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
51694         unconditionally.
51695         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
51696         condition on __ASSUME_CLONE_THREAD_FLAGS.
51698 2012-08-14  Andreas Jaeger  <aj@suse.de>
51700         * sysdeps/i386/fpu/libm-test-ulps: Update.
51702 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
51704         * include/atomic.h (atomic_exchange_and_add): Split into ...
51705         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
51706         New atomic macros.
51708 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
51710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51712 2012-08-13  Jeff Law <law@redhat.com>
51714         * manual/stdio.texi (snprintf): Clarify handling of the trailing
51715         null byte in the output string.
51717 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
51719         * sysdeps/unix/sysv/linux/kernel-features.h
51720         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
51721         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
51722         (__ASSUME_ARG_MAX_STACK_BASED): Define.
51723         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
51724         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
51725         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
51726         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
51728 2012-08-09  Jeff Law <law@redhat.com>
51730         [BZ #13939]
51731         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
51732         When avoid_arena is set, don't retry in the that arena.  Pick the
51733         next one, whatever it might be.
51734         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
51735         (arena_lock): Pass in new parameter to arena_get2.
51736         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
51737         arena_get2.
51738         (__libc_malloc): Unify retrying after main arena failure with
51739         __libc_memalign version.
51740         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
51742 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
51744         [BZ #14166]
51745         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
51746         to __redirect_strstr.
51747         (__strstr_sse42): Use typeof __redirect_strstr.
51748         (__strstr_ia32): Likewise.
51749         (__libc_strstr): New prototype.
51750         (strstr): Renamed to ...
51751         (__libc_strstr): This.
51752         (strstr): New strong alias of __libc_strstr.
51753         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51754         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
51755         __redirect_time.
51756         Include <time.h>.
51757         (__libc_time): New prototype.
51758         (time_ifunc): Replace time with __libc_time.
51759         (time): New strong alias and hidden definition of __libc_time.
51760         (__GI_time): Remove strong alias.
51761         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
51762         Include <stddef.h>.
51763         (memmove): Redefined to __redirect_memmove.
51764         (__memmove_sse2): Use typeof __redirect_memmove.
51765         (__memmove_ssse3): Likewise.
51766         (__memmove_ssse3_back): Likewise.
51767         (__libc_memmove): New prototype.
51768         (memmove): Renamed to ...
51769         (__libc_memmove): This.
51770         (memmove): New strong alias of __libc_memmove.
51772 2012-08-08  Mark Salter  <msalter@redhat.com>
51774         * elf/elf.h
51775         (R_MN10300_TLS_GD): Define.
51776         (R_MN10300_TLS_LD): Likewise.
51777         (R_MN10300_TLS_LDO): Likewise.
51778         (R_MN10300_TLS_GOTIE): Likewise.
51779         (R_MN10300_TLS_IE): Likewise.
51780         (R_MN10300_TLS_LE): Likewise.
51781         (R_MN10300_TLS_DTPMOD): Likewise.
51782         (R_MN10300_TLS_DTPOFF): Likewise.
51783         (R_MN10300_TLS_TPOFF): Likewise.
51784         (R_MN10300_SYM_DIFF): Likewise.
51785         (R_MN10300_ALIGN): Likewise.
51786         (R_MN10300_NUM): Update.
51788 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
51790         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
51791         Remove.
51793 2012-08-08  Roland McGrath  <roland@hack.frob.com>
51795         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
51797         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
51798         sysdeps/unix -> sysdeps/posix move.
51799         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51801 2012-08-07      Allan McRae     <allan@archlinux.org>
51803         [BZ #14303]
51804         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
51805         (SUNOS_CPP): Likewise.
51806         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
51807         not found.
51808         (open_input): Call CPP using execvp.
51810 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51812         * sysdeps/unix/sysv/linux/kernel-features.h
51813         (__ASSUME_PROT_GROWSUPDOWN): Remove.
51814         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51815         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51816         (__ASSUME_WAITID_SYSCALL): Likewise.
51817         * sysdeps/unix/sysv/linux/dl-execstack.c
51818         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
51819         code unconditional.
51820         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
51821         conditional code.
51822         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
51823         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
51824         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
51825         code.
51826         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
51827         unconditional.
51828         [__ASSUME_WAITID_SYSCALL]: Likewise.
51829         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
51831 2012-08-07  Roland McGrath  <roland@hack.frob.com>
51833         * sysdeps/unix/closedir.c: Renamed to ...
51834         * sysdeps/posix/closedir.c: ... here.
51835         * sysdeps/unix/dirfd.c: Renamed to ...
51836         * sysdeps/posix/dirfd.c: ... here.
51837         * sysdeps/unix/dirstream.h: Renamed to ...
51838         * sysdeps/posix/dirstream.h: ... here.
51839         * sysdeps/unix/fdopendir.c: Renamed to ...
51840         * sysdeps/posix/fdopendir.c: ... here.
51841         * sysdeps/unix/opendir.c: Renamed to ...
51842         * sysdeps/posix/opendir.c: ... here.
51843         * sysdeps/unix/readdir.c: Renamed to ...
51844         * sysdeps/posix/readdir.c: ... here.
51845         * sysdeps/unix/readdir_r.c: Renamed to ...
51846         * sysdeps/posix/readdir_r.c: ... here.
51847         * sysdeps/unix/rewinddir.c: Renamed to ...
51848         * sysdeps/posix/rewinddir.c: ... here.
51849         * sysdeps/unix/seekdir.c: Renamed to ...
51850         * sysdeps/posix/seekdir.c: ... here.
51851         * sysdeps/unix/telldir.c: Renamed to ...
51852         * sysdeps/posix/telldir.c: ... here.
51853         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
51854         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
51855         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
51856         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
51858         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
51859         * bits/fcntl.h: ... here.
51861         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
51862         not 0.
51863         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
51864         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
51865         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
51866         (struct flock): Move l_start, l_len to the beginning.
51867         Use __pid_t for l_pid.
51868         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
51869         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
51870         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
51871         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
51872         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
51873         [__USE_LARGEFILE64] (struct flock64): New type.
51874         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
51876         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
51877         * bits/dirent.h: ... here.
51879         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
51880         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
51882 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51884         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51885         Change from 2.6.0 to 2.6.16.
51886         * sysdeps/unix/sysv/linux/configure: Regenerated.
51887         * sysdeps/unix/sysv/linux/kernel-features.h
51888         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
51889         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
51890         version.
51891         (__ASSUME_UTIMES): Likewise.
51892         (__ASSUME_CLONE_STOPPED): Remove.
51893         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
51894         architectures, not kernel version.
51895         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
51896         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51897         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51898         (__ASSUME_WAITID_SYSCALL): Likewise.
51899         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
51900         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
51901         * README: State 2.6.16 as minimum Linux kernel version.  Do not
51902         refer to older versions.
51904 2012-08-06  Roland McGrath  <roland@hack.frob.com>
51906         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
51907         Define alphasort64 as an alias.
51908         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
51909         Define versionsort64 as an alias.
51910         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
51911         Define scandir64 as an alias.
51912         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
51913         Define scandirat64 as an alias.
51914         * dirent/alphasort64.c (alphasort64):
51915         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
51916         * dirent/versionsort64.c: Likewise.
51917         * dirent/scandir64.c: Likewise.
51918         * dirent/scandirat64.c: Likewise.
51919         * sysdeps/wordsize-64/alphasort.c: File removed.
51920         * sysdeps/wordsize-64/alphasort64.c: File removed.
51921         * sysdeps/wordsize-64/scandir.c: File removed.
51922         * sysdeps/wordsize-64/scandir64.c: File removed.
51923         * sysdeps/wordsize-64/scandirat.c: File removed.
51924         * sysdeps/wordsize-64/scandirat64.c: File removed.
51925         * sysdeps/wordsize-64/versionsort.c: File removed.
51926         * sysdeps/wordsize-64/versionsort64.c: File removed.
51927         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
51928         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
51929         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
51930         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
51931         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
51932         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
51933         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
51934         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
51936         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
51937         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51938         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
51939         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51940         [defined __arch64__ || defined __sparcv9]
51941         (__INO_T_MATCHES_INO64_T): New macro.
51942         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51943         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
51944         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
51945         * sysdeps/unix/sysv/linux/bits/dirent.h
51946         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
51947         (_DIRENT_MATCHES_DIRENT64): New macro.
51949         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
51950         Define lockf64 as an alias.
51951         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
51952         Define fseeko64 as an alias.
51953         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
51954         Define ftello64 as an alias.
51955         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
51956         Define _IO_fgetpos64 and fgetpos64 as aliases.
51957         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
51958         Define _IO_fsetpos64 and fsetpos64 as aliases.
51959         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
51960         Conditionalize body on this.
51961         * libio/fseeko64.c: Likewise.
51962         * libio/ftello64.c: Likewise.
51963         * libio/iofgetpos64.c: Likewise.
51964         * libio/iofsetpos64.c: Likewise.
51965         * sysdeps/wordsize-64/lockf.c: File removed.
51966         * sysdeps/wordsize-64/lockf64.c: File removed.
51967         * sysdeps/wordsize-64/fseeko.c: File removed.
51968         * sysdeps/wordsize-64/fseeko64.c: File removed.
51969         * sysdeps/wordsize-64/ftello.c: File removed.
51970         * sysdeps/wordsize-64/ftello64.c: File removed.
51971         * sysdeps/wordsize-64/iofgetpos.c: File removed.
51972         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
51973         * sysdeps/wordsize-64/iofsetpos.c: File removed.
51974         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
51975         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
51976         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
51977         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
51978         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
51979         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
51980         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
51981         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
51982         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
51983         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
51984         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
51986         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51987         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51988         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
51989         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51990         [defined __arch64__ || defined __sparcv9]
51991         (__OFF_T_MATCHES_OFF64_T): New macro.
51992         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51993         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51994         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51995         (__OFF_T_MATCHES_OFF64_T): New macro.
51997 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51999         * stdlib/secure-getenv.c (__secure_getenv): Replace
52000         GLIBC_2_16 with GLIBC_2_17.
52002 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52004         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
52005         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52007 2012-08-03  David S. Miller  <davem@davemloft.net>
52009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52011 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52013         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
52014         Remove.
52015         (__ASSUME_CORRECT_SI_PID): Likewise.
52016         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
52017         (__ASSUME_TMPFS_NAME): Likewise.
52018         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
52019         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
52020         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
52021         (HAVE_AUX_SECURE): Make definition unconditional.
52022         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
52023         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
52025 2012-08-03  Roland McGrath  <roland@hack.frob.com>
52027         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
52028         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
52029         * sysdeps/mach/hurd/eloop-threshold.h: New file.
52030         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52031         __eloop_threshold instead of SYMLOOP_MAX.
52033         * sysdeps/generic/eloop-threshold.h: New file.
52034         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
52035         of MAXSYMLINKS.
52036         * elf/chroot_canon.c (chroot_canon): Likewise.
52038 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52040         [BZ #13717]
52041         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52042         Change to 2.6.0 everywhere.
52043         * sysdeps/unix/sysv/linux/configure: Regenerated.
52044         * sysdeps/unix/sysv/linux/kernel-features.h
52045         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
52046         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
52047         kernel versions.
52048         (__ASSUME_POSIX_TIMERS): Define unconditionally.
52049         (__ASSUME_FUTEX_REQUEUE): Remove.
52050         (__ASSUME_STATFS64): Define unconditionally.
52051         (__ASSUME_AT_SECURE): Likewise.
52052         (__ASSUME_CORRECT_SI_PID): Likewise.
52053         (__ASSUME_TGKILL): Define without depending on kernel version for
52054         i386.
52055         (__ASSUME_UTIMES): Likewise.
52056         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
52057         kernel version.
52058         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
52059         (__ASSUME_TMPFS_NAME): Likewise.
52060         * README: Update reference to Linux kernel versions.
52062 2012-08-02  Marek Polacek  <polacek@redhat.com>
52064         [BZ# 14150]
52065         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
52066         libc_cv_asm_type_prefix with %.
52067         * configure: Regenerated.
52068         * include/libc-symbols.h: Remove comment about
52069         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52070         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
52071         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
52072         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
52073         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
52074         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52075         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
52076         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
52077         * elf/tst-unique2mod1.c: Likewise.
52078         * elf/tst-unique1mod2.c: Likewise.
52079         * elf/tst-unique1mod1.c: Likewise.
52080         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
52081         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
52082         Replace ASM_TYPE_DIRECTIVE with .type.
52083         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52084         * sysdeps/i386/sysdep.h: Likewise.
52085         * sysdeps/x86_64/sysdep.h: Likewise.
52086         * sysdeps/sh/sysdep.h: Likewise.
52087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52088         Do not define ASM_TYPE_DIRECTIVE.
52089         * sysdeps/powerpc/sysdep.h: Likewise.
52090         * sysdeps/powerpc/powerpc32/sysdep.h:
52091         Replace ASM_TYPE_DIRECTIVE with .type.
52092         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52093         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52094         * sysdeps/i386/fpu/e_powf.S: Likewise.
52095         * sysdeps/i386/fpu/e_expl.S: Likewise.
52096         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52097         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52098         * sysdeps/i386/fpu/e_pow.S: Likewise.
52099         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52100         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52101         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52102         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52103         * sysdeps/i386/fpu/e_log2.S: Likewise.
52104         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52105         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52106         * sysdeps/i386/fpu/e_powl.S: Likewise.
52107         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52108         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52109         * sysdeps/i386/fpu/e_logl.S: Likewise.
52110         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52111         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52112         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52113         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52114         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52115         * sysdeps/i386/fpu/e_log.S: Likewise.
52116         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52117         * sysdeps/i386/fpu/e_logf.S: Likewise.
52118         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52119         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52120         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52121         * sysdeps/i386/fpu/e_log10.S: Likewise.
52122         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52123         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52124         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52125         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52126         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52127         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
52128         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52129         * sysdeps/i386/i686/strtok.S: Likewise.
52130         * sysdeps/i386/i386-mcount.S: Likewise.
52131         * sysdeps/i386/strtok.S: Likewise.
52132         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
52133         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52134         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52135         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52136         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52137         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52138         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52139         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52140         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52141         * sysdeps/x86_64/_mcount.S: Likewise.
52142         * sysdeps/x86_64/strtok.S: Likewise.
52143         * sysdeps/sh/_mcount.S: Likewise.
52145 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52147         * libio/iofopen.c: Include <fcntl.h>.
52148         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
52149         (_IO_fopen64, fopen64): Define as aliases.
52150         * libio/iofopen64.c: Include <fcntl.h>.
52151         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
52152         Conditionalize body on this.
52153         * sysdeps/wordsize-64/iofopen.c: File removed.
52154         * sysdeps/wordsize-64/iofopen64.c: File removed.
52156 2012-08-01  Marek Polacek  <polacek@redhat.com>
52158         * libc/Makeconfig: Use elf in place of binfmt-subdir.
52159         Use dlfcn directly instead of a variable.
52160         (binfmt-subdir): Do not define.
52161         (dlfcn): Likewise.
52163 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
52165         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
52166         Remove all definitions.
52167         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
52168         <kernel-features.h>.
52169         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52170         (miss_F_GETOWN_EX): Remove all definitions.
52171         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
52172         macro definition.
52173         [!__ASSUME_FCNTL64]: Remove conditional code.
52174         [__ASSUME_FCNTL64]: Make code unconditional.
52175         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
52176         <kernel-features.h>.
52177         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52178         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
52179         (lockf64) [__NR_fcntl64]: Make code unconditional.
52180         (lockf64) [__ASSUME_FCNTL64]: Likewise.
52182         * sysdeps/unix/sysv/linux/kernel-features.h
52183         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
52184         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
52185         Make code unconditional.
52186         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52187         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
52189         [__NR_vfork]: Make code unconditional.
52190         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52191         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
52193         [__NR_vfork]: Make code unconditional.
52194         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52195         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52197 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52199         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
52200         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
52202         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52203         Define mkstemp64 as an alias.
52204         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52205         Define mkstemps64 as an alias.
52206         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52207         Define mkostemp64 as an alias.
52208         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52209         Define mkostemps64 as an alias.
52210         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
52211         Conditionalize body on this.
52212         * misc/mkostemp64.c: Likewise.
52213         * misc/mkostemps64.c: Likewise.
52214         * misc/mkstemps64.c: Likewise.
52215         * sysdeps/wordsize-64/mkstemp64.c: File removed.
52216         * sysdeps/wordsize-64/mkostemp64.c: File removed.
52217         * sysdeps/wordsize-64/mkostemp.c: File removed.
52218         * sysdeps/wordsize-64/mkstemp.c: File removed.
52219         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
52220         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
52221         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
52222         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
52224         [BZ #14138]
52225         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
52226         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
52227         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
52228         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
52230         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
52231         compat_symbol macros from <shlib-compat.h> rather than the underlying
52232         default_symbol_version and symbol_version macros, so that DEFAULT
52233         lines in shlib-versions are respected.
52234         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
52236 2012-08-01  Florian Weimer  <fweimer@redhat.com>
52238         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
52239         Declare with warn_unused_result.
52240         (setgid, setregid, setegid, setresgid): Likewise.
52241         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
52242         Likewise.
52243         * WUR-REPORT: Remove set*id functions.
52245 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
52247         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
52249 2012-07-31  Roland McGrath  <roland@hack.frob.com>
52251         [BZ #10191]
52252         * include/sys/socket.h (__libc_accept, __libc_accept4):
52253         Add attribute_hidden.
52254         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52256         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
52257         use of PTR_MANGLE.
52258         * inet/getnetgrent_r.c (setup): Likewise.
52260         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
52262 2012-07-31  David S. Miller  <davem@davemloft.net>
52264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52266 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
52268         [BZ #13629]
52269         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
52270         value between 1.0 and 2.0 and smaller part has absolute value less
52271         than 1.0.
52272         * math/s_clog10.c (__clog10): Likewise.
52273         * math/s_clog10f.c (__clog10f): Likewise.
52274         * math/s_clog10l.c (__clog10l): Likewise.
52275         * math/s_clogf.c (__clogf): Likewise.
52276         * math/s_clogl.c (__clogl): Likewise.
52277         * math/libm-test.inc (clog_test): Add more tests.
52278         (clog10_test): Likewise.
52279         * sysdeps/i386/fpu/libm-test-ulps: Update.
52280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52282 2012-07-31  Florian Weimer  <fweimer@redhat.com>
52284         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
52285         Exit with zero in case no suitable GID is found, and write a
52286         message to standard error.
52288 2012-07-30  Roland McGrath  <roland@hack.frob.com>
52290         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
52291         rather than to 1.
52292         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
52293         (MAXPATHLEN): Removed.
52294         (NOGROUP, NODEV): New macros.
52295         (setbit, clrbit, isset, isclr): New macros.
52296         (howmany, roundup, powerof2): New macros.
52297         (DEV_BSIZE): New macro.
52299         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
52300         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
52302         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
52303         definition on [!__NO_LONG_DOUBLE_MATH].
52305         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
52306         PTR_MANGLE and PTR_DEMANGLE.
52308         * socket/accept4.c (accept4): Rename to __libc_accept4.
52309         Define accept4 as a weak alias.
52311         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
52312         on [_DIRENT_HAVE_D_TYPE].
52313         * io/ftw.c (ftw_dir): Likewise.
52315         * io/xmknod.c (__xmknod): Don't check PATH for being null.
52317         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
52319         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
52320         Use the BSD numbers rather than the arbitrary ones we had.
52321         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
52322         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
52323         (SIGXCPU, SIGXFSZ): New macros.
52324         (_NSIG): Now 32.
52326         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
52327         initializer on [_LIBC_REENTRANT].
52329         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
52330         definitions inside [_POSIX_MAPPED_FILES].
52332         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
52334         * dirent/opendir.c: Include <fcntl.h>.
52336         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
52337         (__libc_getspecific): Likewise.
52338         (__libc_key_create): Likewise.
52340         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
52341         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
52342         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
52343         (tmpfile64): Define as alias.
52344         * sysdeps/wordsize-64/tmpfile.c: File removed.
52345         * sysdeps/wordsize-64/tmpfile64.c: File removed.
52346         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
52347         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
52349         * stdio-common/vfscanf.c: Include <stdbool.h>.
52350         * nss/makedb.c: Likewise.
52351         * stdio-common/_i18n_number.h: Likewise.
52352         * argp/argp-help.c: Likewise.
52353         * posix/wordexp.c: Likewise.
52354         * sysdeps/posix/spawni.c: Likewise.
52355         * nss/nss_files/files-initgroups.c: Likewise.
52356         * stdio-common/reg-modifier.c: Include <stdlib.h>.
52357         * nss/nss_files/files-initgroups.c: Likewise.
52358         * nss/nss_db/db-netgrp.c: Likewise.
52359         * nss/nss_db/db-initgroups.c: Likewise.
52360         * io/fchmodat.c: Include <sys/stat.h>.
52362         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
52363         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
52365         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
52366         [HAVE_MMAP].
52368         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
52369         Add multiple inclusion protection.
52371 2012-07-27  David S. Miller  <davem@davemloft.net>
52373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52375 2012-07-27  Gary Benson  <gbenson@redhat.com>
52377         [BZ #14298]
52378         * elf/rtld.c: Include <stap-probe.h>.
52379         (dl_main): Added static probes "init_start" and "init_complete".
52380         * elf/dl-load.c: Include <stap-probe.h>.
52381         (lose): Take new parameter "nsid".
52382         Added static probe "map_failed".
52383         (_dl_map_object_from_fd): Pass namespace id to lose.
52384         Added static probe "map_start".
52385         (open_verify): Pass namespace id to lose.
52386         * elf/dl-open.c: Include <stap-probe.h>.
52387         (dl_open_worker) Added static probes "map_complete", "reloc_start"
52388         and "reloc_complete".
52389         * elf/dl-close.c: Include <stap-probe.h>.
52390         (_dl_close_worker): Added static probes "unmap_start" and
52391         "unmap_complete".
52392         * elf/rtld-debugger-interface.txt: New file documenting the above.
52394 2012-07-26  Roland McGrath  <roland@hack.frob.com>
52396         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
52397         rather than a string variable.
52398         * sunrpc/rpc_main.c (h_output): Likewise.
52399         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
52401 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
52403         * inet/check_native.c: New file.
52405 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
52407         [BZ #13629]
52408         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
52409         if larger part has absolute value 1.0.
52410         * math/s_clog10.c (__clog10): Likewise.
52411         * math/s_clog10f.c (__clog10f): Likewise.
52412         * math/s_clog10l.c (__clog10l): Likewise.
52413         * math/s_clogf.c (__clogf): Likewise.
52414         * math/s_clogl.c (__clogl): Likewise.
52415         * math/libm-test.inc (clog_test): Add more tests.
52416         (clog10_test): Likewise.
52417         * sysdeps/i386/fpu/libm-test-ulps: Update.
52418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52420         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
52421         (pltexit): Likewise.
52422         (La_regs): Likewise.
52423         (La_retval): Likewise.
52424         (int_retval): Likewise.
52425         Update #error for removed macros to refer only to definitions in
52426         tst-audit.h.
52427         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
52428         macro.
52429         (pltexit): Likewise.
52430         (La_regs): Likewise.
52431         (La_retval): Likewise.
52432         (int_retval): Likewise.
52433         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
52434         macro.
52435         (pltexit): Likewise.
52436         (La_regs): Likewise.
52437         (La_retval): Likewise.
52438         (int_retval): Likewise.
52439         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
52440         macro.
52441         (pltexit): Likewise.
52442         (La_regs): Likewise.
52443         (La_retval): Likewise.
52444         (int_retval): Likewise.
52445         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
52446         macro.
52447         (pltexit): Likewise.
52448         (La_regs): Likewise.
52449         (La_retval): Likewise.
52450         (int_retval): Likewise.
52451         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
52452         macro.
52453         (pltexit): Likewise.
52454         (La_regs): Likewise.
52455         (La_retval): Likewise.
52456         (int_retval): Likewise.
52457         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
52458         macro.
52459         (pltexit): Likewise.
52460         (La_regs): Likewise.
52461         (La_retval): Likewise.
52462         (int_retval): Likewise.
52463         * sysdeps/generic/tst-audit.h: Update comment to refer only to
52464         macro definitions in tst-audit.h.
52465         * sysdeps/i386/tst-audit.h: New file.
52466         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
52467         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
52468         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
52469         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
52470         * sysdeps/sh/tst-audit.h: Likewise.
52471         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
52472         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
52473         * sysdeps/x86_64/tst-audit.h: Likewise.
52475 2012-07-26  Andreas Jaeger  <aj@suse.de>
52477         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
52478         ptrace.
52480         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
52481         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
52482         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
52483         PTRACE_O_MASK.
52484         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
52485         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
52486         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
52488         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
52489         value.
52491         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
52492         _sigsys.
52493         (si_call_addr, si_syscall, si_arch): Define new macro.
52494         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
52495         _sigsys.
52496         (si_call_addr, si_syscall, si_arch): Define new marcro.
52497         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
52498         _sigsys.
52499         (si_call_addr, si_syscall, si_arch): Define new macro.
52500         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
52501         _sigsys.
52502         (si_call_addr, si_syscall, si_arch): Define new macro.
52504 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
52506         [BZ #13717]
52507         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52508         Change to 2.4.21 where previously 2.4.1.
52509         * sysdeps/unix/sysv/linux/configure: Regenerated.
52510         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
52511         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
52512         Linux kernel version.
52513         (__ASSUME_STD_AUXV): Remove.
52514         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
52515         kernel version.
52516         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
52517         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
52518         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
52519         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
52520         (__ASSUME_NETLINK_SUPPORT): Likewise.
52521         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
52522         (__no_netlink_support): Remove conditional definition.
52523         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
52524         Remove.
52525         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
52526         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
52527         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
52528         (if_nameindex_ioctl): Remove.
52529         (if_nameindex_netlink): Do not handle __no_netlink_support.
52530         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
52531         code.
52532         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
52533         Remove conditional code.
52534         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
52535         code.
52536         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
52537         unconditional.
52538         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
52539         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
52540         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
52541         Remove.
52542         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
52543         [!__ASSUME_STD_AUXV]: Remove conditional code.
52544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
52545         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
52546         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
52547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
52548         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
52549         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
52550         code.
52551         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
52552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52553         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
52554         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
52555         conditional code.
52556         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
52557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52558         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
52559         code.
52560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52561         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
52562         conditional code.
52563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
52564         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52565         code unconditional.
52566         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52567         conditional code.
52568         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52569         unconditional.
52570         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52571         conditional code.
52572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52573         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52574         unconditional.
52575         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52576         conditional code.
52577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
52578         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52579         code unconditional.
52580         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52581         conditional code.
52582         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52583         unconditional.
52584         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52585         conditional code.
52586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
52587         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52588         code unconditional.
52589         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52590         conditional code.
52591         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52592         unconditional.
52593         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52594         conditional code.
52596 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
52598         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
52599         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
52600         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52601         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
52602         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
52603         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
52604         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
52605         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
52606         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
52607         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
52608         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
52609         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
52610         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
52611         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
52612         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
52613         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
52614         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
52615         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
52616         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
52617         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
52618         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
52619         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
52620         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52622 2012-07-25  Florian Weimer  <fweimer@redhat.com>
52624         * Versions.def: Add GLIBC_2.17.
52625         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
52626         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
52627         Introduce __libc_secure_getenv.
52628         * stdlib/Versions (2.17): Add secure_getenv
52629         (GLIBC_PRIVATE): Add __libc_secure_getenv.
52630         * stdlib/secure-getenv.c: Rename __secure_getenv to
52631         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
52632         symbol __secure_getenv for GLIBC_2.0.
52633         * stdlib/tst-secure-getenv.c: New.
52634         * stdlib/Makefile (tests): Add testcase.
52635         * manual/startup.texi (Environment Access): Document
52636         secure_getenv.
52637         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
52638         __libc_secure_getenv.
52639         * inet/ruserpass.c (ruserpass): Likewise.
52640         * malloc/mtrace.c (mtrace): Likewise.
52641         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
52642         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
52643         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
52644         * sysdeps/posix/tempname.c: Likewise.  Evaluate
52645         HAVE_SECURE_GETENV.
52646         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
52647         __secure_getenv to __libc_secure_getenv.
52648         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
52649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52650         Likewise.
52651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52652         Likewise.
52653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52655         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52661 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
52663         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
52664         (struct La_i86_retval): Likewise.
52665         (struct La_x86_64_regs): Likewise.
52666         (struct La_x86_64_retval): Likewise.
52667         (struct La_x32_regs): Likewise.
52668         (struct La_x32_retval): Likewise.
52669         (struct La_ppc32_regs): Likewise.
52670         (struct La_ppc32_retval): Likewise.
52671         (struct La_ppc64_regs): Likewise.
52672         (struct La_ppc64_retval): Likewise.
52673         (struct La_sh_regs): Likewise.
52674         (struct La_sh_retval): Likewise.
52675         (struct La_s390_32_regs): Likewise.
52676         (struct La_s390_32_retval): Likewise.
52677         (struct La_s390_64_regs): Likewise.
52678         (struct La_s390_64_retval): Likewise.
52679         (struct La_sparc32_regs): Likewise.
52680         (struct La_sparc32_retval): Likewise.
52681         (struct La_sparc64_regs): Likewise.
52682         (struct La_sparc64_retval): Likewise.
52683         (struct audit_ifaces): Remove architecture-specific pltenter and
52684         pltexit members.
52685         * sysdeps/i386/ldsodefs.h: New file.
52686         * sysdeps/powerpc/ldsodefs.h: Likewise.
52687         * sysdeps/s390/ldsodefs.h: Likewise.
52688         * sysdeps/sh/ldsodefs.h: Likewise.
52689         * sysdeps/sparc/ldsodefs.h: Likewise.
52690         * sysdeps/x86_64/ldsodefs.h: Likewise.
52692 2012-07-25  Marek Polacek  <polacek@redhat.com>
52694         [BZ #6808]
52695         * math/libm-test.inc (yn_test): Add another test.
52696         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
52697         to ERANGE when the result is +-Inf.
52698         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
52699         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
52700         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
52701         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
52703 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
52705         * conform/data/time.h-data (NULL): Use macro-constant.  Require
52706         equal to 0.
52707         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
52708         clock_t.
52709         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
52711 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
52713         * configure.in <sysdeps resolving>: Correct printing
52714         Implies_before.
52715         * configure: Regenerate.
52717 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
52719         * math/w_ilogb.c: Include <limits.h>.
52720         * math/w_ilogbl.c: Likewise.
52722 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
52724         * manual/lang.texi (__va_copy): Document primarily as ISO C99
52725         va_copy.  Document allowing for unavailable va_copy only as
52726         pre-C99 compatibility.
52727         * manual/string.texi (Copying and Concatenation): Use va_copy
52728         instead of __va_copy in concat example.
52730 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
52732         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
52733         (__sendto): Use create_address_port.  Initialize APORT and deallocate
52734         it if not null.
52736         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
52737         with O_NOLINK passed to __file_name_lookup.
52739         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
52740         with O_NOLINK passed to __file_name_lookup.
52742         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
52743         negative N or less than NGIDS.
52745         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
52746         type to string_t.  Set ERANGE as errno and return it if NAME is not big
52747         enough.  Use memcpy instead of strncpy.
52749 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
52751         * elf/Makefile (check-data): Remove.
52752         (localplt.data): New vpath directive.
52753         ($(objpfx)check-localplt.out): Use localplt.data from vpath
52754         instead of $(check-data).
52755         * scripts/data/localplt-generic.data: Move to ...
52756         * sysdeps/generic/localplt.data: ... here.
52757         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
52758         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
52759         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
52760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
52761         ... here.
52762         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
52763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
52764         ... here.
52765         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
52766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
52767         ... here.
52768         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
52769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
52770         ... here.
52771         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
52772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
52773         ... here.
52774         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
52775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
52776         ... here.
52778 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52780         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
52781         PPC32 and PPC64 files.
52782         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
52783         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
52785 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52787         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
52788         __makecontext_ret to ...
52789         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
52790         ... here and call exit if uc_link is NULL.  New file.
52791         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
52792         __makecontext_ret.S.
52793         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
52794         __makecontext_ret to ...
52795         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
52796         ... here and call exit if uc_link is NULL.  New file.
52797         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
52798         __makecontext_ret.S.
52800 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52802         * elf/elf.h (R_390_IRELATIVE): New definition.
52803         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
52804         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
52805         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
52806         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52807         (elf_machine_lazy_rel): Likewise.
52808         * sysdeps/s390/dl-irel.h: New file.
52809         * sysdeps/s390/s390-64/memcpy.S: New asm code.
52810         * sysdeps/s390/s390-64/memset.S: New asm code.
52811         * sysdeps/s390/s390-64/memcmp.S: New asm code.
52812         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
52813         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
52814         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
52815         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
52816         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
52817         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
52818         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
52819         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
52820         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
52821         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
52822         * sysdeps/s390/s390-32/memcpy.S: New asm code.
52823         * sysdeps/s390/s390-32/memset.S: New asm code.
52824         * sysdeps/s390/s390-32/memcmp.S: New asm code.
52826 2012-07-17  Marek Polacek  <polacek@redhat.com>
52828         [BZ #14349]
52829         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
52830         * sysdeps/s390/s390-64/configure.in: Likewise.
52831         * sysdeps/sparc/configure.in: Likewise.
52832         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
52833         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
52834         * sysdeps/i386/configure.in: Likewise.
52835         * sysdeps/x86_64/configure.in: Likewise.
52836         * sysdeps/sh/configure.in: Likewise.
52837         * sysdeps/s390/s390-32/configure: Regenerated.
52838         * sysdeps/s390/s390-64/configure: Likewise.
52839         * sysdeps/x86_64/configure: Likewise.
52840         * sysdeps/sh/configure: Likewise.
52841         * sysdeps/powerpc/powerpc64/configure: Likewise.
52842         * sysdeps/powerpc/powerpc32/configure: Likewise.
52843         * sysdeps/sparc/configure: Likwise.
52844         * sysdeps/i386/configure: Likewise.
52846         * elf/dl-open.c: Comment fixes.
52848 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
52850         * Makefile [CXX] (check-data): Remove.
52851         [CXX] (c++-types.data): New vpath directive.
52852         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
52853         vpath.  Do not allow for C++ type data being missing.
52854         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
52855         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
52856         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
52857         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
52858         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
52859         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
52860         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
52861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
52862         ... here.
52863         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
52864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
52865         ... here.
52866         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
52867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
52868         ... here.
52869         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
52870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
52871         ... here.
52872         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
52873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
52874         ... here.
52875         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
52876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
52877         ... here.
52878         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
52879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
52880         ... here.
52881         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
52882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
52884         * elf/tls-macros.h (TLS_LE): Move architecture-specific
52885         definitions to architecture-specific files.
52886         (TLS_IE): Likewise.
52887         (TLS_LD): Likewise.
52888         (TLS_GD): Likewise.
52889         * sysdeps/i386/tls-macros.h: New file.
52890         * sysdeps/powerpc/tls-macros.h: Likewise.
52891         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
52892         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
52893         * sysdeps/sh/tls-macros.h: Likewise.
52894         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
52895         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
52896         * sysdeps/x86_64/tls-macros.h: Likewise.
52898 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52900         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
52901         zero value for regular exit case.
52903         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
52904         (__start_context): Preserve zero value for regular exit case.
52906 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52907             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52909         * manual/setjmp.texi (setcontext): Clarify normal process
52910         termination when uc_link is the null pointer.
52911         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
52912         exit call.
52914 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
52916         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
52917         preprocessor.  Test for each exception mask separately.
52919 2012-07-16  Andreas Jaeger  <aj@suse.de>
52921         * po/ru.po: Update from translation team.
52923 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
52925         * conform/data/string.h-data (NULL): Use macro-constant.  Require
52926         equal to 0.
52927         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
52928         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
52929         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
52930         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
52931         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52933 2012-07-13  Andreas Jaeger  <aj@suse.de>
52935         * po/fr.po: Update from translation team.
52937 2012-07-12  Marek Polacek  <polacek@redhat.com>
52939         [BZ #14173]
52940         * math/libm-test.inc (yn_test): Add test for BZ #14173.
52941         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
52942         loop condition.
52944 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
52946         [BZ #13717]
52947         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52948         Change to 2.4.1 where previously 2.4.0.
52949         * sysdeps/unix/sysv/linux/configure: Regenerated.
52950         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
52951         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
52952         version.
52953         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
52954         (__ASSUME_AT_CLKTCK): Remove.
52955         (__ASSUME_AT_PAGESIZE): Likewise.
52956         (__ASSUME_AT_XID): Likewise.
52957         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
52958         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
52959         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
52960         unconditionally.
52961         (HAVE_AUX_PAGESIZE): Likewise.
52962         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
52963         [__ASSUME_AT_CLKTCK]: Make code unconditional.
52964         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
52966 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
52968         [BZ #14307]
52969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
52970         the temporary buffer used to invoke __gethostbyname2_r,
52971         __gethostbyaddr_r and gethostbyname4_r to make room for struct
52972         host_data / struct gaih_addrtuple.
52973         * resolv/nss_dns/dns-host.c (global scope): Move definition of
52974         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
52975         header file nss/nsswitch.h.
52976         * nss/nsswitch.h (global scope): Add definition of implementation
52977         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
52978         resolv/nss_dns/dns-host.c).
52980 2012-07-11  Andreas Jaeger  <aj@suse.de>
52982         * po/fr.po: Update from translation team.
52984         * po/sv.po: Update from translation team
52985         * po/fr.po: Another update from translation team.
52987 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52989         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
52990         for subnormals or multiply small sinh result by itself.
52991         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52994 2012-07-11  David S. Miller  <davem@davemloft.net>
52996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52998 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
53000         [BZ #14347]
53001         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
53002         (INTERNAL_MARK): Shift it here.
53004 2012-07-10  Marek Polacek  <polacek@redhat.com>
53006         [BZ #14151]
53007         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
53008         libc_cv_asm_global_directive with .globl.
53009         * configure: Regenerated.
53010         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
53011         with .globl.
53012         * sysdeps/i386/configure: Regenerated.
53013         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
53014         with .globl.
53015         * sysdeps/x86_64/configure: Regenerated.
53016         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
53017         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
53018         * elf/tst-unique2mod2.c: Likewise.
53019         * elf/tst-unique2mod1.c: Likewise.
53020         * elf/tst-unique1mod2.c: Likewise.
53021         * elf/tst-unique1mod1.c: Likewise.
53022         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53023         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53024         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53025         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53026         * sysdeps/mach/sysdep.h: Likewise.
53027         * sysdeps/i386/sysdep.h: Likewise.
53028         * sysdeps/i386/i386-mcount.S: Likewise.
53029         * sysdeps/x86_64/_mcount.S: Likewise.
53030         * sysdeps/x86_64/sysdep.h: Likewise.
53031         * sysdeps/sh/_mcount.S: Likewise.
53032         * sysdeps/sh/sysdep.h: Likewise.
53033         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
53034         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
53035         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
53036         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53037         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
53038         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
53039         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
53040         * locale/localeinfo.h: Likewise.
53041         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
53042         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
53044 2012-07-09  Roland McGrath  <roland@hack.frob.com>
53046         [BZ #14336]
53047         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
53048         system".
53049         * manual/message.texi (The Uniforum approach): Likewise.
53050         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
53051         (glibc iconv Implementation): Likewise.
53053 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
53055         [BZ #14337]
53056         * math/s_clog.c (__clog): Avoid scaling a value down where that
53057         could result in underflow.
53058         * math/s_clog10.c (__clog10): Likewise.
53059         * math/s_clog10f.c (__clog10f): Likewise.
53060         * math/s_clog10l.c (__clog10l): Likewise.
53061         * math/s_clogf.c (__clogf): Likewise.
53062         * math/s_clogl.c (__clogl): Likewise.
53063         * math/libm-test.inc (clog_test): Add more tests.
53064         (clog10_test): Likewise.
53065         * sysdeps/i386/fpu/libm-test-ulps: Update.
53066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53068 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
53070         [BZ #14283]
53071         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
53072         by 7 not 8 to examine high bit of fractional part.
53074         [BZ #14042]
53075         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
53076         for call to __mcount_internal.
53077         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
53078         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
53079         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
53081 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
53083         [BZ #14154]
53084         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
53085         approximation for values within 0x1p-13f of an odd multiple of
53086         pi/4.
53087         * math/libm-test.inc (tan_test): Do not allow spurious underflow
53088         exception.  Add more tests.
53089         * sysdeps/i386/fpu/libm-test-ulps: Update.
53091         [BZ #6778]
53092         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
53093         inputs and return -1 for them.  Do not check for +Inf in case not
53094         reachable for +Inf.
53095         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53096         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
53097         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53098         and return -1 for them.  Do not check for +Inf in case not
53099         reachable for +Inf.
53100         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
53101         define.
53102         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53103         and return -1 for them.  Do not check for +Inf in case not
53104         reachable for +Inf.
53105         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
53106         spurious underflow.
53107         * sysdeps/i386/fpu/libm-test-ulps: Update.
53108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53110 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
53112         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
53114 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
53116         [BZ #14157]
53117         [BZ #14331]
53118         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
53119         could result in spurious underflow.  Scale down values above
53120         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
53121         * math/s_csqrtf.c (__csqrtf): Likewise.
53122         * math/s_csqrtl.c (__csqrtl): Likewise.
53123         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
53124         spurious underflow.
53125         * sysdeps/i386/fpu/libm-test-ulps: Update.
53126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53128 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
53130         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
53131         xopen-msg.sed.
53132         * catgets/xopen-msg.awk: New file.
53133         * catgets/xopen-msg.sed: Removed.
53135         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
53136         po2text.sed.
53137         * intl/po2test.awk: New file.
53138         * intl/po2test.sed: Removed.
53140 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
53142         [BZ #14328]
53143         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
53144         or multiply small sinh result by itself.
53145         * math/s_ctanf.c (__ctanf): Likewise.
53146         * math/s_ctanh.c (__ctanh): Likewise.
53147         * math/s_ctanhf.c (__ctanhf): Likewise.
53148         * math/s_ctanhl.c (__ctanhl): Likewise.
53149         * math/s_ctanl.c (__ctanl): Likewise.
53150         * math/libm-test.inc (ctan_test_tonearest): New function.
53151         (ctan_test_towardzero): Likewise.
53152         (ctan_test_downward): Likewise.
53153         (ctan_test_upward): Likewise.
53154         (ctanh_test_tonearest): Likewise.
53155         (ctanh_test_towardzero): Likewise.
53156         (ctanh_test_downward): Likewise.
53157         (ctanh_test_upward): Likewise.
53158         (main): Call these new functions.
53159         * sysdeps/i386/fpu/libm-test-ulps: Update.
53160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53162 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
53164         * .gitignore: Delete /ports entry.
53166 2012-07-03  Andreas Jaeger  <aj@suse.de>
53168         * po/bg.po: Update from translation team.
53169         * po/cs.po: Likewise.
53170         * po/de.po: Likewise.
53171         * po/hr.po: Likewise.
53172         * po/nl.pl: Likewise.
53173         * po/pl.po: Likewise.
53174         * po/vi.po: Likewise.
53176 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
53178         * Makeconfig [!+link] (+link-before-libc): New variable.
53179         [!+link] (+link-after-libc): Likewise.
53180         [!+link] (+link-tests): Likewise.
53181         [!+link] (+link): Define in terms of $(+link-before-libc) and
53182         $(+link-after-libc).
53183         [!+link-static] (+link-static-before-libc): New variable.
53184         [!+link-static] (+link-static-after-libc): Likewise.
53185         [!+link-static] (+link-static-tests): Likewise.
53186         [!+link-static] (+link-static): Define in terms of
53187         $(+link-static-before-libc) and $(+link-static-after-libc).
53188         [build-shared] (link-libc-before-gnulib): New variable.
53189         [build-shared] (link-libc-tests): Likewise.
53190         [build-shared] (link-libc): Define in terms of
53191         $(link-libc-before-gnulib).
53192         [!build-shared] (link-libc-tests): New variable.
53193         (link-libc-static-tests): New variable.
53194         [!gnulib] (gnulib-arch): New variable.
53195         [!gnulib] (gnulib-tests): Likewise.
53196         [!gnulib] (static-gnulib-arch): Likewise.
53197         [!gnulib] (static-gnulib-tests): Likewise.
53198         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
53199         Define with "=" instead of ":=".
53200         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
53201         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
53202         * Rules (binaries-all-notests): New variable.
53203         (binaries-all-tests): Likewise.
53204         (binaries-static-notests): Likewise.
53205         (binaries-static-tests): Likewise.
53206         (binaries-all): Define using $(binaries-all-notests) and
53207         $(binaries-all-tests).
53208         (binaries-static): Define using $(binaries-static-notests) and
53209         $(binaries-static-tests).
53210         (binaries-shared-tests): New variable.
53211         (binaries-shared-notests): Likewise.
53212         (binaries-shared): Remove variable.
53213         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53214         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
53215         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
53216         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
53217         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53218         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
53219         * elf/Makefile (sln-modules): New variable.
53220         (extra-objs): Add $(sln-modules:=.o).
53221         (ldconfig-modules): Add static-stubs.
53222         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
53223         * elf/static-stubs.c: New file.
53225         [BZ #14283]
53226         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
53227         by 7 not 8 to examine high bit of fractional part.  Use volatile
53228         variables when splitting into final array of floats if
53229         __FLT_EVAL_METHOD__ != 0.
53230         * math/libm-test.inc (cos_test): Add another test.
53231         (sin_test): Likewise.
53232         * sysdeps/i386/fpu/libm-test-ulps: Update.
53234         [BZ #14273]
53235         * math/libm-test.inc (cosh_test): Add more tests.
53237         * version.h (RELEASE): Set to "development".
53238         (VERSION): Set to "2.16.90".
53240 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
53242         * NEWS: Update copyright. Remove last-updated date.
53243         Mention math library bug fixes and timezone data changes.
53244         * README: Mention GNU/Hurd, x32, and HPPA support status.
53246 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
53248         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
53250 2012-06-27  Andreas Jaeger  <aj@suse.de>
53252         * manual/contrib.texi (Contributors): Add Samuel Thibault.
53254 2012-06-25  Andreas Jaeger  <aj@suse.de>
53256         * sysdeps/s390/fpu/libm-test-ulps: Update.
53258 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
53259             Thomas Schwinge  <thomas@codesourcery.com>
53261         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
53262         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
53263         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
53264         fanotify_mark.
53266 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
53268         * sysdeps/mach/start.c: Remove file.
53269         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
53270         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
53271         * sysdeps/sh/init-first.c: Likewise.
53273         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
53274         registers for frame unwinding purposes, add CFI directives.
53275         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53276         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
53277         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
53278         Likewise.
53280         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
53281         __fortify_fail returning.
53282         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53284         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
53285         sysdeps/sh/____longjmp_chk.S.
53286         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
53287         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
53288         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
53289         (gen-as-const-headers): Append sigaltstack-offsets.sym.
53291         * sysdeps/sh/abort-instr.h: New file.
53292         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
53293         process in case exit returns.
53295         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
53296         initialize the GOT register before use.
53298         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
53299         calculation of ARGC > 4.
53301         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53302         meaningful names to some local labels.
53304 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53305             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53307         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
53308         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
53309         (__arch_compare_and_exchange_val_16_acq): Likewise.
53310         (__arch_compare_and_exchange_val_32_acq): Likewise.
53311         (atomic_exchange_and_add): Fix gUSA sequence.
53312         (atomic_add): Likewise.
53313         (atomic_add_negative): Likewise.
53314         (atomic_add_zero): Likewise.
53315         (atomic_bit_test_set): Likewise.
53317 2012-06-22  Andreas Schwab  <schwab@redhat.com>
53319         [BZ #13579]
53320         * include/link.h (struct link_map): Add l_free_initfini.
53321         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
53322         l_initfini.
53323         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
53324         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
53325         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
53326         set.
53328 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
53330         * configure.in: Use AC_LANG_SOURCE.
53331         * configure: Regenerate.
53333 2012-06-22  Roland McGrath  <roland@hack.frob.com>
53335         * configure.in (libc_cv_localstatedir): New substituted variable.
53336         * configure: Regenerated.
53337         * config.make.in (localstatedir): New variable, substituted from
53338         libc_cv_localstatedir.
53339         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
53340         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
53341         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
53342         * sysdeps/gnu/configure: Regenerated.
53344 2012-06-21  Jeff Law  <law@redhat.com>
53346         [BZ #14277]
53347         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
53348         free.  Simplify list management for _LIBC case.
53350 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
53352         [BZ #14273]
53353         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
53354         Clear sign bit of 64-bit integer value before comparing against
53355         overflow value.
53357         * sysdeps/mach/configure: Regenerated.
53359 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
53361         [BZ #14278]
53362         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
53364 2012-06-21  Jeff Law  <law@redhat.com>
53366         [BZ #13882]
53367         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
53368         uint16_t for elements in the "seen" array to avoid char overflows.
53369         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53370         * elf/dl-open.c (dl_open_worker): Likewise.
53372 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
53374         * scripts/list-sources.sh: Scan PORTS for translations.
53375         * po/libc.pot: Regenerated.
53377 2012-06-21  Andreas Jaeger  <aj@suse.de>
53379         [BZ #12194]
53380         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
53381         warning.
53382         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
53383         * bits/byteswap-16.h (__bswap_16): Likewise.
53384         * bits/byteswap.h (__bswap_constant_16): Likewise.
53386 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
53388         [BZ #14117]
53389         * sysdeps/i386/fpu_control.h: Removed.
53390         * sysdeps/x86_64/fpu_control.h: Moved to ...
53391         * sysdeps/x86/fpu_control.h: Here.
53393         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
53394         (_FPU_SETCW): Likewise.
53396 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
53398         [BZ #14117]
53399         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
53400         * sysdeps/x86/fpu/bits/mathinline.h: This.
53401         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
53403         [BZ #14050]
53404         [BZ #14117]
53405         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
53406         functions if __x86_64__ is defined.
53408 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
53410         * string/endian.h: Add !__ASSEMBLER__ condition for including
53411         conversion interfaces.
53413 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
53415         [BZ #14241]
53416         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
53417         of ABS(x) in calculating zero to negative powers other than odd
53418         integers.
53419         * math/libm-test.inc (pow_test): Add more tests.
53421 2012-06-15  Andreas Jaeger  <aj@suse.de>
53423         * manual/contrib.texi (Contributors): Update entry of Liubov
53424         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
53425         Machado Filho.
53427 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
53429         * string/string.h: Add __wur to GNU version of strerror_r.
53431 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
53433         [BZ #14229]
53434         * string/Makefile (tests): Add tst-strtok_r.
53435         * string/tst-strtok_r.c: New file.
53436         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
53437         RAX_LP/RDX_LP on SAVE_PTR.
53439 2012-06-14  Roland McGrath  <roland@hack.frob.com>
53441         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
53443 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
53445         * libm_test.inc (csqrt_test): Allow more spurious underflow
53446         exceptions.
53447         (j0_test): Likewise.
53448         (j1_test): Likewise.
53449         (y0_test): Likewise.
53450         (y1_test): Likewise.
53452 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
53454         * po/Makefile (libc.pot): Use UTF-8 charset.
53456 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
53458         [BZ #14210]
53459         Suppress sign-conversion warning from FD_SET.
53460         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
53461         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
53462         not unsigned long int.
53463         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
53465 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
53467         [BZ #14050]
53468         [BZ #14117]
53469         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
53470         __extern_always_inline instead of __extern_inline.
53471         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
53472         (__signbit): Likewise.
53473         (__signbitl): Support C++ namespace.
53474         (lrintf): New inline function.
53475         (lrint): Likewise.
53476         (llrintf): Likewise.
53477         (llrint): Likewise.
53478         (fmaxf): Likewise.
53479         (fmax): Likewise.
53480         (fminf): Likewise.
53481         (fmin): Likewise.
53482         (rint): Likewise.
53483         (rintf): Likewise.
53484         (ceil): Likewise.
53485         (ceilf): Likewise.
53486         (floor): Likewise.
53487         (floorf): Likewise.
53488         (nearbyint): Likewise.
53489         (nearbyintf): Likewise.
53491 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
53493         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
53494         non-default versions.
53496 2012-06-11  Roland McGrath  <roland@hack.frob.com>
53498         [BZ #14218]
53499         * manual/argp.texi (Argp): Reword argp_parse description slightly.
53501 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
53503         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
53504         (FE_UPWARD, FE_DOWNWARD): Don't define.
53505         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
53506         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53508         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
53509         reading it.
53510         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53511         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53513 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53515         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53516         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
53517         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
53518         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
53520 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
53522         [BZ #14117]
53523         * sysdeps/i386/fpu/bits/fenv.h: Removed.
53524         * sysdeps/i386/fpu/Implies: New file.
53525         * sysdeps/x86_64/fpu/Implies: Likewise.
53526         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
53527         * sysdeps/x86/fpu/bits/fenv.h: This.
53529         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
53530         __SSE_MATH__.
53532 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53534         [BZ #14134]
53535         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
53536         character 0xffff that matches the last element of the
53537         conversion table.
53539 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53541         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
53542         fmodl commit.
53544 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53546         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
53547         values higher than 25.6283.
53549 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53551         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
53552         subnormal exponent extraction and add some __builtin_expect.
53553         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
53554         Fix for subnormal mantissa calculation.
53556 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
53558         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
53559         cpu2 is -1 and errno is not ENOSYS.
53561 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
53563         [BZ #14117]
53564         * sysdeps/i386/i486/bits/string.h: Renamed to ...
53565         * sysdeps/x86/bits/string.h: This.
53566         * sysdeps/x86_64/bits/string.h: Removed.
53568         * sysdeps/i386/i486/bits/string.h: Define inline functions only
53569         if not compiling for x86-64, but compiling for >= i486.
53571         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
53572         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
53574         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
53575         New macro from Linux kernel 3.4.0.
53576         (FP_XSTATE_MAGIC2): Likewise.
53577         (FP_XSTATE_MAGIC2_SIZE): Likewise.
53578         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
53579         (struct _fpx_sw_bytes): New struct.
53580         (struct _xsave_hdr): Likewise.
53581         (struct _ymmh_state): Likewise.
53582         (struct _xstate): Likewise.
53584         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
53585         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
53586         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
53587         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
53588         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
53589         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
53591         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
53592         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
53593         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
53594         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
53595         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
53596         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
53598 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53600         [BZ #13743]
53601         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
53602         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
53603         (sysdep_headers): Include sys/platform/ppc.h.
53604         * sysdeps/powerpc/test-gettimebase.c: Test for
53605         __ppc_get_timebase() to catch future ISA opcode/insn changes.
53606         * manual/Makefile (appendices): Include platform.texi.
53607         * manual/contrib.texi (Contributors): Update @node pointers.
53608         * manual/maint.texi (Maintenance): Likewise.
53609         (Platform): New node.
53610         * manual/platform.texi: New file.  Document the new features.
53612 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53613             Jakub Jelinek  <jakub@redhat.com>
53615         [BZ #14188]
53616         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
53617         where __builtin_expect is unavailable.
53619 2012-06-03  David S. Miller  <davem@davemloft.net>
53621         * stdlib/longlong.h: Updated from GCC.
53623 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
53625         [BZ #14042]
53626         * sysdeps/powerpc/powerpc32/mcount.c: New file.
53627         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
53628         __mcount_internal.
53629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53630         (GLIBC_2.16): Likewise.
53632 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53634         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
53636 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
53638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
53639         (default-abi): New variable.
53640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
53641         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
53642         variable.
53643         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
53644         Likewise.
53645         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
53646         Likewise.
53647         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
53648         Likewise.
53650         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
53651         definition.  Document in comment.
53653 2012-06-01  David S. Miller  <davem@davemloft.net>
53655         * stdlib/longlong.h: Updated from GCC.
53657 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53659         [BZ #14117]
53660         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
53661         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
53662         sys/debugreg.h sys/io.h here.
53663         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
53664         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
53665         sys/io.h.
53666         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
53667         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
53668         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
53669         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
53670         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
53671         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
53673         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
53674         Define only if __x86_64__ is defined.
53676 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
53678         [BZ #14048]
53679         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
53680         Use int64_t for variable i.
53681         * math/libm-test.inc (fmod_test): Add more tests.
53683         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
53684         z computation is not scheduled after fetestexcept.
53685         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
53686         Use math_force_eval instead of asm to ensure calculation scheduled
53687         before exception test.
53688         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
53689         Ensure a1 + u.d computation is not scheduled after fetestexcept.
53691 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
53693         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
53694         computation is not scheduled after fetestexcept.
53696 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53698         [BZ #14117]
53699         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
53700         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
53702 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53704         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
53705         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53707 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
53709         [BZ #14117]
53710         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
53711         <bits/wordsize.h>.
53712         (__WCHAR_MIN): Support __WORDSIZE == 64.
53713         (__WCHAR_MAX): Likewise.
53715         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
53716         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
53718         [BZ #14183]
53719         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
53720         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
53722         [BZ #14117]
53723         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
53724         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
53726         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
53727         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
53729         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
53730         Defined to 1 if __x86_64__ isn't defined.
53731         (_STAT_VER_LINUX_OLD): New.
53732         (st_atime): Remove duplicate.
53733         (st_mtime): Likewise.
53734         (st_ctime): Likewise.
53736 2012-05-31  David S. Miller  <davem@davemloft.net>
53738         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
53739         entries.
53741 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
53743         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
53744         gen-libm-test.pl.
53746         [BZ #14132]
53747         * elf/dl-reloc.c: Include <_itoa.h>.
53748         (_dl_reloc_bad_type): Remove use of INTUSE.
53749         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
53750         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
53751         * stdio-common/psiginfo.c (psiginfo): Likewise.
53752         * stdio-common/psignal.c (psignal): Likewise.
53753         * string/strsignal.c (strsignal): Likewise.
53754         * include/signal.h (_sys_siglist): Declare hidden proto.
53755         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
53756         INTVARDEF with libc_hidden_data_def.
53757         * stdio-common/itoa-udigits.c: Likewise.
53758         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
53759         (_itoa_lower_digits_internal): Remove declaration.
53760         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
53761         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
53762         (_sys_sigabbrev_internal): Remove aliases.
53763         (_sys_siglist): Define hidden alias.
53765 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
53767         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53768         bits/sysctl.h.
53770 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
53772         [BZ #14117]
53773         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
53774         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
53776         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
53777         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
53778         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
53779         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
53780         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
53781         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
53783         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
53784         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
53785         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
53787         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
53788         with __addr.
53789         (insw): Likewise.
53790         (insl): Likewise.
53791         (outsb): Likewise.
53792         (outsw): Likewise.
53793         (outsl): Likewise.
53795         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
53796         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
53797         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
53799         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
53800         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
53801         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
53802         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
53803         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
53804         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
53806         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
53807         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
53809         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
53810         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
53812         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
53813         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
53814         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
53816         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
53817         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
53818         to ...
53819         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
53821         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
53822         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
53823         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
53825         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
53826         for x86-64.
53827         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
53829 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
53831         * math/math.h (M_El): Use two more decimal places.
53832         (M_LOG2El): Likewise.
53833         (M_LOG10El): Likewise.
53834         (M_LN2l): Likewise.
53835         (M_LN10l): Likewise.
53836         (M_PIl): Likewise.
53837         (M_PI_2l): Likewise.
53838         (M_PI_4l): Likewise.
53839         (M_1_PIl): Likewise.
53840         (M_2_PIl): Likewise.
53841         (M_2_SQRTPIl): Likewise.
53842         (M_SQRT2l): Likewise.
53843         (M_SQRT1_2l): Likewise.
53845 2012-05-31  David S. Miller  <davem@davemloft.net>
53847         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
53848         values between float registers.
53849         * sysdeps/sparc/sparc64/memset.S: Likewise.
53850         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53852 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
53854         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
53855         -D_FORTIFY_SOURCE=1.
53856         (CPPFLAGS-tst-longjmp_chk.c): Define.
53857         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
53858         (CPPFLAGS-tst-longjmp_chk2.c): Define.
53859         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
53860         CFLAGS-tst-wchar-h.c.
53862 2012-05-31  Marek Polacek  <polacek@redhat.com>
53864         [BZ #14132]
53865         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
53866         __endmntent_internal): Remove declaration.
53867         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
53868         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
53869         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
53871 2012-05-30  David S. Miller  <davem@davemloft.net>
53873         * sysdeps/sparc/sparc32/soft-fp/q_util.c
53874         (___Q_simulate_exceptions): Use real FP ops rather than writing
53875         into the %fsr.
53876         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
53877         Likewise.
53879 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53881         [BZ #14117]
53882         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
53883         * sysdeps/x86/bits/xtitypes.h: This.
53885         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
53886         * sysdeps/x86/bits/wordsize.h: This.
53888         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
53889         * sysdeps/x86/bits/huge_vall.h: This.
53891         * sysdeps/i386/bits/select.h: Removed.
53892         * sysdeps/x86_64/bits/select.h: Renamed to ...
53893         * sysdeps/x86/bits/select.h: This.
53895         * sysdeps/i386/bits/setjmp.h: Removed.
53896         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
53897         * sysdeps/x86/bits/setjmp.h: This.
53899         * sysdeps/i386/bits/mathdef.h: Removed.
53900         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
53901         * sysdeps/x86/bits/mathdef.h: This.
53903 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
53905         [BZ #14132]
53906         * include/sys/socket.h (__connect_internal)
53907         (__libc_sa_len_internal): Remove declaration.
53908         (__connect, __libc_sa_len): Declare hidden_proto.
53909         (SA_LEN): Remove use of INTUSE.
53910         * socket/connect.c: Add libc_hidden_def.
53911         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
53912         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
53913         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
53914         alias.
53915         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
53916         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
53917         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
53918         of adding _internal alias.
53920 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53922         [BZ #14117]
53923         * sysdeps/i386/bits/link.h: Removed.
53924         * sysdeps/i386/bits/linkmap.h: Likewise.
53925         * sysdeps/x86_64/bits/link.h: Renamed to ...
53926         * sysdeps/x86/bits/link.h: This.
53927         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
53928         * sysdeps/x86/bits/linkmap.h: This.
53930         * sysdeps/i386/bits/endian.h: Removed.
53931         * sysdeps/x86_64/bits/endian.h: Renamed to ...
53932         * sysdeps/x86/bits/endian.h: This.
53934         * sysdeps/i386/bits/byteswap.h: Removed.
53935         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53936         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
53937         * sysdeps/x86/bits/byteswap.h: This.
53938         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
53939         * sysdeps/x86/bits/byteswap-16.h: This.
53940         * sysdeps/i386/Implies: Add x86.
53941         * sysdeps/x86_64/Implies: Likewise.
53943 2012-05-30  David S. Miller  <davem@davemloft.net>
53945         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
53946         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
53947         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53948         (FP_TRAPPING_EXCEPTIONS): Define.
53949         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53950         (FP_TRAPPING_EXCEPTIONS): Define.
53951         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
53952         subnormals only when inexact has been signalled or underflow
53953         exceptions are enabled.
53954         (_FP_PACK_CANONICAL): Likewise.
53956 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53958         [BZ #14183]
53959         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
53960         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
53962 2012-05-30  Richard Henderson  <rth@twiddle.net>
53964         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
53965         with #ifndef NOT_IN_libc.
53967         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
53968         marked to avoid plt entry.
53970 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53972         [BZ #14112]
53973         * Makeconfig (default-abi): New macro.
53974         (abi-includes): Likewise.
53975         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
53976         $(abi-$(default-abi)-lib-soname) for soname if defined.
53977         ($(common-objpfx)gnu/lib-names.stmp): Generate from
53978         abi-variants.
53979         * Makefile (installed-stubs): Likewise.
53980         * include/stubs-biarch.h: Removed.
53981         * scripts/lib-names.awk: Only handle one library at a time.
53982         * scripts/soversions.awk: Remove WORDSIZE support.
53983         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
53984         entries.
53985         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
53986         Removed.
53987         (syscall-list-default-condition): Likewise.
53988         (syscall-list-default-condition): Likewise.
53989         (syscall-list-includes): Likewise.
53990         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
53991         syscall-list-* with abi-*.  Handle undefined abi-variants.
53992         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
53993         * sysdeps/unix/sysv/linux/i386/Implies: New file.
53994         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
53995         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
53996         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
53997         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
53998         Removed.
53999         (syscall-list-32-options): Likewise.
54000         (syscall-list-32-condition): Likewise.
54001         (syscall-list-64-options): Likewise.
54002         (syscall-list-64-condition): Likewise.
54003         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
54004         macro.
54005         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
54006         Renamed to ...
54007         (abi-*): This.
54008         (abi-64-ld-soname): New macro.
54009         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
54010         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
54011         Renamed to ...
54012         (abi-*): This.
54013         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
54014         * sysdeps/x86_64/x32/shlib-versions: Likewise.
54016 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
54018         * sysdeps/unix/sysv/linux/kernel-features.h
54019         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
54020         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
54021         include <kernel-features.h>.
54022         [!__NR_ftruncate64]: Remove conditional code.
54023         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54024         [__NR_ftruncate64]: Make code unconditional.
54025         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54026         * sysdeps/unix/sysv/linux/truncate64.c: Do not
54027         include <kernel-features.h>.
54028         [!__NR_ftruncate64]: Remove conditional code.
54029         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54030         [__NR_ftruncate64]: Make code unconditional.
54031         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
54033         include <kernel-features.h>.
54034         [!__NR_ftruncate64]: Remove conditional code.
54035         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54036         [__NR_ftruncate64]: Make code unconditional.
54037         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54039         include <kernel-features.h>.
54040         [!__NR_ftruncate64]: Remove conditional code.
54041         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54042         [__NR_ftruncate64]: Make code unconditional.
54043         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54045         * configure.in (libc_cv_fpie): Weaken to a compile test using
54046         LIBC_TRY_CC_OPTION.
54047         * configure: Regenerated.
54049 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
54052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
54053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
54054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54055         Refreshed.
54056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
54057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
54058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
54059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
54060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
54061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54062         Refreshed.
54064 2012-05-27  David S. Miller  <davem@davemloft.net>
54066         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
54067         (___Q_zero): New.
54068         (__Q_simulate_exceptions): Return void.  Change to simulate
54069         exceptions by writing into the %fsr.
54070         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
54071         (__Qp_handle_exceptions): Likewise.
54072         (numbers): Delete.
54073         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
54074         __Qp_handle_exceptions.
54075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
54076         __Qp_handle_exceptions.
54077         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54078         as unused and give dummy FP_RND_NEAREST initializer.
54079         (FP_INHIBIT_RESULTS): Define.
54080         (___Q_simulate_exceptions): Update declaration.
54081         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
54082         formatting.
54083         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54084         as unused and give dummy FP_RND_NEAREST initializer.
54085         (__Qp_handle_exceptions): Update declaration.
54086         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
54087         formatting.
54089 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
54091         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
54092         the temporary FPU control word.
54093         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54094         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
54095         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
54096         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54097         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54098         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
54099         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
54100         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54101         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
54102         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
54103         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54105 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54107         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
54108         fields.
54110 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
54112         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
54113         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
54114         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
54115         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
54116         Likewise.
54117         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
54118         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
54119         Likewise.
54121 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
54123         * po/h.po: Update from translation team.
54125 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
54127         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
54129         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
54130         handling of denormals.
54131         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54132         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54133         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54134         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54135         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54136         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
54137         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
54138         Likewise.
54140 2012-05-26  Marek Polacek  <polacek@redhat.com>
54142         [BZ #14152]
54143         * math/libm-test.inc (fma_test): Don't always expect underflow
54144         exception.
54146 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54148         [BZ #12416]
54149         * elf/tst-execstack.c: Include stackinfo.h.
54150         (do_test): Adjust test case to ensure that pthread_getattr_np
54151         behaviour remains the same after marking stack executable.
54153 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54155         * sysdeps/unix/sysv/linux/kernel-features.h
54156         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
54157         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
54158         kernel-features.h.
54159         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54160         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54161         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
54162         kernel-features.h.
54163         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54164         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54166 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
54168         * configure.in: Define the default includes to being none.
54169         * configure: Regenerated.
54171 2012-05-25  Roland McGrath  <roland@hack.frob.com>
54173         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
54174         * sysdeps/x86_64/setjmp.S: Likewise.
54175         * sysdeps/i386/bsd-setjmp.S: Likewise.
54176         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54177         * sysdeps/i386/setjmp.S: Likewise.
54178         * sysdeps/i386/__longjmp.S: Likewise.
54179         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54180         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
54182         * include/stap-probe.h: New file.
54183         * configure.in: Handle --enable-systemtap.
54184         * configure: Regenerated.
54185         * config.h.in (USE_STAP_PROBE): New #undef.
54186         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
54187         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
54188         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
54190 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54192         [BZ #13717]
54193         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54194         to 2.4.0 where earlier.
54195         * sysdeps/unix/sysv/linux/configure: Regenerated.
54196         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54197         <kernel-features.h>.
54198         [__ASSUME_32BITUIDS]: Make code unconditional.
54199         [!__ASSUME_32BITUIDS]: Remove conditional code.
54200         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
54201         <kernel-features.h>.
54202         [__ASSUME_32BITUIDS]: Make code unconditional.
54203         [!__ASSUME_32BITUIDS]: Remove conditional code.
54204         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
54205         [__ASSUME_32BITUIDS]: Make code unconditional.
54206         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
54207         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
54208         <kernel-features.h>.
54209         [__ASSUME_32BITUIDS]: Make code unconditional.
54210         [!__ASSUME_32BITUIDS]: Remove conditional code.
54211         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
54212         <kernel-features.h>.
54213         [__ASSUME_32BITUIDS]: Make code unconditional.
54214         [!__ASSUME_32BITUIDS]: Remove conditional code.
54215         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
54216         <kernel-features.h>.
54217         [__ASSUME_32BITUIDS]: Make code unconditional.
54218         [!__ASSUME_32BITUIDS]: Remove conditional code.
54219         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
54220         <kernel-features.h>.
54221         [__ASSUME_32BITUIDS]: Make code unconditional.
54222         [!__ASSUME_32BITUIDS]: Remove conditional code.
54223         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54224         <kernel-features.h>.
54225         [__ASSUME_32BITUIDS]: Make code unconditional.
54226         [!__ASSUME_32BITUIDS]: Remove conditional code.
54227         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54228         <kernel-features.h>.
54229         [__ASSUME_32BITUIDS]: Make code unconditional.
54230         [!__ASSUME_32BITUIDS]: Remove conditional code.
54231         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
54232         <kernel-features.h>.
54233         [__ASSUME_32BITUIDS]: Make code unconditional.
54234         [!__ASSUME_32BITUIDS]: Remove conditional code.
54235         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54236         <kernel-features.h>.
54237         [__ASSUME_32BITUIDS]: Make code unconditional.
54238         [!__ASSUME_32BITUIDS]: Remove conditional code.
54239         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54240         <kernel-features.h>.
54241         [__ASSUME_32BITUIDS]: Make code unconditional.
54242         [!__ASSUME_32BITUIDS]: Remove conditional code.
54243         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
54244         <kernel-features.h>.
54245         [__ASSUME_32BITUIDS]: Make code unconditional.
54246         [!__ASSUME_32BITUIDS]: Remove conditional code.
54247         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
54248         <kernel-features.h>.
54249         [__NR_setresgid] (__setresgid): Do not declare.
54250         [__ASSUME_32BITUIDS]: Make code unconditional.
54251         [!__ASSUME_32BITUIDS]: Remove conditional code.
54252         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
54253         <kernel-features.h>.
54254         [__NR_setresuid] (__setresuid): Do not declare.
54255         [__ASSUME_32BITUIDS]: Make code unconditional.
54256         [!__ASSUME_32BITUIDS]: Remove conditional code.
54257         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
54258         <kernel-features.h>.
54259         [__ASSUME_32BITUIDS]: Make code unconditional.
54260         [!__ASSUME_32BITUIDS]: Remove conditional code.
54261         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
54262         <kernel-features.h>.
54263         [__ASSUME_32BITUIDS]: Make code unconditional.
54264         [!__ASSUME_32BITUIDS]: Remove conditional code.
54265         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
54266         <kernel-features.h>.
54267         [__ASSUME_32BITUIDS]: Make code unconditional.
54268         [!__ASSUME_32BITUIDS]: Remove conditional code.
54269         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
54270         <kernel-features.h>.
54271         [__ASSUME_32BITUIDS]: Make code unconditional.
54272         [!__ASSUME_32BITUIDS]: Remove conditional code.
54273         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
54274         <kernel-features.h>.
54275         [__ASSUME_32BITUIDS]: Make code unconditional.
54276         [!__ASSUME_32BITUIDS]: Remove conditional code.
54277         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
54278         <kernel-features.h>.
54279         [__ASSUME_32BITUIDS]: Make code unconditional.
54280         [!__ASSUME_32BITUIDS]: Remove conditional code.
54281         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
54282         <kernel-features.h>.
54283         [__ASSUME_32BITUIDS]: Make code unconditional.
54284         [!__ASSUME_32BITUIDS]: Remove conditional code.
54285         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
54286         <kernel-features.h>.
54287         [__ASSUME_32BITUIDS]: Make code unconditional.
54288         [!__ASSUME_32BITUIDS]: Remove conditional code.
54289         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
54290         <kernel-features.h>.
54291         [__ASSUME_32BITUIDS]: Make code unconditional.
54292         [!__ASSUME_32BITUIDS]: Remove conditional code.
54293         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54294         <kernel-features.h>.
54295         [__ASSUME_32BITUIDS]: Make code unconditional.
54296         [!__ASSUME_32BITUIDS]: Remove conditional code.
54297         * sysdeps/unix/sysv/linux/kernel-features.h
54298         (__ASSUME_SETRESUID_SYSCALL): Remove.
54299         (__ASSUME_SETRESGID_SYSCALL): Likewise.
54300         (__ASSUME_32BITUIDS): Likewise.
54301         (__ASSUME_LDT_WORKS): Likewise.
54302         (__ASSUME_O_DIRECTORY): Likewise.
54303         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
54304         architecture but not kernel version.
54305         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
54306         (__ASSUME_MMAP2_SYSCALL): Likewise.
54307         (__ASSUME_STAT64_SYSCALL): Likewise.
54308         (__ASSUME_IPC64): Likewise.
54309         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
54310         <kernel-features.h>.
54311         [__ASSUME_32BITUIDS]: Make code unconditional.
54312         [!__ASSUME_32BITUIDS]: Remove conditional code.
54313         * sysdeps/unix/sysv/linux/opendir.c: Do not include
54314         <kernel-features.h>.
54315         [__ASSUME_O_DIRECTORY]: Make code unconditional.
54316         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
54317         132096]: Remove conditional code.
54318         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
54319         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54320         <kernel-features.h>.
54321         [__ASSUME_32BITUIDS]: Make code unconditional.
54322         [!__ASSUME_32BITUIDS]: Remove conditional code.
54323         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54324         <kernel-features.h>.
54325         [__ASSUME_32BITUIDS]: Make code unconditional.
54326         [!__ASSUME_32BITUIDS]: Remove conditional code.
54327         * sysdeps/unix/sysv/linux/setegid.c: Do not include
54328         <kernel-features.h>.
54329         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
54330         unconditional.
54331         (__setresgid): Do not declare.
54332         [__ASSUME_32BITUIDS]: Make code unconditional.
54333         [!__ASSUME_32BITUIDS]: Remove conditional code.
54334         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
54335         <kernel-features.h>.
54336         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
54337         unconditional.
54338         (__setresuid): Do not declare.
54339         [__ASSUME_32BITUIDS]: Make code unconditional.
54340         [!__ASSUME_32BITUIDS]: Remove conditional code.
54341         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54342         <kernel-features.h>.
54343         [__ASSUME_32BITUIDS]: Make code unconditional.
54344         [!__ASSUME_32BITUIDS]: Remove conditional code.
54345         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
54346         <kernel-features.h>.
54347         [__ASSUME_32BITUIDS]: Make code unconditional.
54348         [!__ASSUME_32BITUIDS]: Remove conditional code.
54350 2012-05-25  Richard Henderson  <rth@twiddle.net>
54352         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
54353         dl_hwcap to ifunc resolver.
54354         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
54355         elf_ifunc_invoke.
54356         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
54357         dl_hwcap to ifunc resolver.
54358         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
54360 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54362         [BZ #14153]
54363         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
54364         for |x| <= 2**-26, not 2**-57.
54365         * math/libm-test.inc (acos_test): Do not allow spurious underflow
54366         exception.
54368 2012-05-24  Jeff Law  <law@redhat.com>
54370         * stdio-common/Makefile (tests): Add bug25.
54371         * stdio-common/bug25.c: New test.
54373 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54375         [BZ #13576]
54376         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
54377         multiple of MALLOC_ALIGNMENT in size.
54378         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
54380 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54382         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
54383         Require >= 256.
54384         (FILENAME_MAX): Use macro-int-constant.
54385         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
54386         (_IOFBF): Use macro-int-constant.
54387         (_IOLBF): Likewise.
54388         (_IONBF): Likewise.
54389         (SEEK_CUR): Likewise.
54390         (SEEK_END): Likewise.
54391         (SEEK_SET): Likewise.
54392         (TMP_MAX): Likewise.
54393         (EOF): Use macro-int-constant.  Require < 0.
54394         (NULL): Use macro-constant.  Require == 0.
54395         (stdin): Require type to be FILE *.
54396         (stdout): Likewise.
54397         (stderr): Likewise.
54398         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
54399         macro-int-constant.
54400         (EXIT_SUCCESS): Likewise.
54401         (NULL): Use macro-constant.  Require == 0.
54402         (RAND_MAX): Use macro-int-constant.
54403         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
54404         [C99-based standards] (strtof): Require function.
54405         [C99-based standards] (strtold): Likewise.
54406         [C99-based standards] (strtoll): Likewise.
54407         [C99-based standards] (strtoull): Likewise.
54408         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54409         [ISO || ISO99 || ISO11] (limits.h): Likewise.
54410         [ISO || ISO99 || ISO11] (math.h): Likewise.
54411         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
54412         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54413         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54415 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
54417         [BZ #14132]
54418         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
54419         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
54420         * intl/dgettext.c (DCGETTEXT): Likewise.
54421         * intl/gettext.c (DCGETTEXT): Likewise.
54422         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
54423         * posix/regex_internal.h (gettext): Likewise.
54424         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
54425         Remove declaration.
54426         * include/argz.h (__argz_count_internal)
54427         (__argz_stringify_internal): Remove declaration.
54428         (__argz_count, __argz_stringify): Declare hidden proto.
54429         * intl/dcgettext.c: Remove use of INTDEF.
54430         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
54431         * string/argz-stringify.c: Likewise.
54432         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54433         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54434         Declare hidden proto.
54435         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54436         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54437         Declare hidden proto.
54438         * include/stdio.h (__asprintf_internal): Don't declare.
54439         (__asprintf): Don't define as macro.  Declare hidden proto.
54440         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
54441         (__fsetlocking): Declare hidden proto.
54442         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
54443         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
54444         hidden proto.
54445         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
54446         (_IO_setlinebuf): Remove use of INTUSE.
54447         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
54448         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
54449         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
54450         Remove declaration.
54451         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
54452         (_IO_do_flush): Remove use of INTUSE.
54453         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
54454         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
54455         (_IO_adjust_column, _IO_least_wmarker)
54456         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
54457         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
54458         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
54459         (_IO_default_doallocate, _IO_wdefault_doallocate)
54460         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
54461         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
54462         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
54463         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
54464         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
54465         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
54466         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
54467         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
54468         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
54469         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
54470         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
54471         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
54472         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
54473         proto.
54474         (_IO_flush_all_internal, _IO_adjust_column_internal)
54475         (_IO_default_uflow_internal, _IO_default_finish_internal)
54476         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
54477         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
54478         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
54479         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
54480         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
54481         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
54482         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
54483         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
54484         (_IO_file_close_internal, _IO_file_close_it_internal)
54485         (_IO_file_underflow_internal, _IO_file_overflow_internal)
54486         (_IO_file_init_internal, _IO_file_attach_internal)
54487         (_IO_file_fopen_internal, _IO_file_read_internal)
54488         (_IO_file_sync_internal, _IO_file_seek_internal)
54489         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
54490         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
54491         (_IO_str_underflow_internal, _IO_str_overflow_internal)
54492         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
54493         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
54494         (_IO_list_all_internal, _IO_link_in_internal)
54495         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
54496         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
54497         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
54498         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
54499         (_IO_do_write_internal, _IO_padn_internal)
54500         (_IO_getline_info_internal, _IO_getline_internal)
54501         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
54502         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
54503         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
54504         (_IO_vfscanf_internal, _IO_vfprintf_internal)
54505         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
54506         (_IO_init_internal, _IO_un_link_internal): Don't declare.
54507         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
54508         with libc_hidden_ver, remove use of INTUSE.
54509         * libio/genops.c: Likewise.
54510         * libio/freopen.c: Likewise.
54511         * libio/freopen64.c: Likewise.
54512         * libio/iofclose.c: Likewise.
54513         * libio/iofdopen.c: Likewise.
54514         * libio/iofflush.c: Likewise.
54515         * libio/iofflush_u.c: Likewise.
54516         * libio/iofgets.c: Likewise.
54517         * libio/iofgets_u.c: Likewise.
54518         * libio/iofopen.c: Likewise.
54519         * libio/iofopncook.c: Likewise.
54520         * libio/iofread.c: Likewise.
54521         * libio/iofread_u.c: Likewise.
54522         * libio/ioftell.c: Likewise.
54523         * libio/iofwrite.c: Likewise.
54524         * libio/iogetline.c: Likewise.
54525         * libio/iogets.c: Likewise.
54526         * libio/iogetwline.c: Likewise.
54527         * libio/iopadn.c: Likewise.
54528         * libio/iopopen.c: Likewise.
54529         * libio/ioseekoff.c: Likewise.
54530         * libio/ioseekpos.c: Likewise.
54531         * libio/iosetbuffer.c: Likewise.
54532         * libio/iosetvbuf.c: Likewise.
54533         * libio/ioungetc.c: Likewise.
54534         * libio/ioungetwc.c: Likewise.
54535         * libio/iovdprintf.c: Likewise.
54536         * libio/iovsprintf.c: Likewise.
54537         * libio/iovsscanf.c: Likewise.
54538         * libio/memstream.c: Likewise.
54539         * libio/obprintf.c: Likewise.
54540         * libio/oldfileops.c: Likewise.
54541         * libio/oldiofclose.c: Likewise.
54542         * libio/oldiofdopen.c: Likewise.
54543         * libio/oldiofopen.c: Likewise.
54544         * libio/oldiopopen.c: Likewise.
54545         * libio/oldstdfiles.c: Likewise.
54546         * libio/putc.c: Likewise.
54547         * libio/setbuf.c: Likewise.
54548         * libio/setlinebuf.c: Likewise.
54549         * libio/stdfiles.c: Likewise.
54550         * libio/strops.c: Likewise.
54551         * libio/vasprintf.c: Likewise.
54552         * libio/vscanf.c: Likewise.
54553         * libio/vsnprintf.c: Likewise.
54554         * libio/vswprintf.c: Likewise.
54555         * libio/wfiledoalloc.c: Likewise.
54556         * libio/wfileops.c: Likewise.
54557         * libio/wgenops.c: Likewise.
54558         * libio/wmemstream.c: Likewise.
54559         * libio/wstrops.c: Likewise.
54560         * libio/__fpurge.c: Likewise.
54561         * libio/__fsetlocking.c: Likewise.
54562         * assert/assert.c: Likewise.
54563         * debug/fgets_chk.c: Likewise.
54564         * debug/fgets_u_chk.c: Likewise.
54565         * debug/fread_chk.c: Likewise.
54566         * debug/fread_u_chk.c: Likewise.
54567         * debug/gets_chk.c: Likewise.
54568         * debug/obprintf_chk.c: Likewise.
54569         * debug/vasprintf_chk.c: Likewise.
54570         * debug/vdprintf_chk.c: Likewise.
54571         * debug/vsnprintf_chk.c: Likewise.
54572         * debug/vsprintf_chk.c: Likewise.
54573         * malloc/mtrace.c: Likewise.
54574         * misc/error.c: Likewise.
54575         * misc/syslog.c: Likewise.
54576         * stdio-common/asprintf.c: Likewise.
54577         * stdio-common/fxprintf.c: Likewise.
54578         * stdio-common/getw.c: Likewise.
54579         * stdio-common/isoc99_fscanf.c: Likewise.
54580         * stdio-common/isoc99_scanf.c: Likewise.
54581         * stdio-common/isoc99_vfscanf.c: Likewise.
54582         * stdio-common/isoc99_vscanf.c: Likewise.
54583         * stdio-common/isoc99_vsscanf.c: Likewise.
54584         * stdio-common/printf-prs.c: Likewise.
54585         * stdio-common/printf_fp.c: Likewise.
54586         * stdio-common/printf_fphex.c: Likewise.
54587         * stdio-common/printf_size.c: Likewise.
54588         * stdio-common/putw.c: Likewise.
54589         * stdio-common/scanf.c: Likewise.
54590         * stdio-common/sprintf.c: Likewise.
54591         * stdio-common/tmpfile.c: Likewise.
54592         * stdio-common/vfprintf.c: Likewise.
54593         * stdio-common/vfscanf.c: Likewise.
54594         * stdlib/strfmon_l.c: Likewise.
54595         * sunrpc/openchild.c: Likewise.
54596         * sunrpc/xdr_stdio.c: Likewise.
54597         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
54598         * sysdeps/mach/hurd/tmpfile.c: Likewise.
54600 2012-05-24  Roland McGrath  <roland@hack.frob.com>
54602         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
54604         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
54605         in the third column, to generate for the shared library an IFUNC
54606         that uses _dl_vdso_vsym.
54607         * Makerules (COMPILE.c, compile-stdin.c): New variables.
54608         * Makeconfig (object-suffixes-noshared): New variable.
54610         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
54611         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
54612         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
54613         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
54615         [BZ #14132]
54616         * include/sys/time.h (__gettimeofday): Remove macro.
54617         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
54618         * time/gettimeofday.c (__gettimeofday): Remove #undef.
54619         Remove INTDEF.
54620         (__gettimeofday): Add libc_hidden_def.
54621         (gettimeofday): Add libc_hidden_weak.
54622         * sysdeps/mach/gettimeofday.c: Likewise.
54623         * sysdeps/posix/gettimeofday.c: Likewise.
54624         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
54625         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
54626         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
54627         (__gettimeofday_internal): Remove strong_alias.
54628         (__gettimeofday): Add libc_hidden_def.
54629         (gettimeofday): Add libc_hidden_weak.
54630         * sysdeps/unix/syscalls.list (gettimeofday):
54631         Remove __gettimeofday_internal alias.
54633 2012-05-24  Daniel Jacobowitz  <drow@false.org>
54634             H.J. Lu  <hongjiu.lu@intel.com>
54636         [BZ #12495]
54637         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
54638         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
54639         (largebin_index_32_big): New.
54640         (largebin_index): Use it for 16-byte alignment.
54641         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
54642         correction with front_misalign.
54644 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
54647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
54648         Likewise.
54649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
54650         Likewise.
54651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54652         Likewise.
54653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
54654         Likewise.
54655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
54656         Likewise.
54657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
54658         Likewise.
54659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
54660         Likewise.
54661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54662         Likewise.
54663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
54664         Likewise.
54665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
54666         Likewise.
54667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
54668         Likewise.
54669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
54670         Likewise.
54672         * scripts/data/c++-types-x32-linux-gnu.data: New file.
54673         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
54675 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54677         [BZ #10846]
54678         [BZ #14036]
54679         * math/libm-test.inc (exp_test): Add test from bug 14036.
54680         (pow_test): Add test from bug 10846.
54682         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
54683         and other flags.
54684         (special_function): Do not include flags in test name.
54685         (parse_args): Likewise.
54686         * sysdeps/i386/fpu/libm-test-ulps: Update.
54687         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54688         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54689         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54692         * math/gen-libm-test.pl (%beautify): Add entries for underflow
54693         exceptions.
54694         * math/libm-test.inc ("Philosophy"): Update comment about
54695         exception testing.
54696         (UNDERFLOW_EXCEPTION): New macro.
54697         (UNDERFLOW_EXCEPTION_OK): Likewise.
54698         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
54699         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
54700         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
54701         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
54702         (INVALID_EXCEPTION_OK): Update value.
54703         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54704         (OVERFLOW_EXCEPTION_OK): Likewise.
54705         (IGNORE_ZERO_INF_SIGN): Likewise.
54706         (test_exceptions): Handle underflow exceptions.
54707         (acos_test): Update for underflow exception expectations.
54708         (cexp_test): Likewise.
54709         (clog_test): Likewise.
54710         (clog10_test): Likewise.
54711         (csqrt_test): Likewise.
54712         (ctan_test): Likewise.
54713         (ctanh_test): Likewise.
54714         (exp_test): Likewise.
54715         (exp10_test): Likewise.
54716         (exp2_test): Likewise.
54717         (expm1_test): Likewise.
54718         (fma_test): Likewise.
54719         (j0_test): Likewise.
54720         (jn_test): Likewise.
54721         (nexttoward_test): Likewise.
54722         (pow_test): Likewise.
54723         (scalbn_test): Likewise.
54724         (scalbln_test): Likewise.
54725         (tan_test): Likewise.
54726         (y1_test): Likewise.
54727         * sysdeps/i386/fpu/libm-test-ulps: Update.
54728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54730 2012-05-23  David S. Miller  <davem@davemloft.net>
54732         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
54733         (__libc_sigaction): Remove unused local variables.
54735 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54737         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
54739 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
54741         mktime: avoid signed integer overflow
54742         * time/mktime.c (__mktime_internal): Do not mishandle the case
54743         where diff == INT_MIN.
54745         mktime: simplify computation of average
54746         * time/mktime.c (ranged_convert): Use new time_t_avg function
54747         instead of rolling our own (probably-slower) code.
54749         mktime: do not assume signed right shift propagates sign bit
54750         * time/mktime.c (isdst_differ): New static function.
54751         (__mktime_internal): No need to normalize tm_isdst now.
54752         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
54753         tm_isdst values.
54755         mktime: merge another wrapv change from gnulib
54756         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
54757         from some compilers.
54759         mktime: remove incorrect attempt at unusual arithmetics
54760         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
54761         The code didn't really work on such machines anyway.
54762         (TYPE_MINIMUM): Assume two's complement.
54763         (twos_complement_arithmetic): Verify that long_int and time_t
54764         are two's complement (or unsigned, in the latter case).
54766         mktime: check signed shifts on long_int and time_t, too
54767         * time/mktime.c (SHR): Check that shifts work as desired
54768         on the types long_int and time_t too, as SHR is used on
54769         such types.
54771         mktime: do not assume 'long' is wide enough
54772         * time/mktime.c (verify): Move decl up.
54773         (long_int): New type.
54774         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
54775         to remove assumption in the code that 'long' is wide enough to
54776         store year values.  This assumption is not true on x32 and on
54777         some non-glibc platforms.
54779         mktime: merge wrapv change from gnulib
54780         * time/mktime.c (WRAPV): New macro.
54781         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
54782         (guess_time_tm, __mktime_internal): Do not assume that signed
54783         integer overflow wraps around; modern compilers generate code
54784         where this assumption is no longer valid.
54786 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54788         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54789         Replace "jmp L(pseudo_end)" with "ret".
54790         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
54791         Likewise.
54793 2012-05-23  Andreas Jaeger  <aj@suse.de>
54795         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
54796         * sysdeps/unix/sysv/linux/poll.c: Remove file.
54798 2012-05-23  Andreas Jaeger  <aj@suse.de>
54799             Maximilian Attems  <max@stro.at>
54801         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
54802         New macros.
54804 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54806         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
54807         code so that pseudo_end is just ret and the stack pointer is
54808         correct also for static library in error case.
54810 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
54812         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
54813         move to syscalls.list.
54814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
54815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
54816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
54817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
54819         * manual/install.texi (Running make install): Do not mention Linux
54820         kernel version for which pt_chown is not needed.
54821         (Linux): Do not mention problems with nscd with 2.0 kernels.
54822         * INSTALL: Regenerated.
54824 2012-05-23  Andreas Jaeger  <aj@suse.de>
54826         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
54827         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
54828         macro.
54829         * sysdeps/unix/sysv/linux/s390/bits/mman.h
54830         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54831         * sysdeps/unix/sysv/linux/sh/bits/mman.h
54832         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54833         * sysdeps/unix/sysv/linux/i386/bits/mman.h
54834         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54835         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
54836         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54837         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
54838         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54839         * sysdeps/unix/sysv/linux/bits/in.h
54840         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
54842 2012-05-22  Roland McGrath  <roland@hack.frob.com>
54844         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
54845         (PREPARE_VERSION): Just use assert instead, it will be elided
54846         under [NDEBUG] anyway.
54848 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54850         * sysdeps/unix/sysv/linux/Makefile: Include
54851         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
54852         (sysdep_routines): Remove sysctl.
54853         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
54854         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
54855         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
54856         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
54857         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
54859 2012-05-22  Andreas Jaeger  <aj@suse.de>
54861         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
54862         that pseudo_end is just ret and the stack pointer is correct also
54863         for static library in error case.
54865 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
54867         [BZ #14122]
54868         * nss/nsswitch.c (defconfig_entries): New variable.
54869         (__nss_database_lookup): Don't leak defconfig entries.
54870         (nss_parse_service_list): Don't leak on error paths.
54871         (free_database_entries): New function.
54872         (free_defconfig): New function.
54873         (free_mem): Move common code to free_database_entries.
54875 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54877         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
54878         Add arch_prctl.
54879         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
54881         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54882         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
54883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
54884         New macro.
54885         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
54886         (INTERNAL_SYSCALL_TYPES): Likewise.
54887         (LOAD_ARGS_TYPES_[1-6]): Likewise.
54888         (LOAD_REGS_TYPES_[1-6]): Likewise.
54889         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
54890         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
54892 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54894         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
54895         copysignl for GLIBC_2_0.
54896         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
54897         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
54898         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
54899         logbl for GLIBC_2_0.
54900         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
54901         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
54903 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54905         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
54906         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54908         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54909         Use "neg %eax".
54911         * time/mktime.c: Update copyright years.
54913 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
54915         mktime: merge comment-quoting-style change from gnulib
54916         * time/mktime.c: Quote 'like this' in comments.
54917         The GNU coding standards suggest that we no longer quote `like this',
54918         as "`" and "'" are typically rendered asymmetrically nowadays.
54919         The typical gnulib style is to quote 'like this' when quoting
54920         code, and "like this" when quoting English.
54922         * time/mktime.c (compile-command): Add "-I.".
54924         mktime: merge mktime-internal.h change from gnulib
54925         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
54927         mktime: merge time_r change from gnulib
54928         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
54930         mktime: merge DEBUG change from gnulib
54931         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
54932         case system <time.h> has a #define.
54934         mktime: merge <sys/types.h> change from gnulib
54935         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
54936         since <time.t> is now guaranteed to define time_t.
54938         mktime: merge HAVE_CONFIG_H change from gnulib
54939         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
54941 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54943         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54944         Use "neg %eax".
54946         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
54947         __rlim_t cast.
54948         (struct rusage): Use anonymous union to pad each field to
54949         __syscall_slong_t.
54951 2012-05-21  David S. Miller  <davem@davemloft.net>
54953         * Makefules (o-iterator): Remove .s cases.
54954         (compile-command.s): Delete.
54955         (COMPILE.s): Delete.
54956         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
54958 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
54960         * configure.in (libc_cv_predef_stack_protector): Only consider
54961         "foobar" and "__stack_chk_fail" lines in libc_undefs.
54962         * configure: Regenerated.
54964 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54966         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54967         New macro.  Use R*LP on int and pointer.
54968         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
54969         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
54970         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
54971         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
54973         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
54974         [__WORDSIZE_TIME64_COMPAT32] instead of
54975         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
54976         (struct utmp): Likewise.
54977         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
54978         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
54979         Renamed to ...
54980         (__WORDSIZE_TIME64_COMPAT32): This.
54981         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
54982         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
54983         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
54984         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
54985         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
54986         (__WORDSIZE_TIME64_COMPAT32): New macro.
54988 2012-05-21  Andreas Jaeger  <aj@suse.de>
54990         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
54991         only if [SHARED]. Add prototype for __wcschr_ia32.
54993 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54995         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
54996         of %rbp unmolested in the jmp_buf while mangling the low bits.
54997         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
54998         unmolested high bits of %rbp while demangling the low bits.
54999         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55001 2012-05-21  Andreas Jaeger  <aj@suse.de>
55003         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
55004         * sunrpc/svc_simple.c: Use it for registerrpc.
55005         * sunrpc/xcrypt.c: Use it for passwd2des.
55007         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
55009 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55011         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
55012         Don't define if [__SYSCALL_WORDSIZE != 32].
55013         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
55014         New macro.
55016 2012-05-21  Bruno Haible  <bruno@clisp.org>
55017             Andreas Jaeger  <aj@suse.de>
55019         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
55020         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
55021         inptr and inend for must_buffer_ch.
55022         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
55023         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
55024         * stdio-common/Makefile (tests): Remove bug15.
55025         (bug15-ENV): Remove macro.
55026         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
55027         anymore.
55029 2012-05-19  Andreas Jaeger  <aj@suse.de>
55030             Roland McGrath  <roland@hack.frob.com>
55032         * manual/contrib.texi: Completely rewritten. It contains now an
55033         alphabetical list of contributors and their contributions.
55035 2012-05-21  Richard Henderson  <rth@twiddle.net>
55037         * misc/getauxval.c (__getauxval): Use unsigned long int.
55038         * misc/sys/auxv.h: Include <sys/cdefs.h>.
55039         (getauxval): Use unsigned long int.
55041 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55043         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55045 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55047         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
55048         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
55049         __alignof__ (long double).
55051 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55055 2012-05-20  Richard Henderson  <rth@twiddle.net>
55057         * misc/getauxval.c: New file.
55058         * misc/sys/auxv.h: New file.
55059         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
55060         (routines): Add getauxval.
55061         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
55062         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
55063         * elf/dl-sysdep.c (_dl_auxv): Remove.
55064         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
55065         * elf/dl-support.c (_dl_auxv): New variable.
55066         (_dl_aux_init): Initialize it.
55067         * manual/startup.texi (Auxiliary Vector): New node.
55068         * sysdeps/generic/bits/hwcap.h: New file.
55069         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
55070         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
55071         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
55072         * sysdeps/sparc/sysdep.h: ... here.  Include it.
55073         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
55074         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
55075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55076         Update.
55077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
55078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
55079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
55080         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
55081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
55084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
55086 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55090 2012-05-19  David S. Miller  <davem@davemloft.net>
55092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55094 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55096         [BZ #14123]
55097         * math/s_ccosh.c: Include <float.h>
55098         (__ccosh): Avoid internal overflow calculating sinh and cosh
55099         values before multiplying by sin and cos values.
55100         * math/s_ccoshf.c: Likewise.
55101         * math/s_ccoshl.c: Likewise.
55102         * math/s_csin.c: Likewise.
55103         * math/s_csinf.c: Likewise.
55104         * math/s_csinl.c: Likewise.
55105         * math/s_csinh.c: Likewise.
55106         * math/s_csinhf.c: Likewise.
55107         * math/s_csinhl.c: Likewise.
55108         * math/libm-test.inc (ccos_test): Add more tests.
55109         (ccosh_test): Likewise.
55110         (csin_test): Likewise.
55111         (csinh_test): Likewise.
55112         * sysdeps/i386/fpu/libm-test-ulps: Update.
55113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55115 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
55117         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
55118         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
55120         * sysdeps/x86_64/x32/_itoa.h: Add comment.
55122 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55124         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
55125         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
55126         * sysdeps/powerpc/soft-fp/Versions: Likewise.
55127         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
55128         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
55129         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
55130         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
55131         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
55132         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
55133         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
55134         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
55135         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
55136         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
55137         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
55138         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
55139         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55140         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
55141         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
55142         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
55143         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
55144         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
55145         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
55146         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
55147         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
55148         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
55149         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
55150         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
55151         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
55152         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
55153         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
55154         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
55156 2012-05-18  Andreas Jaeger  <aj@suse.de>
55158         * csu/.gitignore: Delete.
55160 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55162         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
55163         (timex): Use __syscall_slong_t.
55165 2012-05-18  Andreas Jaeger  <aj@suse.de>
55166             Carlos O'Donell  <carlos_odonell@mentor.com>
55168         * manual/install.texi (Configuring and compiling): Update
55169         description about files modified in the source directory.
55170         * INSTALL: Regenerated.
55172 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55174         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
55175         value.  Use "or" to set return value to -1.
55176         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
55177         negate return value.
55179 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55181         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
55182         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
55183         failure if the compiler has Graphite support disabled.
55184         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
55185         Likewise.
55186         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
55187         (CFLAGS-memmove.c): Likewise.
55188         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
55189         Likewise.
55191 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55193         * sysdeps/x86_64/x32/_itoa.h: New file.
55195         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
55196         getdents system call only if kernel and user dirents have the
55197         same d_ino and d_off.
55199         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55200         LLONG_MAX != LONG_MAX.
55201         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55202         (_fitoa_word): Likewise.
55204         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
55205         years.
55206         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
55207         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
55208         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
55210         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
55211         include <bits/wordsize.h>.  Check __x86_64__ instead of
55212         __WORDSIZE.
55213         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
55214         if __x86_64__ is defined.  Use anonymous union on fpstate.
55216         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55217         anonymous union.
55219 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
55221         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
55222         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
55223         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
55224         Refer to _rtld_local_ro instead of _rtld_global_ro.
55225         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
55226         Likewise.
55227         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
55228         Likewise.
55229         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
55230         Likewise.
55231         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
55232         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55233         of _rtld_global, and rtld_progname instead of _dl_argv[0].
55235         [BZ #10882]
55236         * sysdeps/powerpc/powerpc32/dl-machine.c
55237         (__elf_machine_runtime_setup) [PROF]: Don't reference
55238         _dl_prof_resolve.
55240 2012-05-18  Andreas Jaeger  <aj@suse.de>
55242         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
55243         function only available for GCCs before 3.4 since GCC 3.4
55244         introduced a builtin.
55245         (lrint): Likewise.
55246         (llrintf): Likewise.
55247         (llrint): Likewise.
55248         (fmaxf): Likewise.
55249         (fmax): Likewise.
55250         (fminf): Likewise.
55251         (fmin): Likewise.
55252         (rint): Likewise.
55253         (rintf): Likewise.
55254         (nearbyint): Likewise.
55255         (nearbyintf): Likewise.
55256         (ceil): Likewise.
55257         (ceilf): Likewise.
55258         (floor): Likewise.
55259         (floorf): Likewise.
55261 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55263         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
55264         on both fields and cast pointer to __syscall_ulong_t.
55266         * bits/types.h (__fsword_t): New type.
55267         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
55268         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
55269         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55270         (__FSWORD_T_TYPE): Likewise.
55271         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55272         (__FSWORD_T_TYPE): Likewise.
55273         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55274         (__FSWORD_T_TYPE): Likewise.
55275         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
55276         (__FSWORD_T_TYPE): Likewise.
55277         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
55278         __SWORD_TYPE with __fsword_t.
55279         (statfs64): Likewise.
55281 2012-05-17  David S. Miller  <davem@davemloft.net>
55283         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
55285 2012-05-17  Andreas Jaeger  <aj@suse.de>
55287         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
55288         warning.
55290 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55292         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
55294 2012-05-17  Andreas Jaeger  <aj@suse.de>
55296         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
55297         when it is used.
55299 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55301         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
55303 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55305         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
55306         * sysdeps/x86_64/tst-mallocalign1.c: New file.
55308 2012-05-17  Andreas Jaeger  <aj@suse.de>
55309             Carlos O'Donell  <carlos_odonell@mentor.com>
55311         [BZ #14059]
55312         * sysdeps/x86_64/multiarch/init-arch.h
55313         (bit_YMM_Usable): Rename to...
55314         (bit_AVX_Usable): ... this.
55315         (bit_FMA4_Usable): New macro.
55316         (bit_XMM_state): New macro.
55317         (bit_YMM_state): New macro.
55318         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
55319         [__ASSEMBLER__] (index_AVX_Usable): ... this.
55320         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
55321         (CPUID_OSXSAVE): New macro.
55322         (CPUID_AVX): New macro.
55323         (CPUID_FMA4): New macro.
55324         (index_YMM_Usable): Rename to...
55325         (index_AVX_Usable): ... this.
55326         (HAS_AVX): Use HAS_ARCH_FEATURE.
55327         (HAS_FMA4): Likewise.
55328         (HAS_YMM_USABLE): Remove.
55329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55330         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
55331         are present.
55332         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
55333         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
55334         * sysdeps/x86_64/multiarch/Makefile: Likewise.
55335         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
55336         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
55338 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55340         * math/libm-test.c: Support platforms without multiple rounding modes.
55341         * math/bug-nextafter.c: Support platforms without FP exceptions.
55342         * math/bug-nexttoward.c: Likewise.
55343         * math/test-fenv.c: Likewise.
55344         * math/test-misc.c: Likewise.
55345         * stdlib/bug-getcontext.c: Likewise.
55347 2012-05-17  Andreas Jaeger  <aj@suse.de>
55349         * manual/examples/search.c (critter_cmp): Change signature to
55350         avoid warnings.
55351         * manual/string.texi (Collation Functions): Likewise.
55353 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55355         * bits/types.h: Fold copyright years.
55356         * bits/typesizes.h: Likewise.
55357         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
55358         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55359         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
55360         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
55361         * time/time.h: Likewise.
55363 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
55365         [BZ #208]
55366         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
55367         in instead of returning them.  Return void.
55368         (__libc_mallinfo): Accumulate over all arenas.
55369         (__malloc_stats): Adjust for change in int_mallinfo interface.
55371 2012-05-16  Roland McGrath  <roland@hack.frob.com>
55373         [BZ #10375]
55374         * configure.in (NM): Add AC_CHECK_TOOL for it.
55375         (libc_extra_cflags): New substituted variable.
55376         Check for -fstack-protector being used implicitly.
55377         * configure: Regenerated.
55378         * config.make.in (config-extra-cflags): New variable,
55379         gets @libc_extra_cflags@.
55380         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
55382         [BZ #10375]
55383         * configure.in: Check for _FORTIFY_SOURCE being predefined.
55384         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
55385         * configure: Regenerated.
55386         * config.make.in (CPPUNDEFS): New substituted variable.
55387         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
55388         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
55389         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
55391 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55393         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
55394         (mq_attr): Use __syscall_slong_t.
55396 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55398         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
55399         Check __x86_64__ instead of __WORDSIZE.
55400         (_STAT_VER_LINUX): Likewise.
55401         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
55402         __syscall_ulong_t and __syscall_slong_t.
55403         (stat64): Likewise.
55405 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55407         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
55409 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55411         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
55413 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55415         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
55416         __syscall_ulong_t.
55418         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
55419         include <bits/wordsize.h>.  Check __x86_64__ instead of
55420         __WORDSIZE.
55421         (greg_t): Use "__extension__ long long int" if __x86_64__ is
55422         defined.
55423         (mcontext_t): Replace "unsigned long" with "unsigned long long".
55425         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
55426         include <bits/wordsize.h>.  Check __x86_64__ instead of
55427         __WORDSIZE.
55428         (user_regs_struct): Use "__extension__ unsigned long long"
55429         instead of "unsigned long" if __x86_64__ is defined.
55430         (user): Likewise.  Pad after pointer field if __ILP32__ is
55431         defined.
55433 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
55435         * configure.in (makeinfo): Require version 4.5 or later.  Allow
55436         versions 5 to 9.
55437         * configure: Regenerated.
55438         * manual/install.texi (texinfo): Increase version requirement to
55439         4.5 or later.
55440         * INSTALL: Regenerated.
55442         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
55444 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55446         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
55448         * sysdeps/x86_64/x32/ffs.c: New file.
55450         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
55451         __syscall_ulong_t.
55452         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
55453         defined.  Use __syscall_ulong_t.
55454         (shminfo): Use __syscall_ulong_t.
55455         (shm_info): Likewise.
55457         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
55458         __syscall_ulong_t.
55460         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
55461         <bits/wordsize.h>.
55462         (msgqnum_t): Use __syscall_ulong_t.
55463         (msglen_t): Likewise.
55464         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
55465         __syscall_ulong_t.
55467         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
55468         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55470         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
55472         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
55473         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
55475         * sysvipc/sys/msg.h (msgbuf): Replace long int with
55476         __syscall_slong_t.
55478         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
55479         include <bits/wordsize.h>.  Check __x86_64__ instead of
55480         __WORDSIZE.
55482         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
55483         "unsigned long long int" if __x86_64__ is defined.
55484         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
55486         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
55487         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55488         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
55490         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
55491         <stdint.h>.
55492         (GET_PC): Cast to uintptr_t first.
55493         (GET_FRAME): Likewise.
55494         (GET_STACK): Likewise.
55496         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
55497         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
55498         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
55499         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
55500         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
55501         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
55502         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
55503         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
55504         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
55505         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
55506         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
55507         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
55508         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55509         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
55510         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
55511         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
55512         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
55513         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
55514         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
55515         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
55516         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
55517         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
55518         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
55519         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
55520         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
55521         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
55522         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
55523         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
55524         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
55526 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
55528         * Makerules (+depfiles): Also collect depfiles from .oS in
55529         $(extra-objs).
55530         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
55531         .oS, $(libnldbl-routines)).
55533         * Makerules (native-compile-mkdep-flags): Define.
55534         * sunrpc/Makefile (extra-objs): Add $(addprefix
55535         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
55536         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
55537         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
55538         calling $(make-target-directory).
55540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55542         * bits/types.h (__snseconds_t): Removed.
55543         * time/time.h (struct timespec): Replace __snseconds_t with
55544         __syscall_slong_t.
55545         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
55546         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
55547         Likewise.
55548         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55549         (__SNSECONDS_T_TYPE): Likewise.
55550         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55551         (__SNSECONDS_T_TYPE): Likewise.
55552         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55553         (__SNSECONDS_T_TYPE): Likewise.
55555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55557         * sysdeps/mach/hurd/bits/typesizes.h
55558         (__SYSCALL_SLONG_TYPE): New macro.
55559         (__SYSCALL_ULONG_TYPE): Likewise.
55561 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55563         * bits/types.h (__syscall_slong_t): New type.
55564         (__syscall_ulong_t): Likewise.
55566         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
55567         (__SYSCALL_ULONG_TYPE): Likewise.
55568         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55569         (__SYSCALL_SLONG_TYPE): Likewise.
55570         (__SYSCALL_ULONG_TYPE): Likewise.
55571         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55572         (__SYSCALL_SLONG_TYPE): Likewise.
55573         (__SYSCALL_ULONG_TYPE): Likewise.
55574         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55575         (__SYSCALL_SLONG_TYPE): Likewise.
55576         (__SYSCALL_ULONG_TYPE): Likewise.
55578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55580         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
55581         Add sigaltstack-offsets.sym.
55582         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
55583         <sigaltstack-offsets.h>.
55584         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
55585         longjmp_msg pointer.
55586         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
55587         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
55588         signal stack.
55589         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
55591 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
55593         * elf/stackguard-macros.h: Remove file.
55594         * sysdeps/generic/stackguard-macros.h: New file.
55595         * sysdeps/i386/stackguard-macros.h: Likewise.
55596         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55597         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55598         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55599         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55600         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55601         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55602         * sysdeps/x86_64/stackguard-macros.h: Likewise.
55603         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
55604         <elf/stackguard-macros.h>.
55606         [BZ #14109]
55607         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
55608         __aligned__ in attribute.
55609         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
55610         (gregset_t): Likewise.
55612 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55614         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
55615         * sysdeps/x86_64/64/Implies-after: Here.  New file.
55616         * sysdeps/x86_64/x32/Implies-after: New file.
55618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55620         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
55621         and access return value for _dl_profile_fixup.  Use R10_LP to
55622         load frame size.
55624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55626         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
55628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55630         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
55631         * sysdeps/x86_64/x32/sysdep.h: New file.
55633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55635         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
55636         * sysdeps/x86_64/setjmp.S: Likewise.
55638 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55640         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
55641         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
55642         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
55643         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
55644         remove unused global constant.
55646 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
55648         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
55649         include of <not-cancel.h>.
55651 2012-05-15  Roland McGrath  <roland@hack.frob.com>
55653         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
55655 2012-05-15  Jeff Law  <law@redhat.com>
55656             Andreas Jaeger  <aj@suse.de>
55658         [BZ #13594]
55659         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
55660         out from...
55661         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
55662         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
55663         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
55664         code changing __hst_map_handle.map.
55666 2012-05-15  Roland McGrath  <roland@hack.frob.com>
55668         * configure.in (sysnames): Look for Implies-before and Implies-after
55669         files.
55670         * configure: Regenerated.
55672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55674         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
55675         8-byte data alignment with LP_SIZE alignment.
55677 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55679         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
55680         into R10_LP.
55682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55684         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
55686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55688         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
55689         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
55690         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
55691         Likewise.
55692         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55696         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
55697         (stackinfo_sub_sp): Likewise.
55699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55701         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
55702         RAX_LP.
55704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55706         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
55707         into R*_LP.
55709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55711         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
55712         sizes into R*_LP.
55714 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55716         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
55718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55720         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
55721         into R11_LP and load __x86_64_shared_cache_size_half into
55722         R8_LP.
55724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55726         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
55727         R8_LP.
55729 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55731         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
55732         logb for POWER7.
55733         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
55734         logbf for POWER7.
55735         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
55736         logbl for POWER7.
55737         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
55738         powerpc32/power7/fpu/s_logb.c via #include.
55739         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
55740         powerpc32/power7/fpu/s_logbf.c via #include.
55741         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
55742         powerpc32/power7/fpu/s_logbl.c via #include.
55744 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
55746         * README.libm: Remove file.
55748 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55750         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
55751         count for x32.  Use R*_LP and omit operand-size suffix.
55753 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55755         * shlib-versions: Move x86_64-.*-linux.* entries to ...
55756         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
55757         * sysdeps/x86_64/x32/shlib-versions: New file.
55759 2012-05-14  Roland McGrath  <roland@hack.frob.com>
55761         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
55762         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
55763         Use _dl_fatal_printf instead.
55765 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55767         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
55768         set if not set by the user.  Do not allow for being unset.
55769         * sysdeps/unix/sysv/linux/configure: Regenerated.
55771 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55773         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
55774         the `q' suffix from lea and replace .quad with ASM_ADDR.
55776 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55778         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
55779         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
55780         instead of $17.
55781         (PTR_DEMANGLE): Likewise.
55783 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55785         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
55786         (LP_OP): Likewise.
55787         (ASM_ADDR): Likewise.
55788         (RAX_LP): Likewise.
55789         (RBP_LP): Likewise.
55790         (RBX_LP): Likewise.
55791         (RCX_LP): Likewise.
55792         (RDI_LP): Likewise.
55793         (RSI_LP): Likewise.
55794         (RSP_LP): Likewise.
55795         (R8_LP): Likewise.
55796         (R9_LP): Likewise.
55797         (R10_LP): Likewise.
55798         (R10_LP): Likewise.
55799         (R11_LP): Likewise.
55800         (R12_LP): Likewise.
55801         (R13_LP): Likewise.
55802         (R14_LP): Likewise.
55803         (R15_LP): Likewise.
55805 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55807         * sysdeps/x86_64/x32/dl-machine.h: New file.
55809 2012-05-14  Andreas Jaeger  <aj@suse.de>
55811         * manual/Makefile (subdir): Remove export of subdir.
55812         (all): Remove target.
55813         (.PHONY): Remove all from list.
55814         (mkinstalldirs): Remove.
55815         (.PHONY): Remove installdirs from list.
55816         ($(inst_infodir)/libc.info): Use make-target-directory.
55817         (installdirs): Remove.
55818         (subdir_%): Remove.
55819         (glibc-targets): Remove.
55820         (lib): Remove.
55821         (stubs): Remove.
55822         ($(objpfx)stubs ../po/manual.pot): Remove.
55823         ($(objpfx)stamp%): Remove.
55824         (make-target-directory): Remove.
55825         (subdir_install): Remove.
55826         (routines): Remove.
55827         (aux): Remove.
55828         (sources): Remove.
55829         (objects): Remove.
55830         (headers): Remove.
55832         [BZ #13750]
55833         * manual/.gitignore: Remove, it's not needed anymore.
55834         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
55835         all files in it.
55836         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
55837         directory.
55838         (texis): Renamed to $(objpfx)texis.
55839         (texis-path): New, contains path to generated files.
55840         (chapters.%): Use texis-path for complete path, add extra argument
55841         libc-texinfo.sh.
55842         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
55843         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
55844         (summary,texi, stamp-summary): Use complete path of
55845         files. Generate files in build dir.
55846         (dir-add.texi): Build in build dir.
55847         (libm-err.texi,stamp-libm-err): Likewise.
55848         (version.texi, stamp-version): Likewise.
55849         (.%c.texi): Likewise.
55850         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
55851         (mostlyclean): Remove target.
55852         (realclean): Remove target.
55853         (generated): Add new variable with contents from mostlyclean and
55854         realclean, remove entries duplicated in common-mostlyclean, add
55855         stamp-libm-err and stamp-version.
55856         (generated-dirs): Add libc directory.
55857         ($(inst_infodir)/libc.info): Install files from build dir.
55859         * manual/install.texi (Configuring and compiling): Adjust since
55860         the info files are not part of the tar ball anymore.
55862 2012-05-14  Andreas Jaeger  <aj@suse.de>
55864         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
55865         variable.
55867 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55869         [BZ #13717]
55870         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55871         to 2.2.0 where earlier.
55872         * sysdeps/unix/sysv/linux/configure: Regenerated.
55873         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
55874         Remove conditional code.
55875         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
55876         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
55877         Remove conditional code.
55878         [!__NR_lchown]: Likewise.
55879         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55880         [__NR_lchown]: Likewise.
55881         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
55882         comment referencing __ASSUME_LCHOWN_SYSCALL.
55883         * sysdeps/unix/sysv/linux/i386/sigaction.c
55884         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55885         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55886         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
55887         Remove conditional code.
55888         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
55889         (__protocol_available): Remove #if 0 code.
55890         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
55891         conditional code.
55892         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
55893         * sysdeps/unix/sysv/linux/kernel-features.h
55894         (__ASSUME_GETCWD_SYSCALL): Don't define.
55895         (__ASSUME_REALTIME_SIGNALS): Likewise.
55896         (__ASSUME_PREAD_SYSCALL): Likewise.
55897         (__ASSUME_PWRITE_SYSCALL): Likewise.
55898         (__ASSUME_POLL_SYSCALL): Likewise.
55899         (__ASSUME_LCHOWN_SYSCALL): Likewise.
55900         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
55901         non-SPARC.
55902         (__ASSUME_SIOCGIFNAME): Don't define.
55903         (__ASSUME_MSG_NOSIGNAL): Likewise.
55904         (__ASSUME_SENDFILE): Define unconditionally.
55905         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
55906         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
55907         conditional code.
55908         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
55909         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
55910         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55911         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55912         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
55913         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55914         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
55916         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55917         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
55919         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55920         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
55922         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55923         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
55925         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55926         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
55928         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55929         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
55931         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55932         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
55934         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55935         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
55937         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55938         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55939         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
55940         Remove conditional code.
55941         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55942         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55943         Remove conditional code.
55944         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55945         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
55946         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
55947         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55948         Remove conditional code.
55949         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55950         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
55951         Remove conditional code.
55952         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55953         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
55954         Remove conditional code.
55955         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55956         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55957         Remove conditional code.
55958         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55959         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55960         Remove conditional code.
55961         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55962         * sysdeps/unix/sysv/linux/sh/pwrite64.c
55963         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55964         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55965         * sysdeps/unix/sysv/linux/sigaction.c
55966         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55967         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55968         * sysdeps/unix/sysv/linux/sigpending.c
55969         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55970         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55971         * sysdeps/unix/sysv/linux/sigprocmask.c
55972         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55973         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55974         * sysdeps/unix/sysv/linux/sigsuspend.c
55975         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55976         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55977         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55978         (__libc_missing_rt_sigs): Remove.
55979         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
55980         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
55981         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
55982         Remove conditional code.
55983         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
55984         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
55985         return 1.
55986         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
55987         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
55988         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
55989         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
55991 2012-05-14  Andreas Jaeger  <aj@suse.de>
55993         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
55994         it's not used in glibc.
55995         (__coshm1): Likewise.
55996         (__acosh1p): Likewise.
55997         (__sgn): Likewise.
55999         * manual/string.texi (Copying and Concatenation): Add missing
56000         variable in concat example.
56001         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
56003 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56005         [BZ #14103]
56006         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
56007         __builtin_clzl with __builtin_clzll.
56009 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56011         [BZ #14104]
56012         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
56013         libc_freeres_ptr.
56015 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56017         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
56018         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
56019         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
56020         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
56022 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
56024         * NEWS: Update ia64 info.
56026 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
56028         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
56029         used as bcopy.
56031 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
56033         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
56034         * sysdeps/unix/syscalls.list (dup3): Likewise.
56035         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
56036         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
56038 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56040         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
56041         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
56043 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56045         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
56046         thread pointer.
56047         (TLS_IE): Use mov/add instead of movq/addq to load thread
56048         pointer.
56049         (TLS_GD_PREFIX): New.
56050         (TLS_GD): Use it.
56052 2012-05-11  David S. Miller  <davem@davemloft.net>
56054         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
56055         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
56056         (_FPU_SETCW): Likewise.
56058 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56060         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
56061         is 32-byte aligned.
56063 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
56065         [BZ #11837]
56066         * iconvdata/gb18030.c: Update tables.
56067         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
56068         characters specially.
56069         (BODY for TO_LOOP): Add encoding of missing ranges.
56071 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
56073         [BZ #13673]
56074         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
56075         * sysdeps/mach/hurd/dup3.c: Likewise.
56076         * sysdeps/mach/hurd/readlinkat.c: Likewise.
56077         * sysdeps/powerpc/memmove.c:: Likewise.
56079 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56081         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
56082         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
56084 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56086         * elf/elf.h (R_X86_64_RELATIVE64): New.
56087         (R_X86_64_NUM): Updated.
56088         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56089         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
56090         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
56091         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
56092         tst-quad1pie tst-quad2pie
56093         (modules-names): Add tst-quadmod1 tst-quadmod2.
56094         ($(objpfx)tst-quad1): New dependency.
56095         ($(objpfx)tst-quad2): Likewise.
56096         ($(objpfx)tst-quad1pie): Likewise.
56097         ($(objpfx)tst-quad2pie): Likewise.
56098         * sysdeps/x86_64/tst-quad1.c: New file.
56099         * sysdeps/x86_64/tst-quad1pie.c: New file.
56100         * sysdeps/x86_64/tst-quad2.c: Likewise.
56101         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
56102         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
56103         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
56104         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
56105         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
56107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56109         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
56110         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
56111         * streams/stropts.h (t_scalar_t): Define type.
56113         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
56114         (_PATH_PRESERVE): Set to "/var/lib".
56115         (_PATH_RWHODIR): Set to "/var/spool/rwho".
56117         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
56118         instead of int.
56120         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
56121         if __dir_mkfile succeeded.
56123         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
56124         checking for _hurd_dtablesize.  Unlock it right after having
56125         finished _hurd_dtable allocation.
56127 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56129         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
56130         * sysdeps/mach/hurd/configure: Regenerated.
56131         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
56132         special-casing to...
56133         * sysdeps/gnu/configure.in: ... this new file.
56134         * sysdeps/unix/sysv/linux/configure: Regenerated.
56135         * sysdeps/gnu/configure: New generated file.
56137         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
56138         for Linux: use nsec instead of usec, as well as:
56139         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
56140         members of type struct timespec.
56141         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
56142         New macros.
56143         (struct stat64): Likewise.
56144         (_STATBUF_ST_NSEC): New macro.
56145         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
56147         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56148         __strtoul_internal rather than strtoul.
56150 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56152         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
56153         and reject them.
56155 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56157         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
56158         which preserves existing values.
56159         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
56161 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56163         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
56164         TIMEOUT values.  Return EINVAL for NFDS values either negative or
56165         greater than FD_SETSIZE.
56167 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56169         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56170         allocated, call __vm_protect to finish enabling the existing space, and
56171         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
56172         allocate the remainder.
56174 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56176         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
56177         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
56179 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56181         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56182         sysdeps/mach/hurd/readlink.c.
56184         * posix/tst-sysconf.c (posix_options): Only use
56185         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
56186         _POSIX_SYNCHRONIZED_IO when they are defined
56187         * sysdeps/mach/hurd/bits/posix_opt.h:
56188         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
56189         (_XOPEN_REALTIME): Undefine macro.
56190         (_XOPEN_REALTIME_THREADS): Undefine macro.
56191         (_XOPEN_SHM): Undefine macro.
56192         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
56193         macro to -1.
56194         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
56195         macro to -1.
56196         (_POSIX_ASYNC_IO): Undefine macro.
56197         (_POSIX_PRIORITIZED_IO): Undefine macro.
56198         (_POSIX_SPIN_LOCKS): Define macro to -1.
56200         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
56201         SA_NODEFER, SA_RESETHAND.
56202         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
56203         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
56204         F_DUPFD_CLOEXEC.
56206 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56208         * elf/Makefile (pldd-modules): Define unconditionally.
56210 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56212         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
56214 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56216         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
56217         Return ENOENT when name is empty.
56218         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
56220 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56222         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
56224         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
56226 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56228         Fix mlock in all cases except non-readable pages.
56229         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
56230         instead of VM_PROT_ALL as parameter to __vm_wire function.
56232         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
56233         (__mkdir): When path is `/', just fail with EEXIST.
56234         * sysdeps/mach/hurd/mkdirat.c: Likewise.
56236 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56238         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
56239         <sys/uio.h> (for writev).
56240         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
56241         and <sys/param.h> (for MIN).
56243 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56245         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
56246         REQUESTED_TIME.  Properly set the remaining time and return EINTR
56247         if interrupted.
56249 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56251         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
56252         Depend on against $(link-rpcuserlibs).
56254 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56256         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
56257         (__libc_stack_end): Do not use attribute_relro.
56258         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
56259         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
56260         to libthread-provided value.
56261         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
56262         attribute_relro.
56264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56266         [BZ #3748]
56267         * bits/libc-lock.h (__libc_once_get): New macro.
56268         * sysdeps/mach/bits/libc-lock.h: Likewise.
56269         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
56270         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
56271         instead of using implementation details.
56273         * libio/fileops.c: Unconditionally include <kernel-features.h>.
56274         * libio/freopen.c: Likewise.
56275         * libio/freopen64.c: Likewise.
56276         * misc/syslog.c: Likewise.
56277         * nscd/connections.c: Likewise.
56278         * nscd/netgroupcache.c: Likewise.
56279         * sysdeps/posix/getcwd.c: Likewise.
56281 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56283         * math/w_ilogbf.c: Add #include <limits.h>.
56285 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56287         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
56288         path instead of returning without unlocking.
56290         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
56291         immediate-write ioctls.
56292         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
56294 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56296         * sysdeps/mach/hurd/i386/init-first.c (init): Use
56297         __builtin_frame_address instead of making assumptions about the
56298         location of the return address relative to DATA.  Force early load of
56299         the return address.
56300         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
56301         __builtin_frame_address.
56303         dup3 for GNU Hurd.
56304         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
56305         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
56306         implement dup3 and do some further code clean-ups.
56307         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
56308         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
56310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56312         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
56314         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
56315         HURD_CRITICAL_END around holding _hurd_dtable_lock.
56316         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
56317         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
56318         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
56319         d->port.lock.
56321         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
56322         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
56323         when handler == SIG_ERR, not when handler != SIG_ERR.
56325 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56327         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
56328         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
56329         definitions.
56331         accept4 for GNU Hurd.
56332         * include/sys/socket.h (__libc_accept4): New prototype.
56333         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
56334         to implement __libc_accept4.
56335         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
56336         __libc_accept4.
56337         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
56339         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
56340         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
56341         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
56342         signal-defines.sym.
56344 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56346         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
56348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56350         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
56351         assertion on O_CLOEXEC flag.
56352         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
56353         * hurd/intern-fd.c: Likewise.
56354         * hurd/port2fd.c: Likewise.
56356 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56358         [BZ #3906]
56359         * bits/in.h (IPV6_PKTINFO): Define new macro.
56360         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
56362 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56364         [BZ #13954]
56365         [BZ #13955]
56366         [BZ #13956]
56367         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
56368         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56369         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
56370         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56371         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56372         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56373         * math/libm-test.inc (logb_test) : Additional logb tests.
56375 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
56376             Andreas Jaeger  <aj@suse.de>
56378         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
56379         * configure: Regenerated.
56380         * config.h.in (LINK_OBSOLETE_RPC): New macro.
56381         * config.make.in (link-obsolete-rpc): New substituted variable.
56382         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
56383         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
56384         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56385         (shared-only-routines): Don't set it under [link-obsolete-rpc],
56386         so that libc.a contains the symbols.
56387         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56388         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
56389         * sunrpc/auth_none.c: Likewise.
56390         * sunrpc/auth_unix.c: Likewise.
56391         * sunrpc/authdes_prot.c: Likewise.
56392         * sunrpc/authuxprot.c: Likewise.
56393         * sunrpc/clnt_gen.c: Likewise.
56394         * sunrpc/clnt_perr.c: Likewise.
56395         * sunrpc/clnt_raw.c: Likewise.
56396         * sunrpc/clnt_simp.c: Likewise.
56397         * sunrpc/clnt_tcp.c: Likewise.
56398         * sunrpc/clnt_udp.c: Likewise.
56399         * sunrpc/clnt_unix.c: Likewise.
56400         * sunrpc/des_crypt.c: Likewise.
56401         * sunrpc/des_soft.c: Likewise.
56402         * sunrpc/get_myaddr.c: Likewise.
56403         * sunrpc/key_call.c: Likewise.
56404         * sunrpc/key_prot.c: Likewise.
56405         * sunrpc/netname.c: Likewise.
56406         * sunrpc/pm_getmaps.c: Likewise.
56407         * sunrpc/pm_getport.c: Likewise.
56408         * sunrpc/pmap_clnt.c: Likewise.
56409         * sunrpc/pmap_prot.c: Likewise.
56410         * sunrpc/pmap_prot2.c: Likewise.
56411         * sunrpc/pmap_rmt.c: Likewise.
56412         * sunrpc/publickey.c: Likewise.
56413         * sunrpc/rpc_cmsg.c: Likewise.
56414         * sunrpc/rpc_common.c: Likewise.
56415         * sunrpc/rpc_dtable.c: Likewise.
56416         * sunrpc/rpc_prot.c: Likewise.
56417         * sunrpc/rpc_thread.c: Likewise.
56418         * sunrpc/rtime.c: Likewise.
56419         * sunrpc/svc.c: Likewise.
56420         * sunrpc/svc_auth.c: Likewise.
56421         * sunrpc/svc_raw.c: Likewise.
56422         * sunrpc/svc_run.c: Likewise.
56423         * sunrpc/svc_tcp.c: Likewise.
56424         * sunrpc/svc_udp.c: Likewise.
56425         * sunrpc/svc_unix.c: Likewise.
56426         * sunrpc/svcauth_des.c: Likewise.
56427         * sunrpc/xcrypt.c: Likewise.
56428         * sunrpc/xdr.c: Likewise.
56429         * sunrpc/xdr_array.c: Likewise.
56430         * sunrpc/xdr_float.c: Likewise.
56431         * sunrpc/xdr_intXX_t.c: Likewise.
56432         * sunrpc/xdr_mem.c: Likewise.
56433         * sunrpc/xdr_rec.c: Likewise.
56434         * sunrpc/xdr_ref.c: Likewise.
56435         * sunrpc/xdr_sizeof.c: Likewise.
56436         * sunrpc/xdr_stdio.c: Likewise.
56438 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56440         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
56441         change.  Update copyright years.
56443 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56445         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
56447 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
56448             Joseph Myers  <joseph@codesourcery.com>
56449             Paul Pluzhnikov  <ppluzhnikov@google.com>
56451         [BZ #14012]
56452         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
56453         requiring rpcgen.
56454         [cross-compiling] (extra-libs): Likewise.
56455         [cross-compiling] (extra-libs-others): Likewise.
56456         [cross-compiling] (librpcsvc-routines): Likewise.
56457         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
56458         [cross-compiling] (omit-deps): Likewise.
56459         (sunrpc-CPPFLAGS): New variable.
56460         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
56461         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
56462         (cross-rpcgen-objs): New variable.
56463         (extra-objs): Append $(cross-rpcgen-objs).
56464         ($(cross-rpcgen-objs)): New rule.
56465         ($(objpfx)cross-rpcgen): Likewise.
56466         (rpcgen-cmd): Define to use $(built-program-file).  Expand
56467         comment.
56468         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
56469         ($(objpfx)x%.stmp): Likewise.
56470         * sunrpc/proto.h [IS_IN_build] (_): Define.
56471         [IS_IN_build] (_libc_intl_domainname): Likewise.
56473 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56475         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
56476         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
56477         and R_X86_64_TPOFF64.
56479 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56481         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
56482         sysdeps/unix/sysv/syscalls.list.
56483         (stime): Likewise.
56484         (utime): Likewise.
56485         * sysdeps/unix/sysv/syscalls.list: Remove file.
56487 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
56489         [BZ #3440]
56490         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
56491         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
56492         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
56493         (__LC_IDENTIFICATION): Make these macros useful in #if
56494         expressions, as required by C99.
56496 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
56498         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
56499         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
56500         after this.
56502 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
56504         * stdlib/longlong.h: Updated from GCC.
56506 2012-05-09  Andreas Jaeger  <aj@suse.de>
56508         * nscd/nscd.c (run_modes): Make named enum, reorder so that
56509         default is first entry.
56510         (run_mode): Set type.
56511         (main): Remove informal message about syslog.
56512         (options): Fix typo.
56514         [BZ #14053]
56515         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
56516         to asm.
56517         (lrint): Likewise.
56518         (llrintf): Likewise.
56519         (llrint): Likewise.
56520         (rint): Likewise.
56521         (rintf): Likewise.
56522         (nearbyint): Likewise.
56523         (nearbyintf): Likewise.
56525 2012-05-09  Andreas Jaeger  <aj@suse.de>
56526             Pedro Alves  <palves@redhat.com>
56528         * nscd/nscd.c (run_mode): Use enum.
56529         (main): Cleanup coding style issue.
56531 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
56532             Andreas Jaeger  <aj@suse.de>
56534         * nscd/nscd.c (go_background): Replaced with...
56535         (run_mode): ... this.
56536         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
56537         (options): Add -F --foreground.
56538         (main): Implement it.
56539         (parse_opt): Parse it.
56541 2012-05-09  Andreas Jaeger  <aj@suse.de>
56543         [BZ #14083]
56544         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
56545         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
56546         -Wconversion warning.
56547         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
56548         Likewise.
56550 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
56552         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
56553         == 0.
56554         (LC_ALL): Use macro-int-constant.
56555         (LC_COLLATE): Likewise.
56556         (LC_CTYPE): Likewise.
56557         (LC_MESSAGES): Likewise.
56558         (LC_MONETARY): Likewise.
56559         (LC_NUMERIC): Likewise.
56560         (LC_TIME): Likewise.
56561         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
56562         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
56563         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56564         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
56565         Specify type.
56566         [C99-based standards] (float_t): Expect type.
56567         [C99-based standards] (double_t): Expect type.
56568         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
56569         type.
56570         [C99-based standards] (HUGE_VALL): Likewise.
56571         [C99-based standards] (INFINITY): Likewise.
56572         [C99-based standards] (NAN): Likewise.
56573         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
56574         [C99-based standards] (FP_NAN): Likewise.
56575         [C99-based standards] (FP_NORMAL): Likewise.
56576         [C99-based standards] (FP_SUBNORMAL): Likewise.
56577         [C99-based standards] (FP_ZERO): Likewise.
56578         [C99-based standards] (FP_FAST_FMA): Use
56579         optional-macro-int-constant.  Specify type.  Require == 1.
56580         [C99-based standards] (FP_FAST_FMAF): Likewise.
56581         [C99-based standards] (FP_FAST_FMAL): Likewise.
56582         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
56583         [C99-based standards] (FP_ILOGBNAN): Likewise.
56584         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
56585         Specify type.
56586         [C99-based standards] (MATH_ERREXCEPT): Likewise.
56587         [C99-based standards] (math_errhandling): Specify type.
56588         [ISO99 || ISO11] (signgam): Do not allow.
56589         [non-C99-based standards] (copysignf): Do not allow.
56590         [non-C99-based standards] (exp2f): Likewise.
56591         [non-C99-based standards] (log2f): Likewise.
56592         [non-C99-based standards] (modff): Allow.
56593         [non-C99-based standards] (erff): Do not allow.
56594         [non-C99-based standards] (erfcf): Likewise.
56595         [non-C99-based standards] (gammaf): Likewise.
56596         [non-C99-based standards] (hypotf): Likewise.
56597         [non-C99-based standards] (j0f): Likewise.
56598         [non-C99-based standards] (j1f): Likewise.
56599         [non-C99-based standards] (jnf): Likewise.
56600         [non-C99-based standards] (lgammaf): Likewise.
56601         [non-C99-based standards] (tgammaf): Likewise.
56602         [non-C99-based standards] (y0f): Likewise.
56603         [non-C99-based standards] (y1f): Likewise.
56604         [non-C99-based standards] (ynf): Likewise.
56605         [non-C99-based standards] (isnanf): Likewise.
56606         [non-C99-based standards] (acoshf): Likewise.
56607         [non-C99-based standards] (asinhf): Likewise.
56608         [non-C99-based standards] (atanhf): Likewise.
56609         [non-C99-based standards] (cbrtf): Likewise.
56610         [non-C99-based standards] (expm1f): Likewise.
56611         [non-C99-based standards] (ilogbf): Likewise.
56612         [non-C99-based standards] (log1pf): Likewise.
56613         [non-C99-based standards] (logbf): Likewise.
56614         [non-C99-based standards] (nextafterf): Likewise.
56615         [non-C99-based standards] (remainderf): Likewise.
56616         [non-C99-based standards] (rintf): Likewise.
56617         [non-C99-based standards] (scalbf): Likewise.
56618         [non-C99-based standards] (copysignl): Likewise.
56619         [non-C99-based standards] (exp2l): Likewise.
56620         [non-C99-based standards] (log2l): Likewise.
56621         [non-C99-based standards] (modfl): Allow.
56622         [non-C99-based standards] (erfl): Do not allow.
56623         [non-C99-based standards] (erfcl): Likewise.
56624         [non-C99-based standards] (gammal): Likewise.
56625         [non-C99-based standards] (hypotl): Likewise.
56626         [non-C99-based standards] (j0l): Likewise.
56627         [non-C99-based standards] (j1l): Likewise.
56628         [non-C99-based standards] (jnl): Likewise.
56629         [non-C99-based standards] (lgammal): Likewise.
56630         [non-C99-based standards] (tgammal): Likewise.
56631         [non-C99-based standards] (y0l): Likewise.
56632         [non-C99-based standards] (y1l): Likewise.
56633         [non-C99-based standards] (ynl): Likewise.
56634         [non-C99-based standards] (isnanl): Likewise.
56635         [non-C99-based standards] (acoshl): Likewise.
56636         [non-C99-based standards] (asinhl): Likewise.
56637         [non-C99-based standards] (atanhl): Likewise.
56638         [non-C99-based standards] (cbrtl): Likewise.
56639         [non-C99-based standards] (expm1l): Likewise.
56640         [non-C99-based standards] (ilogbl): Likewise.
56641         [non-C99-based standards] (log1pl): Likewise.
56642         [non-C99-based standards] (logbl): Likewise.
56643         [non-C99-based standards] (nextafterl): Likewise.
56644         [non-C99-based standards] (remainderl): Likewise.
56645         [non-C99-based standards] (rintl): Likewise.
56646         [non-C99-based standards] (scalbl): Likewise.
56647         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56648         [non-C99-based standards] (FP_*): Do not allow.
56649         [C99-based standards] (FP_*): Change to
56650         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
56651         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56652         allow.
56653         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
56654         (SIG_ERR): Likewise.
56655         [X/Open-based standards] (SIG_HOLD): Likewise.
56656         (SIG_IGN): Likewise.
56657         (SIGABRT): Use macro-int-constant.  Specify type.  Require
56658         positive value.
56659         (SIGFPE): Likewise.
56660         (SIGILL): Likewise.
56661         (SIGINT): Likewise.
56662         (SIGSEGV): Likewise.
56663         (SIGTER): Likewise.
56664         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
56665         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
56666         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
56667         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
56668         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
56669         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
56670         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
56671         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
56672         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
56673         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
56674         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
56675         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
56676         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
56677         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
56678         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
56679         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
56680         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
56681         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
56682         [X/Open-based standards] (SIGTRAP): Likewise.
56683         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
56684         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
56685         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
56686         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
56687         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56688         allow.
56690 2012-05-08  Ian Wienand  <ianw@vmware.com>
56692         [BZ #14080]
56693         * time/tzset.c (__tzset_parse_tz): Update default rules for
56694         daylight time changes in the Energy Policy Act of 2005.
56696 2012-05-09  Andreas Jaeger  <aj@suse.de>
56698         [BZ #13983]
56699         * elf/ldconfig.c (parse_conf): Change string to make clear that
56700         ldconfig only issued a warning if ld.so.conf does not exist.
56702 2012-05-08  David S. Miller  <davem@davemloft.net>
56704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
56705         movxtod instead of popping the value on the stack.
56707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56709 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
56711         * config.h.in: Add HAVE_ARM_PCS_VFP.
56713 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
56715         [BZ #13979]
56716         * include/features.h: Warn if user requests __FORTIFY_SOURCE
56717         checking but the checks are disabled for any reason.
56719 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
56721         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
56722         and ELF64_R_TYPE with ELFW(R_TYPE).
56724 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
56726         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
56727         (ulimit): Likewise.
56729         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
56730         (settimeofday): Likewise.
56732 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
56734         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
56735         a struct th_u2 inside the union, and move tu_block/tu_code into
56736         a new th_u3 union of tu_block/tu_code inside of that.  Move
56737         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
56738         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
56739         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
56740         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
56741         (th_stuff): Change to th_u1.tu_stuff.
56742         (th_data): Define.
56743         (th_msg): Change to th_u1.th_u2.tu_data.
56745 2012-05-07  David S. Miller  <davem@davemloft.net>
56747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56749         [BZ #14074]
56750         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
56751         (SETUP_PIC_REG): Use it.
56752         (SETUP_PIC_REG_LEAF): Use it.
56754 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
56756         [BZ #13885]
56757         [BZ #13923]
56758         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56759         USE_AS_EXPM1L.
56760         (EXPL_FINITE): Likewise.
56761         (FLDLOG): Likewise.
56762         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
56763         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
56764         e_expl.S.
56765         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56766         USE_AS_EXPM1L.
56767         (EXPL_FINITE): Likewise.
56768         (FLDLOG): Likewise.
56769         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
56770         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
56771         e_expl.S.
56772         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
56773         test of -max_value argument for long double.
56774         * sysdeps/i386/fpu/libm-test-ulps: Update.
56775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56777 2012-05-06  David S. Miller  <davem@davemloft.net>
56779         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
56780         quad soft-float symbols whose references which are compiler
56781         generated.
56782         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56784 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
56786         [BZ #13884]
56787         [BZ #13914]
56788         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56789         USE_AS_EXP10L.
56790         (EXPL_FINITE): Likewise.
56791         (FLDLOG): Likewise.
56792         (c0): Likewise.
56793         (c1): Likewise.
56794         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56795         Adjust comments for base varying.
56796         (__expl_finite): Change alias to EXPL_FINITE.
56797         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
56798         e_expl.S.
56799         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
56800         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
56801         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56802         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
56803         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56804         USE_AS_EXP10L.
56805         (EXPL_FINITE): Likewise.
56806         (FLDLOG): Likewise.
56807         (c0): Likewise.
56808         (c1): Likewise.
56809         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56810         Adjust comments for base varying.
56811         (__expl_finite): Change alias to EXPL_FINITE.
56812         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
56813         tests for bugs.
56814         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56816         [BZ #14064]
56817         * math/libm-test.inc (check_float_internal): Correct ulp
56818         calculation for subnormal expected results.
56820 2012-05-06  Andreas Jaeger  <aj@suse.de>
56822         * Makeconfig (+math-flags): New, set to -frounding-math.
56823         (+cflags): Add +math-flags so that all of glibc gets compiled with
56824         it.
56826         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
56828 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
56830         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
56831         Disable one test.
56833         [BZ #13787]
56834         [BZ #13922]
56835         [BZ #14036]
56836         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
56837         (__ieee754_expl): Allow for and saturate large arguments.
56838         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
56839         (u_threshold): Likewise.
56840         (__exp): Call __ieee754_exp before checking for overflow and
56841         underflow.
56842         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
56843         (u_threshold): Likewise.
56844         (__expf): Call __ieee754_expf before checking for overflow and
56845         underflow.
56846         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
56847         (u_threshold): Likewise.
56848         (__expl): Call __ieee754_expl before checking for overflow and
56849         underflow.
56850         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
56851         (__ieee754_expl): Allow for and saturate large arguments.
56852         * math/libm-test.inc (exp_test): Add another test.  Do not allow
56853         missing overflow exception on overflow.
56854         (expm1_test): Do not allow missing overflow exception on overflow.
56856         * sysdeps/i386/fpu/e_expl.c: Move to ...
56857         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
56858         rather than using inline asm.
56859         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
56860         * sysdeps/x86_64/fpu/e_expl.S: Copy from
56861         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
56863         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
56864         (nice): Likewise.
56865         (poll): Likewise.
56866         (signal): Likewise.
56867         (time): Likewise.
56868         (times): Likewise.
56870 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56872         * sysdeps/unix/syscalls.list (adjtime): Add entry from
56873         sysdeps/unix/common/syscalls.list.
56874         (fchmod): Likewise.
56875         (fchown): Likewise.
56876         (ftruncate): Likewise.
56877         (getrusage): Likewise.
56878         (gettimeofday): Likewise.
56879         (setpgid): Likewise.
56880         (setregid): Likewise.
56881         (setreuid): Likewise.
56882         (sigaction): Likewise.
56883         (truncate): Likewise.
56884         (vhangup): Likewise.
56885         * sysdeps/unix/common/syscalls.list: Remove file.
56886         * sysdeps/unix/bsd/Implies: Don't include unix/common.
56887         * sysdeps/unix/sysv/linux/Implies: Likewise.
56889 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
56891         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
56892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
56893         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
56894         Moved to ...
56895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
56896         Here.
56897         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
56898         to ...
56899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
56900         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
56901         to ...
56902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
56903         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
56904         to ...
56905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
56906         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
56907         to ...
56908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
56909         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
56910         to ...
56911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
56912         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
56913         to ...
56914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
56915         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
56916         to ...
56917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56918         Here.
56919         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
56920         to ...
56921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
56922         Here.
56923         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
56924         to ...
56925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
56926         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
56927         Moved to ...
56928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
56929         Here.
56930         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
56931         to ...
56932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
56934 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56936         * sysdeps/unix/common/bits/dirent.h: Remove file.
56937         * sysdeps/unix/common/bits/fcntl.h: Likewise.
56939         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
56940         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
56941         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
56942         * sysdeps/unix/bsd/isatty.c: Likewise.
56943         * sysdeps/unix/bsd/tcdrain.c: Likewise.
56944         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
56945         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
56947 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56949         [BZ #13563]
56950         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
56951         long double comparison inaccuracies.
56952         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56955 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
56957         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
56958         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
56960 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56962         [BZ #14049]
56963         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
56964         nonzero digits before rounding a hex value.
56965         * stdlib/tst-strtod.c (tests): Add another test.
56967 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56969         * sysdeps/s390/fpu/libm-test-ulps: Update.
56971 2012-05-03  Andreas Jaeger  <aj@suse.de>
56973         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
56974         does not get optimized out.
56975         (malloc_opt_barrier): New.
56977 2012-05-03  Andreas Jaeger  <aj@suse.de>
56978             Roland McGrath  <roland@hack.frob.com>
56980         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
56981         intermediate file deletion.
56982         (generated): Add .symlist files.
56984 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
56986         [BZ #13775]
56987         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
56988         Redirect under this condition.
56989         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56990         [__USE_GNU] (__dprintf_chk): Not under this condition.
56991         [__USE_GNU] (__vdprintf_chk): Likewise.
56992         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
56993         under this condition.
56994         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56995         [__USE_XOPEN2K8] (dprintf): Define under this condition.
56996         [__USE_XOPEN2K8] (vdprintf): Likewise.
56997         [__USE_GNU] (__dprintf_chk): Not under this condition.
56998         [__USE_GNU] (__vdprintf_chk): Likewise.
56999         [__USE_GNU] (dprintf): Likewise.
57000         [__USE_GNU] (vdprintf): Likewise.
57002 2012-05-03  Roland McGrath  <roland@hack.frob.com>
57004         * elf/Makefile (common-generated): Set this instead of generated for
57005         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
57006         $(all-built-dso)-derived lists.
57008 2012-05-03  Andreas Jaeger  <aj@suse.de>
57010         * sysdeps/i386/fpu/libm-test-ulps: Update.
57012         * FAQ: Removed.
57013         * FAQ.in: Likewise.
57014         * scripts/gen-FAQ.pl: Likewise.
57015         * manual/install.texi (Installation): Point to online location of
57016         FAQ.
57017         * Makefile (files-for-dist): Remove FAQ.
57018         (FAQ): Remove.
57020 2012-05-02  Allan McRae  <allan@archlinux.org>
57022         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
57023         (LDFLAGS-reldepmod5.so): Likewise.
57024         (LDFLAGS-reldep6mod1.so): Likewise.
57025         (LDFLAGS-reldep6mod4.so): Likewise.
57026         (LDFLAGS-reldep8mod3.so): Likewise.
57027         (LDFLAGS-unload4mod1.so): Likewise.
57028         (LDFLAGS-unload4mod2.so): Likewise.
57029         (LDFLAGS-tst-initorder): Likewise.
57030         (LDFLAGS-tst-initordera2.so): Likewise.
57031         (LDFLAGS-tst-initordera3.so): Likewise.
57032         (LDFLAGS-tst-initordera4.so): Likewise.
57033         (LDFLAGS-tst-initorderb2.so): Likewise.
57034         (LDFLAGS-noload): Likewise.
57035         (LDFLAGS-next): Likewise.
57036         (LDFLAGS-order2mod1.so): Likewise.
57037         (LDFLAGS-order2mod2.so): Likewise.
57038         (LDFLAGS-tst-initorder2): Likewise.
57039         (LDFLAGS-tst-initorder2a.so): Likewise.
57040         (LDFLAGS-tst-initorder2b.so): Likewise.
57041         (LDFLAGS-tst-initorder2c.so): Likewise.
57042         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
57044 2012-05-02  David S. Miller  <davem@davemloft.net>
57046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57048 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
57050         [BZ #14055]
57051         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
57053 2012-05-02  Andreas Jaeger  <aj@suse.de>
57055         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
57056         since we manipulate rounding mode.
57057         (CPPFLAGS-test-idouble.c): Likewise.
57058         (CPPFLAGS-test-ifloat.c): Likewise.
57059         (CFLAGS-test-ldouble.c): Likewise.
57060         (CFLAGS-test-double.c): Likewise.
57061         (CFLAGS-test-float.c): Likewise.
57062         (CFLAGS-test-misc.c): Likewise.
57063         (CFLAGS-test-test-fenv.c): Likewise.
57065 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57067         [BZ #2550]
57068         [BZ #2570]
57069         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
57070         comparisons to determine direction to adjust input.
57072 2012-05-01  Roland McGrath  <roland@hack.frob.com>
57074         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
57075         output to the target.
57077         * scripts/localplt.awk: New file.
57078         * elf/Makefile ($(objpfx)check-localplt): Target removed.
57079         (check-localplt-CFLAGS): Variable removed.
57080         ($(all-built-dso:=.jmprel)): New static pattern rule.
57081         (generated): Add those targets.
57082         (localplt-built-dso): New variable.
57083         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
57085         * elf/check-localplt.c: File removed.
57087         * scripts/check-execstack.awk: New file.
57088         * elf/Makefile ($(objpfx)check-execstack): Target removed.
57089         (check-execstack-CFLAGS): Variable removed.
57090         ($(objpfx)check-execstack.h): Target removed.
57091         ($(objpfx)execstack-default): New target.
57092         (generated): Add that instead of check-execstack.h.
57093         ($(all-built-dso:=.phdr)): New static pattern rule.
57094         (generated): Add those targets.
57095         * elf/check-execstack.c: File removed.
57097         * scripts/check-textrel.awk: New file.
57098         * elf/Makefile ($(objpfx)check-textrel): Target removed.
57099         (check-textrel-CFLAGS): Variable removed.
57100         (all-built-dso): Use := to define.o
57101         ($(all-built-dso:=.dyn)): New static pattern rule.
57102         (generated): Add those targets.
57103         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
57104         * config.make.in (READELF): New substituted variable.
57105         * elf/check-textrel.c: File removed.
57107 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57109         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57110         allow.
57111         * conform/data/ctype.h-data [C99-based standards] (isblank):
57112         Expect function.
57113         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
57114         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
57115         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57116         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
57117         Specify type.  Require positive value.
57118         (EILSEQ): Likewise.
57119         (ERANGE): Likewise.
57120         [ISO || POSIX] (EILSEQ): Do not expect.
57121         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
57122         Specify type.  Require positive value.
57123         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
57124         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
57125         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
57126         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
57127         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
57128         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
57129         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
57130         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
57131         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
57132         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
57133         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
57134         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
57135         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
57136         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
57137         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
57138         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
57139         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
57140         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
57141         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
57142         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
57143         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
57144         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
57145         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
57146         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
57147         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
57148         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
57149         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
57150         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
57151         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
57152         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
57153         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
57154         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
57155         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
57156         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
57157         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
57158         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
57159         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
57160         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
57161         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
57162         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57163         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
57164         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
57165         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
57166         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
57167         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
57168         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
57169         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
57170         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
57171         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
57172         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
57173         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
57174         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
57175         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
57176         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
57177         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
57178         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
57179         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
57180         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
57181         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
57182         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
57183         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
57184         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
57185         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
57186         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
57187         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
57188         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
57189         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
57190         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
57191         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
57192         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
57193         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
57194         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
57195         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
57196         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
57197         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
57198         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
57199         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
57200         Require >= 2.
57201         (FLT_ROUNDS): Expect as macro, not constant.
57202         (FLT_MANT_DIG): Use macro-int-constant.
57203         (DBL_MANT_DIG): Likewise.
57204         (LDBL_MANT_DIG): Likewise.
57205         (FLT_DIG): Likewise.
57206         (DBL_DIG): Likewise.
57207         (LDBL_DIG): Likewise.
57208         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
57209         (DBL_MIN_EXP): Likewise.
57210         (LDBL_MIN_EXP): Likewise.
57211         (FLT_MAX_EXP): Use macro-int-constant.
57212         (DBL_MAX_EXP): Likewise.
57213         (LDBL_MAX_EXP): Likewise.
57214         (FLT_MAX_10_EXP): Likewise.
57215         (DBL_MAX_10_EXP): Likewise.
57216         (LDBL_MAX_10_EXP): Likewise.
57217         (FLT_MAX): Use macro-constant.
57218         (DBL_MAX): Likewise.
57219         (LDBL_MAX): Likewise.
57220         (FLT_EPSILON): Use macro-constant.  Give upper bound.
57221         (DBL_EPSILON): Likewise.
57222         (LDBL_EPSILON): Likewise.
57223         (FLT_MIN): Likewise.
57224         (DBL_MIN): Likewise.
57225         (LDBL_MIN): Likewise.
57226         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
57227         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
57228         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
57229         [ISO11] (FLT_HAS_SUBNORM): Likewise.
57230         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
57231         [ISO11] (DBL_DECIMAL_DIG): Likewise.
57232         [ISO11] (FLT_DECIMAL_DIG): Likewise.
57233         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
57234         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
57235         [ISO11] (FLT_TRUE_MIN): Likewise.
57236         [ISO11] (LDBL_TRUE_MIN): Likewise.
57237         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57238         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
57239         (SCHAR_MIN): Use macro-int-constant.  Specify type.
57240         (SCHAR_MAX): Likewise.
57241         (UCHAR_MAX): Likewise.
57242         (CHAR_MIN): Likewise.
57243         (CHAR_MAX): Likewise.
57244         (MB_LEN_MAX): Use macro-int-constant.
57245         (SHRT_MIN): Use macro-int-constant.  Specify type.
57246         (SHRT_MAX): Likewise.
57247         (USHRT_MAX): Likewise.
57248         (INT_MAX): Likewise.
57249         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
57250         bound negative.
57251         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57252         bound with "U".
57253         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57254         bound with "L".
57255         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
57256         bound negative.  Suffix upper bound with "L".
57257         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57258         bound with "UL".
57259         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
57260         Specify type.
57261         [C99-based standards] (LLONG_MAX): Likewise.
57262         [C99-based standards] (ULLONG_MAX): Likewise.
57263         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
57264         == 0.
57265         [ISO11] (max_align_t): Require type.
57266         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57268         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
57269         from $CFLAGS, without defining away __attribute__ calls.
57270         (checknamespace): Use $CFLAGS_namespace.
57272         * conform/conformtest.pl (@keywords): Only include C99 keywords
57273         for standards based on C99 or C11.
57275         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
57276         Disable tests.
57277         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
57278         UNIX98]: Likewise.
57280         * conform/conformtest.pl: Handle "macro-int-constant" and test for
57281         usability of symbols in #if.
57283         * conform/conformtest.pl: If macro or constant types start
57284         "promoted:", expect the symbol to be of the following type
57285         promoted by the integer promotions.
57287         * conform/conformtest.pl: Parse all "constant" and "macro" lines
57288         in one place.  Also handle "macro-constant".
57290         * conform/conformtest.pl: Only accept expected macro values with
57291         "==".  Parse all "macro" lines in one place.
57292         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
57294         * conform/conformtest.pl: Handle braced types on "constant" lines
57295         instead of handling "typed-constant".
57296         * conform/data/signal.h-data: Use "constant" instead of
57297         "typed-constant".
57299         * conform/conformtest.pl: Handle "optional-" at start of lines in
57300         one place rather than duplicating several cases.  Handle each
57301         format of "macro" line with initial "optional-".
57303         * conform/conformtest.pl: Only accept expected constant or
57304         optional-constant values with "==".  Parse all "constant" lines in
57305         one place.  Parse all "optional-constant" lines in one place.
57306         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
57307         * conform/data/fmtmsg.h-data: Likewise.
57308         * conform/data/netinet/in.h-data: Likewise.
57309         * conform/data/tar.h-data: Likewise.
57310         * conform/data/limits.h-data: Use "==" form on "constant" and
57311         "optional-constant" lines.
57313         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
57314         Use -std=c99 for XOPEN2K.
57315         (@knownproblems): Remove.
57316         (newtoken): Don't check %isknown.
57318         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
57319         Do not expect macro.
57320         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
57321         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
57322         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
57323         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
57324         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
57325         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
57326         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
57327         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
57328         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
57329         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
57330         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
57331         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
57332         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
57333         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57334         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
57335         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
57336         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
57337         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
57338         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
57339         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
57340         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
57341         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
57342         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
57343         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
57344         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
57345         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
57346         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
57347         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
57348         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
57349         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
57350         [XPG3] (acosh): Likewise.
57351         [XPG3] (asinh): Likewise.
57352         [XPG3] (atanh): Likewise.
57353         [XPG3] (cbrt): Likewise.
57354         [XPG3] (expm1): Likewise.
57355         [XPG3] (ilogb): Likewise.
57356         [XPG3] (log1p): Likewise.
57357         [XPG3] (logb): Likewise.
57358         [XPG3] (nextafter): Likewise.
57359         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
57360         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
57361         [XPG3] (remainder): Likewise.
57362         [XPG3] (rint): Likewise.
57363         [XPG3 || XPG4 || UNIX98] (round): Likewise.
57364         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
57365         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
57366         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
57367         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
57368         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
57369         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
57370         [UNIX98 || XOPEN2K] (scalb): Expect.
57371         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
57372         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
57373         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
57374         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
57375         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
57376         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
57377         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
57378         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
57379         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
57380         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
57381         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
57382         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
57383         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
57384         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
57385         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
57386         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
57387         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
57388         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
57389         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
57390         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
57391         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
57392         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
57393         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
57394         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
57395         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
57396         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
57397         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
57398         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
57399         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
57400         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
57401         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
57402         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
57403         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
57404         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
57405         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
57406         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
57407         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
57408         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
57409         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
57410         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
57411         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
57412         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
57413         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
57414         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
57415         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
57416         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
57417         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
57418         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
57419         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
57420         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
57421         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
57422         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
57423         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
57424         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
57425         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
57426         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
57427         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
57428         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
57429         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
57430         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
57431         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
57432         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
57433         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
57434         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
57435         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
57436         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
57437         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
57438         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
57439         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
57440         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
57441         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
57442         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
57443         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
57444         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
57445         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
57446         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
57447         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
57448         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
57449         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
57450         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
57451         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
57452         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
57453         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
57454         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
57455         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
57456         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
57457         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
57458         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
57459         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
57460         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
57461         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
57462         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
57463         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
57464         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
57465         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
57466         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
57467         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
57468         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
57469         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
57470         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
57471         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
57472         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
57473         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
57474         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
57475         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
57476         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
57477         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
57478         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
57479         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
57480         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
57481         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
57482         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
57483         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
57484         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
57485         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
57486         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
57487         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
57488         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
57489         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
57490         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
57491         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
57492         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
57493         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
57494         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
57495         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
57496         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
57497         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
57498         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
57499         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
57500         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
57501         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
57502         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
57503         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
57504         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
57505         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
57506         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
57507         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
57509         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
57510         _XOPEN_SOURCE_EXTENDED for XPG4.
57512         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
57514         * Makeconfig (localtime): Remove variable.
57515         (inst_localtime-file): Likewise.
57517 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
57519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
57520         Update.
57521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57522         Update.
57523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
57524         Update.
57525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57526         Update.
57527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
57528         Update.
57529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
57530         Update.
57531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57532         Update.
57533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
57534         Update.
57535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57536         Update.
57538 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57540         [BZ #2550]
57541         [BZ #2570]
57542         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
57543         comparisons to determine direction to adjust input.
57544         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
57545         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
57546         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
57547         Likewise.
57548         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
57549         Likewise.
57550         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
57551         Likewise.
57552         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
57553         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
57554         Likewise.
57555         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
57556         Likewise.
57557         * math/libm-test.inc (nexttoward_test): Add more tests.
57559 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
57561         [BZ #14040]
57562         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
57563         in version GLIBC_2.1, not GLIBC_2.0.
57564         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
57565         Likewise.
57567 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
57569         [BZ #13942]
57570         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
57571         (1 - x) * (1 + x).
57572         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
57573         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
57574         * math/libm-test.inc (acos_test): Add more tests.
57575         (asin_test): Likewise.
57576         * sysdeps/i386/fpu/libm-test-ulps: Update.
57577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57579         [BZ #14034]
57580         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
57581         of square root.
57582         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
57583         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
57584         * math/libm-test.inc (acos_test_tonearest): New function.
57585         (acos_test_towardzero): Likewise.
57586         (acos_test_downward): Likewise.
57587         (acos_test_upward): Likewise.
57588         (asin_test_tonearest): Likewise.
57589         (asin_test_towardzero): Likewise.
57590         (asin_test_downward): Likewise.
57591         (asin_test_upward): Likewise.
57592         (main): Call the new functions.
57593         * sysdeps/i386/fpu/libm-test-ulps: Update.
57594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57596         [BZ #13884]
57597         [BZ #13924]
57598         * math/e_exp10.c: Include <float.h>.
57599         (__ieee754_exp10): Handle underflow here rather than multiplying
57600         large negative argument by M_LN10.
57601         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
57602         of __ieee754_expf.
57603         * math/e_exp10l.c: Include <float.h>.
57604         (__ieee754_exp10l): Handle underflow here rather than multiplying
57605         large negative argument by M_LN10l.
57606         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
57607         spurious overflow exception on underflow.
57609 2012-04-29  Marek Polacek  <polacek@redhat.com>
57611         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
57612         (__fortify_function): New macro.
57613         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
57614         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
57615         __extern_always_inline.
57616         * libio/bits/stdio2.h: Likewise.
57617         * libio/bits/stdio.h: Likewise.
57618         * string/string.h: Likewise.
57619         * string/bits/string3.h: Likewise.
57620         * include/stdio.h: Likewise.
57621         * stdlib/bits/stdlib.h: Likewise.
57622         * stdlib/stdlib.h: Likewise.
57623         * rt/bits/mqueue2.h: Likewise.
57624         * rt/mqueue.h: Likewise.
57625         * posix/bits/unistd.h: Likewise.
57626         * posix/unistd.h: Likewise.
57627         * io/bits/poll2.h: Likewise.
57628         * io/bits/fcntl2.h: Likewise.
57629         * io/fcntl.h: Likewise.
57630         * io/sys/poll.h: Likewise.
57631         * misc/bits/syslog.h: Likewise.
57632         * misc/bits/syslog-ldbl.h: Likewise.
57633         * misc/sys/syslog.h: Likewise.
57634         * socket/bits/socket2.h: Likewise.
57635         * socket/sys/socket.h: Likewise.
57636         * debug/tst-chk1.c: Likewise.
57637         * wcsmbs/bits/wchar2.h: Likewise.
57638         * wcsmbs/bits/wchar-ldbl.h: Likewise.
57639         * wcsmbs/wchar.h: Likewise.
57641 2012-04-29  Andreas Jaeger  <aj@suse.de>
57643         * Makerules (tests): Remove enable-check-abi protection.
57644         (check-abi-warn): Remove.
57645         (check-abi-%): Remove check-abi-warn usage.
57647         * configure.in: Remove check-abi configure option.
57648         * configure: Regenerated.
57649         * config.make.in (enable-check-abi): Remove.
57651 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
57653         [BZ #14033]
57654         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
57655         double functions to double *_finite functions.
57657         [BZ #13941]
57658         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
57659         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
57660         LDBL_MIN_EXP.
57661         * stdio-common/Makefile (tests): Add tst-sprintf3.
57662         * stdio-common/tst-sprintf3.c: New file.
57664         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
57665         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
57667 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57669         * conform/conformtest.pl: Remove duplicate typed-constant
57670         handling.
57672 2012-04-28  David S. Miller  <davem@davemloft.net>
57674         * Makerules (%.abilist): Add vpath on sysdep_dirs.
57675         (check-abi-%): Remove AWK script prerequisite and explicit
57676         abilist directory.
57677         (check-abi): Rewrite to just diff the symlist with the abilist.
57678         (config-tls, config-abi-config): Delete, no longer used.
57679         (update-abi-%): Remove AWK script and explicit abilist directory.
57680         (update-abi): Rewrite to simply compare and conditionally copy the
57681         symlist and the sysdep abilist file.  Remove update-abi-config
57682         checks.
57683         * abilist/ld.abilist: Remove.
57684         * abilist/libBrokenLocale.abilist: Remove.
57685         * abilist/libanl.abilist: Remove.
57686         * abilist/libcrypt.abilist: Remove.
57687         * abilist/libdl.abilist: Remove.
57688         * abilist/librt.abilist: Remove.
57689         * abilist/libthread_db.abilist: Remove.
57690         * abilist/libutil.abilist: Remove.
57691         * scripts/extract-abilist.awk: Remove.
57692         * scripts/merge-abilist.awk: Remove.
57693         * sysdeps/generic/libcidn.abilist: New file.
57694         * sysdeps/generic/libnss_compat.abilist: New file.
57695         * sysdeps/generic/libnss_db.abilist: New file.
57696         * sysdeps/generic/libnss_dns.abilist: New file.
57697         * sysdeps/generic/libnss_files.abilist: New file.
57698         * sysdeps/generic/libnss_hesiod.abilist: New file.
57699         * sysdeps/generic/libnss_nis.abilist: New file.
57700         * sysdeps/generic/libnss_nisplus.abilist: New file.
57701         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
57702         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
57703         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
57704         file.
57705         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
57706         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
57707         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
57708         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
57709         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
57710         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
57711         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
57712         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
57713         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
57714         file.
57715         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
57716         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
57717         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
57718         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
57719         file.
57720         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
57721         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
57722         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
57723         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
57724         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
57725         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
57726         file.
57727         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
57728         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
57729         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
57730         file.
57731         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
57732         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
57733         New file.
57734         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
57735         New file.
57736         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
57737         New file.
57738         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
57739         New file.
57740         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
57741         New file.
57742         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
57743         New file.
57744         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
57745         New file.
57746         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
57747         New file.
57748         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
57749         New file.
57750         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
57751         New file.
57752         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
57753         New file.
57754         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
57755         New file.
57756         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
57757         New file.
57758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
57759         file.
57760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
57761         New file.
57762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
57763         New file.
57764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
57765         file.
57766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
57767         New file.
57768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
57769         New file.
57770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
57771         file.
57772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
57773         New file.
57774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57775         New file.
57776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
57777         New file.
57778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
57779         New file.
57780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
57781         New file.
57782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
57783         New file.
57784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
57785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
57786         file.
57787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
57788         New file.
57789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
57790         file.
57791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
57792         file.
57793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
57794         file.
57795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
57796         file.
57797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
57798         file.
57799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57800         New file.
57801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
57802         file.
57803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
57804         file.
57805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
57806         New file.
57807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
57808         file.
57809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
57810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
57811         file.
57812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
57813         New file.
57814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
57815         file.
57816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
57817         file.
57818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
57819         file.
57820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
57821         file.
57822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
57823         file.
57824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57825         New file.
57826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
57827         file.
57828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
57829         file.
57830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
57831         New file.
57832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
57833         file.
57834         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57835         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
57836         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
57837         file.
57838         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
57839         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
57840         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
57841         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
57842         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
57843         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
57844         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
57845         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
57846         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
57847         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
57848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
57849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
57850         file.
57851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
57852         New file.
57853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
57854         file.
57855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
57856         file.
57857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
57858         file.
57859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
57860         file.
57861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
57862         file.
57863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57864         New file.
57865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
57866         New file.
57867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
57868         file.
57869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
57870         New file.
57871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
57872         file.
57873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
57874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
57875         file.
57876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
57877         New file.
57878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
57879         file.
57880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
57881         file.
57882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
57883         file.
57884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
57885         file.
57886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
57887         file.
57888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57889         New file.
57890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
57891         New file.
57892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
57893         file.
57894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
57895         New file.
57896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
57897         file.
57899 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57901         * conform/conformtest.pl: Fix typo in handling typed-constant from
57902         allow-header.
57904 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57906         * README: Cut down references to pre-2.6 Linux kernels and
57907         Linuxthreads.  Update lists of configurations in libc and ports
57908         and sort alphabetically.  Say "or newer" with Linux kernel version
57909         requirements.
57911         * config.h.in [IS_IN_build]: Allow compiling without optimization.
57913 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57915         [BZ #887]
57916         * math/libm-test.inc (logb_test_downward): New test to expose
57917         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
57918         rounding mode.
57920 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57922         [BZ #14027]
57923         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
57924         to be done.
57925         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
57926         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
57928 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
57930         * sysdeps/unix/i386/brk.S: Remove file.
57931         * sysdeps/unix/i386/dl-brk.S: Likewise.
57932         * sysdeps/unix/i386/pipe.S: Likewise.
57933         * sysdeps/unix/i386/sigreturn.S: Likewise.
57934         * sysdeps/unix/i386/syscall.S: Likewise.
57935         * sysdeps/unix/i386/vfork.S: Likewise.
57936         * sysdeps/unix/i386/wait.S: Likewise.
57938         * sysdeps/unix/common/tcsendbrk.c: Move to ...
57939         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
57941         * configure.in (arm*-none*): Do not allow without
57942         --enable-hacker-mode.
57943         (netbsd*): Remove case setting base_os.
57944         (386bsd*): Likewise.
57945         (freebsd*): Likewise.
57946         (bsdi*): Likewise.
57947         (osf*): Likewise.
57948         (sunos*): Likewise.
57949         (ultrix*): Likewise.
57950         (newsos*): Likewise.
57951         (dynix*): Likewise.
57952         (*bsd*): Likewise.
57953         (sysv*): Likewise.
57954         (isc*): Likewise.
57955         (esix*): Likewise.
57956         (sco*): Likewise.
57957         (minix*): Likewise.
57958         (irix4*): Likewise.
57959         (irix6*): Likewise.
57960         (solaris[2-9]*): Likewise.
57961         (none): Likewise.
57962         * configure: Regenerated.
57964 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57966         [BZ #11521]
57967         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
57968         overflow or cancellation in calculating denominator.
57969         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
57970         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
57971         down expression to avoid unexpected rounding in newer GCCs.
57972         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
57974 2012-04-26  David S. Miller  <davem@davemloft.net>
57976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
57977         long-double compat symbols.
57978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
57980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
57981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
57982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
57983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
57984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
57985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
57986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
57987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
57988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
57989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
57990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57992 2012-04-25  David S. Miller  <davem@davemloft.net>
57994         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
57995         HWCAP_* values only after the memory barriers have been defined.
57996         (atomic_full_barrier): Define.
57997         (atomic_read_barrier): Define.
57998         (atomic_write_barrier): Define.
58000 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58002         * shlib-versions: Add libgcc_s version information.
58003         * sysdeps/generic/libgcc_s.h: Remove.
58004         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
58005         libgcc_s.h.
58006         * sysdeps/gnu/unwind-resume.c: Likewise.
58007         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
58009 2012-04-25  David S. Miller  <davem@davemloft.net>
58011         * sysdeps/unix/sparc/brk.S: Delete.
58012         * sysdeps/unix/sparc/dl-brk.S: Delete.
58013         * sysdeps/unix/sparc/pipe.S: Delete.
58014         * sysdeps/unix/sparc/sysdep.S: Delete.
58015         * sysdeps/unix/sparc/sysdep.h: Delete.
58016         * sysdeps/unix/sparc/vfork.S: Delete.
58017         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
58018         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
58019         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
58020         (ret_ERRVAL, r0, r1, MOVE): Define.
58021         (JUMPTARGET): Remove.
58022         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
58023         sysdeps/unix/sparc/sysdep.h
58024         (ENTRY, END): Remove.
58025         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58027 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
58029         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
58030         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
58031         -DIS_IN_build.
58033         * timezone/README: Update upstream location and email address for
58034         tzcode and tzdata.
58035         * timezone/zdump.c: Update from tzcode 2012b.
58036         * timezone/zic.c: Likewise.
58038         * configure.in (libc_cv_as_needed): Remove test.
58039         * configure: Regenerated.
58040         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
58041         conditional definition.
58042         [$(have-as-needed) != yes] (no-as-needed): Likewise.
58043         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
58044         * config.make.in (have-as-needed): Remove variable.
58046 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58047             Paul Pluzhnikov  <ppluzhnikov@google.com>
58049         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
58050         strings correctly.
58052 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
58054         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
58055         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
58056         * sysdeps/sh/strlen.S: Likewise.
58058 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58060         * sysdeps/unix/fork.S: Remove file.
58061         * sysdeps/unix/i386/fork.S: Likewise.
58062         * sysdeps/unix/sparc/fork.S: Likewise.
58064         * sysdeps/unix/system.c: Remove file.
58065         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
58067         * sysdeps/unix/getegid.S: Remove file.
58068         * sysdeps/unix/geteuid.S: Likewise.
58070 2012-04-24  Roland McGrath  <roland@hack.frob.com>
58072         * scripts/check-localplt.awk: New file.
58073         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
58074         of diff.
58075         * scripts/data/localplt-generic.data: Add a comment.
58077         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
58078         NODE when __dir_mkfile failed.
58079         * sysdeps/mach/hurd/symlinkat.c: Likewise.
58080         Reported by Ludovic Courtès <ludo@gnu.org>.
58082 2012-04-24  Andreas Jaeger  <aj@suse.de>
58084         * Makerules (common-clean): Also remove gen-as-const-headers
58085         files.
58087 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58089         * Makerules (native-compile): Do not change working directory for
58090         build.  Use $(OUTPUT_OPTION) in command.
58091         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
58093 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58095         [BZ #13886]
58096         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
58097         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
58098         * math/libm-test.inc (floor_test): Add more tests.
58099         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
58101 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58103         * sysdeps/unix/getdents.c: Remove file.
58104         * sysdeps/unix/sysv/getdents.c: Likewise.
58105         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
58107         * sysdeps/unix/syscalls.list (madvise): Add syscall from
58108         sysdeps/unix/mman/syscalls.list.
58109         (mmap): Likewise.
58110         (mprotect): Likewise.
58111         (msync): Likewise.
58112         (munmap): Likewise.
58113         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
58114         * sysdeps/unix/mman/syscalls.list: Remove.
58115         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
58117         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
58118         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
58119         * configure: Regenerated.
58120         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
58121         $(libgcc_s_suffix).
58122         * config.make.in (libgcc_s_suffix): Remove variable.
58124 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
58126         * sysdeps/unix/sysv/gethostname.c: Move to ...
58127         * sysdeps/posix/gethostname.c: ... here.
58129         * sysdeps/unix/execve.S: Remove file.
58131         * sysdeps/unix/_exit.S: Remove file.
58133 2012-04-23  Andreas Jaeger  <aj@suse.de>
58135         [BZ #13739]
58136         * manual/Makefile: Remove make dist support, there's no
58137         need for a stand-alone documentation tar ball.
58138         (TEXI2DVI): Define always, it's not in Makeconfig.
58139         (dist): Removed.
58140         (tar-it): Removed.
58141         (edition): Removed.
58142         (glibc-doc-$(edition).tar): Removed
58143         (%.Z): Removed.
58144         (%.gz): Removed.
58145         (%.uu): Removed.
58146         (ETAGS): Remove, it's in Makeconfig.
58147         (move-if-change): Remove, it's in Makeconfig.
58149 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58151         [BZ #13970]
58152         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
58153         (strtod, strtof, strtold, strtol, strtoul, strtoq)
58154         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
58155         (strtod_l, strtof_l, strtold_l): Remove __wur.
58156         It is not necessarily an error to ignore strtol's return value.
58157         One can reliably look at the stored endptr to decide whether
58158         the number had valid syntax.
58160 2012-04-21  Andreas Jaeger  <aj@suse.de>
58162         [BZ #13739]
58163         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
58165 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
58167         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
58168         * sysdeps/unix/sysv/Versions: Remove file.
58170 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
58172         [BZ #13927]
58173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58175 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
58177         [BZ #7064]
58178         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
58179         version from __vm86.
58181 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
58183         * sysdeps/unix/common/lxstat.c: Remove file.
58184         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58186         * sysdeps/unix/sysv/Makefile: Remove file.
58188         * sysdeps/unix/sysv/direct.h: Remove file.
58190         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
58191         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
58192         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
58193         * sysdeps/unix/sysv/bits/signum.h: Likewise.
58194         * sysdeps/unix/sysv/bits/stat.h: Likewise.
58195         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
58196         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
58198         * sysdeps/unix/sysv/setrlimit.c: Remove file.
58200         * sysdeps/unix/xmknod.c: Remove file.
58201         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
58203         * sysdeps/unix/sysv/settimeofday.c: Remove file.
58205         * sysdeps/unix/sysv/i386/time.S: Remove file.
58207         * sysdeps/unix/fxstat.c: Remove file.
58208         * sysdeps/unix/xstat.c: Likewise.
58209         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
58211         * sysdeps/unix/sysv/sigaction.c: Remove file.
58213         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
58214         (sysdep_headers): Remove variable.
58215         [termio.h not in sysdep_headers] (generated): Likewise.
58216         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
58217         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
58218         * sysdeps/unix/sysv/tcdrain.c: Likewise.
58219         * sysdeps/unix/sysv/tcflow.c: Likewise.
58220         * sysdeps/unix/sysv/tcflush.c: Likewise.
58221         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
58222         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
58223         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
58224         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
58225         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
58227         * sysdeps/unix/siglist.c: Remove file.
58229         * sysdeps/unix/getppid.S: Remove file.
58231         * sysdeps/unix/mkdir.c: Remove file.
58232         * sysdeps/unix/rmdir.c: Likewise.
58234 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
58236         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
58237         ERR_MAX value.
58238         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
58239         errlist-compat value.
58241 2012-04-18  David S. Miller  <davem@davemloft.net>
58243         * sysdeps/generic/memcopy.h (reg_char): Delete.
58244         * debug/strcat_chk.c: Use char, not reg_char.
58245         * debug/strcpy_chk.c: Likewise.
58246         * debug/strncat_chk.c: Likewise.
58247         * debug/strncpy_chk.c: Likewise.
58248         * string/memchr.c: Likewise.
58249         * string/memrchr.c: Likewise.
58250         * string/rawmemchr.c: Likewise.
58251         * string/strcat.c: Likewise.
58252         * string/strchr.c: Likewise.
58253         * string/strchrnul.c: Likewise.
58254         * string/strcmp.c: Likewise.
58255         * string/strcpy.c: Likewise.
58256         * string/strncat.c: Likewise.
58257         * string/strncmp.c: Likewise.
58258         * string/strncpy.c: Likewise.
58260 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58262         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
58263         __builtin_memcopy is called when src and dest ranges are known to not
58264         overlap.
58266 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58268         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
58269         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
58270         fwd_align_merge macro call.
58271         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
58272         bwd_align_merge macro call.
58273         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58275 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58277         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
58278         bwd_align_merge macros.
58279         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
58280         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
58281         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58283 2012-04-18  David S. Miller  <davem@davemloft.net>
58285         * sysdeps/sparc/sparc64/memcopy.h: Delete.
58287 2012-04-18  Andreas Jaeger  <aj@suse.de>
58289         [BZ# 6794]
58290         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
58291         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
58292         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58294         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
58295         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
58296         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58298         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
58299         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
58300         Adjust for changed ldbl-128 files.
58302         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
58303         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
58304         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58306 2012-04-17  David S. Miller  <davem@davemloft.net>
58308         * sysdeps/sparc/sparc32/memcopy.h: Delete.
58310 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
58312         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
58313         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
58314         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
58315         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
58316         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58317         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
58319 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58321         [BZ #6794]
58322         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
58323         * math/libm-test.inc: Add ilogb errno and exception tests.
58324         * math/w_ilogb.c: New file: ilogb wrapper.
58325         * math/w_ilogbf.c: New file: ilogbf wrapper.
58326         * math/w_ilogbl.c: New file: ilogbl wrapper.
58327         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
58328         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
58329         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
58330         exception being thrown with 0.0 as argument.
58331         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
58332         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
58333         exception being thrown with 0.0 as argument.
58334         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
58335         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58336         exception being thrown with 0.0 as argument.
58337         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
58338         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58339         exception being thrown with 0.0 as argument.
58340         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
58341         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
58342         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
58343         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
58344         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
58345         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
58346         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
58347         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
58348         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
58350 2012-04-17  Petr Baudis  <pasky@ucw.cz>
58352         * include/sys/uio.h: Change __vector to __iovec to avoid clash
58353         with altivec.
58355 2012-04-16  Marek Polacek  <polacek@redhat.com>
58357         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
58359 2012-04-16  Marek Polacek  <polacek@redhat.com>
58361         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
58362         operands of fdivp instruction.
58364 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58366         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
58367         * elf/tst-auditmod3b.c: Likewise.
58368         * elf/tst-auditmod4b.c: Likewise.
58369         * elf/tst-auditmod5b.c: Likewise.
58370         * elf/tst-auditmod6b.c: Likewise.
58371         * elf/tst-auditmod6c.c: Likewise.
58372         * elf/tst-auditmod7b.c: Likewise.
58373         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
58374         * sysdeps/x86_64/preconfigure.in: Likewise.
58375         * sysdeps/x86_64/preconfigure: Regenerated.
58377 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58379         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
58380         __ILP32__.
58382 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
58384         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58385         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
58387 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
58389         [BZ #13973]
58390         * locale/iso-639.def: Fix gl language name. Spotted by
58391         Yaron Shahrabani.
58393 2012-04-12  Roland McGrath  <roland@hack.frob.com>
58395         [BZ #2074]
58396         * libio/libio.h (__io_write_fn): Update comment.
58398 2012-04-12  Petr Baudis  <pasky@ucw.cz>
58400         [BZ #2074]
58401         * stdio.texi (Hook Functions): The user provided writer function
58402         is not allowed to return -1.
58404 2012-04-11  David S. Miller  <davem@davemloft.net>
58406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58408 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
58410         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
58411         Add a leading slash to rtkaio.
58413 2012-04-11  Jim Meyering  <meyering@redhat.com>
58415         [BZ #11959]
58416         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
58417         It is not necessarily an error to ignore fwrite's return
58418         value.  One can reliably use ferror to test for errors after
58419         the fact.
58421 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58423         * bits/types.h (__snseconds_t): New type.
58424         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
58426         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
58427         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58428         (__SNSECONDS_T_TYPE): Likewise.
58429         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58430         (__SNSECONDS_T_TYPE): Likewise.
58431         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58432         (__SNSECONDS_T_TYPE): Likewise.
58434 2012-04-10  Andreas Jaeger  <aj@suse.de>
58436         [BZ #2636]
58437         * manual/time.texi (Processor Time): Return type of times is
58438         elapsed real time since an arbitrary point in the past.
58439         (CPU Time): Move CLK_TCK from here...
58440         (Processor Time): ...to here.  Correct description.
58441         * manual/conf.texi (Constants for Sysconf): Correct description of
58442         _SC_CLK_TCK.
58444 2012-04-10  David S. Miller  <davem@davemloft.net>
58446         [BZ #13967]
58447         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
58448         where the is a gap between DT_REL(A) and DT_JMPREL.
58450 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58452         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
58453         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
58454         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
58456 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58458         * elf/dl-support.c (_dl_inhibit_cache): New variable.
58459         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
58460         (dl_main): Handle --inhibit-cache.
58461         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
58462         _dl_inhibit_cache.
58463         * elf/dl-load.c (_dl_map_object): Use it.
58464         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
58466 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
58468         [BZ #13872]
58469         * sysdeps/i386/fpu/e_powl.S (p78): New object.
58470         (__ieee754_powl): Saturate large exponents rather than testing for
58471         overflow of y*log2(x).
58472         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58473         * math/libm-test.inc (pow_test): Do not permit spurious overflow
58474         exceptions.
58476         [BZ #11521]
58477         * math/s_ctan.c: Include <float.h>.
58478         (__ctan): Avoid internal overflow or cancellation in calculating
58479         denominator.
58480         * math/s_ctanf.c: Likewise.
58481         * math/s_ctanl.c: Likewise.
58482         * math/s_ctanh.c: Likewise.
58483         * math/s_ctanhf.c: Likewise.
58484         * math/s_ctanhl.c: Likewise.
58485         * math/libm-test.inc (ctan_test): Add more tests.
58486         (ctanh_test): Likewise.
58487         * sysdeps/i386/fpu/libm-test-ulps: Update.
58488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58490 2012-04-09  Andreas Jaeger  <aj@suse.de>
58492         [BZ #6894]
58493         * manual/filesys.texi (Directory Entries): Mention that d_namlen
58494         is an optional BSD extension.
58496         [BZ #10254]
58497         * manual/stdio.texi (Opening Streams): Document additional fopen
58498         parameters.
58500 2012-04-09  Roland McGrath  <roland@hack.frob.com>
58502         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
58503         %eax without telling the compiler.
58505 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
58507         [BZ # 13963]
58508         * manual/install.texi: Use sourceware.org.
58510 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
58512         [BZ #13873]
58513         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
58514         (__ieee754_pow): Generate overflow and underflow using huge*huge
58515         and tiny*tiny rather than just returning constant infinity or zero
58516         for large exponents.
58517         * math/libm-test.inc (pow_test): Require overflow exceptions for
58518         applicable cases of large exponents.
58520         [BZ #706]
58521         * sysdeps/i386/fpu/e_pow.S (p10): New object.
58522         (__ieee754_pow): Use iterative multiplication algorithm only for
58523         integer exponents with absolute value below 1024.  Check for odd
58524         integer exponents when using algorithm for real exponents.
58525         * math/libm-test.inc (pow_test): Add more tests.
58526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58528 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
58530         [BZ #13705]
58531         * math/libm-test.inc (exp_test): Do not allow overflow exception
58532         on underflow test.
58534 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
58536         [BZ #13705]
58537         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
58538         instead of __kernel_standard_f.
58540 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
58542         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
58543         * sysdeps/x86_64/memset_chk.S: Likewise.
58545 2012-04-08  Andreas Jaeger  <aj@suse.de>
58547         [BZ #10153]
58548         * manual/startup.texi (Environment Access): Describe return value
58549         for putenv and setenv.
58551         [BZ #6895]
58552         * manual/filesys.texi (Directory Entries): Add description for
58553         DT_LNK.
58555         [BZ #6890]
58556         * manual/filesys.texi (Directory Entries): Clarify that it's file
58557         system not operating system in the description of DT_UNKNOWN.
58559         [BZ #6578]
58560         * manual/syslog.texi (closelog): Fix reference, it's openlog.
58562 2012-04-08  Stephen Compall  <s11@member.fsf.org>
58564         [BZ #6649]
58565         * manual/llio.texi (Opening and Closing Files): Add cross
58566         reference to explain mode argument.
58568 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
58570         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
58571         * sysdeps/x86_64/memset_chk.S: Likewise.
58573 2012-04-07  David S. Miller  <davem@davemloft.net>
58575         * elf/elf.h (R_SPARC_WDISP10): Define.
58576         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
58577         R_SPARC_SIZE32.
58578         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
58579         R_SPARC_SIZE64 and R_SPARC_H34.
58581 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
58583         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
58584         conditions and remove no longer applicable assertion.
58586 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
58588         * bits/byteswap.h: Include <features.h>.
58589         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
58590         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
58592 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
58594         * bits/byteswap.h (__bswap_16): Removed.
58595         Include <bits/byteswap-16.h> to get __bswap_16.
58596         * sysdeps/i386/bits/byteswap.h: Likewise.
58597         * sysdeps/s390/bits/byteswap.h: Likewise.
58598         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58599         * bits/byteswap-16.h: New file.
58600         * sysdeps/i386/bits/byteswap-16.h: Likewise.
58601         * sysdeps/s390/bits/byteswap-16.h: Likewise.
58602         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
58603         * string/Makefile (headers): Add bits/byteswap-16.h.
58605 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58607         [BZ #13895]
58608         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
58609         extra indirection.
58610         * nss/Makefile (tests-static, tests): Add tst-nss-static.
58611         * nss/tst-nss-static.c: New.
58613 2012-04-06  Robert Millan  <rmh@gnu.org>
58615         [BZ #6486]
58616         * manual/llio.texi (File Position Primitive): lseek
58617         refers to WHENCE when it really means OFFSET.
58619 2012-04-06  Andreas Jaeger  <aj@suse.de>
58621         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
58622         strncmp declarations.
58624         * abilist/libc.abilist: Add __poll and __ppoll.
58626 2012-04-05  David S. Miller  <davem@davemloft.net>
58628         * scripts/check-local-headers.sh: Accept a host triplet in the
58629         path matched by the exclude regexp.
58631         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
58632         definition.
58633         * sysdeps/powerpc/powerpc32/dl-machine.h
58634         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
58635         * sysdeps/s390/s390-32/dl-machine.h
58636         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58637         * sysdeps/sparc/sparc32/dl-machine.h
58638         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58639         * sysdeps/sparc/sparc64/dl-machine.h
58640         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58642         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
58643         lazy binding.
58644         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
58645         undefined symbol errors.
58647         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
58648         DT_NEEDED entries.
58650 2012-04-05  Michael Matz  <matz@suse.de>
58652         [BZ #13592]
58653         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
58655 2012-04-05  Andreas Jaeger  <aj@suse.de>
58657         [BZ #13908]
58658         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
58659         comment.
58661 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58663         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
58664         which ROUND is no valid rounding mode.
58666 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58668         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
58669         read again.
58670         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
58672 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58674         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
58675         an exception using FPU order intentionally.
58677 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58679         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
58680         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
58681         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
58682         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
58684 2012-04-05  Simon Josefsson  <simon@josefsson.org>
58686         [BZ #12340]
58687         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
58688         EINVAL when BUFLEN is too smal.
58690 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
58692         [BZ #13553]
58693         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
58694         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
58696 2012-04-03  Andreas Jaeger  <aj@suse.de>
58698         [BZ #13938]
58699         * manual/setjmp.texi (System V contexts): Fix sentence.
58701         [BZ #13926]
58702         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
58703         New macro for this case.
58704         [!__GNUC__] (__bswap_64): New inline function for this case.
58705         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58706         * bits/byteswap.h: Likewise.
58707         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
58708         ull, guard with __GLIBC_HAVE_LONG_LONG.
58710         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
58711         __GLIBC_HAVE_LONG_LONG.
58713         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
58714         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
58716 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58718         [BZ #13691]
58719         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
58720         inptr and inend, rather than using last_ch.
58722 2012-04-02  David S. Miller  <davem@davemloft.net>
58724         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
58725         * stdio-common/printf-parse.h (read_int): Change return type to
58726         'int', return -1 on INT_MAX overflow.
58727         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
58728         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
58729         overflows INT_MAX.  Check for overflow of in-format-string precision
58730         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
58731         SIZE_MAX not INT_MAX for integer overflow test.
58732         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
58733         skip the construct in the format string but do not record anything.
58734         * stdio-common/bug22.c: Adjust to test both width/prevision
58735         INT_MAX overflow as well as total length INT_MAX overflow.  Check
58736         explicitly for proper errno values.
58738 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
58740         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
58741         CHAR_MAX.
58742         * string/test-strcmp.c [! WIDE]: Likewise.
58743         * time/tst-mktime2.c: Likewise for INT_MAX.
58744         * string/test-string.h: #include <sys/param.h> for MIN.
58746         * csu/init-first.c (__libc_init_first): Call __ctype_init.
58747         * sysdeps/i386/init-first.c (init): Likewise.
58748         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
58749         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
58750         * sysdeps/sh/init-first.c (init): Likewise.
58752 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
58754         * po/ru.po: Update from translation team.
58755         * po/vi.po: Likewise.
58757 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58759         * resolv/nss_dns/dns-host.c: Merge copyright years.
58761 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58763         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58764         Optimize memcpy with prefetch if
58765         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
58766         src, dst pointers have unequal 16 byte alignments.
58768 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58770         [BZ #13928]
58771         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
58772         from a CNAME entry and return the minimum ttl for the query.
58773         (gaih_getanswer_slice): Likewise.
58775 2012-03-30  Jeff Law  <law@redhat.com>
58777         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
58778         due to long keys.
58779         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
58780         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
58782         * resolv/nss_dns/dns-host.c: Update copyright year.
58784 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
58786         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
58787         requests to save a system call.  Fix check that all bytes are sent.
58789         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
58790         comments for sendmmsg.
58792 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58794         [BZ #13691]
58795         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
58796         with only 1 character between 0x0041 and 0x01b0.
58797         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
58798         * wcsmbs/tst-mbsnrtowcs.c: New file.
58800 2012-03-29  David S. Miller  <davem@davemloft.net>
58802         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
58803         small copies by hand.
58805 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58807         [BZ #13761]
58808         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
58809         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
58810         group memberships.
58812 2012-03-28  David S. Miller  <davem@davemloft.net>
58814         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
58815         that branches into memcpy.
58816         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58817         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
58818         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58819         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
58820         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
58821         bits.
58822         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
58823         implementation too.
58824         * sysdeps/sparc/mempcpy.S: New file.
58826         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
58827         the IFUNC routine in the libc case.
58828         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58830         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
58831         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
58832         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
58833         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
58834         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
58835         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
58836         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
58837         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
58839         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
58840         loop to 256 bytes instead of 64 bytes and fix test signedness.
58842         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
58843         * sysdeps/sparc/sparc32/Makefile: rather than here...
58844         * sysdeps/sparc/sparc64/Makefile: and here.
58846 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
58848         * malloc/mallocbug.c: Avoid warnings about unused variables.
58850 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58852         [BZ #13760]
58853         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
58854         in the right place. Discard and retry query if response is
58855         larger than input buffer size.
58857 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
58859         [BZ #369]
58860         [BZ #2678]
58861         [BZ #3866]
58862         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
58863         x for large integer exponent.
58864         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58865         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
58866         sign of result as needed afterwards.
58867         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58868         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
58869         result for underflowing pow the same as for overflow.
58870         (__kernel_standard_l): Handle powl overflow and underflow here
58871         rather than calling __kernel_standard.
58872         * math/libm-test.inc (pow_test): Add more tests.
58874         [BZ #3868]
58875         [BZ #13879]
58876         [BZ #13910]
58877         [BZ #13911]
58878         [BZ #13912]
58879         [BZ #13913]
58880         [BZ #13915]
58881         [BZ #13916]
58882         [BZ #13917]
58883         [BZ #13918]
58884         [BZ #13919]
58885         [BZ #13920]
58886         [BZ #13921]
58887         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
58888         * sysdeps/ieee754/k_standard.c: Include <float.h>.
58889         (__kernel_standard_l): New function.
58890         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
58891         __kernel_standard.
58892         * math/w_acosl.c (__acosl): Likewise.
58893         * math/w_asinl.c (__asinl): Likewise.
58894         * math/w_atan2l.c (__atan2l): Likewise.
58895         * math/w_atanhl.c (__atanhl): Likewise.
58896         * math/w_coshl.c (__coshl): Likewise.
58897         * math/w_exp10l.c (__exp10l): Likewise.
58898         * math/w_exp2l.c (__exp2l): Likewise.
58899         * math/w_fmodl.c (__fmodl): Likewise.
58900         * math/w_hypotl.c (__hypotl): Likewise.
58901         * math/w_j0l.c (__j0l, __y0l): Likewise.
58902         * math/w_j1l.c (__j1l, __y1l): Likewise.
58903         * math/w_jnl.c (__jnl, __ynl): Likewise.
58904         * math/w_lgammal.c (__lgammal): Likewise.
58905         * math/w_log10l.c (__log10l): Likewise.
58906         * math/w_log2l.c (__log2l): Likewise.
58907         * math/w_logl.c (__logl): Likewise.
58908         * math/w_powl.c (__powl): Likewise.
58909         * math/w_remainderl.c (__remainderl): Likewise.
58910         * math/w_scalbl.c (sysv_scalbl): Likewise.
58911         * math/w_sinhl.c (__sinhl): Likewise.
58912         * math/w_sqrtl.c (__sqrtl): Likewise.
58913         * math/w_tgammal.c (__tgammal): Likewise.
58914         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
58915         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
58916         * math/libm-test.inc (acos_test): Add more tests.
58917         (acosh_test): Likewise.
58918         (asin_test): Likewise.
58919         (atanh_test): Likewise.
58920         (exp_test): Likewise.
58921         (exp10_test): Likewise.
58922         (exp2_test): Likewise.
58923         (expm1_test): Likewise.
58924         (lgamma_test): Likewise.
58925         (log_test): Likewise.
58926         (log10_test): Likewise.
58927         (log1p_test): Likewise.
58928         (log2_test): Likewise.
58929         (pow_test): Do not allow some spurious overflow exceptions.
58930         (sqrt_test): Add more tests.
58931         (tgamma_test): Likewise.
58932         (y0_test): Likewise.
58933         (y1_test): Likewise.
58934         (yn_test): Likewise.
58936 2012-03-27  Anton Blanchard  <anton@samba.org>
58938         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
58939         MAP_HUGETLB.
58940         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58941         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58942         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58944 2012-03-27  David S. Miller  <davem@davemloft.net>
58946         * conform/Makefile: Run run-conformtest.sh using $(BASH).
58948         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
58949         have-as-vis3 check.
58951 2012-03-27  Andreas Jaeger  <aj@suse.de>
58953         * sysdeps/x86_64/elf/configure.in: Moved to ...
58954         * sysdeps/x86_64/configure.in: ... here.
58955         * sysdeps/x86_64/elf/start.S: Moved to ...
58956         * sysdeps/x86_64/start.S: ... here.
58957         * sysdeps/x86_64/elf/configure: Delete.
58959         * sysdeps/x86_64/configure.in: Merge contents from
58960         sysdeps/i386/configure.in (without i686 check).
58962         * sysdeps/i386/elf/Versions: Merge into ...
58963         * sysdeps/i386/Versions: ... this.
58964         * sysdeps/i386/elf/Versions: Delete file.
58965         * sysdeps/i386/elf/start.S: Moved to ...
58966         * sysdeps/i386/start.S: ...here.
58967         * sysdeps/i386/elf/configure.in: Merge into...
58968         * sysdeps/i386/configure.in: ...here.
58969         * sysdeps/i386/elf/configure.in: Delete file.
58970         * sysdeps/i386/elf/configure: Delete file.
58972         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
58973         * debug/backtracesyms.c: ... here.
58974         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
58975         * debug/backtracesymsfd.c: ... here.
58976         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
58977         * sysdeps/generic/ifunc-sel.h: ... here.
58979         * sysdeps/unix/i386/start.c: Delete file.
58980         * sysdeps/unix/sparc/start.c: Delete file.
58981         * sysdeps/unix/start.c: Delete file.
58983         * sysdeps/sh/elf/configure.in: Moved to ...
58984         * sysdeps/sh/configure.in: ... here.
58985         * sysdeps/sh/elf/start.S: Moved to ...
58986         * sysdeps/sh/start.S: ... here.
58987         * sysdeps/sh/elf/configure: Delete file.
58989         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
58990         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
58991         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
58992         * sysdeps/powerpc/powerpc64/entry.h: ... here.
58993         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
58994         * sysdeps/powerpc/powerpc64/start.S: here.
58995         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
58996         * sysdeps/powerpc/powerpc64/Makefile: ... this.
58997         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
58998         * sysdeps/powerpc/powerpc64/configure.in: ... this.
58999         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
59001         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
59002         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
59003         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
59004         * sysdeps/powerpc/powerpc32/start.S: ... here.
59005         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
59006         * sysdeps/powerpc/powerpc32/configure.in: ... this.
59007         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
59009         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
59010         * sysdeps/powerpc/ifunc-sel.h: ... here.
59011         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
59012         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
59014         * sysdeps/sparc/elf/configure.in: Moved to ...
59015         * sysdeps/sparc/configure.in: ... here.
59016         * sysdeps/sparc/elf/configure: Delete file.
59017         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
59018         * sysdeps/sparc/sparc32/start.S: ... here.
59019         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
59020         * sysdeps/sparc/sparc64/start.S: ... here.
59021         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
59022         * sysdeps/sparc/sparc32/Makefile: ... this.
59023         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
59024         * sysdeps/sparc/sparc64/Makefile: ... this.
59026         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
59027         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
59028         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
59029         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
59030         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
59031         * sysdeps/s390/s390-32/setjmp.S: ... here.
59032         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
59033         * sysdeps/s390/s390-32/configure.in: ... here.
59034         * sysdeps/s390/s390-32/elf/configure: Delete file.
59035         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
59036         * sysdeps/s390/s390-32/start.S: ... here.
59038         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
59039         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
59040         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
59041         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
59042         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
59043         * sysdeps/s390/s390-64/setjmp.S: ... here.
59044         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
59045         * sysdeps/s390/s390-64/configure.in: ... here
59046         * sysdeps/s390/s390-64/elf/configure: Delete file.
59047         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
59048         * sysdeps/s390/s390-64/start.S: ... here.
59049         * sysdeps/s390/s390-64/elf/configure: Delete.
59051         * configure.in: Remove support for elf directories in sysdeps.
59053         * configure: Regenerated.
59054         * sysdeps/i386/configure: Regenerated.
59055         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59056         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59057         * sysdeps/s390/s390-32/configure: Regenerated.
59058         * sysdeps/s390/s390-64/configure: Regenerated.
59059         * sysdeps/sh/configure: Regenerated.
59060         * sysdeps/sparc/configure: Regenerated.
59061         * sysdeps/x86_64/configure: Regenerated.
59063 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
59065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59067         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
59068         denormal result into account.
59070 2012-03-25  Roland McGrath  <roland@hack.frob.com>
59072         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
59073         Reported by Allan McRae <allan@archlinux.org>.
59075 2012-03-23  Jeff Law  <law@redhat.com>
59077         * nss/getnssent.c (__nss_getent): Fix typo.
59079 2012-03-23  David S. Miller  <davem@davemloft.net>
59081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59083 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
59085         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
59086         to pad to uint64_t for each field.
59087         (dl_tls_index): Replace unsigned long with uint64_t.
59089 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
59090         Paul Pluzhnikov  <ppluzhnikov@google.com>
59092         [BZ #6528]
59093         * grp/Makefile (otherlibs): Don't set it.
59094         * inet/Makefile (otherlibs): Likewise.
59095         * login/Makefile (otherlibs): Likewise.
59096         * nscd/Makefile (otherlibs): Likewise.
59097         * posix/Makefile (otherlibs): Likewise.
59098         * pwd/Makefile (otherlibs): Likewise.
59099         * rt/Makefile (otherlibs): Likewise.
59100         * sunrpc/Makefile (otherlibs): Likewise.
59101         * nss/Makefile (otherlibs): Likewise.
59102         Add libnss_files to routines and static-only-routines.
59103         ($(objpfx)getent): Remove rule.
59104         * resolv/Makefile: Add libnss_dns and libresolv to routines and
59105         static-only-routines.
59107 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59109         [BZ #13892]
59110         * math/s_cexp.c: Include <float.h>.
59111         (__cexp): Handle exp result overflowing not necessarily
59112         overflowing both real and imaginary parts of result.
59113         * math/s_cexpf.c: Likewise.
59114         * math/s_cexpl.c: Likewise.
59115         * math/libm-test.inc (cexp_test): Add more tests.
59116         * sysdeps/i386/fpu/libm-test-ulps: Update.
59117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59119 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59121         * include/link.h (ELFW): New macro.
59122         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
59123         Replace ELF64_R_TYPE with ELFW(R_TYPE).
59125 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59127         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
59128         with uint64_t.
59130 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59132         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
59133         declaration.
59134         (struct La_x32_retval): Likewise.
59136 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59138         * sysdeps/x86_64/preconfigure.in: New file.
59139         * sysdeps/x86_64/preconfigure: New generated file.
59141 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59143         [BZ #13824]
59144         * math/e_exp2l.c: Include <float.h>.
59145         (__ieee754_exp2l): Handle overflow and underflow cases
59146         separately.  Only pass fractional part of argument to
59147         __ieee754_expl.
59148         * math/libm-test.inc (exp2_test): Add more tests.
59150         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
59151         negating x to take absolute value.
59152         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
59153         Likewise.
59154         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59155         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
59156         Likewise.
59157         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
59158         computing low part if x was negated.
59159         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59161 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59163         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
59164         la_x32_gnu_pltexit.
59165         (pltexit): Cast int_retval to ptrdiff_t.
59166         * elf/tst-auditmod3b.c: Likewise.
59167         * elf/tst-auditmod4b.c: Likewise.
59168         * elf/tst-auditmod5b.c: Likewise.
59169         * elf/tst-auditmod6b.c: Likewise.
59170         * elf/tst-auditmod6c.c: Likewise.
59171         * elf/tst-auditmod7b.c: Likewise.
59173         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
59174         and x32_gnu_pltexit.
59176         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59177         __ELF_NATIVE_CLASS.
59178         (La_x32_regs): New macro.
59179         (La_x32_retval): Likewise.
59180         (la_x32_gnu_pltenter): New function prototype.
59181         (la_x32_gnu_pltexit): Likewise.
59183 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
59185         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
59186         exponent.
59188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59190         * configure.in (libc_cv_cc_nofma): Check for option to disable
59191         generation of FMA instructions.
59192         * configure: Regenerate.
59193         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59194         * sysdeps/ieee754/dbl-64/Makefile: New file.
59195         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
59196         Remove brandred-fma4.
59197         (CFLAGS-brandred-fma4.c): Remove.
59198         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
59199         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
59200         define.
59201         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
59202         define.
59204 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59206         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59207         LLONG_MAX != LONG_MAX.
59208         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59209         (_fitoa_word): Likewise.
59210         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
59211         LLONG_MAX != LONG_MAX.
59212         * stdio-common/_itowa.h: Include <_itoa.h>.
59213         (_itowa_word): Use _ITOA_WORD_TYPE on value.
59214         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
59215         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
59216         only if not defined.
59217         (_ITOA_WORD_TYPE): Likewise.
59218         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59219         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
59221 2012-03-21  David S. Miller  <davem@davemloft.net>
59223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59225 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59227         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
59228         of x86_64 when setting libc_cv_slibdir, libdir and
59229         libc_cv_localedir.
59230         * sysdeps/unix/sysv/linux/configure: Regenerated.
59232 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59234         * manual/lang.texi (Old Varargs): Remove section.
59235         (How Variadic): Update menu.
59236         (va_start): Do not mention varargs.h.
59238 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59239             Joseph Myers  <joseph@codesourcery.com>
59241         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
59242         link test.
59243         * configure: Regenerated.
59245 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59247         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
59248         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
59249         conformtest.pl
59251 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59253         * NOTES: Remove.
59254         * Makefile (files-for-dist): Remove NOTES.
59255         (NOTES): Remove rule.
59256         * README: Don't refer to NOTES.
59257         * manual/creature.texi: Don't include macros.texi.
59258         * manual/intro.texi (creature.texi): Remove comment referring to
59259         NOTES.
59261         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
59262         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
59263         * configure: Regenerated.
59264         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
59265         LIBC_TRY_CC_OPTION.
59266         (libc_cv_as_i686): Likewise.
59267         (libc_cv_cc_avx): Likewise.
59268         (libc_cv_cc_sse2avx): Likewise.
59269         (libc_cv_cc_fma4): Likewise.
59270         (libc_cv_cc_novzeroupper): Likewise.
59271         * sysdeps/i386/configure: Regenerated.
59273         [BZ #13883]
59274         * sysdeps/i386/fpu/s_cexp.S: Remove.
59275         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59276         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59277         * math/libm-test.inc (cexp_test): Add more tests.
59278         * sysdeps/i386/fpu/libm-test-ulps: Update.
59279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59281 2012-03-21  Allan McRae  <allan@archlinux.org>
59283         * timezone/Makefile: Do not install iso3166.tab and zone.tab
59285 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59287         [BZ #13871]
59288         * math/w_exp2.c: Do not include <float.h>.
59289         (o_threshold, u_threshold): Remove.
59290         (__exp2): Calculate result before checking finiteness and calling
59291         __kernel_standard.
59292         * math/w_exp2f.c: Likewise.
59293         * math/w_exp2l.c: Likewise.
59294         * math/libm-test.inc (exp2_test): Require overflow exception for
59295         1e6 input.
59297         [BZ #3866]
59298         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
59299         range of signed 64-bit integers before using fistpll.  Remove
59300         checks for whether integers fit in mantissa bits.
59301         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
59302         the range of signed 32-bit integers before using fistpl.  Remove
59303         checks for whether integers fit in mantissa bits.
59304         * sysdeps/i386/fpu/e_powl.S (p64): New object.
59305         (__ieee754_powl): Test for y outside the range of signed 64-bit
59306         integers before using fistpll.  Reduce 64-bit values to 63-bit
59307         ones as needed.
59308         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
59309         divide-by-zero is raised for zero to large negative powers.
59310         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
59311         (__ieee754_powl): Test for y outside the range of signed 64-bit
59312         integers before using fistpll.  Reduce 64-bit values to 63-bit
59313         ones as needed.
59314         * math/libm-test.inc (pow_test): Add more tests.
59316 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59318         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
59319         <stdio-common/_itoa.h>.
59320         * debug/segfault.c: Likewise.
59321         * elf/dl-cache.c: Likewise.
59322         * elf/dl-minimal.c: Likewise.
59323         * elf/dl-misc.c: Likewise.
59324         * elf/dl-sysdep.c: Likewise.
59325         * elf/dl-version.c: Likewise.
59326         * elf/rtld.c: Likewise.
59327         * hurd/hurdsock.c: Likewise.
59328         * hurd/lookup-retry.c: Likewise.
59329         * malloc/malloc.c: Likewise.
59330         * malloc/mtrace.c: Likewise.
59331         * nscd/nscd_getgr_r.c: Likewise.
59332         * nscd/nscd_getpw_r.c: Likewise.
59333         * nscd/nscd_getserv_r.c: Likewise.
59334         * posix/getopt_init.c: Likewise.
59335         * posix/wordexp.c: Likewise.
59336         * stdio-common/_itoa.c: Likewise.
59337         * stdio-common/printf_fphex.c: Likewise.
59338         * stdio-common/vfprintf.c: Likewise.
59339         * string/_strerror.c: Likewise.
59340         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
59341         * sysdeps/i386/i686/hp-timing.h: Likewise.
59342         * sysdeps/mach/_strerror.c: Likewise.
59343         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
59344         * sysdeps/mach/hurd/sethostid.c: Likewise.
59345         * sysdeps/mach/hurd/xmknodat.c: Likewise.
59346         * sysdeps/mach/xpg-strerror.c: Likewise.
59347         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59348         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59349         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
59350         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
59351         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59352         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
59353         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
59354         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
59355         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
59356         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
59357         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
59358         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59359         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
59360         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59361         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59362         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
59363         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
59364         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
59365         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
59366         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
59367         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
59369         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
59371         * stdio-common/_itoa.h: Moved to ...
59372         * sysdeps/generic/_itoa.h: Here.
59374         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
59376         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
59377         instead of "_itoa.h" and "_itowa.h".
59378         * stdio-common/vfprintf.: Likewise.
59380 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59382         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
59383         <bits/wordsize.h>.
59384         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
59385         (__signbit): Likwise.
59386         (llrintf): Likwise.
59387         (llrint): Likwise.
59389 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59391         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
59392         __WORDSIZE != 64.
59394 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
59396         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
59397         OVERFLOW_EXCEPTION_OK.
59398         * math/libm-test.inc ("Philosophy"): Update comment about
59399         exception testing.
59400         (OVERFLOW_EXCEPTION): Define.
59401         (OVERFLOW_EXCEPTION_OK): Likewise.
59402         (INVALID_EXCEPTION_OK): Renumber.
59403         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59404         (IGNORE_ZERO_INF_SIGN): Likewise.
59405         (test_exceptions): Handle FE_OVERFLOW.
59406         (exp10_test): Expect overflow exceptions.
59407         (exp2_test): Likewise.
59408         (expm1_test): Likewise.
59409         (nextafter_test): Likewise.
59410         (pow_test): Likewise.
59411         (scalbn_test): Likewise.
59412         (scalbln_test): Likewise.
59414 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59416         * sysdeps/x86_64/bits/atomic.h
59417         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
59418         64bit integer.
59419         (atomic_exchange_acq): Likewise.
59420         (__arch_exchange_and_add_body): Likewise.
59421         (__arch_add_body): Likewise.
59422         (atomic_add_negative): Likewise.
59423         (atomic_add_zero): Likewise.
59425 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59427         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
59428         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
59430 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59432         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
59433         Check __x86_64__ instead of __WORDSIZE.
59435 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59437         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
59439 2012-03-19  David S. Miller  <davem@davemloft.net>
59441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59443         * sysdeps/sparc/fpu/fenv_private.h: New file.
59444         * sysdeps/sparc/fpu/math_private.h: Use it.
59445         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
59446         Remove.
59447         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
59448         (libc_feholdexcept_setroundl): Remove.
59449         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
59450         Remove.
59451         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
59452         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
59454 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59456         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
59457         int64_t instead of long int.
59458         (INSERT_WORDS64): Likwise.
59460 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59462         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
59463         _Unwind_GetCFA return to _Unwind_Ptr first.
59465 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
59467         [BZ #13629]
59468         * math/s_clog.c: Include <float.h>.
59469         (__clog): Scale large or subnormal inputs.
59470         * math/s_clogf.c: Likewise.
59471         * math/s_clogl.c: Likewise.
59472         * math/s_clog10.c: Include <float.h>.
59473         (M_LOG10_2): Define.
59474         (__clog10): Scale large or subnormal inputs.
59475         * math/s_clog10f.c: Likewise.
59476         * math/s_clog10l.c: Likewise.
59477         * math/libm-test.inc (clog_test): Add more tests.
59478         (clog10_test): Likewise.
59479         * sysdeps/i386/fpu/libm-test-ulps: Update.
59480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59482         [BZ #11451]
59483         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
59484         x and y.
59485         * math/libm-test.inc (atan2_test): Add another test.
59487         * Makerules (common-objdir-compile): Remove.
59488         * sysdeps/unix/Makefile (config-generated): Do not add
59489         $(unix-generated) to variable.
59490         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
59491         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
59492         Remove rule.
59493         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
59494         Likewise.
59495         [generic bits/local_lim.h] (before-compile): Do not append to
59496         variable.
59497         [generic bits/local_lim.h] (common-generated): Likewise.
59498         [generic sys/param.h] (before-compile): Do not append to variable.
59499         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
59500         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
59501         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
59502         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
59503         include.
59504         [generic sys/param.h] (sys/param.h-includes): Remove variable.
59505         [generic sys/param.h] (sys/param.h-includes): Remove rule.
59506         [generic sys/param.h] ($(addprefix
59507         $(common-objpfx),$(sys/param.h-includes))): Likewise.
59508         [generic sys/param.h] (common-generated): Do not append to
59509         variable.
59510         [generic sys/param.h] (sysdep_headers): Likewise.
59511         [generic bits/errno.h] (before-compile): Do not append to
59512         variable.
59513         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
59514         rule.
59515         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
59516         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
59517         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
59518         [generic bits/errno.h] (common-generated): Do not append to
59519         variable.
59520         [generic bits/ioctls.h] (before-compile): Do not append to
59521         variable.
59522         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
59523         rule.
59524         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
59525         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
59526         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
59527         rule.
59528         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
59529         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
59530         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
59531         [generic bits/ioctls.h] (common-generated): Do not append to
59532         variable.
59533         [generic sys/syscall.h] (syscall.h): Remove variable.
59534         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
59535         rule.
59536         [generic sys/syscall.h] (before-compile): Do not append to
59537         variable.
59538         [generic sys/syscall.h] (common-generated): Likewise.
59539         * sysdeps/unix/errnos-tmpl.c: Remove file.
59540         * sysdeps/unix/errnos.awk: Likewise.
59541         * sysdeps/unix/ioctls-tmpl.c: Likewise.
59542         * sysdeps/unix/ioctls.awk: Likewise.
59543         * sysdeps/unix/mk-local_lim.c: Likewise.
59544         * sysdeps/unix/snarf-ioctls: Likewise.
59546 2012-03-19  Richard Henderson  <rth@twiddle.net>
59548         * sysdeps/i386/fpu/fenv_private.h: New file.
59549         * sysdeps/i386/fpu/math_private.h: Use it.
59550         (math_opt_barrier, math_force_eval): Remove.
59551         (libc_feholdexcept_setround_53bit): Remove.
59552         (libc_feupdateenv_53bit): Remove.
59553         * sysdeps/x86_64/fpu/math_private.h: Likewise.
59554         (math_opt_barrier, math_force_eval): Remove.
59555         (libc_feholdexcept): Remove.
59556         (libc_feholdexcept_setround): Remove.
59557         (libc_fetestexcept, libc_fesetenv): Remove.
59558         (libc_feupdateenv_test): Remove.
59559         (libc_feupdateenv, libc_feholdsetround): Remove.
59560         (libc_feresetround): Remove.
59562         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
59563         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
59565         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
59566         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
59567         (libc_feupdateenv_testl): New.
59568         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
59569         (libc_feupdateenv_testf): New.
59570         (libc_feupdateenv): Use libc_feupdateenv_test.
59571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
59572         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
59574         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
59575         (libc_feholdsetroundf, libc_feholdsetroundl): New.
59576         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
59577         (libc_feresetround_noex): New.
59578         (libc_feresetround_noexf): New.
59579         (libc_feresetround_noexl): New.
59580         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
59581         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
59582         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
59583         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
59584         SET_RESTORE_ROUND.
59585         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
59586         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
59587         (__cos): Likewise.
59588         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
59589         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
59590         SET_RESTORE_ROUND_NOEX.
59591         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
59592         SET_RESTORE_ROUND_NOEXF.
59593         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
59594         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
59595         (libc_feholdsetroundf): New.
59596         (libc_feresetround, libc_feresetroundf): New.
59598         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
59599         (libc_feholdexcept_setround_53bit): Convert from macro to function.
59600         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
59602         * sysdeps/generic/math_private.h: Include <fenv.h>.
59603         (default_libc_feholdexcept): New.
59604         (default_libc_feholdexcept_setround): New.
59605         (default_libc_fesetenv, default_libc_feupdateenv): New.
59606         (libc_feholdexcept): Only define if undefined.
59607         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
59608         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
59609         (libc_feholdexcept_setroundl): Likewise.
59610         (libc_feholdexcept_setround_53bit): Likewise.
59611         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
59612         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
59613         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
59614         (libc_feupdateenv_53bit): Likewise.
59615         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
59616         (libc_feholdexcept): Convert from macro to inline function.
59617         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
59618         (libc_fesetenv, libc_feupdateenv): Likewise.
59620         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
59621         not previously defined.
59622         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
59623         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
59624         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
59625         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
59626         * sysdeps/ieee754/flt-32/math_private.h: New file.
59627         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
59628         math_private.h below SET_FLOAT_WORD.
59629         (__isnan, __isinf_ns, __finite): Remove.
59630         (__isnanf, __isinf_nsf, __finitef): Remove.
59632 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
59634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59636 2012-03-17  David S. Miller  <davem@davemloft.net>
59638         [BZ #6471]
59639         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
59640         for 2.16.
59642 2012-03-16  David S. Miller  <davem@davemloft.net>
59644         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
59645         warnings.
59647         [BZ #6471]
59648         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
59649         properly.
59650         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
59651         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
59652         sysdep_routines when subdir is sysvipc.
59653         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
59654         __getshmlba helper.
59656         * sysdeps/sparc/fpu/libm-test/ulps: Update.
59658 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59660         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
59661         [__LP64__].
59663 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59665         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
59666         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
59667         (__lround): Renamed to ...
59668         (__llround): This.  Replace long int with long long int.
59669         Define lround functions as aliases of llround functions.
59670         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
59672 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59674         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
59675         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
59676         adresses to uintptr_t.  Replace "long int" and "unsigned long
59677         int" with "greg_t" on va_arg.
59679 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59681         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
59682         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
59684         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
59685         Move e_machine check before EI_CLASS check.  Handle x32
59686         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
59687         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
59688         SKIP_EM_IA_64 and include
59689         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
59691         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
59692         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
59693         (add_system_dir): New macro.
59695         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
59696         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
59698 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
59700         [BZ #2551]
59701         [BZ #2552]
59702         [BZ #2553]
59703         [BZ #2554]
59704         [BZ #2562]
59705         [BZ #2563]
59706         [BZ #2565]
59707         [BZ #2566]
59708         [BZ #2576]
59709         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
59710         (y0): Likewise.
59711         * math/w_j0f.c (j0f): Likewise.
59712         (y0f): Likewise.
59713         * math/w_j0l.c (__j0l): Likewise.
59714         (__y0l): Likewise.
59715         * math/w_j1.c (j1): Likewise.
59716         (y1): Likewise.
59717         * math/w_j1f.c (j1f): Likewise.
59718         (y1f): Likewise.
59719         * math/w_j1l.c (__j1l): Likewise.
59720         (__y1l): Likewise.
59721         * math/w_jn.c (jn): Likewise.
59722         (yn): Likewise.
59723         * math/w_jnf.c (jnf): Likewise.
59724         (ynf): Likewise.
59725         * math/w_jnl.c (__jnl): Likewise.
59726         (__ynl): Likewise.
59727         * math/libm-test.inc (j0_test): Add more tests.
59728         (j1_test): Likewise.
59729         (jn_test): Likewise.  Add trailing semicolon to existing test.
59730         (y0_test): Likewise.
59731         (y1_test): Likewise.
59732         * sysdeps/i386/fpu/libm-test-ulps: Update.
59733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59735         [BZ #13851]
59736         [BZ #13854]
59737         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
59738         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
59739         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
59740         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
59741         (__tanl): Set errno for infinite argument.
59742         * sysdeps/i386/fpu/mptan.c: Remove.
59743         * sysdeps/i386/fpu/s_tan.S: Likewise.
59744         * sysdeps/i386/fpu/s_tanl.S: Likewise.
59745         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
59746         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
59747         * math/libm-test.inc (tan_test): Add more tests and enable more
59748         tests for double and long double.
59749         * sysdeps/i386/fpu/libm-test-ulps: Update.
59750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59752 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
59754         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
59755         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
59757 2012-03-16  Roland McGrath  <roland@hack.frob.com>
59759         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
59760         * configure.in: Use it for both main tree and add-ons.
59761         * configure: Regenerated.
59763 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59765         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
59767 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
59769         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
59770         in comment.
59772         [BZ #13851]
59773         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
59774         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
59775         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
59776         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
59777         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
59778         infinite argument.
59779         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
59780         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
59781         != 0 for prec == 2.
59782         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
59783         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
59784         * sysdeps/i386/fpu/s_cosl.S: Likewise.
59785         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
59786         * sysdeps/i386/fpu/s_sinl.S: Likewise.
59787         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
59788         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
59789         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
59790         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
59791         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
59792         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
59793         * math/libm-test.inc (cos_test): Add more tests and enable more
59794         tests for long double.
59795         (sin_test): Likewise.
59796         (sincos_test): Likewise.
59797         * sysdeps/i386/fpu/libm-test-ulps: Update.
59798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59800 2012-03-16  David S. Miller  <davem@davemloft.net>
59802         * sysdeps/sparc/fpu/math_private.h: New file.
59804 2012-03-15  David S. Miller  <davem@davemloft.net>
59806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
59807         file.
59808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
59809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
59810         file.
59811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
59812         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
59813         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
59814         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
59815         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
59816         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
59817         sysdep routines.
59818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59820         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
59821         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
59823         * sysdeps/sparc/sparc-ifunc.h: New file.
59824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
59825         sparc-ifunc.h
59826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
59828         Likewise.
59829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
59830         Likewise.
59831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
59832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
59833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59835         Likewise.
59836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
59838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
59840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
59841         Likewise.
59842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
59843         Likewise.
59844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
59846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
59847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
59848         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59849         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59850         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
59851         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
59852         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59853         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59854         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
59855         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
59856         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
59857         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
59858         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
59859         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
59860         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
59861         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
59862         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
59863         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
59864         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
59865         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
59866         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
59867         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
59869 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59871         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
59872         scaling.
59873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59875 2012-03-15  Andreas Jaeger  <aj@suse.de>
59877         [BZ #13852]
59878         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
59879         ieee754/flt-32 implementation for sin, cos and sincos.
59880         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
59881         * sysdeps/i386/fpu/s_cosf.S: Likewise.
59882         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
59883         * sysdeps/i386/fpu/s_sinf.S: Likewise.
59884         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
59885         ieee754/flt-32 implementation for tan.
59887         * math/libm-test.inc (cos_test): Enable some large input tests for
59888         float as well
59889         (sin_test): Likewise.
59890         (sincos_test): Likewise.
59891         (tan_test): Add tests for large input.
59893         * sysdeps/i386/fpu/libm-test-ulps: Update.
59895 2012-03-15  Andreas Jaeger  <aj@suse.de>
59897         [BZ #13658]
59898         * math/libm-test.inc (cos_test): Add more test cases.
59899         (sin_test): Likewise.
59900         (sincos_test): Likewise.
59902 2012-03-15  Andreas Jaeger  <aj@suse.de>
59904         [BZ #13837]
59905         * math/libm-test.inc (cos_test): Add a test case for large input
59906         value.
59907         (sin_test): Likewise.
59908         (sincos_test): Likewise.
59910 2012-03-15  Andreas Jaeger  <aj@suse.de>
59911             Joseph Myers  <joseph@codesourcery.com>
59913         [BZ #13658]
59914         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
59915         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
59916         * sysdeps/i386/fpu/branred.c: Likewise.
59917         * sysdeps/i386/fpu/dosincos.c: Likewise.
59918         * sysdeps/i386/fpu/mpa.c: Likewise.
59919         * sysdeps/i386/fpu/s_cos.S: Likewise.
59920         * sysdeps/i386/fpu/s_sin.S: Likewise.
59921         * sysdeps/i386/fpu/s_sincos.S: Likewise.
59922         * sysdeps/i386/fpu/sincos32.c: Likewise.
59924         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
59925         Define.
59926         (libc_feupdateenv_53bit): Define.
59927         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
59928         Define.
59929         (libc_feupdateenv_53bit): Define.
59931         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
59932         53 bit (without extend i386 double precision).
59934         * math/libm-test.inc (sincos_test): Add tests for large input.
59935         (sin): Likewise.
59936         (cos): Likewise.
59938         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
59940 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59944 2012-03-15  David S. Miller  <davem@davemloft.net>
59946         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
59947         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
59948         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
59949         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
59950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
59951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
59952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
59953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
59954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
59955         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
59956         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
59957         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
59958         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
59959         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
59960         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
59961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
59962         file.
59963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
59964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
59965         file.
59966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
59967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
59968         file.
59969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
59970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
59971         file.
59972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
59973         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
59974         fmin/fmax sysdep routines.
59975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59977 2012-03-14  David S. Miller  <davem@davemloft.net>
59979         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
59980         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
59981         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
59982         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
59983         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
59984         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
59985         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
59986         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
59987         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
59988         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
59989         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
59990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
59991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
59992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
59993         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
59994         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
59995         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
59996         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
59997         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
59998         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
59999         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
60000         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
60001         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
60002         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
60003         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
60004         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
60005         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
60006         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
60007         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
60008         routines.
60009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
60010         file.
60011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
60012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
60013         file.
60014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
60015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
60016         file.
60017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
60018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
60019         file.
60020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
60021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
60022         file.
60023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
60024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
60025         file.
60026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
60027         file.
60028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
60029         file.
60030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
60031         file.
60032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
60033         New file.
60034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
60035         file.
60036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
60037         file.
60038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
60039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
60040         file.
60041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
60042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
60043         file.
60044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
60045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
60046         file.
60047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
60048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
60049         VIS3 routines.
60051         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60052         New file.
60054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60056         * sysdeps/sparc/configure.in: New file.
60057         * sysdeps/sparc/configure: Generate.
60058         * configure.in (libc_cv_sparc_as_vis3): Substitute.
60059         * configure: Regenerate.
60060         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
60061         * config.make.in (have-as-vis3): New.
60062         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
60063         available use -Av9d instead of -Av9a.
60064         * sysdeps/sparc/sparc64/Makefile: Likewise.
60065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
60066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
60067         New file.
60068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
60069         file.
60070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
60071         New file.
60072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
60073         file.
60074         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
60075         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
60076         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
60077         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
60078         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
60080         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
60081         fzeros/fnegs to load 0x80000000 into a float register instead of
60082         using the stack.
60083         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
60085 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60087         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60088         bits/syscall.h.
60089         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
60090         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
60091         ($(inst_includedir)/bits/syscall.h): Remove rule.
60092         ($(objpfx)bits/syscall.d): Include instead of
60093         $(objpfx)syscall-list.d.
60094         (generated): Change syscall-list.h and syscall-list.d to
60095         bits/syscall.h and bits/syscall.d.
60097 2012-03-14  Roland McGrath  <roland@hack.frob.com>
60099         [BZ #13846]
60100         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
60102 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60104         [BZ #13841]
60105         * math/s_csqrt.c: Include <float.h>.
60106         (__csqrt): Scale large or subnormal inputs.
60107         * math/s_csqrtf.c: Likewise.
60108         * math/s_csqrtl.c: Likewise.
60109         * math/libm-test.inc (csqrt_test): Add more tests.
60110         * sysdeps/i386/fpu/libm-test-ulps: Update.
60111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60113         [BZ #13840]
60114         * math/libm-test.inc (hypot_test): Add more tests.
60116 2012-03-13  David S. Miller  <davem@davemloft.net>
60118         [BZ #13840]
60119         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
60120         double-precision for the calculation instead of scaling.
60122 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
60124         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
60125         manipulate bits before adding and subtracting TWO52[sx].
60126         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
60127         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
60128         Likewise.
60129         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
60131 2012-03-13  David S. Miller  <davem@davemloft.net>
60133         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
60134         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
60135         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
60136         rtld-global-offsets.h
60137         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60139         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
60140         large parameters.
60142         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
60144         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
60145         'err' in the ifdef scope in which it is actually used.
60147         * nss/nss_db/db-init.c: Include string.h
60149 2012-03-12  David S. Miller  <davem@davemloft.net>
60151         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60152         masking out of the most significant byte of random value used.
60153         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60154         Fix coding style in previous change.
60156         * sysdeps/unix/sysv/linux/kernel-features.h
60157         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
60158         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
60159         expression.
60160         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
60161         later.
60163 2012-03-11  David S. Miller  <davem@davemloft.net>
60165         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60166         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
60167         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
60168         for 'resultvar' otherwise things get truncated on 64-bit.
60170         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60171         Fix masking out of the most significant byte of random value used.
60173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60175 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
60177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60179 2012-03-09  David S. Miller  <davem@davemloft.net>
60181         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
60182         variables with appropriate CPP guards.
60183         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
60184         from the frame pointer, not the stack pointer.  Correct layout
60185         comments.  Fix test on resulting framesize and the management of
60186         the outregs buffer for pltexit.  Preserve floating point return
60187         values across _dl_call_pltexit call.
60188         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
60189         framesize and the management of the outregs buffer for pltexit.
60190         Preserve floating point return values across _dl_call_pltexit
60191         call.
60192         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
60193         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
60194         (la_sparc64_gnu_pltexit): New functions.
60195         (print_exit): Fix format string for return register value.
60197 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
60199         * sunrpc/Makefile (others): Add rpcgen.
60200         ($(objpfx)rpcgen): Remove special build rule and dependency on
60201         libc.
60202         * sunrpc/rpcgen.c: New file.
60204 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
60206         [BZ #13673]
60207         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
60208         * stdio-common/bug-vfprintf-nargs.c: Likewise.
60209         * sysdeps/i386/crti.S: Likewise.
60210         * sysdeps/i386/crtn.S: Likewise.
60211         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
60212         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
60213         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
60214         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
60215         * sysdeps/sh/crti.S: Likewise.
60216         * sysdeps/sh/crtn.S: Likewise.
60217         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60219         [BZ #13673]
60220         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
60221         with URL.
60222         * locale/programs/locfile-kw.gperf: Likewise.
60223         * locale/programs/charmap-kw.h: Regenerated.
60224         * locale/programs/locfile-kw.h: Likewise.
60226         [BZ #13673]
60227         * intl/plural.y: Replace FSF snail mail address with URL.
60228         * intl/plural.c: Regenerated.
60230 2012-03-09  Richard Henderson  <rth@twiddle.net>
60232         * include/math_private.h: Remove file.
60233         * math/math_private.h: Move file ...
60234         * sysdeps/generic/math_private.h: ... here.
60236         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
60237         * sysdeps/powerpc/fpu/math_private.h: Likewise.
60238         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60240         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
60241         and <math_private.h>.
60242         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60243         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60244         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60245         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60246         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60247         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
60248         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60249         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60250         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60251         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60252         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60253         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60254         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60255         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60256         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60257         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60258         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60259         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60260         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60261         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60262         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60263         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60264         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60265         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60266         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60267         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60268         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60269         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60270         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60271         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60272         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60273         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60274         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60275         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60276         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60277         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60278         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60279         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60280         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60281         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60282         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
60283         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60284         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60285         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60286         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60287         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60288         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
60289         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60290         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60291         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60292         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60293         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
60294         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60295         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60296         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60297         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60298         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60299         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60300         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60301         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
60302         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60303         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60304         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60305         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60306         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
60307         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60308         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60309         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60310         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
60311         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
60312         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60313         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60314         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60315         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60316         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
60317         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
60318         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
60319         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60320         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
60321         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
60322         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60323         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
60324         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60325         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60326         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60327         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
60328         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
60329         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
60330         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60331         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60332         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60333         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60334         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60335         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60336         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60337         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60338         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60339         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60340         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60341         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60342         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60343         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60344         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60345         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60346         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60347         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60348         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60349         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60350         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60351         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60352         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60353         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60354         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60355         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60356         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
60357         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60358         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60359         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60360         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60361         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60362         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60363         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60364         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60365         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
60366         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60367         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60368         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60369         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
60370         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60371         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
60372         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
60373         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60374         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60375         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
60376         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
60377         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
60378         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60379         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
60380         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
60381         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60382         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60383         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
60384         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
60385         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
60386         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
60387         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
60388         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
60389         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
60390         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
60391         * sysdeps/ieee754/k_standard.c: Likewise.
60392         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60393         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60394         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60395         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60396         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60397         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60398         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60399         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60400         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60401         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60402         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60403         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60404         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60405         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60406         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60407         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60408         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60409         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60410         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60411         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
60412         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
60413         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
60414         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60415         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
60416         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60417         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
60418         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
60419         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
60420         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
60421         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60422         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60423         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
60424         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
60425         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
60426         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60427         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
60428         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
60429         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
60430         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
60431         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
60432         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60433         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60434         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60435         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
60436         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60437         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60438         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
60439         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
60440         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
60441         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60442         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60443         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60444         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
60445         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
60446         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60447         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60448         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
60449         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
60450         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
60451         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
60452         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60453         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
60454         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
60455         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60456         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60457         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60458         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60459         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60460         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60461         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60462         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60463         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60464         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60465         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60466         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60467         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60468         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
60469         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60470         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60471         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60472         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60473         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60474         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
60475         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
60476         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
60477         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
60478         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
60479         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
60480         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60481         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
60482         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
60483         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
60484         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
60485         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
60486         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
60487         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
60488         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
60489         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
60490         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
60491         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
60492         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
60493         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
60494         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60495         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
60496         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
60497         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60498         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60499         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
60500         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
60501         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
60502         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
60503         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
60504         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60505         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60506         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60507         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60508         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60509         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60510         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60511         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60512         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60513         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60514         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60515         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60516         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60517         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
60518         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60519         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
60520         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
60521         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60522         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60523         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60524         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60525         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60526         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
60527         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
60528         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
60529         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60530         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60531         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
60532         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
60533         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60534         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
60535         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
60536         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
60537         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60538         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60539         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
60540         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
60541         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
60542         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60543         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60544         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
60545         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60546         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
60547         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
60548         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
60549         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
60550         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
60551         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60552         * sysdeps/ieee754/s_lib_version.c: Likewise.
60553         * sysdeps/ieee754/s_matherr.c: Likewise.
60554         * sysdeps/ieee754/s_signgam.c: Likewise.
60555         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60556         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60557         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
60558         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
60559         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
60560         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60561         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
60562         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
60563         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
60564         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
60565         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60566         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
60567         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
60568         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
60569         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
60570         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60571         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60572         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60573         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60574         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60575         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60577 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
60579         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
60580         * sunrpc/rpc_main.c: Likewise.
60581         * sunrpc/rpc_svcout.c: Likewise.
60583 2012-03-09  David S. Miller  <davem@davemloft.net>
60585         * include/math_private.h: New file.
60587 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
60589         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
60590         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
60591         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
60592         from <bits/socket_type.h>.
60593         (enum __socket_type): Don't define here.
60594         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
60595         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60596         bits/socket_type.h.
60598         [BZ #13566]
60599         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
60600         checking __USE_GNU.
60602         * Makerules ($(inst_includedir)/%.h): New rule.
60603         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
60604         (install-others): Remove variable setting.
60605         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
60607 2012-03-08  Richard Henderson  <rth@twiddle.net>
60609         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
60610         from macro to inline function; merge with the
60611         !__LIBC_INTERNAL_MATH_INLINES version.
60612         (__ieee754_sqrtf): Likewise.
60614         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
60615         to inline function.
60616         (__rintf, __floor, __floorf): Likewise.
60618         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
60619         macro to inline function.
60620         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
60622         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
60623         not <math/math_private.h>.
60625 2012-03-08  David S. Miller  <davem@davemloft.net>
60627         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
60628         copyright year.
60629         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
60631 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
60633         * resolv/gai_misc.c (handle_requests): Fix struct timespec
60634         normalization.
60635         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
60636         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
60638 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
60640         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
60641         be defined individually, they must be defined as a block.  Define
60642         S for printing a string instead of hidint the different by using a
60643         macro for adding the 'l'.
60644         * stdio-common/tst-fphex-wide.c: Adjust.
60646 2012-03-07  Marek Polacek  <polacek@redhat.com>
60648         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
60650 2012-03-08  Marek Polacek  <polacek@redhat.com>
60652         [BZ #13806]
60653         * stdio-common/Makefile (tests): Add tst-fphex-wide.
60654         * stdio-common/tst-fphex.c: Define a few macros to make the
60655         test reusable.  Use them.
60656         * stdio-common/tst-fphex-wide.c: New file.
60658 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
60660         [BZ #6911]
60661         * manual/macros.texi (gnusystems): New macro.
60662         (nongnusystems): Likewise.
60663         (gnulinuxhurdsystems): Likewise.
60664         (gnuhurdsystems): Likewise..
60665         (gnulinuxsystems): Likewise.
60666         * manual/charset.texi: Use new macros or @theglibc{} to refer to
60667         variants of the GNU system, not "GNU system".
60668         * manual/conf.texi: Likewise.
60669         * manual/errno.texi: Likewise.  Update example of errno macro
60670         expansion.
60671         * manual/filesys.texi: Likewise.
60672         (getumask): Document as specific to GNU/Hurd.
60673         * manual/install.texi: Likewise.  Reword some references to
60674         GNU/Linux.
60675         * manual/intro.texi: Likewise.
60676         * manual/io.texi: Likewise.
60677         (File Name Portability): Detail which constraints are inapplicable
60678         to all GNU systems and which are only inapplicable to GNU/Hurd.
60679         * manual/job.texi: Likewise.
60680         * manual/llio.texi: Likewise.
60681         (O_NOCTTY): Document as present on GNU/Linux.
60682         * manual/maint.texi: Likewise.
60683         * manual/memory.texi: Likewise.
60684         * manual/pattern.texi: Likewise.
60685         * manual/pipe.texi: Likewise.
60686         * manual/process.texi: Likewise.
60687         * manual/resource.texi: Likewise.
60688         (RUSAGE_CHILDREN): Remove statement about specifying a particular
60689         child on GNU/Hurd.
60690         * manual/setjmp.texi: Likewise.
60691         * manual/signal.texi: Likewise.
60692         * manual/startup.texi: Likewise.
60693         * manual/stdio.texi: Likewise.
60694         * manual/terminal.texi: Likewise.
60695         (ONLCR): Document as POSIX.
60696         (OXTABS): Document availability on GNU/Linux as XTABS.
60697         (ONOEOT): Document availability separately from other bits.
60698         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
60699         * manual/time.texi: Likewise.
60700         * manual/users.texi: Likewise.
60701         * INSTALL: Regenerated.
60702         * sysdeps/gnu/errlist.c: Regenerated.
60704         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
60705         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
60706         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
60707         puts.
60708         * configure: Regenerated.
60710 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
60712         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
60713         default includes instead of AC_HEADER_CHECK.
60714         * sysdeps/i386/configure: Regenerated.
60716         [BZ #10716]
60717         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
60718         * math/s_cacoshf.c (__cacoshf): Likewise.
60719         * math/s_cacoshl.c (__cacoshl): Likewise.
60720         * math/s_casinh.c (__casinh): Set signs of result from argument.
60721         * math/s_casinhf.c (__casinhf): Likewise.
60722         * math/s_casinhl.c (__casinhl): Likewise.
60723         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
60724         (casinh_test): Add more tests.
60725         * sysdeps/i386/fpu/libm-test-ulps: Update.
60726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60728 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
60730         * po/zh_TW.po: Update from translation team.
60732         * login/Makefile (distribute): Remove variable.
60733         * catgets/Makefile: Likewise.
60734         * mach/Makefile: Likewise.
60735         * malloc/Makefile: Likewise.
60736         * misc/Makefile: Likewise.
60737         * iconv/Makefile: Likewise.
60738         * nscd/Makefile: Likewise.
60739         * hurd/Makefile: Likewise.
60740         * manual/Makefile: Likewise.
60741         * locale/Makefile: Likewise.
60742         * intl/Makefile: Likewise.
60743         * conform/Makefile: Likewise.
60744         * nss/Makefile: Likewise.
60745         * time/Makefile: Likewise.
60746         * soft-fp/Makefile: Likewise.
60747         * dirent/Makefile: Likewise.
60748         * gmon/Makefile: Likewise.
60749         * po/Makefile: Likewise.
60750         * rt/Makefile: Likewise.
60751         * socket/Makefile: Likewise.
60752         * math/Makefile: Likewise.
60753         * signal/Makefile: Likewise.
60754         * debug/Makefile: Likewise.
60755         * elf/Makefile: Likewise.
60756         * timezone/Makefile: Likewise.
60757         * stdlib/Makefile: Likewise.
60758         * iconvdata/Makefile: Likewise.
60759         * sunrpc/Makefile: Likewise.
60760         * io/Makefile: Likewise.
60761         * argp/Makefile: Likewise.
60762         * inet/Makefile: Likewise.
60763         * hesiod/Makefile: Likewise.
60764         * grp/Makefile: Likewise.
60765         * csu/Makefile: Likewise.
60766         * wctype/Makefile: Likewise.
60767         * crypt/Makefile: Likewise.
60768         * libio/Makefile: Likewise.
60769         * string/Makefile: Likewise.
60770         * nis/Makefile: Likewise.
60771         * resolv/Makefile: Likewise.
60772         * stdio-common/Makefile: Likewise.
60773         * wcsmbs/Makefile: Likewise.
60774         * dlfcn/Makefile: Likewise.
60775         * posix/Makefile: Likewise.
60777         [BZ #6959]
60778         * timezone/Makefile: Don't install timezone files, just the programs
60779         and scripts.
60781 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
60783         * nss/databases.def: Add missing gshadow entry.
60785         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
60787 2012-03-06  Marek Polacek  <polacek@redhat.com>
60789         [BZ #13726]
60790         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
60791         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60792         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
60793         * stdio-common/tst-long-dbl-fphex.c: New file.
60795 2012-03-06  David S. Miller  <davem@davemloft.net>
60797         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60798         (set_obp_int): New function.
60799         (get_obp_int): New function.
60800         (__get_clockfreq_via_dev_openprom): Likewise.
60801         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
60802         Avoid unused variable warnings on 'val' and use builtin_expect.
60803         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
60804         __builtin_expect.
60805         (INLINE_CLONE_SYSCALL): Likewise.
60807 2012-03-05  David S. Miller  <davem@davemloft.net>
60809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60811 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
60813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60815         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
60816         only for |x| >= 40.
60817         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60819 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
60821         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
60822         Replace gettimeofday with __vdso_gettimeofday.
60824         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60825         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
60826         __vdso_clock_gettime and __vdso_getcpu.
60828         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
60829         time with __vdso_time.
60831 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60833         * manual/lang.texi (size_t): Note types to which size_t may be
60834         equivalent with the GNU C Library, but do not describe when
60835         differences between them are significant.
60837 2012-03-05  Andreas Jaeger  <aj@suse.de>
60839         * sysdeps/i386/fpu/libm-test-ulps: Update.
60841 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60843         [BZ #3976]
60844         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
60845         (__ieee754_pow): Save and restore rounding mode and use
60846         round-to-nearest for main computations.
60847         * math/libm-test.inc (pow_test_tonearest): New function.
60848         (pow_test_towardzero): Likewise.
60849         (pow_test_downward): Likewise.
60850         (pow_test_upward): Likewise.
60851         (main): Call the new functions.
60852         * sysdeps/i386/fpu/libm-test-ulps: Update.
60853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60855         [BZ #3976]
60856         * math/libm-test.inc (cosh_test_tonearest): New function.
60857         (cosh_test_towardzero): Likewise.
60858         (cosh_test_downward): Likewise.
60859         (cosh_test_upward): Likewise.
60860         (sinh_test_tonearest): Likewise.
60861         (sinh_test_towardzero): Likewise.
60862         (sinh_test_downward): Likewise.
60863         (sinh_test_upward): Likewise.
60864         (main): Call the new functions.
60865         * sysdeps/i386/fpu/libm-test-ulps: Update.
60866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60868 2012-03-05  Tom de Vries  <tom@codesourcery.com>
60870         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
60871         default stack guard is set in last bytes.
60872         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
60874 2012-03-05  Kees Cook  <keescook@chromium.org>
60876         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
60878         [BZ #13656]
60879         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
60880         possibly allocate from heap instead of stack.
60881         * stdio-common/bug-vfprintf-nargs.c: New file.
60882         * stdio-common/Makefile (tests): Add nargs overflow test.
60884 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
60886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60888 2012-03-03  Marek Polacek  <polacek@redhat.com>
60890         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
60891         * math/math_private.h: Likewise.
60892         * stdlib/tst-strtod.c: Likewise.
60893         * sysdeps/i386/i486/bits/atomic.h: Likewise.
60894         * sysdeps/x86_64/bits/atomic.h: Likewise.
60896 2012-03-02  David S. Miller  <davem@davemloft.net>
60898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
60899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
60900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
60901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
60902         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
60903         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
60904         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
60905         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
60907 2012-03-02  Roland McGrath  <roland@hack.frob.com>
60909         [BZ #13792]
60910         * manual/examples/README: New file, says the example source files
60911         can be used under GPL>=2.
60912         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
60913         line containing just "*/".
60914         * manual/examples/add.c: Add copyright header (GPL>=2).
60915         * manual/examples/argp-ex1.c: Likewise.
60916         * manual/examples/argp-ex2.c: Likewise.
60917         * manual/examples/argp-ex3.c: Likewise.
60918         * manual/examples/argp-ex4.c: Likewise.
60919         * manual/examples/atexit.c: Likewise.
60920         * manual/examples/db.c: Likewise.
60921         * manual/examples/dir.c: Likewise.
60922         * manual/examples/dir2.c: Likewise.
60923         * manual/examples/execinfo.c: Likewise.
60924         * manual/examples/filecli.c: Likewise.
60925         * manual/examples/filesrv.c: Likewise.
60926         * manual/examples/fmtmsgexpl.c: Likewise.
60927         * manual/examples/genpass.c: Likewise.
60928         * manual/examples/inetcli.c: Likewise.
60929         * manual/examples/inetsrv.c: Likewise.
60930         * manual/examples/isockad.c: Likewise.
60931         * manual/examples/longopt.c: Likewise.
60932         * manual/examples/memopen.c: Likewise.
60933         * manual/examples/memstrm.c: Likewise.
60934         * manual/examples/mkfsock.c: Likewise.
60935         * manual/examples/mkisock.c: Likewise.
60936         * manual/examples/mygetpass.c: Likewise.
60937         * manual/examples/pipe.c: Likewise.
60938         * manual/examples/popen.c: Likewise.
60939         * manual/examples/rprintf.c: Likewise.
60940         * manual/examples/search.c: Likewise.
60941         * manual/examples/select.c: Likewise.
60942         * manual/examples/setjmp.c: Likewise.
60943         * manual/examples/sigh1.c: Likewise.
60944         * manual/examples/sigusr.c: Likewise.
60945         * manual/examples/stpcpy.c: Likewise.
60946         * manual/examples/strdupa.c: Likewise.
60947         * manual/examples/strftim.c: Likewise.
60948         * manual/examples/strncat.c: Likewise.
60949         * manual/examples/subopt.c: Likewise.
60950         * manual/examples/swapcontext.c: Likewise.
60951         * manual/examples/termios.c: Likewise.
60952         * manual/examples/testopt.c: Likewise.
60953         * manual/examples/testpass.c: Likewise.
60954         * manual/examples/timeval_subtract.c: Likewise.
60956         [BZ #13792]
60957         * manual/time.texi (Elapsed Time): Move timeval_subtract example
60958         function to ...
60959         * manual/timeval_subtract.c.texi: ... here, new file.
60961 2012-03-02  David S. Miller  <davem@davemloft.net>
60963         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
60965 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
60967         [BZ #3976]
60968         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
60969         (__sin): Save and restore rounding mode and use round-to-nearest
60970         for all computations.
60971         (__cos): Save and restore rounding mode and use round-to-nearest
60972         for all computations.
60973         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
60974         <fenv.h>.
60975         (tan): Save and restore rounding mode and use round-to-nearest for
60976         all computations.
60977         * math/libm-test.inc (cos_test_tonearest): New function.
60978         (cos_test_towardzero): Likewise.
60979         (cos_test_downward): Likewise.
60980         (cos_test_upward): Likewise.
60981         (sin_test_tonearest): Likewise.
60982         (sin_test_towardzero): Likewise.
60983         (sin_test_downward): Likewise.
60984         (sin_test_upward): Likewise.
60985         (tan_test_tonearest): Likewise.
60986         (tan_test_towardzero): Likewise.
60987         (tan_test_downward): Likewise.
60988         (tan_test_upward): Likewise.
60989         (main): Call the new functions.
60990         * sysdeps/i386/fpu/libm-test-ulps: Update.
60991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60993         [BZ #10135]
60994         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
60995         small n, then large n, before computing and testing k+n.
60996         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
60997         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
60998         Likewise.
60999         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
61000         Likewise.
61001         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
61002         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
61003         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
61004         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
61005         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61006         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61007         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
61008         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
61009         * math/libm-test.inc (scalbn_test): Add more tests.
61010         (scalbln_test): Likewise.
61012         * manual/filesys.texi (mode_t): Describe constraints on size and
61013         signedness, not exact equivalence to a particular type.
61014         (ino_t): Likewise.
61015         (ino64_t): Likewise.
61016         (dev_t): Likewise.
61017         (nlink_t): Likewise.
61018         (blkcnt_t): Likewise.
61019         (blkcnt64_t): Likewise.
61020         * manual/llio.texi (off_t): Likewise.
61022         [BZ #3976]
61023         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
61024         (__ieee754_exp): Save and restore rounding mode and use
61025         round-to-nearest for all computations.
61026         * math/libm-test.inc (exp_test_tonearest): New function.
61027         (exp_test_towardzero): Likewise.
61028         (exp_test_downward): Likewise.
61029         (exp_test_upward): Likewise.
61030         (main): Call the new functions.
61031         * sysdeps/i386/fpu/libm-test-ulps: Update.
61032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61034 2012-03-01  Chris Demetriou  <cgd@google.com>
61036         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
61037         have predictable order.
61039 2012-03-01  David S. Miller  <davem@davemloft.net>
61041         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
61043         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
61044         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
61045         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
61046         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
61048         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
61049         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
61050         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
61051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
61052         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
61053         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
61054         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
61055         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
61056         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
61058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61060         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
61061         * sysdeps/sparc/fpu/libm-test-ulps: to here.
61062         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
61064         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
61065         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61066         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61067         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
61068         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
61069         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
61070         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
61071         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61072         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61073         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
61074         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
61075         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61077         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61078         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61079         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61080         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
61081         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
61082         * sysdeps/sparc/elf/configure: Regenerated.
61084 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
61086         * configure.in (AS, LD): Require binutils 2.20 or later.
61087         * configure: Regenerated.
61088         * manual/install.texi (Tools for Compilation): Give binutils 2.20
61089         as required minimum version.
61090         * INSTALL: Regenerated.
61092         [BZ #2541]
61093         [BZ #4108]
61094         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
61095         before squaring exponent.
61096         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
61097         bottom long double and 27 bits of top long double before squaring
61098         exponent.
61099         * math/libm-test.inc (erfc_test): Add more tests.
61100         * sysdeps/i386/fpu/libm-test-ulps: Update.
61101         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61104 2012-03-01  Kai Tietz  <ktietz@redhat.com>
61106         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
61107         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
61108         containing bit-fields.
61109         * soft-fp/extended.h (_FP_UNION_E): Likewise.
61110         * soft-fp/single.h (_FP_UNION_S): Likewise.
61111         * soft-fp/double.h (_FP_UNION_D): Likewise.
61113 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61115         [BZ #13786]
61116         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
61117         not include ../strcmp.S.
61118         [USE_AS_STRNCASECMP_L]: Likewise.
61119         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
61120         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
61121         * sysdeps/i386/i686/multiarch/strncase_l-c.c
61122         (__strncasecmp_l_ia32): Define as alias to
61123         __strncasecmp_l_nonascii.
61125         [BZ #5794]
61126         * math/libm-test.inc (expm1_test): Add test for bug 5794.
61127         * sysdeps/i386/fpu/libm-test-ulps: Update.
61128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61130         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
61131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61133 2012-02-29  Jeff Law  <law@redhat.com>
61135         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
61136         out of bounds read.
61138 2012-02-29  Marek Polacek  <polacek@redhat.com>
61140         [BZ #13706]
61141         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
61142         * elf/Makefile: Add rules to run tst-unused-dep.out.
61144 2012-02-28  David S. Miller  <davem@davemloft.net>
61146         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
61147         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
61148         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
61149         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
61150         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
61151         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
61153 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61155         * math/libm-test.inc (llround_test): Move one test from
61156         lround_test.  Use TEST_f_L in moved test.
61157         (lround_test): Move misplaced test to llround_test.  Add testcase
61158         from bug 2561.
61160 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
61162         * sysdeps/x86_64/fpu/e_expf.S: New file.
61163         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
61165 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
61167         [BZ #13637]
61168         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
61169         of remain_len that may cause incomplete multi-byte character and
61170         false match.
61171         * posix/bug-regex33.c: New file.
61172         * posix/Makefile (tests): Add bug-regex33.
61174 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
61176         * manual/macros.texi: New file.
61177         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
61178         * manual/libc.texinfo: Include macros.texi.
61179         * manual/creatute.texi: Likewise.
61180         * manual/install.texi: Likewise.
61181         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
61182         @glibcadj{} in references to the GNU C Library.
61183         * manual/charset.texi: Likewise.
61184         * manual/conf.texi: Likewise.
61185         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
61186         when not using those macros.
61187         * manual/creature.texi: Likewise.
61188         * manual/crypt.texi: Likewise.
61189         * manual/errno.texi: Likewise.
61190         * manual/filesys.texi: Likewise.
61191         * manual/header.texi: Likewise.
61192         * manual/install.texi: Likewise.
61193         * manual/intro.texi: Likewise.
61194         * manual/io.texi: Likewise.
61195         * manual/job.texi: Likewise.
61196         * manual/lang.texi: Likewise.
61197         * manual/libc.texiinfo: Likewise.
61198         * manual/llio.texi: Likewise.
61199         * manual/locale.texi: Likewise.
61200         * manual/maint.texi: Likewise.
61201         * manual/math.texi: Likewise.
61202         * manual/memory.texi: Likewise.
61203         * manual/message.texi: Likewise.
61204         * manual/nss.texi: Likewise.
61205         * manual/pattern.texi: Likewise.
61206         * manual/process.texi: Likewise.
61207         * manual/resource.texi: Likewise.
61208         * manual/search.texi: Likewise.
61209         * manual/setjmp.texi: Likewise.
61210         * manual/signal.texi: Likewise.
61211         * manual/socket.texi: Likewise.
61212         * manual/startup.texi: Likewise.
61213         * manual/stdio.texi: Likewise.
61214         * manual/string.texi: Likewise.
61215         * manual/sysinfo.texi: Likewise.
61216         * manual/syslog.texi: Likewise.
61217         * manual/terminal.texi: Likewise.
61218         * manual/time.texi: Likewise.
61219         * manual/users.texi: Likewise.
61220         * INSTALL: Regenerated.
61221         * NOTES: Regenerated.
61222         * sysdeps/gnu/errlist.c: Regenerated.
61224 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
61226         * include/dirent.h: Include <dirstream.h> before
61227         <dirent/dirent.h>.
61229 2012-02-28  David S. Miller  <davem@davemloft.net>
61231         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
61232         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
61233         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
61234         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
61236 2012-02-27  David S. Miller  <davem@davemloft.net>
61238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
61239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
61240         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
61241         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
61243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
61244         frame pointer instead of stack pointer relative arg slot.
61245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61246         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61247         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61249 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
61251         [BZ #3992]
61252         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
61254 2012-02-27  David S. Miller  <davem@davemloft.net>
61256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
61257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
61260         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61261         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61262         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
61263         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
61265 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61267         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
61268         later.  Allow versions 5-9.
61269         * configure: Regenerated.
61270         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
61271         required minimum version and 4.6 as recommended version.  Do not
61272         mention bugs in GCC 2.7 and 2.8.
61273         * INSTALL: Regenerated.
61275 2012-02-27  David S. Miller  <davem@davemloft.net>
61277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
61278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
61279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
61280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
61281         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
61282         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
61283         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
61284         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
61286         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
61287         manipulate bits before adding and subtracting TWO112[sx].
61288         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61290 2012-02-27  Roland McGrath  <roland@hack.frob.com>
61292         [BZ #13775]
61293         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
61294         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
61295         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
61296         being in POSIX, because they are in 1003.1-2008.
61298         * rt/tst-aio.c: Include <fcntl.h>.
61299         * rt/tst-aio7.c: Likewise.
61300         * rt/tst-aio64.c: Likewise.
61302         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
61304 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61306         * manual/install.texi (--with-headers): Describe headers as
61307         interface headers, not private headers.
61308         (Specific advice for GNU/Linux systems): Describe use of headers
61309         from "make headers_install", not private headers from older
61310         kernels.
61311         * INSTALL: Regenerated.
61312         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
61313         Change to 2.6.19.
61314         * sysdeps/unix/sysv/linux/configure: Regenerated.
61316         * manual/llio.texi (fclean): Remove documentation.
61318         * manual/Makefile (libc-texi-generated): New variable.  Include
61319         version.texi.
61320         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
61321         $(libc-texi-generated), not duplicated list of files.
61322         (version.texi, stamp-version): New rules.
61323         (realclean): Remove $(libc-texi-generated), not individual files
61324         from that list.  Do not remove dir-add.texinfo.
61325         * manual/libc.texinfo: Comment out uses of edition numbers and
61326         references to printed manual.  Remove last-updated dates.
61327         (EDITION): Comment out.
61328         (ISBN): Likewise.
61329         (VERSION, UPDATED): Remove.
61330         (version.texi): Include.
61332 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
61334         * sysdeps/posix/spawni.c: Include <signal.h>.
61335         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
61336         * sysdeps/pthread/aio_fsync.c: Likewise.
61338 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
61340         * conform/Makefile (tests): Run only when not cross-compiling and
61341         when fast-check is not defined.
61343         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
61344         * conform/data/limits.h-data: Fixes for POSIX2008.
61345         * conform/run-conformtest.sh: Run all tests.
61346         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
61347         headers.
61348         * include/bits/dlfcn.h: Likewise.
61349         * include/langinfo.h: Likewise.
61350         * include/monetary.h: Likewise.
61351         * include/sys/poll.h: Likewise.
61353         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
61354         for __USE_GNU.
61355         * posix/spawn.h: Define __need_sigset_t.
61356         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
61357         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
61358         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
61359         to get sigevent_t only.
61360         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
61361         only for __USE_GNU.
61362         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61363         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61364         process_vm_writev only for __USE_GNU.
61365         * termios/termios.h: Declare tcgetsid also for POSIX2008.
61367         * conform/Makefile: For now ignore errors from run-conformtest.
61368         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
61369         POSIX to avoid namespace pollution.  Don't prepend headers.
61370         * conform/data/aio.h-data: Fixes for POSIX testing.
61371         * conform/data/fcntl.h-data: Likewise.
61372         * conform/data/glob.h-data: Likewise.
61373         * conform/data/grp.h-data: Likewise.
61374         * conform/data/pthread.h-data: Likewise.
61375         * conform/data/pwd.h-data: Likewise.
61376         * conform/data/signal.h-data: Likewise.
61377         * conform/data/spawn.h-data: Likewise.
61378         * conform/data/stdio.h-data: Likewise.
61379         * conform/data/stdlib.h-data: Likewise.
61380         * conform/data/stropts.h-data: Likewise.
61381         * conform/data/sys/mman.h-data: Likewise.
61382         * conform/data/sys/stat.h-data: Likewise.
61383         * conform/data/sys/types.h-data: Likewise.
61384         * conform/data/sys/wait.h-data: Likewise.
61385         * conform/data/time.h-data: Likewise.
61386         * conform/data/unistd.h-data: Likewise.
61387         * conform/data/utime.h-data: Likewise.
61389         * io/sys/stat.h: fchmod was always in POSIX.
61390         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
61391         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
61392         * rt/aio.h: Define __need_timespec before including <time.h>.
61393         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
61394         struct.  Add forward declaration of pthread_attr_t and use it in
61395         sigevent.
61396         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61397         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61398         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
61399         always remove CLK_TCK definition.
61401 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
61403         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
61405 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
61407         * conform/run-conformtest.sh: New file.
61408         * conform/Makefile: Run run-conformtest for tests.
61409         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
61410         support.
61412         * conform/data/uchar.h-data: New file.
61413         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
61414         * conform/data/arpa/inet.h-data: Likewise.
61415         * conform/data/assert.h-data: Likewise.
61416         * conform/data/complex.h-data: Likewise.
61417         * conform/data/cpio.h-data: Likewise.
61418         * conform/data/ctype.h-data: Likewise.
61419         * conform/data/dirent.h-data: Likewise.
61420         * conform/data/dlfcn.h-data: Likewise.
61421         * conform/data/errno.h-data: Likewise.
61422         * conform/data/fcntl.h-data: Likewise.
61423         * conform/data/float.h-data: Likewise.
61424         * conform/data/fmtmsg.h-data: Likewise.
61425         * conform/data/fnmatch.h-data: Likewise.
61426         * conform/data/ftw.h-data: Likewise.
61427         * conform/data/glob.h-data: Likewise.
61428         * conform/data/grp.h-data: Likewise.
61429         * conform/data/iconv.h-data: Likewise.
61430         * conform/data/inttypes.h-data: Likewise.
61431         * conform/data/langinfo.h-data: Likewise.
61432         * conform/data/libgen.h-data: Likewise.
61433         * conform/data/limits.h-data: Likewise.
61434         * conform/data/locale.h-data: Likewise.
61435         * conform/data/math.h-data: Likewise.
61436         * conform/data/monetary.h-data: Likewise.
61437         * conform/data/mqueue.h-data: Likewise.
61438         * conform/data/ndbm.h-data: Likewise.
61439         * conform/data/net/if.h-data: Likewise.
61440         * conform/data/netdb.h-data: Likewise.
61441         * conform/data/netinet/in.h-data: Likewise.
61442         * conform/data/nl_types.h-data: Likewise.
61443         * conform/data/poll.h-data: Likewise.
61444         * conform/data/pthread.h-data: Likewise.
61445         * conform/data/pwd.h-data: Likewise.
61446         * conform/data/regex.h-data: Likewise.
61447         * conform/data/sched.h-data: Likewise.
61448         * conform/data/search.h-data: Likewise.
61449         * conform/data/semaphore.h-data: Likewise.
61450         * conform/data/setjmp.h-data: Likewise.
61451         * conform/data/signal.h-data: Likewise.
61452         * conform/data/spawn.h-data: Likewise.
61453         * conform/data/stdarg.h-data: Likewise.
61454         * conform/data/stdio.h-data: Likewise.
61455         * conform/data/stdlib.h-data: Likewise.
61456         * conform/data/string.h-data: Likewise.
61457         * conform/data/strings.h-data: Likewise.
61458         * conform/data/stropts.h-data: Likewise.
61459         * conform/data/sys/ipc.h-data: Likewise.
61460         * conform/data/sys/mman.h-data: Likewise.
61461         * conform/data/sys/msg.h-data: Likewise.
61462         * conform/data/sys/resource.h-data: Likewise.
61463         * conform/data/sys/select.h-data: Likewise.
61464         * conform/data/sys/sem.h-data: Likewise.
61465         * conform/data/sys/shm.h-data: Likewise.
61466         * conform/data/sys/socket.h-data: Likewise.
61467         * conform/data/sys/stat.h-data: Likewise.
61468         * conform/data/sys/statvfs.h-data: Likewise.
61469         * conform/data/sys/time.h-data: Likewise.
61470         * conform/data/sys/timeb.h-data: Likewise.
61471         * conform/data/sys/times.h-data: Likewise.
61472         * conform/data/sys/types.h-data: Likewise.
61473         * conform/data/sys/uio.h-data: Likewise.
61474         * conform/data/sys/un.h-data: Likewise.
61475         * conform/data/sys/utsname.h-data: Likewise.
61476         * conform/data/sys/wait.h-data: Likewise.
61477         * conform/data/syslog.h-data: Likewise.
61478         * conform/data/tar.h-data: Likewise.
61479         * conform/data/termios.h-data: Likewise.
61480         * conform/data/utime.h-data: Likewise.
61481         * conform/data/utmpx.h-data: Likewise.
61482         * conform/data/varargs.h-data: Likewise.
61483         * conform/data/wchar.h-data: Likewise.
61484         * conform/data/wctype.h-data: Likewise.
61485         * conform/data/wordexp.h-data: Likewise.
61487         * include/stropts.h: New file.
61488         * include/uchar.h: New file.
61489         * include/aio.h: Changes to allow conformtest.pl to use the headers.
61490         * include/assert.h: Likewise.
61491         * include/ctype.h: Likewise.
61492         * include/dirent.h: Likewise.
61493         * include/dlfcn.h: Likewise.
61494         * include/fcntl.h: Likewise.
61495         * include/fnmatch.h: Likewise.
61496         * include/glob.h: Likewise.
61497         * include/grp.h: Likewise.
61498         * include/libio.h: Likewise.
61499         * include/locale.h: Likewise.
61500         * include/math.h: Likewise.
61501         * include/net/if.h: Likewise.
61502         * include/netdb.h: Likewise.
61503         * include/netinet/in.h: Likewise.
61504         * include/pthread.h: Likewise.
61505         * include/pwd.h: Likewise.
61506         * include/regex.h: Likewise.
61507         * include/sched.h: Likewise.
61508         * include/search.h: Likewise.
61509         * include/setjmp.h: Likewise.
61510         * include/signal.h: Likewise.
61511         * include/stdio.h: Likewise.
61512         * include/stdlib.h: Likewise.
61513         * include/string.h: Likewise.
61514         * include/sys/cdefs.h: Likewise.
61515         * include/sys/mman.h: Likewise.
61516         * include/sys/msg.h: Likewise.
61517         * include/sys/resource.h: Likewise.
61518         * include/sys/select.h: Likewise.
61519         * include/sys/socket.h: Likewise.
61520         * include/sys/stat.h: Likewise.
61521         * include/sys/statvfs.h: Likewise.
61522         * include/sys/time.h: Likewise.
61523         * include/sys/times.h: Likewise.
61524         * include/sys/uio.h: Likewise.
61525         * include/sys/utsname.h: Likewise.
61526         * include/sys/wait.h: Likewise.
61527         * include/termios.h: Likewise.
61528         * include/time.h: Likewise.
61529         * include/ulimit.h: Likewise.
61530         * include/unistd.h: Likewise.
61531         * include/utime.h: Likewise.
61532         * include/wchar.h: Likewise.
61533         * include/wctype.h: Likewise.
61534         * include/wordexp.h: Likewise.
61536         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
61538         * time/time.h: TIME_UTC must be a macro.
61539         Make timespec_get available for ISO C11 only as well.
61541 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
61543         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
61544         Reported by Peng Haitao <penght@cn.fujitsu.com>.
61546 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61548         * configure.in: Use -o not -a in test for unsupported multi-arch.
61550 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61552         * manual/texinfo.tex: Update to version 2012-01-19.16.
61554 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61556         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
61558 2012-02-24  Roland McGrath  <roland@hack.frob.com>
61560         [BZ #13738]
61561         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
61562         * manual/fdl-1.3.texi: New file.
61563         * manual/fdl-1.1.texi: File removed.
61565         [BZ #13738]
61566         * manual/libc.texinfo (FDL_VERSION): New @set.
61567         Use it for mention of FDL in cover text.
61568         (Documentation License): Use it in @include file name.
61570 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61571             Roland McGrath  <roland@hack.frob.com>
61573         [BZ #5461]
61574         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
61575         (not LONG_LONG_MAX and LONG_LONG_MIN.
61576         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
61577         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
61578         name.
61579         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
61581 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61583         [BZ #2547]
61584         [BZ #11365]
61585         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
61586         manipulate bits before adding and subtracting TWO23[sx].
61587         * math/libm-test.inc (nearbyint_test): Add more tests.
61589 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61591         [BZ #2548]
61592         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
61593         bits before adding and subtracting TWO23[sx].
61594         * math/libm-test.inc (rint_test): Add more tests.
61595         (rint_test_tonearest): Likewise.
61596         (rint_test_towardzero): Likewise.
61597         (rint_test_downward): Likewise.
61598         (rint_test_upward: Likewise.
61600 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61602         [BZ #10110]
61603         * include/stdc-predef.h: New file.  Extracted from features.h.
61604         * include/features.h: Include stdc-predef.h.
61605         * Makefile (headers): Add stdc-predef.h.
61606         * CONFORMANCE (Compiler limitations): Update.
61608 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61610         * manual/libc.texinfo (VERSION, UPDATED): Revert.
61612 2012-02-21  David S. Miller  <davem@davemloft.net>
61614         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
61615         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
61617 2012-02-20  David S. Miller  <davem@davemloft.net>
61619         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
61620         using a normal save/restore sequence, rather than allocating a
61621         dummy stack frame just to store a frame pointer and restore.
61622         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61624 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61626         * manual/install.texi: Fix stray word in line-wrapped comment.
61628 2012-02-20  David S. Miller  <davem@davemloft.net>
61630         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
61631         both binutils and gcc support GOTDATA.
61633         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
61634         "rd %pc" in the PIC register setup sequences.
61636         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
61637         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
61638         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61639         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
61640         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61641         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61642         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61643         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61644         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
61645         (SYSCALL_ERROR_HANDLER): Likewise.
61646         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61647         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61648         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
61649         (SYSCALL_ERROR_HANDLER): Likewise.
61651         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
61652         (HAVE_GCC_GOTDATA): New.
61653         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
61654         relocation support in both binutils and gcc.
61655         * sysdeps/sparc/elf/configure: Regenerate.
61657         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
61658         * sysdeps/sparc/sparc32/elf/configure: Delete.
61659         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
61660         * sysdeps/sparc/sparc64/elf/configure: Delete.
61661         * sysdeps/sparc/elf/configure.in: New file.
61662         * sysdeps/sparc/elf/configure: Generate.
61664         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
61665         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
61666         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61667         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
61668         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
61670 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61672         * manual/install.texi: Do not mention specific glibc version
61673         numbers.
61674         * manual/libc.texinfo (VERSION, UPDATED): Update.
61675         (@copying): Use @copyright{} and range of years.
61677 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61679         [BZ #13695]
61680         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
61681         [crti.S not in sysdirs] (generated): Do not append.
61682         [crti.S not in sysdirs] (omit-deps): Likewise.
61683         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
61684         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
61685         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
61686         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
61687         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
61688         Likewise.
61689         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
61690         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
61691         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
61692         * csu/defs.awk: Remove file.
61693         * sysdeps/generic/initfini.c: Likewise.
61694         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
61695         variable.
61696         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
61697         Likewise.
61699 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
61701         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
61702         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
61703         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
61704         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
61705         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
61706         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
61707         <bits/epoll.h>.
61708         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
61709         (__EPOLL_PACKED): Define to empty if not defined by
61710         <bits/epoll.h>.
61711         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
61712         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61713         bits/epoll.h.
61715 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
61717         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
61718         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
61719         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
61720         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
61721         <bits/timerfd.h>.
61722         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
61723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61724         bits/timerfd.h.
61726 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
61728         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
61729         in C locale.
61730         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61731         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61732         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
61733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61735 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
61737         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61738         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
61740 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
61742         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
61743         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
61744         defined.
61745         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
61746         Likewise.
61747         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
61748         entry for 2.16.
61750 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
61752         * math/w_acos.c: Use non-signaling floating-point comparisons.
61753         * math/w_acosf.c: Likewise.
61754         * math/w_acosh.c: Likewise.
61755         * math/w_acoshf.c: Likewise.
61756         * math/w_acoshl.c: Likewise.
61757         * math/w_acosl.c: Likewise.
61758         * math/w_asin.c: Likewise.
61759         * math/w_asinf.c: Likewise.
61760         * math/w_asinl.c: Likewise.
61761         * math/w_atanh.c: Likewise.
61762         * math/w_atanhf.c: Likewise.
61763         * math/w_atanhl.c: Likewise.
61764         * math/w_exp2.c: Likewise.
61765         * math/w_exp2f.c: Likewise.
61766         * math/w_exp2l.c: Likewise.
61767         * math/w_j0.c: Likewise.
61768         * math/w_j0f.c: Likewise.
61769         * math/w_j0l.c: Likewise.
61770         * math/w_j1.c: Likewise.
61771         * math/w_j1f.c: Likewise.
61772         * math/w_j1l.c: Likewise.
61773         * math/w_jn.c: Likewise.
61774         * math/w_jnf.c: Likewise.
61775         * math/w_log.c: Likewise.
61776         * math/w_log10.c: Likewise.
61777         * math/w_log10f.c: Likewise.
61778         * math/w_log10l.c: Likewise.
61779         * math/w_log2.c: Likewise.
61780         * math/w_log2f.c: Likewise.
61781         * math/w_log2l.c: Likewise.
61782         * math/w_logf.c: Likewise.
61783         * math/w_logl.c: Likewise.
61784         * math/w_sqrt.c: Likewise.
61785         * math/w_sqrtf.c: Likewise.
61786         * math/w_sqrtl.c: Likewise.
61787         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61788         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
61789         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61790         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61791         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61793 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61795         [BZ #9739]
61796         * manual/string.texi (strnlen): Use correct parameter name in
61797         equivalent expression.
61799 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61801         [BZ #11174]
61802         * manual/users.texi (seteuid): Consistently use neweuid for
61803         argument name.
61805 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61807         [BZ #13704]
61808         * manual/nss.texi (Services in the NSS configuration): Correct
61809         list of services in example configuration file.
61811 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
61813         [BZ #11322]
61814         * manual/arith.texi: Remove statements about negative zero
61815         behaving identically to zero.
61817 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61819         [BZ #5993]
61820         * manual/install.texi: Do not document upgrading from libc5.
61822 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61824         [BZ #4596]
61825         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
61827 2012-02-18  David S. Miller  <davem@davemloft.net>
61829         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
61830         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
61831         %o7 across the call.
61832         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
61833         instead.
61834         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
61835         SETUP_PIC_REG_LEAF.
61836         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61837         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
61838         * sysdeps/sparc/crtn.S: Likewise.
61840 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
61842         * aout/Makefile: Remove.
61844 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
61846         [BZ #13058]
61847         * manual/examples/argp-ex1.c (main): Format definition in GNU
61848         style.
61849         * manual/examples/argp-ex2.c (main): Likewise.
61850         * manual/examples/argp-ex3.c (main): Likewise.
61851         * manual/examples/argp-ex4.c (main): Likewise.
61852         * manual/examples/longopt.c (main): Use new-style prototype
61853         definition.
61854         * manual/examples/strncat.c (main): Specify return type and use
61855         (void) for arguments.
61856         * manual/examples/subopt.c (main): Use char **argv argument.
61858 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61860         [BZ #5077]
61861         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
61862         rounding modes.
61864 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
61866         [BZ #6907]
61867         * manual/string.texi (strchr): Change when strchrnul is
61868         recommended.
61870 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
61872         [BZ #174]
61873         * manual/locale.texi (setlocale): Document LOCPATH.
61875 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61877         [BZ #10210]
61878         * manual/process.texi (execle): Move @dots{} before last argument.
61880 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
61882         [BZ #12047]
61883         * manual/charset.texi (Generic Charset Conversion): Fix typo
61884         (LC_TYPE -> LC_CTYPE).
61886 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
61888         [BZ #5805]
61889         * manual/arith.texi (scalbn): Use @var{} on parameter names.
61890         (scalbnf): Likewise.
61891         (scalbnl): Likewise.
61892         (scalbln): Likewise.
61893         (scalblnf): Likewise.
61894         (scalblnl): Likewise.
61895         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
61896         (vwarnx): Likewise.
61897         (verr): Likewise.
61898         (verrx): Likewise.
61899         * manual/filesys.texi (telldir): Use braces around return type.
61900         * manual/llio.texi (mmap): Add space after comma.
61901         (mmap64): Likewise.
61902         * manual/math.texi (jn): Use @var{} on parameter names.
61903         (jnf): Likewise.
61904         (jnl): Likewise.
61905         (yn): Likewise.
61906         (ynf): Likewise.
61907         (ynl): Likewise.
61908         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
61909         line.
61910         * manual/resource.texi (ulimit): Use @dots{} instead of literal
61911         "...".
61912         (sched_get_priority_min): Remove semicolon on @deftypefun line.
61913         (sched_get_priority_max): Likewise.
61914         * manual/signal.texi (sigvec): Add space after comma.
61915         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
61916         names.
61917         (if_indextoname): Likewise.
61918         (if_freenameindex): Likewise.
61919         (sendto): Use ',' instead of '.' in prototype.
61920         * manual/startup.texi (syscall): Use @dots{} instead of literal
61921         "...".
61922         * manual/stdio.texi (__fpending): Separate initial words of
61923         paragraph from @deftypefun line.
61924         * manual/syslog.texi (syslog): Use @dots{} instead of literal
61925         "...".
61926         (vsyslog): Use @var{} on parameter names.
61927         * manual/terminal.texi (stty): Use @var{} on parameter names.
61928         * manual/users.texi (getutmp): Use @var{} on parameter names.
61929         (getutmpx): Likewise.
61931 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61933         [BZ #6884]
61934         * manual/stdio.texi (fopen): Fix typos in description of
61935         ",ccs=STRING".
61937 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
61939         [BZ #4026]
61940         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
61941         get clock_id definition.
61943 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
61945         [BZ #4822]
61946         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
61947         (madvise): Cast every argument to void on its own.
61949 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61951         [BZ #9902]
61952         * manual/startup.texi (Exit Status): Fix typo.
61954 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61956         [BZ #10140]
61957         * manual/examples/argp-ex1.c: Include <stdlib.h>.
61958         * manual/examples/argp-ex2.c: Likewise.
61959         * manual/examples/argp-ex3.c: Likewise.
61961 2012-02-16  Richard Henderson  <rth@redhat.com>
61963         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
61964         * sysdeps/s390/s390-32/initfini.c: Remove.
61965         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
61966         * sysdeps/s390/s390-64/initfini.c: Remove.
61968 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61970         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
61971         compiler output for sysdeps/generic/initfini.c.
61972         * sysdeps/sh/elf/initfini.c: Remove file.
61974 2012-02-16  David S. Miller  <davem@davemloft.net>
61976         [BZ #11494]
61977         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
61979         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
61980         * sysdeps/sparc/crti.S: New file.
61981         * sysdeps/sparc/crtn.S: New file.
61982         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
61983         * sysdeps/sparc/sparc64/Makefile: Likewise.
61985 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
61987         [BZ #3335]
61988         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
61990 2012-02-15  Roland McGrath  <roland@hack.frob.com>
61992         [BZ #4822]
61993         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
61995         * mach/devstream.c (cookie_io_functions_t): Macro removed.
61996         (write, read, close): Likewise.
61997         Patch by Aurelien Jarno <aurelien@aurel32.net>.
61999 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
62001         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
62002         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
62003         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
62004         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
62005         <bits/signalfd.h>.
62006         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
62007         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62008         bits/signalfd.h.
62010 2012-02-14  Marek Polacek  <polacek@redhat.com>
62012         * sysdeps/x86_64/crti.S: New file.
62013         * sysdeps/x86_64/crtn.S: New file.
62014         * sysdeps/x86_64/elf/initfini.c: Remove file.
62016 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62018         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
62019         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
62020         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
62021         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
62022         <bits/inotify.h>.
62023         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
62024         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62025         bits/inotify.h.
62027 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62029         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
62030         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
62031         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
62032         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
62033         <bits/eventfd.h>.
62034         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
62035         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62036         bits/eventfd.h.
62038 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
62040         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
62041         __feraiseexcept instead of feraiseexcept.
62043         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
62044         nanosleep invocations.
62045         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
62046         strings, and add error checking for a nanosleep invocations.
62048 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
62050         Replace FSF snail mail address with URLs, as per GNU coding standards.
62051         Most of the snail mail addresses were wrong anyway, and omitting
62052         them makes the source code easier to maintain.  Almost all of the
62053         changes are to license notices and to locale LC_IDENTIFICATION
62054         addresses, except for this one:
62055         * manual/libc.texinfo: In "Published by", give the FSF's URL,
62056         not its snail mail address.
62058 2012-02-09  Richard Henderson  <rth@twiddle.net>
62060         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
62061         of kernel-features.h.
62063         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
62065 2012-02-08  Marek Polacek  <polacek@redhat.com>
62067         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
62068         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
62069         * sysdeps/gnu/_G_config.h: Likewise.
62070         * sysdeps/generic/_G_config.h: Likewise.
62072 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
62074         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
62075         tests.
62076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62078         * sysdeps/powerpc/powerpc32/crti.S: New file.
62079         * sysdeps/powerpc/powerpc32/crtn.S: New file.
62080         * sysdeps/powerpc/powerpc64/crti.S: New file.
62081         * sysdeps/powerpc/powerpc64/crtn.S: New file.
62083         * Makeconfig (have-initfini): Don't set.
62084         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
62085         * configure.in (nopic_initfini): Don't substitute.
62086         * config.h.in (HAVE_INITFINI): Don't #undef.
62087         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
62088         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
62090 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
62092         Support crti.S and crtn.S provided directly by architectures.
62093         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
62094         [crti.S in sysdirs] (omit-deps): Likewise.
62095         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
62096         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
62097         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
62098         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
62099         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
62100         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
62101         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
62102         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
62103         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
62104         compiler output for sysdeps/generic/initfini.c.
62105         * sysdeps/i386/elf/Makefile: Remove file.
62106         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
62108 2012-02-07  Marek Polacek  <polacek@redhat.com>
62110         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
62111         * sysdeps/gnu/_G_config.h: Likewise.
62112         * sysdeps/mach/hurd/_G_config.h: Likewise.
62114 2012-02-07  Marek Polacek  <polacek@redhat.com>
62116         * math/Makefile (tests): Add tst-CMPLX2.
62117         * math/tst-CMPLX2.c: New file.
62119 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
62121         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62123         * math/libm-test.inc (jn_test): Add missing L suffix.
62125 2012-02-06  Marek Polacek  <polacek@redhat.com>
62127         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
62128         * sysdeps/i386/fpu/e_powf.S: Likewise.
62129         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62130         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62131         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62132         * sysdeps/i386/fpu/e_pow.S: Likewise.
62133         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62134         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62135         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62136         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62137         * sysdeps/i386/fpu/e_log2.S: Likewise.
62138         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62139         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62140         * sysdeps/i386/fpu/e_powl.S: Likewise.
62141         * sysdeps/i386/fpu/s_log1p.S: Likewise.
62142         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62143         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62144         * sysdeps/i386/fpu/e_logl.S: Likewise.
62145         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62146         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
62147         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62148         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62149         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62150         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62151         * sysdeps/i386/fpu/e_log.S: Likewise.
62152         * sysdeps/i386/fpu/s_cexp.S: Likewise.
62153         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62154         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
62155         * sysdeps/i386/fpu/e_logf.S: Likewise.
62156         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62157         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62158         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
62159         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62160         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62161         * sysdeps/i386/fpu/e_log10.S: Likewise.
62162         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62163         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62164         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62165         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62166         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62167         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62168         * sysdeps/i386/asm-syntax.h: Likewise.
62169         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62170         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62171         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62172         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
62173         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
62174         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62175         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62176         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62177         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62178         * sysdeps/powerpc/sysdep.h: Likewise.
62179         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
62180         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62182 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62184         [BZ #411]
62185         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
62187 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62189         * sysdeps/i386/sysdep.h: Include <features.h>.
62190         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
62191         version.
62193 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
62195         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
62196         Define.
62197         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
62198         LOAD_PIC_REG_STR.
62200 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62202         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
62203         (SETUP_PIC_REG): Use GET_PC_THUNK.
62204         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
62205         macro.
62207 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62209         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
62210         for non-PIC compilation.
62211         (SETUP_PIC_REG): Add .p2align directive.
62212         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
62213         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
62214         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62215         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62216         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62217         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62218         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
62219         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62220         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62221         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62222         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62223         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62224         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62225         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62226         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62227         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62228         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62229         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62230         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62231         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62232         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62233         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62234         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62235         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62236         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62237         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62238         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62239         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62240         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62241         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62242         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62243         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62244         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62245         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62246         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62247         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62248         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62249         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62250         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62251         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62252         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62254 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62256         * math/tst-CMPLX.c: Include <stdio.h>.
62258 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
62260         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
62261         float.
62262         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62263         * sysdeps/sparc/bits/mathdef.h: Likewise.
62265 2012-01-31  Marek Polacek  <polacek@redhat.com>
62267         * libio/libio.h: Don't define _PARAMS.
62268         * locale/programs/config.h: Don't define PARAMS.
62269         * stdlib/strtol_l.c: Likewise.
62270         (__strtol_l): Remove PARAMS from the prototype.
62272 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
62274         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
62275         names.  Just use the correct names.  Remove unnecessary wrapper
62276         functions.
62277         * malloc/arena.c: Likewise.
62278         * malloc/hooks.c: Likewise.
62280         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
62281         ARENA_TEST says not to.  Simplify test for creation of a new arena.
62282         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
62284 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
62286         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
62287         into tail calls.
62288         (update_get_addr): New function.
62289         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
62290         GET_ADDR_MODULE parameter.
62292 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62294         * crypt/cert.c: Remove __STDC__ conditionals.
62295         * crypt/crypt-entry.c: Likewise.
62296         * crypt/crypt_util.c: Likewise.
62297         * libio/filedoalloc.c: Likewise.
62298         * libio/fileops.c: Likewise.
62299         * libio/genops.c: Likewise.
62300         * libio/iofclose.c: Likewise.
62301         * libio/iofdopen.c: Likewise.
62302         * libio/iofopen.c: Likewise.
62303         * libio/iofopen64.c: Likewise.
62304         * libio/iogetdelim.c: Likewise.
62305         * libio/iopopen.c: Likewise.
62306         * libio/obprintf.c: Likewise.
62307         * libio/oldfileops.c: Likewise.
62308         * libio/oldiofclose.c: Likewise.
62309         * libio/oldiofdopen.c: Likewise.
62310         * libio/oldiofopen.c: Likewise.
62311         * libio/oldiopopen.c: Likewise.
62312         * libio/wfiledoalloc.c: Likewise.
62313         * libio/wgenops.c: Likewise.
62314         * locale/programs/xmalloc.c: Likewise.
62315         * misc/syslog.c: Likewise.
62316         * stdio-common/xbug.c: Likewise.
62317         * string/memchr.c: Likewise.
62318         * string/memcmp.c: Likewise.
62319         * string/memrchr.c: Likewise.
62320         * string/rawmemchr.c: Likewise.
62321         * sysdeps/posix/getcwd.c: Likewise.
62322         * time/strftime_l.c: Likewise.
62324 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62326         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
62327         * config.make.in (config-cflags-sse2avx): Define.
62328         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
62329         Fix typo.
62331 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
62333         * scripts/config.guess: Update from upstream config git repository.
62334         * scripts/config.sub: Likewise.
62336 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
62338         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
62339         (EM_NUM): Update.
62340         (R_TILEPRO_*, R_TILEGX_*): New macros.
62342         * scripts/firstversions.awk: Fix bug in version range handling.
62344         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
62346         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
62348         * include/sys/epoll.h: New file.
62349         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
62350         libc_hidden_def.
62352 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
62354         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
62355         Avoid unnecessary __WORDSIZE == 64 test.
62356         (fmaxf): Use VEX format if possible.
62357         (fmax): Likewise.
62358         (fminf): Likewise.
62359         (fmin): Likewise.
62361         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
62362         * math/math_private.h: Remove libc_fegetround* and
62363         libc_fesetround*.
62364         * sysdeps/i386/configure.in: Check for -msse2avx.
62365         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
62366         also if SSE2AVX is defined.
62367         Remove libc_fegetround* and libc_fesetround*.
62368         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
62369         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
62370         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
62371         of HAS_YMM_USABLE.
62372         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62373         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62374         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62375         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62376         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62378         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
62380 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62382         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
62383         size is not set.
62384         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62386 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
62388         [BZ #13618]
62389         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
62390         relocation.
62391         * Makeconfig (libm): Define.
62392         * elf/Makefile: Add rules to build and run tst-relsort1.
62393         * elf/tst-relsort1.c: New file.
62394         * elf/tst-relsort1mod1.c: New file.
62395         * elf/tst-relsort1mod2.c: New file.
62397 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
62399         * math/s_ldexp.c: Remove __STDC__ conditionals.
62400         * math/s_ldexpf.c: Likewise.
62401         * math/s_ldexpl.c: Likewise.
62402         * math/s_nextafter.c: Likewise.
62403         * math/s_nexttowardf.c: Likewise.
62404         * math/s_significand.c: Likewise.
62405         * math/s_significandf.c: Likewise.
62406         * math/s_significandl.c: Likewise.
62407         * math/w_jnl.c: Likewise.
62408         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62409         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62410         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62411         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62412         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62413         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62414         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
62415         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62416         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62417         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62418         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62419         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62420         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62421         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62422         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62423         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62424         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62425         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62426         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62427         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62428         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62429         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62430         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62431         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62432         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62433         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62434         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62435         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62436         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62437         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62438         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62439         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62440         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62441         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62442         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62443         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62444         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62445         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62446         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62447         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62448         * sysdeps/ieee754/k_standard.c: Likewise.
62449         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62450         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62451         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62452         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62453         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62454         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62455         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62456         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62457         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62458         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62459         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62460         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62461         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62462         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62463         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62464         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62465         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62466         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62467         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62468         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62469         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62470         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62471         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62472         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62473         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62474         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62475         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62476         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62477         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62478         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62479         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62480         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
62481         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62482         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62483         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62484         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62485         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
62486         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62487         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62488         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
62489         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
62490         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62491         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
62492         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
62493         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62494         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62495         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62496         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62497         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62498         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
62499         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
62500         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62501         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62502         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62503         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62504         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62505         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
62506         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62507         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62508         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62509         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62510         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62511         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62512         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62513         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62514         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62515         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62516         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62517         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62518         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62519         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62520         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62521         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62522         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62523         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62524         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62525         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62526         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62527         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62528         * sysdeps/ieee754/s_matherr.c: Likewise.
62529         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62530         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62531         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62532         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62534 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
62536         * crypt/md5.h: Remove __STDC__ conditionals.
62537         * libio/libioP.h: Likewise.
62538         * locale/programs/config.h: Likewise.
62539         * sysdeps/generic/sysdep.h: Likewise.
62540         * sysdeps/i386/asm-syntax.h: Likewise.
62541         * sysdeps/s390/asm-syntax.h: Likewise.
62542         * sysdeps/unix/sysdep.h: Likewise.
62543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
62544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62546 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
62548         * libio/libio.h: Remove __STDC__ conditionals.
62549         * malloc/obstack.h: Likewise.
62550         * math/complex.h: Likewise.
62551         * math/math.h: Likewise.
62552         * sysdeps/generic/_G_config.h: Likewise.
62553         * sysdeps/gnu/_G_config.h: Likewise.
62554         * sysdeps/mach/hurd/_G_config.h: Likewise.
62555         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62556         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62557         * sysdeps/sparc/bits/mathdef.h: Likewise.
62559 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
62561         [BZ #13583]
62562         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
62563         Clean up HAS_* macros.
62564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
62565         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
62566         possible.
62567         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
62568         HAS_AVX.
62569         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62570         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62571         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62572         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62573         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62575 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
62577         * elf/tst-unique3.cc (gets): Remove declaration.
62578         * elf/tst-unique3lib.cc (gets): Likewise.
62579         * elf/tst-unique3lib2.cc (gets): Likewise.
62580         * elf/tst-unique4.cc (gets): Likewise.
62582 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
62584         * include/stdio.h: Add C++ protection.  Add gets declarations and
62585         definitions.
62586         * debug/tst-chk1.c: Don't declare gets here.
62587         * stdio-common/tst-gets.c: Likewise.
62589 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
62591         * posix/glob: Remove directory.
62593 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
62595         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
62597 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
62599         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
62600         of the non-standard EPFNOSUPPORT.
62602 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62604         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
62605         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
62606         ANYWHERE set to 1 only on KERN_NO_SPACE error.
62608 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
62610         * wcsmbs/uchar.h: Test __STDC_VERSION__.
62612 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
62614         * nscd/aicache.c (addhstaiX): Do not cache negative results of
62615         transient errors.
62616         * nscd/grpcache.c (cache_addgr): Likewise.
62617         * nscd/hstcache.c (cache_addhst): Likewise.
62618         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62619         * nscd/pwdcache.c (cache_addpw): Likewise.
62620         * nscd/servicescache.c (cache_addserv): Likewise.
62622 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
62624         * malloc/malloc.c: Various cleanups.
62625         * malloc/hooks.c: Likewise.
62627         * stdlib/Makefile (tests): Add bug-fmtmsg1.
62628         * stdlib/bug-fmtmsg1.c: New file.
62630         * stdlib/fmtmsg.c (init): Add missing unlock.
62631         Patch by Peng Haitao <penght@cn.fujitsu.com>.
62633 2012-01-12  Marek Polacek  <polacek@redhat.com>
62635         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
62636         and _GNU_SOURCE.
62638 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
62640         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
62641         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
62642         macro to ensure uniqueness of label name.
62643         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62644         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62646 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
62648         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
62650         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
62651         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62652         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62653         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
62655 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
62657         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
62659         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
62660         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62661         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62663         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
62665         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
62666         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62667         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62668         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
62670         * math/bits/math-finite.h: Add ldexp support.
62672 2012-01-10  Marek Polacek  <polacek@redhat.com>
62674         * locale/programs/localedef.h (show_archive_content): Add noreturn
62675         attribute.
62677 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
62679         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
62681 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62683         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
62685         * io/Makefile (headers): Add bits/poll2.h.
62687 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
62689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
62690         typo #include statement.
62692 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62694         * include/sys/cdefs.h: Define __attribute_alloc_size.
62695         * catgets/gencat.c: Add alloc_size attribute and apply consistently
62696         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
62697         * elf/pldd.c: Likewise.
62698         * iconv/iconv_charmap.c: Likewise.
62699         * iconv/iconvconfig.c: Likewise.
62700         * iconv/strtab.c: Likewise.
62701         * locale/programs/locale.c: Likewise.
62702         * locale/programs/localedef.h: Likewise.
62703         * locale/programs/simple-hash.c: Likewise.
62704         * nscd/nscd.h: Likewise.
62705         * nss/makedb.c: Likewise.
62706         * sysdeps/generic/ldconfig.h: Likewise.
62707         * locale/programs/localedef.c: Remove xmalloc prototype.
62708         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
62710 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62712         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
62713         appropriate.
62715 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62717         * math/Makefile (tests): Add tst-CMPLX.
62718         * math/tst-CMPLX.c: New file.
62720         * math/complex.h (CMPLXL): Fix typo.
62722         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
62723         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
62724         GLIBC_2.16.
62725         * debug/tst-chk1.c: Add poll and ppoll tests.
62726         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
62727         * include/sys/poll.h: Add hidden proto for ppoll.
62728         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
62729         * sysdeps/mach/hurd/ppoll.c: Likewise.
62730         * io/ppoll.c: Likewise.
62731         * debug/poll_chk.c: New file.
62732         * debug/ppoll_chk.c: New file.
62733         * include/bits/poll2.h: New file.
62734         * io/bits/poll2.h: New file.
62736         [BZ #1350]
62737         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
62739         * configure.in: static is always set to yes.  Remove.
62740         * config.make.in: Don't set build-static.
62741         * Makeconfig: Remove use of build-static.
62742         * dlfcn/Makefile: Likewise.
62743         * elf/Makefile: Likewise.
62744         * math/Makefile: Likewise.
62745         * misc/Makefile: Likewise.
62746         * nptl/Makefile: Likewise.
62747         * sysdeps/mach/hurd/Makefile: Likewise.
62749         * configure.in: PWD_P is not used anymore.
62750         * config.make.in: Remove PWD_P entry.
62752         * configure.in: Remove last remnants of RANLIB.
62753         No need to check for signed size_t anymore.
62754         Don't set libc_commonpagesize and libc_relro_required here for Alpha
62755         and IA-64.
62756         Remove __builtin_expect test because we require at least gcc 3.4.
62757         * aclocal.m4: Likewise.
62759         * wcsmbs/mbrtoc16.c: Implement using towc function.
62760         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
62761         * wcsmbs/wcsmbsload.c: Likewise.
62762         * iconv/gconv_simple.c: Likewise.
62763         * iconv/gconv_int.h: Likewise.
62764         * iconv/gconv_builtin.h: Likewise.
62765         * iconv/iconv_prog.c: Remove CHAR16 handling.
62767         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
62769         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
62771         * configure.in: Remove --with-elf and --enable-bounded options.
62772         Dont set base_machine for ia64.  More non-ELF conditions removed.
62773         Remove testing and setting of leading underscore information.
62774         * config.make.in (build-bounded): Set to no.
62775         * config.h.in: Remove NO_UNDERSCORES entry.
62776         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
62777         them.
62778         * csu/start.c: Remove !NO_UNDERSCORE code.
62779         * locale/localeinfo.h: Likewise.
62780         * sysdeps/generic/machine-gmon.h: Likewise.
62781         * sysdeps/generic/sysdep.h: Likewise.
62782         * sysdeps/i386/sysdep.h: Likewise.
62783         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62784         * sysdeps/mach/sysdep.h: Likewise.
62785         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62786         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62787         * sysdeps/sh/sysdep.h: Likewise.
62788         * sysdeps/sparc/sparc32/alloca.S: Likewise.
62789         * sysdeps/unix/i386/sysdep.S: Likewise.
62790         * sysdeps/unix/sparc/start.c: Likewise.
62791         * sysdeps/unix/sparc/sysdep.S: Likewise.
62792         * sysdeps/unix/sparc/sysdep.h: Likewise.
62793         * sysdeps/unix/start.c: Likewise.
62794         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62795         * sysdeps/x86_64/sysdep.h: Likewise.
62797 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
62799         [BZ #13553]
62800         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
62801         for non-gcc.
62802         * argp/argp-fmtstream.h: Use const instead __const.
62803         * argp/argp.h: Likewise.
62804         * assert/assert.h: Likewise.
62805         * bits/fenv.h: Likewise.
62806         * bits/sched.h: Likewise.
62807         * bits/sigset.h: Likewise.
62808         * bits/sigthread.h: Likewise.
62809         * catgets/nl_types.h: Likewise.
62810         * conform/data/pthread.h-data: Likewise.
62811         * crypt/crypt-private.h: Likewise.
62812         * crypt/crypt.h: Likewise.
62813         * crypt/crypt_util.c: Likewise.
62814         * ctype/ctype.h: Likewise.
62815         * debug/execinfo.h: Likewise.
62816         * debug/mbsnrtowcs_chk.c: Likewise.
62817         * debug/mbsrtowcs_chk.c: Likewise.
62818         * debug/wcsnrtombs_chk.c: Likewise.
62819         * debug/wcsrtombs_chk.c: Likewise.
62820         * debug/wcstombs_chk.c: Likewise.
62821         * dirent/dirent.h: Likewise.
62822         * dlfcn/dlfcn.h: Likewise.
62823         * elf/neededtest4.c: Likewise.
62824         * grp/grp.h: Likewise.
62825         * gshadow/gshadow.h: Likewise.
62826         * iconv/gconv.h: Likewise.
62827         * iconv/gconv_int.h: Likewise.
62828         * iconv/gconv_simple.c: Likewise.
62829         * iconv/iconv.h: Likewise.
62830         * iconv/loop.c: Likewise.
62831         * iconv/skeleton.c: Likewise.
62832         * include/aio.h: Likewise.
62833         * include/aliases.h: Likewise.
62834         * include/argz.h: Likewise.
62835         * include/arpa/inet.h: Likewise.
62836         * include/assert.h: Likewise.
62837         * include/dirent.h: Likewise.
62838         * include/dlfcn.h: Likewise.
62839         * include/execinfo.h: Likewise.
62840         * include/fcntl.h: Likewise.
62841         * include/fenv.h: Likewise.
62842         * include/glob.h: Likewise.
62843         * include/grp.h: Likewise.
62844         * include/libintl.h: Likewise.
62845         * include/mntent.h: Likewise.
62846         * include/netdb.h: Likewise.
62847         * include/pwd.h: Likewise.
62848         * include/rpc/netdb.h: Likewise.
62849         * include/sched.h: Likewise.
62850         * include/search.h: Likewise.
62851         * include/shadow.h: Likewise.
62852         * include/signal.h: Likewise.
62853         * include/stdio.h: Likewise.
62854         * include/stdlib.h: Likewise.
62855         * include/string.h: Likewise.
62856         * include/sys/socket.h: Likewise.
62857         * include/sys/stat.h: Likewise.
62858         * include/sys/statfs.h: Likewise.
62859         * include/sys/statvfs.h: Likewise.
62860         * include/sys/syslog.h: Likewise.
62861         * include/sys/time.h: Likewise.
62862         * include/sys/uio.h: Likewise.
62863         * include/time.h: Likewise.
62864         * include/unistd.h: Likewise.
62865         * include/utmp.h: Likewise.
62866         * include/wchar.h: Likewise.
62867         * include/wctype.h: Likewise.
62868         * inet/aliases.h: Likewise.
62869         * inet/arpa/inet.h: Likewise.
62870         * inet/netinet/ether.h: Likewise.
62871         * inet/netinet/in.h: Likewise.
62872         * intl/libintl.h: Likewise.
62873         * io/bits/fcntl2.h: Likewise.
62874         * io/fcntl.h: Likewise.
62875         * io/ftw.h: Likewise.
62876         * io/sys/poll.h: Likewise.
62877         * io/sys/stat.h: Likewise.
62878         * io/sys/statfs.h: Likewise.
62879         * io/sys/statvfs.h: Likewise.
62880         * io/utime.h: Likewise.
62881         * libio/bits/stdio.h: Likewise.
62882         * libio/bits/stdio2.h: Likewise.
62883         * libio/libio.h: Likewise.
62884         * libio/libioP.h: Likewise.
62885         * libio/stdio.h: Likewise.
62886         * locale/lc-ctype.c: Likewise.
62887         * locale/locale.h: Likewise.
62888         * login/utmp.h: Likewise.
62889         * malloc/arena.c: Likewise.
62890         * malloc/malloc.c: Likewise.
62891         * malloc/malloc.h: Likewise.
62892         * malloc/mcheck.c: Likewise.
62893         * malloc/mtrace.c: Likewise.
62894         * math/bits/mathcalls.h: Likewise.
62895         * math/fenv.h: Likewise.
62896         * math/math_private.h: Likewise.
62897         * misc/bits/error.h: Likewise.
62898         * misc/bits/syslog.h: Likewise.
62899         * misc/err.h: Likewise.
62900         * misc/error.h: Likewise.
62901         * misc/fstab.h: Likewise.
62902         * misc/mntent.h: Likewise.
62903         * misc/regexp.h: Likewise.
62904         * misc/search.h: Likewise.
62905         * misc/sgtty.h: Likewise.
62906         * misc/sys/mman.h: Likewise.
62907         * misc/sys/syslog.h: Likewise.
62908         * misc/sys/uio.h: Likewise.
62909         * misc/sys/xattr.h: Likewise.
62910         * misc/ttyent.h: Likewise.
62911         * nis/rpcsvc/ypclnt.h: Likewise.
62912         * nss/nss.h: Likewise.
62913         * posix/bits/unistd.h: Likewise.
62914         * posix/fnmatch.h: Likewise.
62915         * posix/glob.h: Likewise.
62916         * posix/sched.h: Likewise.
62917         * posix/spawn.h: Likewise.
62918         * posix/sys/wait.h: Likewise.
62919         * posix/unistd.h: Likewise.
62920         * posix/wordexp.h: Likewise.
62921         * pwd/pwd.h: Likewise.
62922         * resolv/netdb.h: Likewise.
62923         * resource/sys/resource.h: Likewise.
62924         * rt/aio.h: Likewise.
62925         * rt/bits/mqueue2.h: Likewise.
62926         * rt/mqueue.h: Likewise.
62927         * shadow/shadow.h: Likewise.
62928         * signal/signal.h: Likewise.
62929         * socket/send.c: Likewise.
62930         * socket/sendto.c: Likewise.
62931         * socket/sys/socket.h: Likewise.
62932         * stdio-common/printf.h: Likewise.
62933         * stdlib/bits/stdlib.h: Likewise.
62934         * stdlib/fmtmsg.h: Likewise.
62935         * stdlib/monetary.h: Likewise.
62936         * stdlib/stdlib.h: Likewise.
62937         * stdlib/ucontext.h: Likewise.
62938         * streams/stropts.h: Likewise.
62939         * string/argz.h: Likewise.
62940         * string/bits/string2.h: Likewise.
62941         * string/string.h: Likewise.
62942         * string/strings.h: Likewise.
62943         * sunrpc/rpc/auth.h: Likewise.
62944         * sunrpc/rpc/auth_des.h: Likewise.
62945         * sunrpc/rpc/clnt.h: Likewise.
62946         * sunrpc/rpc/netdb.h: Likewise.
62947         * sunrpc/rpc/pmap_clnt.h: Likewise.
62948         * sunrpc/rpc/xdr.h: Likewise.
62949         * sysdeps/generic/inttypes.h: Likewise.
62950         * sysdeps/generic/net/if.h: Likewise.
62951         * sysdeps/generic/sys/swap.h: Likewise.
62952         * sysdeps/gnu/net/if.h: Likewise.
62953         * sysdeps/gnu/utmpx.h: Likewise.
62954         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
62955         * sysdeps/i386/i486/bits/string.h: Likewise.
62956         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
62957         * sysdeps/s390/bits/string.h: Likewise.
62958         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
62959         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
62960         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
62961         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
62962         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
62963         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
62964         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
62965         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
62966         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
62967         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
62968         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
62969         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62970         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
62971         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62972         * sysdeps/unix/sysv/linux/readv.c: Likewise.
62973         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
62974         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
62975         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62976         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
62977         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
62978         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62979         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
62980         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
62981         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
62982         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
62983         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
62984         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
62985         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62986         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
62987         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
62988         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
62989         * sysvipc/sys/ipc.h: Likewise.
62990         * sysvipc/sys/msg.h: Likewise.
62991         * sysvipc/sys/sem.h: Likewise.
62992         * sysvipc/sys/shm.h: Likewise.
62993         * termios/termios.h: Likewise.
62994         * time/sys/time.h: Likewise.
62995         * time/time.h: Likewise.
62996         * wcsmbs/bits/wchar2.h: Likewise.
62997         * wcsmbs/uchar.h: Likewise.
62998         * wcsmbs/wchar.h: Likewise.
62999         * wctype/wctype.h: Likewise.
63001         [BZ #13551]
63002         * Makeconfig: Remove all but ELF support including AIX support.
63003         * Makerules: Likewise.
63004         * config.h.in: Likewise.
63005         * config.make.in: Likewise.
63006         * configure: Likewise.
63007         * configure.in: Likewise.
63008         * csu/Makefile: Likewise.
63009         * csu/version.c: Likewise.
63010         * debug/Makefile: Likewise.
63011         * dlfcn/Makefile: Likewise.
63012         * elf/Makefile: Likewise.
63013         * extra-lib.mk: Likewise.
63014         * iconv/Makefile: Likewise.
63015         * include/libc-symbols.h: Likewise.
63016         * include/shlib-compat.h: Likewise.
63017         * resolv/Makefile: Likewise.
63018         * resolv/res_libc.c: Likewise.
63019         * rt/Makefile: Likewise.
63020         * sysdeps/i386/asm-syntax.h: Likewise.
63021         * sysdeps/i386/sysdep.h: Likewise.
63022         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63023         * sysdeps/mach/sysdep.h: Likewise.
63024         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
63025         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
63026         * sysdeps/s390/asm-syntax.h: Likewise.
63027         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63028         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63029         * sysdeps/sh/sysdep.h: Likewise.
63030         * sysdeps/unix/sparc/sysdep.h: Likewise.
63031         * sysdeps/wordsize-32/divdi3.c: Likewise.
63032         * sysdeps/x86_64/sysdep.h: Likewise.
63034         * argp/Versions: Remove _argp_unlock_xxx.
63036         [BZ #13559]
63037         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
63038         * abilist/libBrokenLocale.abilist: Likewise.
63039         * abilist/libanl.abilist: Likewise.
63040         * abilist/libc.abilist: Likewise.
63041         * abilist/libcrypt.abilist: Likewise.
63042         * abilist/libdl.abilist: Likewise.
63043         * abilist/libm.abilist: Likewise.
63044         * abilist/libnsl.abilist: Likewise.
63045         * abilist/libpthread.abilist: Likewise.
63046         * abilist/libresolv.abilist: Likewise.
63047         * abilist/librt.abilist: Likewise.
63048         * abilist/libthread_db.abilist: Likewise.
63049         * abilist/libutil.abilist: Likewise.
63050         * abilist/libnss_db.abilist: New file.
63052         * scripts/abilist.awk: Add support for indirect functions.
63054         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
63056         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
63058         * shlib-versions: Remove entries for ports architectures.
63060         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
63061         files in ports.
63062         * elf/stackguard-macros.h: Remove support for IA-64.
63063         * elf/tst-auditmod1.c: Likewise.
63064         * sysdeps/generic/ldsodefs.h: Likewise.
63066         * sysdeps/unix/sysv/linux/configure.in: Ports should define
63067         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
63068         configure files.
63070         [BZ #13552]
63071         * configure.in: Remove --enable-omitfp support.
63072         * FAQ.in: Adjust.
63073         * config.make.in: Likewise.
63074         * Makeconfig: Likewise.
63075         * manual/install.texi: Likewise.
63077         In case anyone cares, the IA-64 architecture could move to ports.
63078         * sysdeps/ia64/*: Removed.
63079         * sysdeps/unix/sysv/linux/ia64/*: Removed.
63080         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
63082         [BZ #13555]
63083         * configure.in: Remove entries for unsupported architectures.
63085         [BZ #13533]
63086         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
63087         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
63088         routines.
63089         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
63090         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
63091         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
63092         fall back to using wcrtomb.
63093         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
63094         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
63095         renaming.
63096         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
63097         * wcsmbs/tst-c16c32-1.c: New file.
63099         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
63100         local variable.
63102         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
63104         * elf/tst-unique3.cc: Add explicit declaration of gets.
63105         * elf/tst-unique3lib.cc: Likewise.
63106         * elf/tst-unique3lib2.cc: Likewise.
63107         * elf/tst-unique4.cc: Likewise.
63109         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
63111 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
63113         [BZ #13566]
63114         * assert/assert.h (static_assert): Don't define for C++.
63115         * libio/stdio.h (gets): Do declare for C++ <= C++11.
63116         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
63118 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
63120         * iconv/loop.c (single loop): Fix assertion in storing of
63121         remaining bytes.
63123         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
63125 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
63127         * posix/getconf.c: Update copyright year.
63128         * nss/getent.c: Likewise.
63129         * nss/makedb.c: Likewise.
63130         * iconv/iconvconfig.c: Likewise.
63131         * iconv/iconv_prog.c: Likewise.
63132         * elf/ldconfig.c: Likewise.
63133         * elf/pldd.c: Likewise.
63134         * elf/sotruss.ksh: Likewise.
63135         * catgets/gencat.c: Likewise.
63136         * csu/version.c: Likewise.
63137         * elf/ldd.bash.in: Likewise.
63138         * elf/sprof.c (print_version): Likewise.
63139         * locale/programs/locale.c: Likewise.
63140         * locale/programs/localedef.c: Likewise.
63141         * login/programs/pt_chown.c: Likewise.
63142         * nscd/nscd.c (print_version): Likewise.
63143         * debug/xtrace.sh: Likewise.
63144         * malloc/memusage.sh: Likewise.
63145         * malloc/mtrace.pl: Likewise.
63146         * debug/catchsegv.sh: Likewise.
63148 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
63150         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
63151         pure attribute.
63153 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
63155         [BZ #13533]
63156         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
63157         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
63158         transformations.
63159         * iconv/gconv_int.h: Likewise.
63160         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
63161         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
63162         from libc for GLIBC_2.16.
63163         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
63164         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
63165         * wcsmbs/uchar.h: Really define mbstate_t.
63166         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
63167         * wcsmbs/c16rtomb.c: New file.
63168         * wcsmbs/mbrtoc16.c: New file.
63169         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
63170         for C/POSIX locale.
63171         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
63172         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
63174         * wcsmbs/wchar.h: Add missing __restrict.
63176 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63178         [BZ #13532]
63179         * time/Makefile (routines): Add timespec_get.
63180         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
63181         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
63182         timespec for ISO C11.
63183         * time/timespec_get.c: New file.
63184         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
63185         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
63187         [BZ #13531]
63188         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
63189         * stdlib/stdlib.h: Declare aligned_alloc.
63190         * Versions.def: Add GLIBC_2.16 for libc.
63191         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
63193         [BZ 13527]
63194         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
63195         ISO C11.
63197         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
63198         code.
63200         [BZ #13528]
63201         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
63203         [BZ #13529]
63204         * assert/assert.h (static_assert): Define.
63206         * version.h: Update for 2.16 development version.
63208         [BZ #13526]
63209         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
63210         _ISOC11_SOURCE.
63212         * version.h (RELEASE): Bump for 2.15 release.
63213         * include/features.h (__GLIBC_MINOR__): Bump to 15.
63215         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
63216         Patch by Marek Polacek <mpolacek@redhat.com>.
63218         * bits/byteswap.h: Protect long long constants with __extension__.
63219         * sysdeps/i386/bits/byteswap.h: Likewise.
63220         * sysdeps/ia64/bits/byteswap.h: Likewise.
63221         * sysdeps/s390/bits/byteswap.h: Likewise.
63222         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63224 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63226         [BZ #13540]
63227         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
63228         destination buffer.
63229         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
63231 2011-12-23  Marek Polacek  <polacek@redhat.com>
63233         * elf/dl-addr.c (determine_info): Add inline keyword.
63234         * elf/tst-auditmod4b.c (check_avx): Likewise.
63235         * elf/tst-auditmod6b.c (check_avx): Likewise.
63236         * elf/tst-auditmod6c.c (check_avx): Likewise.
63237         * elf/tst-auditmod7b.c (check_avx): Likewise.
63239 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63241         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
63242         !__SSE_MATH__.
63244 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63246         [BZ #13540]
63247         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
63248         processing for last bytes.
63250 2011-08-06  Bruno Haible  <bruno@clisp.org>
63252         [BZ #13061]
63253         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
63254         U+0385, not to U+1FEE.
63256         [BZ #13062]
63257         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
63258         entry for U+00A5 U+0301.
63260 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63262         [BZ #13166]
63263         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
63264         buffer for the output is too small.
63266         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
63267         optimization.
63269         [BZ #13185]
63270         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
63271         SSE flags if possible.
63273 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63275         [BZ #13540]
63276         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
63277         processing for last bytes.
63279 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
63281         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
63282         (syscall-list-default-options, syscall-list-default-condition)
63283         (syscall-list-includes): Define.
63284         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
63285         list of ABIs and options and #if conditions for each ABI.  Do not
63286         handle common syscalls between ABIs specially.
63287         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
63288         Remove.
63289         (syscall-list-variants, syscall-list-32bit-options)
63290         (syscall-list-32bit-condition, syscall-list-64bit-options)
63291         (syscall-list-64bit-condition): Define.
63292         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
63293         (syscall-list-variants, syscall-list-32bit-options)
63294         (syscall-list-32bit-condition, syscall-list-64bit-options)
63295         (syscall-list-64bit-condition): Define.
63296         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
63297         Remove.
63298         (syscall-list-variants, syscall-list-32bit-options)
63299         (syscall-list-32bit-condition, syscall-list-64bit-options)
63300         (syscall-list-64bit-condition): Define.
63301         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
63302         Remove.
63303         (syscall-list-variants, syscall-list-32bit-options)
63304         (syscall-list-32bit-condition, syscall-list-64bit-options)
63305         (syscall-list-64bit-condition): Define.
63307 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63309         * locale/iso-639.def: Add brx entry.
63311         [BZ #13328]
63312         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
63313         Proposed by Mariusz_Cukr <marcukr@op.pl>.
63315         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
63316         __feraiseexcept_renamed.
63318 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63320         [BZ #13538]
63321         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
63322         EPOLLET with unsigned values.
63323         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63324         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63326         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
63327         to large cancellation.
63328         * math/s_cacoshf.c: Likewise.
63329         * math/s_cacoshl.c: Likewise.
63331 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
63333         [BZ #13305]
63334         [BZ #12786]
63335         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
63336         * math/s_cacoshf.c: Likewise.
63337         * math/s_cacoshl.c: Likewise.
63339 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63341         [BZ #13439]
63342         * iconv/gconv.h: Define __GCONV_SWAP.
63343         * iconvdata/unicode.c: The swap bit must be stored in __flags.
63344         * iconvdata/utf-16.c: Likewise.
63345         * iconvdata/utf-32.c: Likewise.
63347 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
63349         [BZ #13524]
63350         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
63351         numerator after shifting it by one limb.
63353 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
63355         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
63356         under [__USE_EXTERN_INLINES].
63358 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63360         [BZ #13446]
63361         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
63363 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63365         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
63366         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
63367         optimized code.
63368         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
63369         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
63370         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
63371         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
63372         for strncasecmp/strncasecmp_l compilation.
63373         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
63374         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
63376 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
63378         [BZ #13484]
63379         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
63380         of __asm__.
63382 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63384         [BZ #13506]
63385         * time/tzfile.c (__tzfile_read): Check values from file header.
63387 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63389         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
63390         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
63391         * powerpc/powerpc32/dl-start.S: Likewise.
63392         * powerpc/powerpc32/elf/start.S: Likewise.
63393         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
63394         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
63395         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
63396         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
63397         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63398         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
63399         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
63400         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63401         * powerpc/powerpc32/fpu/s_round.S: Likewise.
63402         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63403         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63404         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63405         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
63406         * powerpc/powerpc32/memset.S: Likewise.
63407         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63408         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63409         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63410         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63411         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63412         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63413         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63414         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63415         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
63416         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
63417         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
63418         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63419         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63421 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63423         * math/libm-test.inc: Added more nearbyint tests.
63424         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
63425         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
63426         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
63427         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
63429 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
63431         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
63432         FD_CLOEXEC.
63434 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63436         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
63437         Add wcscpy-ssse3 wcscpy-c.
63438         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
63439         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
63440         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
63441         * sysdeps/x86_64/wcschr.S: New file.
63442         * sysdeps/x86_64/wcsrchr.S: New file.
63443         * string/test-strcmp.c: Remove checking of wcscmp function for
63444         wrong alignments.
63445         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
63446         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
63447         wcsrchr-sse2 wcsrchr-c.
63448         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
63449         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
63450         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
63451         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
63452         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
63453         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
63454         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
63455         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
63456         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
63457         * wcsmbc/wcschr.c (WCSCHR): New macro.
63459 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63461         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
63462         * wcsmbs/test-wcsrchr.c: New file.
63463         * string/test-strrchr.c: Add wcsrchr support.
63464         (WIDE): New macro.
63465         * wcsmbs/test-wcscpy.c: New file.
63466         * string/test-strcpy.c: Add wcscpy support.
63467         (WIDE): New macro.
63469 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
63471         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
63472         the inner loop.
63474 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
63476         [BZ #13472]
63477         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
63479 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
63481         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
63482         Minor optimizations.
63484         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
63485         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
63486         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
63488 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
63490         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
63491         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
63492         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
63493         for gcc to avoid warnings.
63494         * inet/Makefile (tests): Add tst-checks.
63495         * inet/tst-checks.c: New file.
63497         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
63498         warning.
63500         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
63501         __wmemcmp_sse2.
63503         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
63504         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
63506         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
63508 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
63510         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
63511         problem.
63513         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
63515 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
63517         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
63518         conditional on GCC version.
63519         (__arch_compare_and_exchange_val_8_acq)
63520         (__arch_compare_and_exchange_val_16_acq)
63521         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
63522         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
63523         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
63525 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
63527         * sysdeps/sh/backtrace.c: New file.
63529 2011-12-02  Andreas Schwab  <schwab@redhat.com>
63531         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
63532         parenthesis.
63534 2011-12-01  Andreas Schwab  <schwab@redhat.com>
63536         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
63537         falling back to utime.
63539 2011-11-30  Andreas Schwab  <schwab@redhat.com>
63541         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
63542         expectations for float.
63544 2011-11-29  Andreas Schwab  <schwab@redhat.com>
63546         * locale/weight.h (findidx): Add parameter len.
63547         * locale/weightwc.h (findidx): Likewise.
63548         * posix/fnmatch_loop.c (FCT): Adjust caller.
63549         * posix/regcomp.c (build_equiv_class): Likewise.
63550         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
63551         * posix/regexec.c (check_node_accept_bytes): Likewise.
63552         * string/strcoll_l.c (STRCOLL): Likewise.
63553         * string/strxfrm_l.c (STRXFRM): Likewise.
63555 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
63557         * Makefile.in: Remove CVSOPT handling.
63558         * configure.in: Remove use of AC_REVISION.
63559         * iconvdata/Makefile (distribute): No need to filter out CVS.
63560         * scripts/list-sources.sh: Remove CVS, subversion and monotone
63561         handling.
63563 2011-11-16  Andreas Schwab  <schwab@redhat.com>
63565         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
63566         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
63567         [USE_AS_STRNCASECMP_L]: Likewise.
63568         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
63569         NO_TLS_DIRECT_SEG_REFS.
63570         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
63571         Fix argument offsets for non-PIC.
63572         [USE_AS_STRNCASECMP_L]: Likewise.
63573         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
63574         NO_TLS_DIRECT_SEG_REFS.
63576 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
63578         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
63579         O_CLOEXEC.
63580         * locale/loadlocale.c (_nl_load_locale): Likewise.
63582 2011-11-15  Andreas Schwab  <schwab@redhat.com>
63584         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
63585         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
63586         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
63587         (SYSCALL_GETTIME): Set errno on error.
63589         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
63590         count references to noai6ai_cached.
63592 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
63594         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
63596         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
63597         FD_CLOEXEC for /proc/self/maps.
63599         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
63600         FD_CLOEXEC for /proc/meminfo.
63602         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
63603         gai.conf.
63605         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
63606         FD_CLOEXEC for given file.
63608         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
63610         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
63611         FD_CLOEXEC for /etc/hosts.
63612         (_gethtent): Likewise.
63614         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
63616         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
63617         cancellation and set FD_CLOEXEC for /etc/netgroup.
63619         * nss/nss_files/files-key.c (search): Don't allow cancellation when
63620         reading /etc/publickey.
63622         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
63623         allow cancellation when reading /etc/group.
63625         * nss/nss_files/files-alias.c (internal_setent): Don't allow
63626         cancellation.
63627         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
63629         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
63630         when using data file.
63632         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
63634         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
63635         (write_nis_obj): Use "c" and "e" in fopen.
63637         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
63639         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
63641         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
63643         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
63645         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
63646         locale.alias.
63648         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
63650         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
63652         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
63654         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
63655         file parsing and set FD_CLOEXEC.
63657 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
63659         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
63661 2011-11-14  Andreas Schwab  <schwab@redhat.com>
63663         * malloc/arena.c (arena_get2): Don't call reused_arena when
63664         _int_new_arena failed.
63666 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
63668         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
63669         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
63670         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
63671         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63672         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63673         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
63674         to compile strcasecmp and strncasecmp.
63675         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
63676         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
63678         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
63680 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
63682         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
63683         locale-defines.sym to gen-as-const-headers.
63684         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
63685         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
63686         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
63687         to compile strcasecmp and strncasecmp.
63688         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
63689         strcasecmp_l and strncasecmp_l.
63690         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
63691         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
63692         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
63693         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
63694         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
63695         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
63696         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
63697         * sysdeps/i386/i686/multiarch/strncase.S: New file.
63698         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
63699         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
63700         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
63702 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
63704         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
63705         result of SYSDEP_GETTIME_CPU to retval.
63706         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
63707         parameter list to macro.  Remove trailing semicolon.  Adjust users.
63709         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
63710         variable.
63712         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
63713         mantissa words.
63714         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
63716         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
63717         from unused variable.
63719         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
63720         DWARF definitions.
63721         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
63722         for assembling.
63724         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
63725         over namespaces.
63727         * sunrpc/rpc_prot.c (rejected): Fix case value.
63729         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
63730         unsigned long long int to avoid warnings in shift.
63732         * posix/regex_internal.c (re_string_reconstruct): Actually use result
63733         of use of trans.
63734         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
63735         variable tmp.
63737         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
63738         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
63739         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
63741         * nis/nis_table.c (nis_list): Use variable of correct type for
63742         result of __follow_path call.
63744 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63746         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
63747         of math functions ceil, trunc, floor, round, and sqrt, when
63748         avaliable on the platform.
63749         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
63750         name clash.
63751         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63752         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
63753         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
63755 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
63757         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
63758         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63760 2011-11-11  Roland McGrath  <roland@hack.frob.com>
63762         * include/unistd.h: Fix __readlink return type.
63763         Reported by Chris Metcalf <cmetcalf@tilera.com>.
63765 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
63767         * stdlib/ucontext.h: Undo last change for makecontext.
63769 2011-11-11  Andreas Schwab  <schwab@redhat.com>
63771         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
63773         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
63774         * setjmp/setjmp.h: Mark functions as non-leaf.
63775         * setjmp/bits/setjmp2.h: Likewise.
63776         * stdlib/ucontext.h: Likewise.
63778 2011-11-10  Andreas Schwab  <schwab@redhat.com>
63780         * malloc/arena.c (_int_new_arena): Don't increment narenas.
63781         (reused_arena): Don't check arena limit.
63782         (arena_get2): Atomically check arena limit.
63784 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
63786         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
63787         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
63789         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
63790         instructions.
63792 2011-11-07  Andreas Schwab  <schwab@redhat.com>
63794         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
63795         handler when locking.
63797         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
63798         Fix size of allocated buffer.
63800 2011-11-04  Andreas Schwab  <schwab@redhat.com>
63802         [BZ #10103]
63803         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
63804         declarations for long double functions.
63805         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
63807         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
63809 2011-11-03  Andreas Schwab  <schwab@redhat.com>
63811         * nscd/nscd.c (main): Don't start AVC thread until credentials are
63812         installed.
63814         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
63815         is disabled.
63817 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63819         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
63821 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63823         * include/alloca.h (stackinfo_alloca_round): Define.
63824         (extend_alloca): Use it.
63825         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
63826         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
63827         here.
63829         * scripts/check-local-headers.sh: Ignore libaudit.h.
63831         * nscd/Makefile (extra-objs): Make recursively expanded.
63833 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
63835         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
63836         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63838         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
63839         * posix/tst-rfc3484-2.c: Likewise.
63840         * posix/tst-rfc3484-3.c: Likewise.
63842         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63843         process_vm_writev.
63844         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
63845         process_vm_writev.
63846         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
63847         process_vm_writev from libc using GLIBC_2.15 version.
63849         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
63851 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
63853         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
63854         stack usage.
63856 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
63858         [BZ #13367]
63859         * nss/getent.c (initgroups_keys): Show error message in case no group
63860         names are given.
63862         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
63863         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
63864         __bump_nl_timestamp.
63865         * nscd/connections (nscd_init): When host database is served open
63866         netlink socket and request notification about configuration changes.
63867         (main_loop_poll): Track netlink file descriptor and bump timestamp
63868         in case data becomes available.
63869         (main_loop_epoll): Likewise.
63870         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
63871         (database_pers_head): Add extra_data fileds.
63872         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
63873         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
63874         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
63875         Adjust caller.
63876         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
63877         in6ai data, call __free_in6ai.
63878         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
63879         Add -DHAVE_NETLINK.
63880         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
63881         interface information.  Reuse previous data if netlink timestamp
63882         is not changed.
63883         (__bump_nl_timestamp): New function.
63884         (__free_in6ai): New function.
63886 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
63888         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
63889         close_not_cancel_no_status here.
63890         (__check_pf): Reorganize code a bit to not call close twice if OOM.
63892 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63894         [BZ #13276]
63895         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
63896         return value.
63898         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
63899         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
63900         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
63902 2011-07-03  Andreas Jaeger  <aj@suse.de>
63904         [BZ #10709]
63905         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
63906         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
63907         * math/libm-test.inc (sin_test): Add test case.
63909 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63911         [BZ #13337]
63912         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
63913         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63915         * elf/chroot_canon.c (chroot_canon): Cleanups.
63917         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
63919         [BZ #13335]
63920         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
63921         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63923         * string/test-strchr.c: Make usable for strchrnul testing.
63924         * string/test-strchrnul.c: New file.
63925         * string/Makefile (strop-tests): Add strchrnul.
63927         * po/it.po: Update from translation team.
63928         * po/es.po: Likewise.
63930 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
63932         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
63933         the three constants needed as parameters.  Drop the others.
63934         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
63935         __m128i_strloadu_tolower.
63936         Create and initialize variable zero and use it in all the places
63937         where _mm_setzero_si128 was used.
63939         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
63940         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
63941         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
63942         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
63943         anymore.
63944         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
63945         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
63946         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
63947         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
63948         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
63949         __mpranred, __mptan.
63950         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
63951         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
63952         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
63953         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
63954         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
63955         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
63956         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
63957         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
63958         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
63960 2011-10-28  Andreas Schwab  <schwab@redhat.com>
63962         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
63963         redefine if SHARED.
63964         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
63966         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
63967         wide char related routines to wcsmbs subdir.
63969 2011-10-27  Andreas Schwab  <schwab@redhat.com>
63971         [BZ #13344]
63972         * misc/sys/cdefs.h (__THROWNL): Define.
63973         * posix/unistd.h: Use __THREADNL instead of __THREAD
63974         for memory synchronization functions.
63976 2011-10-26  Roland McGrath  <roland@hack.frob.com>
63978         [BZ #13349]
63979         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
63980         doesn't exist.
63981         * manual/stdio.texi (Obstack Streams): Node removed.
63983 2011-10-26  Andreas Schwab  <schwab@redhat.com>
63985         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
63986         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63987         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63989         * math/math_private.h (math_force_eval): Allow non-addressable
63990         arguments.
63991         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
63993 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63995         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
63996         file is not needed.
63998         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
63999         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
64000         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64001         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64002         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64003         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64004         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64005         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
64006         Add AVX variants.
64007         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
64008         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
64009         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
64010         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
64011         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
64012         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
64013         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
64014         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
64015         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
64016         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
64017         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
64018         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
64019         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
64020         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
64021         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
64022         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
64023         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
64024         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
64025         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
64027         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
64028         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
64030         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
64031         place.  Use VEX encoding when compiling for AVX.
64033 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64035         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
64036         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64038         * string/test-strchr.c (do_test): Don't generate NUL bytes.
64040 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64042         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
64043         useless if() expression.
64044         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64045         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64046         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64047         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64048         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64049         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64050         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64051         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64052         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64053         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64054         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64055         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64056         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64057         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64058         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64059         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64060         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64061         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64062         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64064         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
64066 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64068         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
64069         condition.
64070         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64072 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64074         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
64075         .text section.  Avoid duplicate constants.
64076         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64077         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64078         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64079         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64080         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64081         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64082         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64083         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64084         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64085         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
64086         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64087         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64088         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64089         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64090         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64091         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64092         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64093         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64094         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64095         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64096         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64097         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64098         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64099         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
64100         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
64101         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
64102         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
64103         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
64104         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
64105         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
64106         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
64107         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
64108         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64109         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
64110         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
64111         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
64112         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
64113         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
64114         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
64115         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
64116         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
64117         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
64118         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
64119         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
64120         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
64122 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
64124         * sysdeps/x86_64/dla.h: Move to ...
64125         * sysdeps/x86_64/fpu/dla.h: ...here.
64126         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
64127         situations.  Use __builtin_fma only for gcc 4.6 and up.
64129         * config.make.in: Add have-mfma4 entry.
64130         * configure.in: Substitute libc_cv_cc_fma4.
64131         * math/Makefile (dbl-only-routines): Add sincostab.
64132         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
64133         Use __sincostab not sincos.
64134         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
64135         name is a macro.
64136         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64137         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64138         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64139         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
64140         using __copysign.
64141         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
64142         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
64143         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
64144         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
64145         and __inv.
64146         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
64147         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
64148         __copysign.
64149         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
64150         define aliases when function name is a macro.
64151         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
64152         sysdeps/ieee754/dbl-64/sincos.tbl.
64153         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
64154         fma4-enabled routines.
64155         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
64156         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
64157         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
64158         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
64159         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
64160         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
64161         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
64162         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
64163         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
64164         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
64165         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
64166         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
64167         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
64168         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
64169         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
64170         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
64171         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
64172         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
64173         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
64174         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
64175         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
64176         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
64177         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
64178         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
64179         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
64180         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
64181         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
64182         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
64183         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
64184         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
64186         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
64187         rename.
64188         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64189         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64190         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64193         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64194         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64195         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64197 2011-10-24  Andreas Schwab  <schwab@redhat.com>
64199         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
64201 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64203         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
64205         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
64206         prediction.
64207         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
64209         * string/strnlen.c: Don't define STRNLEN, reverse logic.
64210         Remove unused variable magic_bits.
64211         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
64213         * string/strnlen.c: Define and use STRNLEN macro.
64214         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
64215         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
64216         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
64217         * wcsmbs/wcslen.c: Define and use WCSLEN.
64218         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
64219         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
64220         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
64221         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
64222         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
64223         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
64224         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64226 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64229         strnlen-sse2-no-bsf.
64230         Rename strlen-no-bsf to strlen-sse2-no-bsf.
64231         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
64232         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
64233         Add strnlen support.
64234         (USE_AS_STRNLEN): New macro.
64235         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
64236         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
64237         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
64238         * sysdeps/x86_64/wcslen.S: New file.
64240 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
64242         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64243         XMM-moves are used for copying on small sizes.
64245 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64247         * wcsmbs/Makefile (strop-tests): Add wcschr.
64248         * wcsmbs/test-wcschr.c: New file.
64249         * string/test-strchr.c: Update.
64250         Add wcschr support.
64251         (WIDE): New macro.
64253 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64255         * wcsmbs/Makefile (strop-tests): Add wcslen.
64256         * wcsmbs/test-wcslen.c: New file.
64257         * string/test-strlen.c: Update.
64258         Add wcslen support.
64259         (WIDE): New macro.
64261 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64263         * po/it.po: Update from translation team.
64265 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64267         * sysdeps/x86_64/wcscmp.S: Update.
64268         Fix wrong comparison semantics.
64269         wcscmp shall use signed comparison not unsigned.
64270         Don't use substraction to avoid overflow bug.
64271         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
64272         * wcsmbc/wcscmp.c: Likewise.
64273         * string/test-strcmp.c: Likewise.
64274         Add new tests to check cases with negative values.
64276 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64278         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
64279         * sysdeps/x86_64/dla.h: ...here.  New file.
64280         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
64281         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64282         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64283         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64284         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64285         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64286         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64287         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64288         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64290 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
64292         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
64293         __ynl_finite aliases.
64295 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64299         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
64300         define DLA_FMA.
64301         [DLA_FMA] (EMULV): Use DLA_FMA.
64302         [DLA_FMA] (MUL12): Use EMULV.
64303         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
64304         that are not needed.
64305         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64306         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64307         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64308         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64309         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64310         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64311         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64313 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
64315         * math/s_nan.c: Undef __nan.
64316         * math/s_nanf.c: Undef __nanf.
64317         * math/s_nanl.c: Undef __nanl.
64318         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
64319         "math_private.h".
64321 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64323         * math/s_catan.c: Add branch predictions.
64324         * math/s_catanf.c: Likewise.
64325         * math/s_catanh.c: Likewise.
64326         * math/s_catanhf.c: Likewise.
64327         * math/s_catanhl.c: Likewise.
64328         * math/s_catanl.c: Likewise.
64329         * math/s_cexp.c: Likewise.
64330         * math/s_cexpf.c: Likewise.
64331         * math/s_cexpl.c: Likewise.
64332         * math/s_clog.c: Likewise.
64333         * math/s_clog10.c: Likewise.
64334         * math/s_clog10f.c: Likewise.
64335         * math/s_clog10l.c: Likewise.
64336         * math/s_clogf.c: Likewise.
64337         * math/s_clogl.c: Likewise.
64338         * math/s_csqrt.c: Likewise.
64339         * math/s_csqrtf.c: Likewise.
64340         * math/s_csqrtl.c: Likewise.
64341         * math/s_ctanf.c: Likewise.
64342         * math/s_ctanh.c: Likewise.
64343         * math/s_ctanhf.c: Likewise.
64344         * math/s_ctanhl.c: Likewise.
64345         * math/s_ctanl.c: Likewise.
64347         * math/math_private.h: Define __nan, __nanf, __nanl.
64348         * math/s_cacosh.c: Include <math_private.h>.
64349         * math/s_cacoshl.c: Likewise.
64350         * math/s_casinh.c: Likewise.
64351         * math/s_casinhf.c: Likewise.
64352         * math/s_casinhl.c: Likewise.
64353         * math/s_ccos.c: Rely entire on ccosh.
64354         * math/s_ccosf.c: Rely entire on ccoshf.
64355         * math/s_ccosl.c: Rely entirely on ccoshl.
64356         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
64357         Remove tests for FE_INVALID.
64358         * math/s_ccoshf.c: Likewise.
64359         * math/s_ccoshl.c: Likewise.
64360         * math/s_csin.c: Likewise.
64361         * math/s_csinf.c: Likewise.
64362         * math/s_csinh.c Likewise.
64363         * math/s_csinhf.c: Likewise.
64364         * math/s_csinhl.c: Likewise.
64365         * math/s_csinl.c: Likewise.
64366         * math/s_ctan.c: Likewise.
64367         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
64368         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
64369         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
64371 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
64373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
64374         compilation problems.
64376         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
64377         __builtin_expect.
64379 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
64381         * sysdeps/i386/configure.in: Test for -mfma4 option.
64382         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
64383         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
64384         COMMON_CPUID_INDEX_80000001.
64385         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
64386         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
64387         use it if FMA3 is not supported.
64388         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
64390         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
64391         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64393 2011-10-20  Andreas Schwab  <schwab@redhat.com>
64395         [BZ #12892]
64396         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
64397         it would create a cycle with a link time dependency.
64399 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
64401         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
64402         instruction.
64403         * string/Makefile (strop-tests): Add rawmemchr.
64404         * string/test-rawmemchr.c: New file.
64406         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
64407         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
64408         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
64409         when compiling str{,n}casecmp and when AVX is available.  Hook up
64410         new optimized code in initializers.
64412 2011-10-19  Andreas Schwab  <schwab@redhat.com>
64414         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
64415         __feraiseexcept instead of feraiseexcept.
64417 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
64419         * math/math_private.h: Define defaults for libc_fetestexcept and
64420         libc_feupdateenv.
64421         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
64422         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
64423         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64424         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64425         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64426         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64427         libc_fetestexcept and libc_feupdateenv.
64429         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
64430         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
64431         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
64432         * sysdeps/x86_64/fpu/math_private.h: Define special version of
64433         libc_feholdexcept_setround.
64435         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
64436         Add s_nearbyint-c and s_nearbyintf-c.
64437         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
64438         nearbyintf inlines.
64439         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
64440         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
64441         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
64442         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
64444         * math/math_private.h: Define defaults for libc_fegetround,
64445         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
64446         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
64447         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
64448         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
64449         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
64450         standard functions.
64451         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64452         Remove comments and hacks for old compiler versions.
64453         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64454         libc_fegetround, libc_fesetround, libc_feholdexcept, and
64455         libc_feholdexceptl.
64457 2011-10-18  Andreas Schwab  <schwab@redhat.com>
64459         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
64460         (__feraiseexcept_renamed): Add __NTH.
64461         (feraiseexcept): Add __NTH.  Rename local variables to fix
64462         namespace violations.
64464 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
64466         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
64468         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
64470         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
64471         recently added interfaces.
64472         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
64474         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
64475         about macro parameter expansion.
64477         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
64478         __NO_MATH_INLINES is defined.  Cleanups.
64480         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
64481         and __floorf is target has SSE4.1.
64482         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
64483         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
64484         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
64485         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
64487         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
64488         name.
64489         (floorf): Likewise.
64491         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
64493 2011-10-17  Andreas Schwab  <schwab@redhat.com>
64495         * misc/sys/cdefs.h: Fix last change.
64497         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
64498         database lookup.
64500 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
64502         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
64504         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
64505         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64506         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
64507         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64508         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64509         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
64510         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64511         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64512         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64513         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
64514         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
64515         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
64516         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
64517         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
64518         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
64519         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
64520         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
64521         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
64522         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
64523         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
64524         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
64525         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
64527         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
64528         ceil, ceilf, floor, floorf.
64530         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
64531         Perform IRELATIVE relocations last.
64533         * elf/do-rel.h: Add another parameter nrelative, replacing the
64534         local variable with the same name.  Change name of the function
64535         to end in Rel or Rela (uppercase).
64536         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
64537         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
64538         elf_dynamic_do_##reloc function.
64540 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
64542         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
64543         is sufficient, at least on modern CPUs.
64545         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
64547         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
64548         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
64550         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
64551         __expl_finite.
64552         * math/bits/math-finite.h: Add entries for exp.
64553         * math/e_expl.c: Add __*_finite alias.
64554         * sysdeps/i386/fpu/e_exp.S: Likewise.
64555         * sysdeps/i386/fpu/e_expf.S: Likewise.
64556         * sysdeps/i386/fpu/e_expl.c: Likewise.
64557         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64558         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64559         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64560         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64561         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
64562         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64563         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64565         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
64566         is sufficient, at least on modern CPUs.
64568         * ctype/ctype-info.c (__ctype_init): Define.
64569         * include/ctype.h (__ctype_init): Declare.
64570         (__ctype_b_loc): The variable is always initialized.
64571         (__ctype_toupper_loc): Likewise.
64572         (__ctype_tolower_loc): Likewise.
64573         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
64574         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
64576 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
64578         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
64580         * configure.in: Also look in $cxxmachine/include for C++ system
64581         headers.
64583 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64585         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
64586         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
64587         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
64588         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
64589         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
64590         (USE_AS_WMEMCMP): New macro.
64591         Fixing indents.
64592         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
64593         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
64594         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
64595         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
64596         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64597         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
64598         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
64599         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
64600         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
64601         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
64602         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
64603         (USE_AS_WMEMCMP): New macro.
64604         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
64605         * sysdeps/string/test-memcmp.c: Update.
64606         Fix simple_wmemcmp.
64607         Add new tests.
64608         * wcsmbs/wmemcmp.c: Update.
64609         (WMEMCMP): New macro.
64610         Fix overflow bug.
64612 2011-10-12  Andreas Jaeger  <aj@suse.de>
64614         [BZ #13268]
64615         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
64617 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
64619         * libio/iofwide.c (do_length): Avoid warning.
64621         * ctype/ctype.h (__isctype_f): Add missing __THROW.
64623 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
64625         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
64627         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
64628         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
64629         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
64630         * sysdeps/i386/i686/fpu/e_log.S: New file.
64631         * sysdeps/i386/i686/fpu/e_logf.S: New file.
64632         * sysdeps/i386/i686/fpu/e_logl.S: New file.
64634         * ctype/ctype.h: Add support for inlined isXXX functions when
64635         compiling C++ code.
64637 2011-10-14  Andreas Schwab  <schwab@redhat.com>
64639         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64641         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
64643 2011-10-13  Roland McGrath  <roland@hack.frob.com>
64645         [BZ #13291]
64646         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
64648 2011-10-13  Andreas Schwab  <schwab@redhat.com>
64650         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
64651         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
64652         feraiseexcept.
64654         * sysdeps/x86_64/memrchr.S: Check for zero size.
64656         * string/stratcliff.c: Add memrchr tests.
64658 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64660         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64661         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
64662         rawmemchr-sse2 rawmemchr-sse2-bsf.
64663         * sysdeps/i386/i686/multiarch/memchr.S: New file.
64664         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
64665         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
64666         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
64667         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
64668         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
64669         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
64670         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
64671         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
64672         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
64673         * string/memrchr.c (MEMRCHR): New macro.
64675 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
64677         Add integration with gcc's -ffinite-math-only and optimize wrapper
64678         functions in libm.
64679         * Versions.def: Define GLIBC_2.15 version for libm.
64680         * math/Makefile (headers): Add bits/math-finite.h.
64681         * math/bits/math-finite.h: New file.
64682         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
64683         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
64684         * math/e_acoshl.c: Add __*_finite alias.
64685         * math/e_acosl.c: Likewise.
64686         * math/e_asinl.c: Likewise.
64687         * math/e_atan2l.c: Likewise.
64688         * math/e_atanhl.c: Likewise.
64689         * math/e_coshl.c: Likewise.
64690         * math/e_exp10.c: Likewise.
64691         * math/e_exp10f.c: Likewise.
64692         * math/e_exp10l.c: Likewise.
64693         * math/e_exp2l.c: Likewise.
64694         * math/e_fmodl.c: Likewise.
64695         * math/e_gammal_r.c: Likewise.
64696         * math/e_hypotl.c: Likewise.
64697         * math/e_j0l.c: Likewise.
64698         * math/e_j1l.c: Likewise.
64699         * math/e_jnl.c: Likewise.
64700         * math/e_lgammal_r.c: Likewise.
64701         * math/e_log10l.c: Likewise.
64702         * math/e_log2l.c: Likewise.
64703         * math/e_logl.c: Likewise.
64704         * math/e_powl.c: Likewise.
64705         * math/e_sinhl.c: Likewise.
64706         * math/e_sqrtl.c: Likewise.
64707         * math/e_scalb.c: Completely rewritten and optimized.
64708         * math/e_scalbf.c: Likewise.
64709         * math/e_scalbl.c: Likewise.
64710         * math/w_acos.c: Likewise.
64711         * math/w_acosf.c: Likewise.
64712         * math/w_acosl.c: Likewise.
64713         * math/w_acosh.c: Likewise.
64714         * math/w_acoshf.c: Likewise.
64715         * math/w_acoshl.c: Likewise.
64716         * math/w_asin.c: Likewise.
64717         * math/w_asinf.c: Likewise.
64718         * math/w_asinl.c: Likewise.
64719         * math/w_atan2.c: Likewise.
64720         * math/w_atan2f.c: Likewise.
64721         * math/w_atan2l.c: Likewise.
64722         * math/w_atanh.c: Likewise.
64723         * math/w_atanhf.c: Likewise.
64724         * math/w_atanhl.c: Likewise.
64725         * math/w_exp10.c: Likewise.
64726         * math/w_exp10f.c: Likewise.
64727         * math/w_exp10l.c: Likewise.
64728         * math/w_fmod.c: Likewise.
64729         * math/w_fmodf.c: Likewise.
64730         * math/w_fmodl.c: Likewise.
64731         * math/w_j0.c: Likewise.
64732         * math/w_j0f.c: Likewise.
64733         * math/w_j0l.c: Likewise.
64734         * math/w_j1.c: Likewise.
64735         * math/w_j1f.c: Likewise.
64736         * math/w_j1l.c: Likewise.
64737         * math/w_jn.c: Likewise.
64738         * math/w_jnf.c: Likewise.
64739         * math/w_log.c: Likewise.
64740         * math/w_logf.c: Likewise.
64741         * math/w_logl.c: Likewise.
64742         * math/w_log10.c: Likewise.
64743         * math/w_log10f.c: Likewise.
64744         * math/w_log10l.c: Likewise.
64745         * math/w_log2.c: Likewise.
64746         * math/w_log2f.c: Likewise.
64747         * math/w_log2l.c: Likewise.
64748         * math/w_pow.c: Likewise.
64749         * math/w_powf.c: Likewise.
64750         * math/w_powl.c: Likewise.
64751         * math/w_remainder.c: Likewise.
64752         * math/w_remainderf.c: Likewise.
64753         * math/w_remainderl.c: Likewise.
64754         * math/w_scalb.c: Likewise.
64755         * math/w_scalbf.c: Likewise.
64756         * math/w_scalbl.c: Likewise.
64757         * math/w_sqrt.c: Likewise.
64758         * math/w_sqrtf.c: Likewise.
64759         * math/w_sqrtl.c: Likewise.
64760         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
64761         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
64762         used.
64763         * math/math_private.h: Declare __kernel_standard_f.
64764         * math/w_cosh.c: Remove cruft and optimize a bit.
64765         * math/w_coshf.c: Likewise.
64766         * math/w_coshl.c: Likewise.
64767         * math/w_exp2.c: Likewise.
64768         * math/w_exp2f.c: Likewise.
64769         * math/w_exp2l.c: Likewise.
64770         * math/w_hypot.c: Likewise.
64771         * math/w_hypotf.c: Likewise.
64772         * math/w_hypotl.c: Likewise.
64773         * math/w_lgamma.c: Likewise.
64774         * math/w_lgamma_r.c: Likewise.
64775         * math/w_lgammaf.c: Likewise.
64776         * math/w_lgammaf_r.c: Likewise.
64777         * math/w_lgammal.c: Likewise.
64778         * math/w_lgammal_r.c: Likewise.
64779         * math/w_sinh.c: Likewise.
64780         * math/w_sinhf.c: Likewise.
64781         * math/w_sinhl.c: Likewise.
64782         * math/w_tgamma.c: Likewise.
64783         * math/w_tgammaf.c: Likewise.
64784         * math/w_tgammal.c: Likewise.
64785         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64786         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64787         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
64788         Minor optimizations.  Pretty printing.  Remove cruft.
64789         * sysdeps/i386/fpu/e_acosf.S: Likewise.
64790         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64791         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64792         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64793         * sysdeps/i386/fpu/e_acosl.c: Likewise.
64794         * sysdeps/i386/fpu/e_asin.S: Likewise.
64795         * sysdeps/i386/fpu/e_asinf.S: Likewise.
64796         * sysdeps/i386/fpu/e_atan2.S: Likewise.
64797         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
64798         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
64799         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64800         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64801         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64802         * sysdeps/i386/fpu/e_exp10.S: Likewise.
64803         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
64804         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
64805         * sysdeps/i386/fpu/e_exp2.S: Likewise.
64806         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
64807         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
64808         * sysdeps/i386/fpu/e_fmod.S: Likewise.
64809         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
64810         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
64811         * sysdeps/i386/fpu/e_hypot.S: Likewise.
64812         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
64813         * sysdeps/i386/fpu/e_log.S: Likewise.
64814         * sysdeps/i386/fpu/e_log10.S: Likewise.
64815         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64816         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64817         * sysdeps/i386/fpu/e_log2.S: Likewise.
64818         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64819         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64820         * sysdeps/i386/fpu/e_logf.S: Likewise.
64821         * sysdeps/i386/fpu/e_logl.S: Likewise.
64822         * sysdeps/i386/fpu/e_pow.S: Likewise.
64823         * sysdeps/i386/fpu/e_powf.S: Likewise.
64824         * sysdeps/i386/fpu/e_powl.S: Likewise.
64825         * sysdeps/i386/fpu/e_remainder.S: Likewise.
64826         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
64827         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
64828         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64829         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64830         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64831         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
64832         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
64833         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
64834         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64835         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64836         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64837         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64838         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64839         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64840         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
64841         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64842         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64843         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64844         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64845         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64846         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64847         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64848         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64849         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64850         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64851         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64852         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64853         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64854         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64855         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64856         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64857         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64858         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64859         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64860         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64861         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64862         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
64863         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64864         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64865         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64866         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64867         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64868         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64869         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64870         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64871         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64872         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64873         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64874         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64875         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64876         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64877         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64878         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64879         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64880         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64881         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64882         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64883         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
64884         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64885         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64886         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64887         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64888         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64889         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64890         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64891         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64892         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64893         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64894         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64895         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64896         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64897         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64898         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64899         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64900         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64901         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64902         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
64903         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64904         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64905         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64906         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64907         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64908         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64909         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64910         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64911         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64912         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64913         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64914         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64915         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64916         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
64917         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64918         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64919         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64920         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64921         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64922         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64923         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64924         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64925         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64926         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64927         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64928         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64929         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64930         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64931         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
64932         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
64933         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
64934         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
64935         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
64936         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
64937         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
64938         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64939         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64940         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64941         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64942         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
64943         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64944         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
64945         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
64946         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
64947         (__isnanf): Likewise.
64948         (__isinf_ns): Likewise.
64949         (__isinf_nsf): Likewise.
64950         (__finite): Likewise.
64951         (__finitef): Likewise.
64952         (__ieee754_sqrt): Define as macro.
64953         (__ieee754_sqrtf): Define as macro.
64954         (__ieee754_sqrtl): Define as macro.
64955         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
64956         inlined copy.
64957         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
64958         __FINITE_MATH_ONLY__ consistent.
64959         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
64961 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
64963         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
64964         of rawmemchr.
64966         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
64968 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
64970         * po/ja.po: Update from translation team.
64972 2011-10-08  Roland McGrath  <roland@hack.frob.com>
64974         * locale/programs/locarchive.c (prepare_address_space): New function.
64975         (create_archive, enlarge_archive, open_archive): Use it.
64977         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
64978         inside [SHARED], where it is used.
64980         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
64982         * nss/getent.c (netgroup_keys): Remove unused variable.
64983         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64985 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
64987         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
64988         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
64989         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
64990         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
64991         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
64992         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
64993         * math/Makefile (libm-calls): Add s_isinf_ns.
64994         * math/divtc3.c: Use __isinf_nsl instead of isinf.
64995         * math/multc3.c: Likewise.
64996         * math/s_casin.c: Likewise.
64997         * math/s_casinf.c: Likewise.
64998         * math/s_casinl.c: Likewise.
64999         * math/s_ccos.c: Likewise.
65000         * math/s_ccosf.c: Likewise.
65001         * math/s_ccosl.c: Likewise.
65002         * math/s_ctan.c: Likewise.
65003         * math/s_ctanf.c: Likewise.
65004         * math/s_ctanh.c: Likewise.
65005         * math/s_ctanhf.c: Likewise.
65006         * math/s_ctanhl.c: Likewise.
65007         * math/s_ctanl.c: Likewise.
65008         * math/w_fmod.c: Likewise.
65009         * math/w_fmodf.c: Likewise.
65010         * math/w_fmodl.c: Likewise.
65011         * math/w_remainder.c: Likewise.
65012         * math/w_remainderf.c: Likewise.
65013         * math/w_remainderl.c: Likewise.
65014         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
65015         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
65016         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
65017         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
65018         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
65019         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
65020         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
65021         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
65023         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
65024         of the number.
65025         * stdio-common/printf_fphex.c: Likewise.
65026         * stdio-common/printf_size.c: Likewise.
65028         * math/e_exp10.c: Include math_private.h using <...> not "...".
65029         * math/e_exp10f.c: Likewise.
65030         * math/e_exp10l.c: Likewise.
65031         * math/e_exp2l.c: Likewise.
65032         * math/e_j0l.c: Likewise.
65033         * math/e_j1l.c: Likewise.
65034         * math/e_jnl.c: Likewise.
65035         * math/e_lgammal_r.c: Likewise.
65036         * math/e_rem_pio2l.c: Likewise.
65037         * math/e_scalb.c: Likewise.
65038         * math/e_scalbf.c: Likewise.
65039         * math/e_scalbl.c: Likewise.
65040         * math/k_cosl.c: Likewise.
65041         * math/k_sinl.c: Likewise.
65042         * math/k_tanl.c: Likewise.
65043         * math/s_cacoshf.c: Likewise.
65044         * math/s_catan.c: Likewise.
65045         * math/s_catanf.c: Likewise.
65046         * math/s_catanh.c: Likewise.
65047         * math/s_catanhf.c: Likewise.
65048         * math/s_catanhl.c: Likewise.
65049         * math/s_catanl.c: Likewise.
65050         * math/s_ccosh.c: Likewise.
65051         * math/s_ccoshf.c: Likewise.
65052         * math/s_ccoshl.c: Likewise.
65053         * math/s_cexp.c: Likewise.
65054         * math/s_cexpf.c: Likewise.
65055         * math/s_cexpl.c: Likewise.
65056         * math/s_clog.c: Likewise.
65057         * math/s_clog10.c: Likewise.
65058         * math/s_clog10f.c: Likewise.
65059         * math/s_clog10l.c: Likewise.
65060         * math/s_clogf.c: Likewise.
65061         * math/s_clogl.c: Likewise.
65062         * math/s_csin.c: Likewise.
65063         * math/s_csinf.c: Likewise.
65064         * math/s_csinh.c: Likewise.
65065         * math/s_csinhf.c: Likewise.
65066         * math/s_csinhl.c: Likewise.
65067         * math/s_csinl.c: Likewise.
65068         * math/s_csqrt.c: Likewise.
65069         * math/s_csqrtf.c: Likewise.
65070         * math/s_csqrtl.c: Likewise.
65071         * math/s_ctan.c: Likewise.
65072         * math/s_ctanf.c: Likewise.
65073         * math/s_ctanh.c: Likewise.
65074         * math/s_ctanhf.c: Likewise.
65075         * math/s_ctanhl.c: Likewise.
65076         * math/s_ctanl.c: Likewise.
65077         * math/s_ldexp.c: Likewise.
65078         * math/s_ldexpf.c: Likewise.
65079         * math/s_ldexpl.c: Likewise.
65080         * math/s_significand.c: Likewise.
65081         * math/s_significandf.c: Likewise.
65082         * math/s_significandl.c: Likewise.
65083         * math/w_acos.c: Likewise.
65084         * math/w_acosf.c: Likewise.
65085         * math/w_acosh.c: Likewise.
65086         * math/w_acoshf.c: Likewise.
65087         * math/w_acoshl.c: Likewise.
65088         * math/w_acosl.c: Likewise.
65089         * math/w_asin.c: Likewise.
65090         * math/w_asinf.c: Likewise.
65091         * math/w_asinl.c: Likewise.
65092         * math/w_atan2.c: Likewise.
65093         * math/w_atan2f.c: Likewise.
65094         * math/w_atan2l.c: Likewise.
65095         * math/w_atanh.c: Likewise.
65096         * math/w_atanhf.c: Likewise.
65097         * math/w_atanhl.c: Likewise.
65098         * math/w_cosh.c: Likewise.
65099         * math/w_coshf.c: Likewise.
65100         * math/w_coshl.c: Likewise.
65101         * math/w_dremf.c: Likewise.
65102         * math/w_exp10.c: Likewise.
65103         * math/w_exp10f.c: Likewise.
65104         * math/w_exp10l.c: Likewise.
65105         * math/w_exp2.c: Likewise.
65106         * math/w_exp2f.c: Likewise.
65107         * math/w_fmod.c: Likewise.
65108         * math/w_fmodf.c: Likewise.
65109         * math/w_fmodl.c: Likewise.
65110         * math/w_hypot.c: Likewise.
65111         * math/w_hypotf.c: Likewise.
65112         * math/w_hypotl.c: Likewise.
65113         * math/w_j0.c: Likewise.
65114         * math/w_j0f.c: Likewise.
65115         * math/w_j0l.c: Likewise.
65116         * math/w_j1.c: Likewise.
65117         * math/w_j1f.c: Likewise.
65118         * math/w_j1l.c: Likewise.
65119         * math/w_jn.c: Likewise.
65120         * math/w_jnf.c: Likewise.
65121         * math/w_jnl.c: Likewise.
65122         * math/w_lgamma.c: Likewise.
65123         * math/w_lgamma_r.c: Likewise.
65124         * math/w_lgammaf.c: Likewise.
65125         * math/w_lgammaf_r.c: Likewise.
65126         * math/w_lgammal.c: Likewise.
65127         * math/w_lgammal_r.c: Likewise.
65128         * math/w_log.c: Likewise.
65129         * math/w_log10.c: Likewise.
65130         * math/w_log10f.c: Likewise.
65131         * math/w_log10l.c: Likewise.
65132         * math/w_log2.c: Likewise.
65133         * math/w_log2f.c: Likewise.
65134         * math/w_log2l.c: Likewise.
65135         * math/w_logf.c: Likewise.
65136         * math/w_logl.c: Likewise.
65137         * math/w_pow.c: Likewise.
65138         * math/w_powf.c: Likewise.
65139         * math/w_powl.c: Likewise.
65140         * math/w_remainder.c: Likewise.
65141         * math/w_remainderf.c: Likewise.
65142         * math/w_remainderl.c: Likewise.
65143         * math/w_scalb.c: Likewise.
65144         * math/w_scalbf.c: Likewise.
65145         * math/w_scalbl.c: Likewise.
65146         * math/w_sinh.c: Likewise.
65147         * math/w_sinhf.c: Likewise.
65148         * math/w_sinhl.c: Likewise.
65149         * math/w_sqrt.c: Likewise.
65150         * math/w_sqrtf.c: Likewise.
65151         * math/w_sqrtl.c: Likewise.
65152         * math/w_tgamma.c: Likewise.
65153         * math/w_tgammaf.c: Likewise.
65154         * math/w_tgammal.c: Likewise.
65156         * po/ja.po: Update from translation team.
65158 2011-09-29  Andreas Jaeger  <aj@suse.de>
65160         [BZ #13179]
65161         * sunrpc/netname.c (netname2host): Fix logic.
65163         [BZ #6779]
65164         [BZ #6783]
65165         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
65166         correctly.
65167         * math/w_remainder.c (__remainder): Likewise.
65168         * math/w_remainderf.c (__remainderf): Likewise.
65169         * math/libm-test.inc (remainder_test): Add test cases.
65171 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65173         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
65174         sdiv_qrnnd.
65176 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65178         * string/test-memcmp.c: Avoid unncessary #defines.
65179         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65181 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65183         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
65184         Use new sse2 version for core i3 - i7 as it's faster
65185         than sse42 version.
65186         (bit_Prefer_PMINUB_for_stringop): New.
65187         * sysdeps/x86_64/rawmemchr.S: Update.
65188         Replace with faster SSE2 version.
65189         * sysdeps/x86_64/memrchr.S: New file.
65190         * sysdeps/x86_64/memchr.S: Update.
65191         Replace with faster SSE2 version.
65193 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
65195         * elf/dl-load.c (lose): Add cast to avoid warning.
65197 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65199         * po/ca.po: Update from translation team.
65201         * inet/getnetgrent_r.c: Hook up nscd.
65202         * nscd/Makefile (routines): Add nscd_netgroup.
65203         (nscd-modules): Add netgroupcache.
65204         (CFLAGS-netgroupcache.c): Define.
65205         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
65206         (cache_search): Add const to second parameter.
65207         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
65208         INNETGR.
65209         (dbs): Add netgrdb entry.
65210         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
65211         (verify_persistent_db): Handle netgrdb.
65212         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
65213         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
65214         GETFDNETGR.
65215         (netgroup_response_header): Define.
65216         (innetgroup_response_header): Define.
65217         (datahead): Add netgroup_response_header and innetgroup_response_header
65218         elements.
65219         * nscd/nscd.conf: Add entries for netgroup cache.
65220         * nscd/nscd.h (dbtype): Add netgrdb.
65221         (_PATH_NSCD_NETGROUP_DB): Define.
65222         (netgroup_iov_disabled): Declare.
65223         (xmalloc, xcalloc, xrealloc): Move declarations here.
65224         (cache_search): Adjust prototype.
65225         Add netgroup-related prototypes.
65226         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
65227         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
65228         (__nscd_innetgr): Declare.
65229         * nscd/selinux.c (perms): Use access_vector_t as element type and
65230         add netgroup-related initializers.
65231         * nscd/netgroupcache.c: New file.
65232         * nscd/nscd_netgroup.c: New file.
65233         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
65234         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
65235         For four parameters use innetgr.
65236         * nss/nss_files/files-init.c: Add definition and callback for netgr.
65237         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
65238         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
65239         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
65241         * nscd/connections.c (register_traced_file): Don't register file
65242         for disabled databases.
65244 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
65246         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
65248         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
65249         from tree and freeing node.
65251 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
65253         * nss/nsswitch.c (__nss_database_lookup): Handle
65254         nss_parse_service_list out of memory case.
65256 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
65258         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
65259         out of memory case.
65261 2011-10-04  Andreas Schwab  <schwab@redhat.com>
65263         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
65264         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
65265         pass it down.
65266         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
65267         elf_machine_rela, elf_machine_lazy_rel.
65268         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
65269         (ELF_DYNAMIC_DO_REL): Likewise.
65270         (ELF_DYNAMIC_DO_RELA): Likewise.
65271         (ELF_DYNAMIC_RELOCATE): Likewise.
65272         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
65273         to ELF_DYNAMIC_DO_REL.
65274         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
65275         (dl_main): In trace mode always set __RTLD_NOIFUNC.
65276         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
65277         elf_machine_rela.
65278         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
65279         skip_ifunc, don't call ifunc function if non-zero.
65280         (elf_machine_rela): Likewise.
65281         (elf_machine_lazy_rel): Likewise.
65282         (elf_machine_lazy_rela): Likewise.
65283         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
65284         (elf_machine_lazy_rel): Likewise.
65285         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
65286         Likewise.
65287         (elf_machine_lazy_rel): Likewise.
65288         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65289         Likewise.
65290         (elf_machine_lazy_rel): Likewise.
65291         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
65292         (elf_machine_lazy_rel): Likewise.
65293         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
65294         (elf_machine_lazy_rel): Likewise.
65295         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65296         (elf_machine_lazy_rel): Likewise.
65297         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
65298         (elf_machine_lazy_rel): Likewise.
65299         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
65300         (elf_machine_lazy_rel): Likewise.
65301         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65302         (elf_machine_lazy_rel): Likewise.
65304 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
65306         * nss/nss_files/files-init.c (_nss_files_init): Use static
65307         initialization for all the *_traced_file variables.
65309 2011-09-28  Andreas Schwab  <schwab@redhat.com>
65311         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65313 2011-09-27  Roland McGrath  <roland@hack.frob.com>
65315         [BZ #13226]
65316         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
65318 2011-09-27  Andreas Schwab  <schwab@redhat.com>
65320         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65321         Reread the line before reparsing it.
65323 2011-09-26  Andreas Schwab  <schwab@redhat.com>
65325         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
65327 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
65328             Maxim Kuvyrkov  <maxim@codesourcery.com>
65329             Joseph Myers  <joseph@codesourcery.com>
65331         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
65332         if needed for __stack_chk_guard.
65334 2011-09-19  Roland McGrath  <roland@hack.frob.com>
65336         * sysdeps/posix/spawni.c (script_execute): Always define it.
65337         It will be optimized away if unused.
65338         (maybe_script_execute): New function.
65339         (__spawni): Call it.
65341         * Makerules: Don't include tls.make.
65342         (config-tls): Always set to thread.
65343         * tls.make.c: File removed.
65345 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
65347         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
65348         * config.make.in (CPPFLAGS-config): New substituted variable.
65350 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65352         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
65354         [BZ #13192]
65355         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
65356         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
65358 2011-09-15  Roland McGrath  <roland@hack.frob.com>
65360         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
65361         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
65362         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65363         (CALL_FAIL): Likewise.
65364         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
65365         (CALL_FAIL): Macro removed.
65366         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
65368 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65370         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
65371         for __FINITE_MATH_ONLY__ == 1.
65373 2011-09-15  Andreas Schwab  <schwab@redhat.com>
65375         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
65376         __ieee754_sqrt instead of sqrt.
65377         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
65378         __ieee754_sqrtf instead of sqrtf.
65379         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
65380         __floorf instead of floorf.
65381         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
65382         __floorf, __truncf instead of floorf, truncf.
65384 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
65386         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
65388         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
65389         __extern_always_inline.
65390         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
65391         32-bit.
65393 2011-09-14  Andreas Schwab  <schwab@redhat.com>
65395         * elf/rtld.c (dl_main): Also relocate in dependency order when
65396         doing symbol dependency testing.
65398 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
65400         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65401         Always define `refsym'.
65403 2011-09-13  Andreas Schwab  <schwab@redhat.com>
65405         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
65406         (__FD_ELT): Renamed from __FDELT.
65407         * misc/bits/select2.h (__FD_ELT): Likewise.
65408         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
65409         __FD_MASK instead of __FDELT, __FDMASK.
65410         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65411         Likewise.
65412         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65413         Likewise.
65415         * elf/Makefile (gen-ldd): Fix pattern.
65417         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
65418         (init_tls): Likewise.
65420 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
65422         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
65424 2011-09-12  Andreas Schwab  <schwab@redhat.com>
65426         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
65427         `struct cmsghdr *' instead of `void *'.
65428         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
65429         Likewise.
65431 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
65433         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
65434         if non-absolute.
65435         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
65436         ldd_rewrite_script.
65438 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
65440         * configure.in: Remove --with-tls option.
65441         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
65442         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
65443         out in case it is missing.
65444         * sysdeps/ia64/elf/configure.in: Likewise.
65445         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
65446         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
65447         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
65448         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
65449         * sysdeps/sh/elf/configure.in: Likewise.
65450         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
65451         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65452         * sysdeps/x86_64/elf/configure.in: Likewise.
65453         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
65454         * sysdeps/mach/hurd/tls.h: Likewise.
65456         [BZ #13067]
65457         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
65459         [BZ #13090]
65460         * configure.in: Fix use of AC_INIT.
65462         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
65464 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
65466         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
65467         __set_errno.
65468         * malloc/hooks.c: Likewise.
65470         [BZ #11929]
65471         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
65472         variables statically.
65473         (narenas): Initialize.
65474         (list_lock): Initialize.
65475         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
65476         initializtion of main_arena and list_lock.  Small cleanups.
65477         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
65478         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
65479         Add initializers to main_arena and mp_.
65480         (malloc_state): Remove pagesize member.  Change all users to use
65481         GLRO(dl_pagesize).
65483         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
65484         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
65485         is always initialized.
65487         * malloc/malloc.c: Removed unused configurations and dead code.
65488         * malloc/arena.c: Likewise.
65489         * malloc/hooks.c: Likewise.
65490         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
65492         * include/tls.h: Removed.  USE___THREAD must always be defined.
65493         * bits/libc-tsd.h: Don't handle !USE___THREAD.
65494         * elf/dl-libc.c: Likewise.
65495         * elf/dl-tsd.c: Likewise.
65496         * include/errno.h: Likewise.
65497         * include/netdb.h: Likewise.
65498         * include/resolv.h: Likewise.
65499         * inet/herrno-loc.c: Likewise.
65500         * inet/herrno.c: Likewise.
65501         * malloc/arena.c: Likewise.
65502         * malloc/hooks.c: Likewise.
65503         * malloc/malloc.c: Likewise.
65504         * resolv/res-state.c: Likewise.
65505         * resolv/res_libc.c: Likewise.
65506         * sysdeps/i386/dl-machine.h: Likewise.
65507         * sysdeps/ia64/dl-machine.h: Likewise.
65508         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
65509         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65510         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
65511         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
65512         * sysdeps/sh/dl-machine.h: Likewise.
65513         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
65514         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
65515         * sysdeps/unix/i386/sysdep.S: Likewise.
65516         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
65517         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
65518         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
65519         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
65520         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
65521         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
65522         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
65523         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
65524         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65525         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
65526         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65527         * sysdeps/x86_64/dl-machine.h: Likewise.
65528         * tls.make.c: Likewise.
65530         * configure.in: Remove --with-__thread option.  Make tests for
65531         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
65532         tls_model attribute fail if no support is available.  Remove
65533         USE_IN_LIBIO.
65534         * Makeconfig: Adjust for dropped configure option.  All features are
65535         now mandatory.
65536         * Makerules: Likewise.
65537         * Versions.def: Likewise.
65538         * argp/argp-fmtstream.c: Likewise.
65539         * argp/argp-fmtstream.h: Likewise.
65540         * argp/argp-help.c: Likewise.
65541         * assert/assert.c: Likewise.
65542         * config.h.in: Likewise.
65543         * config.make.in: Likewise.
65544         * configure: Likewise.
65545         * configure.in: Likewise.
65546         * csu/Versions: Likewise.
65547         * csu/init.c: Likewise.
65548         * elf/tst-audit2.c: Likewise.
65549         * elf/tst-tls10.c: Likewise.
65550         * elf/tst-tls10.h: Likewise.
65551         * elf/tst-tls11.c: Likewise.
65552         * elf/tst-tls12.c: Likewise.
65553         * elf/tst-tls14.c: Likewise.
65554         * elf/tst-tlsmod11.c: Likewise.
65555         * elf/tst-tlsmod12.c: Likewise.
65556         * elf/tst-tlsmod13.c: Likewise.
65557         * elf/tst-tlsmod13a.c: Likewise.
65558         * elf/tst-tlsmod14a.c: Likewise.
65559         * elf/tst-tlsmod15b.c: Likewise.
65560         * elf/tst-tlsmod16a.c: Likewise.
65561         * elf/tst-tlsmod16b.c: Likewise.
65562         * elf/tst-tlsmod7.c: Likewise.
65563         * elf/tst-tlsmod8.c: Likewise.
65564         * elf/tst-tlsmod9.c: Likewise.
65565         * gmon/gmon.c: Likewise.
65566         * grp/fgetgrent_r.c: Likewise.
65567         * grp/putgrent.c: Likewise.
65568         * hurd/fopenport.c: Likewise.
65569         * include/libc-symbols.h: Likewise.
65570         * include/tls.h: Likewise.
65571         * intl/gettextP.h: Likewise.
65572         * intl/loadinfo.h: Likewise.
65573         * locale/global-locale.c: Likewise.
65574         * locale/localeinfo.h: Likewise.
65575         * mach/devstream.c: Likewise.
65576         * malloc/arena.c: Likewise.
65577         * malloc/set-freeres.c: Likewise.
65578         * misc/err.c: Likewise.
65579         * misc/getttyent.c: Likewise.
65580         * misc/mntent_r.c: Likewise.
65581         * posix/getopt.c: Likewise.
65582         * posix/wordexp.c: Likewise.
65583         * pwd/fgetpwent_r.c: Likewise.
65584         * resolv/Versions: Likewise.
65585         * resolv/res_hconf.c: Likewise.
65586         * shadow/fgetspent_r.c: Likewise.
65587         * shadow/putspent.c: Likewise.
65588         * stdio-common/printf_fphex.c: Likewise.
65589         * stdio-common/tmpfile.c: Likewise.
65590         * stdlib/abort.c: Likewise.
65591         * stdlib/fmtmsg.c: Likewise.
65592         * sunrpc/auth_unix.c: Likewise.
65593         * sunrpc/clnt_perr.c: Likewise.
65594         * sunrpc/clnt_tcp.c: Likewise.
65595         * sunrpc/clnt_udp.c: Likewise.
65596         * sunrpc/clnt_unix.c: Likewise.
65597         * sunrpc/openchild.c: Likewise.
65598         * sunrpc/svc_simple.c: Likewise.
65599         * sunrpc/svc_tcp.c: Likewise.
65600         * sunrpc/svc_udp.c: Likewise.
65601         * sunrpc/svc_unix.c: Likewise.
65602         * sunrpc/xdr.c: Likewise.
65603         * sunrpc/xdr_array.c: Likewise.
65604         * sunrpc/xdr_rec.c: Likewise.
65605         * sunrpc/xdr_ref.c: Likewise.
65606         * sunrpc/xdr_stdio.c: Likewise.
65608 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65610         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65612 2011-07-03  Andreas Jaeger  <aj@suse.de>
65614         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
65615         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
65616         regenerate with gen-libm-tests.pl.
65618 2010-05-12  Petr Baudis  <pasky@suse.cz>
65620         [BZ #11589]
65621         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
65622         around j0() zero points by switching to j1().
65623         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65624         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65625         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65626         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65628 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65630         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
65631         instead of 0.
65632         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
65633         instead of 0.
65634         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65635         Patch in part by Pavel Roskin <proski@gnu.org>.
65637         [BZ #13138]
65638         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
65639         realloc.
65640         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
65641         Free memory block if necessary.
65643         [BZ #12847]
65644         * libio/genops.c (INTDEF): For string streams the _lock pointer can
65645         be NULL.  Don't lock in this case.
65647 2011-09-09  Roland McGrath  <roland@hack.frob.com>
65649         * elf/elf.h (ELFOSABI_GNU): New macro.
65650         (ELFOSABI_LINUX): Define to that.
65652 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
65654         * string/strncat.c (strncat): Undef the symbol in case it has been
65655         defined in bits/string.h.
65657 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65659         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
65661         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
65662         link map.
65664 2011-08-17  Andreas Jaeger  <aj@suse.de>
65666         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
65668 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
65669             Ian Lance Taylor  <iant@google.com>
65671         * math/libm-test.inc (lround_test): New testcase.
65672         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
65674 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
65676         * Makefile: Remove support for automatic cvs check-ins.
65677         * Makerules: Likewise.
65678         * config.make.in: Likewise.
65679         * configure.in: Likewise.
65680         * intl/Makefile: Likewise.
65681         * locale/Makefile: Likewise.
65682         * po/Makefile: Likewise.
65683         * posix/Makefile: Likewise.
65684         * sysdeps/gnu/Makefile: Likewise.
65685         * sysdeps/mach/hurd/Makefile: Likewise.
65686         * sysdeps/sparc/sparc32/Makefile: Likewise.
65688         [BZ #13118]
65689         * posix/Makefile (bug-regex32-ENV): Define.
65690         Patch by John Stanley <jpsinthemix@verizon.net>.
65692         * misc/Makefile (headers): Add bits/select2.h.
65693         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
65694         * misc/bits/select2.h: New file.
65695         * include/bits/select2.h: New file.
65696         * debug/Makefile (routines): Add fdelt_chk.
65697         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
65698         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
65699         FD_ISSET.
65700         * debug/fdelt_chk.c: New file.
65702         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
65703         * wcsmbs/test-wmemcmp.c: Likewise.
65704         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
65705         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
65707 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65709         * string/Makefile (strop-tests): Add memcmp.
65710         * string/test-wmemcmp.c: New file.
65711         * string/test-memcmp.c: Add wmemcmp support.
65713 2011-09-08  Roland McGrath  <roland@hack.frob.com>
65715         [BZ #13153]
65716         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
65717         2011-07-19 change.
65719         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
65720         garbage value in a __mach_port_mod_refs call in the cases of the
65721         task-self and thread-self ports.
65723 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65725         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
65727 2011-09-08  Andreas Schwab  <schwab@redhat.com>
65729         * elf/dl-load.c (lose): Check for non-null L.
65731 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
65733         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
65735         * elf/dl-libc.c (dlerror_run): Pass back error code from
65736         dl_catch_error.
65738         [BZ #13123]
65739         * elf/dl-load.c (lose): Free l_origin if it is valid.
65741         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
65742         names.
65743         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
65744         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
65745         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65746         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
65747         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
65748         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
65750 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65752         * sysdeps/powerpc/fpu/e_hypot.c: New file.
65753         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
65754         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
65755         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
65756         * sysdeps/powerpc/fpu/k_cosf.c: New file.
65757         * sysdeps/powerpc/fpu/k_sinf.c: New file.
65758         * sysdeps/powerpc/fpu/s_cosf.c: New file.
65759         * sysdeps/powerpc/fpu/s_sinf.c: New file.
65760         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
65761         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
65763 2011-08-15  Alan Modra  <amodra@gmail.com>
65765         [BZ #13092]
65766         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
65767         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
65768         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
65769         ppc_mcount to static-only-routines.
65770         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
65771         __mcount_internal.
65772         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
65773         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
65775 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
65777         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
65778         for finite and infinity parameters.
65780 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65782         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
65783         and add nop instructions for throughput optimization.
65784         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65786 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
65788         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
65789         aligned copy for power7 with vector-scalar instructions.
65790         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
65792 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
65794         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
65795         AVX check.
65797 2011-09-07  Andreas Schwab  <schwab@redhat.com>
65799         [BZ #13144]
65800         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
65801         last change.
65803 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
65805         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65806         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
65807         syscall wrapper around clock_gettime in __vdso_clock_gettime.
65808         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
65809         clock_gettime.
65811 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65813         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
65814         Forgot to demangle the pointer.
65816         * sysdeps/i386/sysdep.h: Define atom_text_section.
65817         * sysdeps/x86_64/sysdep.h: Likewise.
65818         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
65819         section with atom_text_section.
65820         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
65821         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
65822         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
65823         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65824         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
65826         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
65827         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
65828         already be defined.  Change to take two parameters and don't assign
65829         result to variable.  Adjust all users.
65830         Define INTERNAL_GETTIME if not already defined.
65831         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
65832         call.
65833         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
65834         HAVE_CLOCK_GETTIME_VSYSCALL.
65835         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
65837         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
65838         gettimeofday vsyscall, just use time.
65840 2011-09-06  Andreas Schwab  <schwab@redhat.com>
65842         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
65843         <errno.h>.
65845 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65847         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
65848         syscall on x86-64.
65849         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
65850         syscall.
65851         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
65852         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
65853         syscall if possible.
65855 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65857         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
65858         e_ident.  Don't pass to find_mapsXX.
65859         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
65861 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65863         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65864         strchr-sse2-no-bsf strrchr-sse2-no-bsf
65865         * sysdeps/x86_64/multiarch/strchr.S: Update.
65866         Check bit_slow_BSF bit.
65867         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65868         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
65869         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
65871 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65873         [BZ #13134]
65874         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
65875         before glibc 2.15.
65876         (tryshell): Define.
65877         (__spawni): Change last parameter to be flag.  Test
65878         SPAWN_XFLAGS_USE_PATH flag to use path or not.
65879         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
65880         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
65881         * posix/spawni.c: Likewise.
65882         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
65883         * posix/spawnp.c: Likewise.  Change normal version to use
65884         SPAWN_XFLAGS_USE_PATH.
65885         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
65886         SPAWN_XFLAGS_TRY_SHELL.
65888         [BZ #13150]
65889         * posix/glob.h: Remove gcc 1.x support.
65891         [BZ #13068]
65892         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
65894 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65896         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65897         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
65898         strrchr-sse2-bsf
65899         * sysdeps/i386/i686/multiarch/strchr.S: New file.
65900         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
65901         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
65902         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
65903         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
65904         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
65906 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65908         * sysdeps/x86_64/wcscmp.S: New file.
65910         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
65911         wcscmp-c wcscmp-sse2
65912         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
65913         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
65914         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
65915         * wcsmbs/wcscmp.c: Allow renaming.
65917 2011-09-05  David S. Miller  <davem@davemloft.net>
65919         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
65920         stack slot, rather than the struct return pointer slot.
65921         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
65922         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
65923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
65924         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
65926 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65928         * po/ja.po: Update from translation team.
65930         [BZ #13144]
65931         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
65932         kernel in 64-bit binaries.
65934 2011-09-01  David S. Miller  <davem@davemloft.net>
65936         * elf/elf.h (HWCAP_SPARC_*): Move to..
65937         * sysdeps/sparc/sysdep.h: this new file and add new values.
65938         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
65939         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
65940         _DL_HWCAP_COUNT to 24.
65941         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
65942         entries.
65943         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
65944         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
65945         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
65946         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
65947         instead of magic constants.
65948         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65950 2011-08-31  David S. Miller  <davem@davemloft.net>
65952         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
65953         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
65954         Reimplement to do errno handling inline.
65955         (SYSCALL_ERROR_HANDLER): New macro.
65956         (__SYSCALL_STRING): Do not do errno handling in asm.
65957         (__CLONE_SYSCALL_STRING): Delete.
65958         (__INTERNAL_SYSCALL_STRING): Delete.
65959         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
65960         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
65961         (PSEUDO): Reimplement to do errno handling inline.
65962         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
65963         (SYSCALL_ERROR_HANDLER): New macro.
65964         (__SYSCALL_STRING): Do not do errno handling in asm.
65965         (__CLONE_SYSCALL_STRING): Delete.
65966         (__INTERNAL_SYSCALL_STRING): Delete.
65967         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
65968         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
65969         i386.
65970         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
65971         (inline_syscall*): Add 'err' argument.
65972         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
65973         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
65974         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
65975         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
65977         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
65978         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65980 2011-08-30  Andreas Schwab  <schwab@redhat.com>
65982         * elf/rtld.c (dl_main): Relocate objects in dependency order.
65984 2011-08-29  Jiri Olsa <jolsa@redhat.com>
65986         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
65987         directive.
65989 2011-08-24  David S. Miller  <davem@davemloft.net>
65991         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
65993 2011-08-24  Andreas Schwab  <schwab@redhat.com>
65995         * elf/Makefile: Add rules to build and run unload8 test.
65996         * elf/unload8.c: New file.
65997         * elf/unload8mod1.c: New file.
65998         * elf/unload8mod1x.c: New file.
65999         * elf/unload8mod2.c: New file.
66000         * elf/unload8mod3.c: New file.
66002         * elf/dl-close.c (_dl_close_worker): Reset private search list if
66003         it wasn't used.
66005 2011-08-23  David S. Miller  <davem@davemloft.net>
66007         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
66008         subtract stack bias.
66009         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
66010         %sp not %fp in calculations.
66011         (_JMPBUF_UNWINDS_ADJ): Likewise.
66013         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
66014         (aio_suspend): Call it to force an exception region around the
66015         AIO_MISC_WAIT() invocation.
66017 2011-08-23  Andreas Schwab  <schwab@redhat.com>
66019         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
66020         backslash.
66022 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
66024         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
66025         protection macro.
66026         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
66027         and <dl-machine.h>.
66028         (Elf64_FuncDesc): Remove.
66030 2011-08-22  David S. Miller  <davem@davemloft.net>
66032         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
66033         sigaltstack check, add missing cfi directives.
66034         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
66035         missing cfi directives, and sigaltstack handling.
66037 2011-08-16  Andreas Schwab  <schwab@redhat.com>
66039         [BZ #11724]
66040         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
66041         object is seen twice.
66042         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66044         * elf/Makefile (distribute): Add tst-initorder2.c.
66045         (tests): Add tst-initorder2.
66046         (modules-names): Add tst-initorder2a tst-initorder2b
66047         tst-initorder2c tst-initorder2d.  Add rules to build them.
66048         ($(objpfx)tst-initorder2.out): New rule.
66049         * elf/tst-initorder2.c: New file.
66050         * elf/tst-initorder2.exp: New file.
66052 2011-08-22  Andreas Schwab  <schwab@redhat.com>
66054         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
66056         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
66057         dependencies back to end of function.
66059         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66060         $(elfobjdir)/ld.so.
66062 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
66064         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
66065         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
66066         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
66067         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
66068         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
66069         of __vdso_gettimeofday.
66070         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
66071         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
66072         attribute_hidden.
66073         (_libc_vdso_platform_setup): Remove initialization of
66074         __vdso_gettimeofday and __vdso_time.
66076 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66078         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
66079         and fgetc_unlocked.
66080         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
66081         getc_unlocked.
66083         * elf/dl-open.c (add_to_global): Report additions to the global scope
66084         for LD_DEBUG=scopes.
66085         (dl_open_worker): Also print scope of newly loaded dependencies.
66086         (_dl_show_scope): Indicate if there is no scope.
66088         [BZ #13114]
66089         * stdio-common/Makefile (tests): Add bug24.
66090         * stdio-common/bug24.c: New file.
66092 2011-08-19  Andreas Jaeger  <aj@suse.de>
66094         [BZ #13114]
66095         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
66096         non-existant file when using close-on-exec mode.
66098 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66100         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
66101         the very first instruction.
66103         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
66104         the CFI state in the end.
66105         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
66106         inclusion of dl-trampoline.h.
66107         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
66109 2011-08-19  Andreas Schwab  <schwab@redhat.com>
66111         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
66112         expectations for long double.
66114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
66115         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
66117 2011-08-14  David S. Miller  <davem@davemloft.net>
66119         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
66120         artificual limit depends upon the system page size.
66122 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66124         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
66125         * resolv/Makefile: Define CFLAGS-libresolv.
66127 2011-08-17  Andreas Schwab  <schwab@redhat.com>
66129         * nss/makedb.c (compute_tables): Make variables used in nested
66130         function static.
66132 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66134         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
66135         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
66136         if buffer was too small.
66138         * elf/pldd.c (main): Attach to all threads in the process.
66139         Rewrite /proc handling to use *at functions.
66141 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
66143         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
66144         specifies first scope to show.
66145         (dl_open_worker): Update callers.  Move printing scope of new
66146         object to before the relocation.
66147         * elf/rtld.c (dl_main): Update _dl_show_scope call.
66148         * sysdeps/generic/ldsodefs.h: Update declaration.
66150         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
66151         string for the scope number.
66153 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
66155         * nscd/servicescache.c (cache_addserv): Make sure written is always
66156         initialized.
66158 2011-08-14  Roland McGrath  <roland@hack.frob.com>
66160         * sysdeps/i386/i486/bits/atomic.h
66161         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
66162         statement expression, so as to suppress "set but not used" warning.
66163         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
66165         * string/strncat.c (STRNCAT): Use prototype definition.
66167         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
66168         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
66169         -Iprograms here.
66170         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
66171         (localedef-modules): Add localedef.
66172         (locale-modules): Add locale.
66174         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
66175         * elf/rtld.c (dl_main): Invert order of assignment in last change,
66176         to avoid a warning.
66178 2011-08-14  David S. Miller  <davem@davemloft.net>
66180         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
66181         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
66183 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
66185         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
66186         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
66187         * elf/rtld.c (dl_main): Set l_name of vDSO.
66188         Call _dl_show_scope when DL_DEBUG_SCOPES.
66189         (process_dl_debug): Recognize scopes flag and also set it for all.
66190         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
66191         Declare _dl_show_scope.
66193         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
66194         (do_dlopen): Pass caller_dlopen to dl_open.
66195         (__libc_dlopen_mode): Initialize caller_dlopen.
66197         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
66198         of libc.  Make tolower call locale-independent.  Optimize a bit by
66199         using isdigit instead of isalnum.
66200         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
66202 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
66204         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
66205         was a dependency or dynamically loaded.
66207 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
66209         * intl/l10nflist.c: Allow architecture-specific pop function.
66210         * sysdeps/x86_64/l10nflist.c: New file.
66212         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
66213         classification.
66215 2011-08-10  Andreas Schwab  <schwab@redhat.com>
66217         * include/dirent.h: Add libc_hidden_proto for scandirat and
66218         scandirat64.  Don't declare __scandirat64.
66219         * dirent/scandirat.c: Add libc_hidden_def.
66220         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
66221         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
66223 2011-08-10  David S. Miller  <davem@davemloft.net>
66225         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
66226         enum.
66227         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66228         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66229         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66231 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
66233         * Versions.def [libc]: Add GLIBC_2.15.
66234         * dirent/Makefile (routines): Add scandirat and scandirat64.
66235         * dirent/Versions [libc]: Export scandirat and scandirat64 for
66236         GLIBC_2.15.
66237         * dirent/dirent.h: Declare scandirat and scandirat64.
66238         * dirent/scandirat.c: New file.
66239         * dirent/scandirat64.c: New file.
66240         * sysdeps/wordsize-64/scandirat.c: New file.
66241         * sysdeps/wordsize-64/scandirat64.c: New file.
66242         * dirent/opendir.c: Define opendirat.
66243         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
66244         using scandirat.
66245         * dirent/scandir64.c: Adjust for scandir.c change.
66246         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
66247         __scandirat64, and __scandir_cancel_handler.
66248         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
66249         additional parameter and use openat instead of open (outside of ld.so).
66250         Add new __opendir as wrapper around __opendirat.
66251         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
66252         here without requiring old scandirat implementation.
66254 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
66256         * dirent/scandir.c (cancel_handler): Renamed to
66257         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
66258         defined.  Adjust users.
66259         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
66260         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
66262 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
66264         * string/test-string.h (IMPL): Use __STRING to expand name and then
66265         stringify it.
66267         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
66268         of cleanups.
66270 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66272         * string/Makefile: Update.
66273         (strop-tests): Append strncat.
66274         * string/test-wcscmp.c: New file.
66275         New comprehensive test for wcscmp.
66276         * string/test-strcmp.c: Update.
66277         (WIDE): New define.
66279 2011-07-22  Andreas Schwab  <schwab@redhat.com>
66281         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
66282         line.
66284 2011-07-26  Andreas Schwab  <schwab@redhat.com>
66286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66287         encoding to ACE if AI_IDN.
66289 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
66291         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
66292         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
66294 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66296         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
66297         Fix overflow bug in strncat.
66298         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
66300         * string/test-strncat.c: Update.
66301         Add new tests for checking overflow bugs.
66303 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66305         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66306         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
66307         * sysdeps/i386/i686/multiarch/strcat.S: New file.
66308         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
66309         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
66310         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
66311         * sysdeps/i386/i686/multiarch/strncat.S: New file.
66312         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
66313         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
66315         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
66316         (USE_AS_STRCAT): Define.
66317         Add strcat and strncat support.
66318         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66320 2011-07-25  Andreas Schwab  <schwab@redhat.com>
66322         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
66323         __n bigger than INT_MAX+1.
66324         (__strncmp_g): Likewise.
66326 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
66328         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
66329         * libio/stido.h: Likewise.
66331         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
66332         (AF_NFC): Define.
66333         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
66334         (AF_NFC): Define.
66336         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
66337         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66338         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66339         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
66340         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66342         [BZ #13021]
66343         * scripts/test-installation.pl: Don't expect libnss_test1 to be
66344         installed.
66346         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
66347         typo.
66348         (_dl_x86_64_save_sse): Likewise.
66350 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
66352         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
66353         OSXSAVE.
66354         (_dl_x86_64_save_sse): Likewise.
66356         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
66358         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
66360 2011-07-21  Andreas Schwab  <schwab@redhat.com>
66362         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
66363         change.
66364         (_dl_x86_64_save_sse): Use correct AVX check.
66366 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66368         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
66369         bug in strncpy/strncat.
66370         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
66372 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
66374         * string/tester.c (test_strcat): Add tests for different alignments
66375         of source and destination.
66376         (test_strncat): Likewise.
66378 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66380         [BZ #12852]
66381         * posix/glob.c (glob): Check passed in values before using them in
66382         expressions to avoid some overflows.
66383         (glob_in_dir): Likewise.
66385         [BZ #13007]
66386         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
66387         check for AVX enablement so that we don't crash with old kernels and
66388         new hardware.
66389         * elf/tst-audit4.c: Add same checks here.
66390         * elf/tst-audit6.c: Likewise.
66392         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
66394 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
66396         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
66398 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66400         * po/cs.po: Update from translation team.
66401         * po/bg.po: Likewise.
66403 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
66405         * misc/sys/cdefs.h: Add support for const attribute.
66406         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
66407         to gnu_dev_{major,minor,makedev} functions.
66409 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
66411         * intl/dcigettext.c (get_output_charset): Add missing bracket.
66413 2011-07-20  Andreas Schwab  <schwab@redhat.com>
66415         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
66416         strlen results.
66418 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66420         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
66421         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
66422         register in order to avoid conflicts with the soft frame pointer
66423         being held in r11 when necessary.
66424         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
66425         (INTERNAL_VSYSCALL_NCS): Likewise.
66427 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
66429         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
66430         * elf/dl-fini.c (_dl_fini): Adjust caller.
66431         * elf/dl-close.c (_dl_close_worker): Likewise.
66432         * sysdeps/generic/ldsodefs.h: Adjust declaration.
66434 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66436         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
66437         "aux_cache->nlibs < 0".
66439         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
66440         in the reload-count case.
66442 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66445         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
66446         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
66447         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
66448         * sysdeps/x86_64/multiarch/strcat.S: New file.
66449         * sysdeps/x86_64/multiarch/strncat.S: New file.
66450         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
66451         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
66452         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
66453         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
66454         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
66455         (USE_AS_STRCAT): Define.
66456         Add strcat and strncat support.
66457         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66458         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
66459         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
66460         * string/strncat.c: Update.
66461         (USE_AS_STRNCAT): Define.
66462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66463         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
66464         and i7.
66465         * sysdeps/x86_64/multiarch/init-arch.h
66466         (bit_Prefer_PMINUB_for_stringop): New.
66467         (index_Prefer_PMINUB_for_stringop): Likewise.
66468         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
66469         bit_Prefer_PMINUB_for_stringop.
66471 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
66473         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
66474         buffer64.
66475         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
66476         of casting of buffer.
66477         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
66478         buffer32 and buffer64.
66479         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
66480         writes instead of casting of buffer.
66481         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
66482         buffer32.
66483         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
66484         casting of buffer.
66486 2011-07-19  Andreas Schwab  <schwab@redhat.com>
66488         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
66490 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
66492         * nscd/nscd.c (termination_handler): Don't do anything for a database
66493         if it has not yet been initialized.
66495 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
66497         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
66499 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66501         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
66503 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
66505         * po/nl.po: Update from translation team.
66506         * po/sv.po: Likewise.
66508 2011-07-16  Roland McGrath  <roland@hack.frob.com>
66510         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
66511         now disallowed by GCC.
66513         * configure.in (use-default-link): Default to yes if a test -shared
66514         link meets our qualifications.
66515         * configure: Regenerated.
66517         * config.make.in (output-format): New variable.
66518         * configure.in: Check for ld --print-output-format support.
66519         * configure: Regenerated.
66520         * Makerules ($(common-objpfx)format.lds)
66521         [$(output-format) != unknown]: Just use $(output-format),
66522         instead of the linker-script munging.
66524 2011-07-14  Roland McGrath  <roland@hack.frob.com>
66526         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
66527         of $(common-objpfx)shlib.lds.
66528         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
66530         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
66531         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
66533         * configure.in (-z relro check): Adjust test code to add a large
66534         writable data section after it.
66535         * configure: Regenerated.
66537 2011-07-11  Roland McGrath  <roland@hack.frob.com>
66539         * configure.in (-z relro check): Fix test code to make the variable
66540         truly const.
66541         * configure: Regenerated.
66543 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
66545         * nscd/nscd.h (struct traced_file): Define.
66546         (struct database_dyn): Remove inotify_descr, reset_res, and filename
66547         elements.  Add traced_files.
66548         (inotify_fd): Declare.
66549         (register_traced_file): Declare.
66550         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
66551         (inotify_fd): Export.
66552         (resolv_conf_descr): Remove.
66553         (nscd_init): Move inotify descriptor creation to main.
66554         Don't register files for notification here.
66555         (register_traced_file): New function.
66556         (invalidate_cache): Don't use reset_res to determine whether to call
66557         res_init, go through the list of registered files.
66558         (main_loop_poll): The inotify descriptors are now stored in the
66559         structures for the traced files.
66560         (main_loop_epoll): Likewise
66561         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
66562         to __nss_disable_nscd.
66563         * nscd/cache.c (prune_cache): There is no single inotify descriptor
66564         for a database anymore.  Check the records for all the registered
66565         files instead.
66566         * nss/Makefile (libnss_files-routines): Add files-init.
66567         (libnss_db-routines): Add db-init.
66568         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
66569         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
66570         * nss/nss_db/db-init.c: New file.
66571         * nss/nss_files/files-init.c: New file.
66572         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
66573         __nss_lookup_function.
66574         (__nss_lookup_function): Call nss_load_library.
66575         (nss_load_all_libraries): New function.
66576         (__nss_disable_nscd): Take parameter with callback function for files
66577         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
66578         used for the cached services.
66579         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
66580         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
66581         options for features to all the files in nscd.
66583         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
66585 2011-07-10  Roland McGrath  <roland@hack.frob.com>
66587         * csu/elf-init.c (__libc_csu_init): Comment typo.
66589 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
66591         * po/pl.po: Update from translation team.
66592         * po/ja.po: Likewise.
66593         * po/ru.po: Likewise.
66594         * po/ko.po: Likewise.
66595         * po/fr.po: Likewise.
66597 2011-07-09  Roland McGrath  <roland@hack.frob.com>
66599         * configure.in (.ctors/.dtors header and trailer check):
66600         Use an empirical test on a built program.
66601         * configure: Regenerated.
66603         * configure.in (-z relro check): Use an empirical test on a built DSO.
66604         Detect, but do not require, on ia64.
66605         * configure: Regenerated.
66607         * configure.in (READELF): Find it with AC_CHECK_TOOL.
66608         Update tests that use readelf to use $READELF instead.
66609         * configure: Regenerated.
66611 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
66613         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
66614         if the result is not used.
66616 2011-07-05  Andreas Jaeger  <aj@suse.de>
66618         [BZ#9696]
66619         * stdlib/tst-strtod.c: Add testcase.
66621 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
66623         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
66624         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
66625         The latter has a higher limit.  Take additional parameter to pass to
66626         the new function.
66627         (__pathconf): Pass file to __statfs_link_max.
66628         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
66629         __statfs_link_max.
66630         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
66631         __statfs_link_max.
66633         [BZ #12868]
66634         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
66635         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66636         Handle Lustre.
66637         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
66638         (__statfs_filesize_max): Likewise.
66639         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
66641 2011-07-05  Andreas Jaeger  <aj@suse.de>
66643         * resolv/res_comp.c (dn_skipname): Remove unused variable.
66645 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
66647         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
66648         `status' variable.
66649         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
66650         Likewise.
66652 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
66654         * Makefile (strop-tests): Add strncat.
66655         * string/test-strncat.c: New file.
66657 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
66659         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
66661 2011-06-21  Andreas Jaeger  <aj@suse.de>
66663         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
66664         Copy rule from iconvdata/Makefile.
66666 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
66668         [BZ #12922]
66669         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
66670         but no long options are defined, just return 'W'.
66672 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
66674         [BZ #9696]
66675         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
66677 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
66679         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
66680         netgroups to read.
66681         (innetgr): Likewise.
66683 2011-07-05  Roland McGrath  <roland@hack.frob.com>
66685         * config.make.in (install_root): Default to $(DESTDIR).
66687 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
66689         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
66691 2011-07-02  Roland McGrath  <roland@hack.frob.com>
66693         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
66695         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
66696         containing directory rather than embedding absolute directory names.
66698         * scripts/check-local-headers.sh: Rewritten using awk.
66699         Match by word, not by line.  Print error messages for matches.
66700         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
66702         * Makerules [shlib-lds-flags empty]:
66703         ($(common-objpfx)libc_pic.opts): New target.
66704         ($(common-objpfx)libc_pic.os.clean): New target.
66705         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
66707         * config.make.in (OBJCOPY): New variable.
66708         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
66709         * configure: Regenerated.
66711         * config.make.in (use-default-link): New variable.
66712         * configure.in (use_default_link): Grok --with-default-link to set it.
66713         * configure: Regenerated.
66714         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
66715         (shlib-lds, shlib-lds-flags): Define to empty.
66717         * Makerules (shlib-lds): New variable.
66718         (shlib-lds-flags): New variable.
66719         (build-shlib, build-moduile, build-module-asneeded): Use it.
66720         ($(common-objpfx)libc.so): Use $(shlib-lds).
66721         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
66722         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
66724         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
66725         DT_FLAGS/DT_FLAGS_1 with zero flags.
66727         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
66728         linker script munging.
66730 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
66732         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
66733         as 128-bit value.
66734         * crypt/sha512.c (sha512_process_block): Perform total addition using
66735         128-bit if possible.
66736         (__sha512_finish_ctx): Likewise.
66737         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
66738         as 64-bit value.
66739         * crypt/sha256.c (SWAP64): Define.
66740         (sha256_process_block): Perform total addition using 64-bit if
66741         possible.
66742         (__sha256_finish_ctx): Likewise.
66744 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
66746         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
66747         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66748         * nscd/hstcache.c (cache_addhst): Likewise.
66749         * nscd/grpcache.c (cache_addgr): Likewise.
66750         * nscd/aicache.c (addhstaiX): Likewise
66751         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
66753 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
66755         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
66756         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66757         * nscd/hstcache.c (cache_addhst): Likewise.
66758         * nscd/grpcache.c (cache_addgr): Likewise.
66759         * nscd/aicache.c (addhstaiX): Likewise
66761 2011-07-01  Andreas Schwab  <schwab@redhat.com>
66763         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
66764         domain only when needed.
66766 2011-06-30  Andreas Schwab  <schwab@redhat.com>
66768         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
66769         is always restored.
66771 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
66773         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
66774         are re-adding the entry.
66775         * nscd/servicescache.c (cache_addserv): Likewise.
66777 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
66779         * sysdeps/generic/dl-irel.h: fix protection against multiple
66780         inclusions.
66781         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
66783 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
66785         [BZ #12935]
66786         * malloc/memusage.sh: Fix quoting in message.
66787         * debug/xtrace.sh: Likewise.
66789         * configure.in: Remove support for --experimental-malloc option, make
66790         it the default.
66791         * config.make.in: Likewise.
66792         * malloc/Makefile: Likewise.
66794 2011-06-27  Andreas Schwab  <schwab@redhat.com>
66796         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
66797         two-byte characters.
66799 2011-06-27  Roland McGrath  <roland@hack.frob.com>
66801         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
66802         AC_CACHE_CHECK invocation.
66803         * configure: Regenerated.
66805         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
66807 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
66809         [BZ #12350]
66810         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
66811         bit from old_res_options.
66813         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
66815         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
66816         value type for setfct.
66818 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
66820         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66821         __gettimeofday instead of gettimeofday.
66823 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
66825         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
66827 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
66829         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
66831         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
66832         info.
66834 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66837         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66838         strcpy-sse2-unaligned strncpy-sse2-unaligned
66839         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
66840         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
66841         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
66842         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
66843         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
66844         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
66845         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
66846         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
66847         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
66848         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
66849         (STRCPY): Support SSE2 and SSSE3 versions.
66851 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
66853         [BZ #12874]
66854         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
66855         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
66856         kernels which artificially limit size of requests.
66858 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66860         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66861         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66862         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
66863         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
66864         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
66865         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
66866         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
66867         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
66868         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
66869         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
66870         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
66871         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
66872         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
66873         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
66874         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
66875         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66876         Enable unaligned load optimization for Intel Core i3, i5 and i7
66877         processors.
66878         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
66879         Define.
66880         (index_Fast_Unaligned_Load): Define.
66881         (HAS_FAST_UNALIGNED_LOAD): Define.
66883 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
66885         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
66887 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66889         [BZ #12907]
66890         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
66891         until it is clear that the information is realy needed.
66892         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
66894 2011-06-22  Andreas Schwab  <schwab@redhat.com>
66896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
66898 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66900         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66901         /sys/devices/system/cpu/online if it is usable.
66903         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
66904         reading the information from the /proc filesystem to once a second.
66906 2011-06-21  Andreas Jaeger  <aj@suse.de>
66908         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
66909         NULL after inclusion of kernel headers.
66911 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
66913         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
66914         calls to internal_setent.
66916         [BZ #12885]
66917         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
66918         addresses using gethostbyname4_r ignore IPv4 addresses.
66920         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
66921         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
66923         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
66925 2011-06-20  David S. Miller  <davem@davemloft.net>
66927         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
66928         inclusions.
66929         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
66931         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
66932         (elf_irel): Use it.
66933         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
66934         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
66935         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
66936         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
66937         * sysdeps/x86_64/dl-irel.h: Likewise.
66939         * elf/dl-runtime.c: Use elf_ifunc_invoke.
66940         * elf/dl-sym.c: Likewise.
66942 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66944         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
66945         need to dereference resplen2.
66947 2011-06-14  Andreas Schwab  <schwab@redhat.com>
66949         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
66951 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66953         * Makeconfig: Define vardbdir and inst_vardbdir.
66954         * nss/Makefile: Add rules to install db-Makefile.
66956         * nss/nss_db/db-XXX.c: Cleanup.
66958         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
66959         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
66960         GLIBC_PRIVATE.
66961         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
66962         * nss/makedb.c: Implement -g option to specify that value strings
66963         are generated and should not be added to table iterated over for
66964         get*ent calls.
66965         * nss/nss_db/db-initgroups.c: New file.
66967         * nss/getent.c: Add support for initgroups lookups through getgrouplist
66968         interface.
66970         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
66971         (internal_getgrouplist): Adjust to name change.
66972         Update use_initgroups_entry if this is not the first call.
66973         * nss/databases.def: Add initgroups entry.
66975         * nss/makedb.c (compute_tables): Check result of multiple hash table
66976         sizes to minimize maximum chain length.
66978 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
66980         * Versions.def: Add entry for libnss_db.
66981         * shlib-versions: Likewise.
66982         * nss/Makefile: Add rules to build libnss_db.
66983         * nss/Versions: Add libnss_db information.  Organize libnss_files
66984         entries better.
66985         * nss/db-Makefile: Add gshadow support.  Change rules for the new
66986         makedb progra.  Some minor improvements to generate smaller files.
66987         * nss/nss_db/nss_db.h: Move NSS database header data structures to
66988         here from...
66989         * nss/makedb.c: ...here.
66990         Improve database format to be smaller and require less memory at
66991         runtime.
66992         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
66993         db anymore.
66994         * nss/nss_db/db-netgrp.c: Likewise.
66995         * nss/nss_db/db-open.c: Likewise.
66996         * nss/nss_files/flies-XXX.x: Adjust comments.
66997         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
66998         * nss/nss_files/files-grp.c: Likewise.
66999         * nss/nss_files/files-hosts.c: Likewise.
67000         * nss/nss_files/files-network.c: Likewise.
67001         * nss/nss_files/files-proto.c: Likewise.
67002         * nss/nss_files/files-pwd.c: Likewise.
67003         * nss/nss_files/files-rpc.c: Likewise.
67004         * nss/nss_files/files-service.c: Likewise.
67005         * nss/nss_files/files-sgrp.c: Likewise.
67006         * nss/nss_files/files-spwd.c: Likewise.
67007         * nss/nss_db/db-alias.c: Removed.
67008         * nss/nss_db/dummy-db.h: Removed.
67010 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
67012         * nss/makedb.c: Rewritten to not use database library.
67013         * nss/Makefile: Update to build new makedb program.
67015 2011-06-14  Andreas Jaeger  <aj@suse.de>
67017         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
67018         memset declaration.
67020 2011-06-10  Andreas Schwab  <schwab@redhat.com>
67022         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
67023         tmpbuf.
67025 2011-06-10  Roland McGrath  <roland@hack.frob.com>
67027         * Makerules (shlib.lds): Fail if the linker script comes out empty.
67028         * elf/Makefile ($(objpfx)ld.so): Likewise.
67030         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
67031         Don't list ld.so twice in dependencies.
67033         * posix/bug-regex31.c: Include <stdlib.h>.
67035         * nscd/hstcache.c (cache_addhst): Remove unused variable.
67037         * nis/nss_compat/compat-spwd.c
67038         (getspent_next_nss_netgr): Remove unused variable.
67039         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
67041         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
67042         nonmembers" output to use the right array.
67044         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
67046         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
67048         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
67049         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
67050         * catgets/gencat.c (read_input_file): Likewise.
67051         * locale/programs/locarchive.c (enlarge_archive): Likewise.
67053         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
67054         variable definition inside #if's controlling its use.
67056         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
67058         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
67060         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
67062         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
67063         unreachable code.
67065         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
67067         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
67068         * configure: Regenerated.
67070         * Makerules: Revert last change.
67071         * elf/Makefile: Likewise.
67073 2011-06-09  Roland McGrath  <roland@hack.frob.com>
67075         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
67076         * elf/Makefile ($(objpfx)librtld.os): Likewise.
67077         (reloc-link): Likewise.
67079 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
67081         * elf/Makefile: Add rules to build pldd.
67082         * elf/pldd.c: New file.
67083         * elf/pldd-xx.c: New file.
67085 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
67087         * version.h: Update for 2.15 development version.
67089 2011-06-07  David S. Miller  <davem@davemloft.net>
67091         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
67092         ifuncs.
67093         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
67094         elf_machine_lazy_rel): Likewise.
67095         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
67096         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
67097         elf_machine_lazy_rel): Likewise.
67098         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
67099         dl_hwcap via passed in argument.
67100         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
67101         Likewise.
67103 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67105         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
67107 2011-06-06  Roland McGrath  <roland@hack.frob.com>
67109         [BZ #12849]
67110         * manual/fdl-1.1.texi: New file, verbatim from:
67111         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
67112         * manual/lgpl-2.1.texi: New file, verbatim from:
67113         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
67114         * manual/Makefile (licenses): New variable, list those new file names.
67115         (texis): Use it.
67116         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
67118         * manual/fdl.texi: File removed.
67119         * manual/lesser.texi: File removed.
67120         * manual/libc.texinfo (Copying, Documentation License):
67121         Use new @include file names, put @appendix directive before @include.
67123 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
67125         [BZ #12841]
67126         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
67127         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
67128         (mq_open): Add __NTH.
67130 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
67132         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67133         Assume Intel Core i3/i5/i7 processor if AVX is available.
67135 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67137         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67138         typo.
67140 2011-05-31  Andreas Schwab  <schwab@redhat.com>
67142         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
67143         memory.  Use alloca_account.  Fix memory leak when retrying.
67145 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67147         * version.h (RELEASE): Bump for 2.14 release.
67148         * include/features.h (__GLIBC_MINOR__): Bump to 14.
67150         * config.make.in (RANLIB): Remove entry.
67152 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
67154         * po/Makefile (po-sed-cmd): Add ksh to extensions.
67155         (libc.pot): Work around missing support for .ksh extension in xgettext.
67157         [BZ #12684]
67158         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
67159         if both request failed.
67160         (send_dg): In case of server errors clear resplen or *resplen2.
67162         [BZ #12454]
67163         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
67164         when there are multiple maps.
67165         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
67166         (_dl_fini): Remove test here.
67168         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
67170 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
67172         [BZ #12350]
67173         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
67174         bit from old_res_options.
67175         (gaih_inet): Likewise.
67177         [BZ #11099]
67178         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
67179         as signed.
67181         * resolv/res_init.c (res_setoptions): Make the code more compact.
67183         [BZ #11558]
67184         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
67185         set RES_USEVC.
67187         [BZ #11634]
67188         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
67190         * malloc/malloc.h: Mark malloc hook variables as deprecated.
67192         [BZ #11781]
67193         * malloc/malloc.h: Declare malloc hook variables as volatile.
67195         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
67196         in last patch.
67198         [BZ #11799]
67199         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
67200         raise in the comment.
67201         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67202         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67203         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
67205 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
67207         [BZ #12811]
67208         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
67209         grow the buffers more if it already has to be sufficient.
67210         (build_wcs_upper_buffer): Likewise.
67211         * posix/regexec.c (check_matching): Likewise.
67212         (clean_state_log_if_needed): Likewise.
67213         (extend_buffers): Don't enlarge buffers beyond size of the input
67214         buffer.
67215         Patches mostly by Emil Wojak <emil@wojak.eu>.
67216         * posix/bug-regex32.c: New file.
67217         * posix/Makefile (tests): Add bug-regex32.
67219         * locale/findlocale.c (_nl_find_locale): Return right away if
67220         _nl_explode_name failed.
67221         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
67223         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
67225         * debug/xtrace.sh: Unify messages.
67226         * malloc/memusage.sh: Likewise.
67228         [BZ #12813]
67229         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
67230         time symbol from vDSO.  Substitute with vsyscall if not available.
67231         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
67232         __vdso_time.
67234         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
67235         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
67236         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
67237         Add sendmmsg and internal_sendmmsg.
67238         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
67239         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
67240         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
67242         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
67243         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
67244         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
67246 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
67248         [BZ #12813]
67249         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
67250         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
67251         available.
67252         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
67253         __vdso_getcpu.
67255         [BZ #12814]
67256         * iconvdata/Makefile (tests): Add bug-iconv9.
67257         * iconvdata/bug-iconv9.c: New file.
67259 2011-05-27  Andreas Schwab  <schwab@redhat.com>
67261         [BZ #12814]
67262         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
67264 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
67266         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67267         (struct user_regs_struct): Change intcs field back to cs.
67269 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
67271         * po/ja.po: Update from translation team.
67273 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
67275         [BZ #12795]
67276         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
67277         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
67279 2011-05-20  Andreas Schwab  <schwab@redhat.com>
67281         * stdlib/longlong.h: Update from GCC.
67283 2011-05-23  Andreas Schwab  <schwab@redhat.com>
67285         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
67286         parameter name.
67287         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
67288         Add parameter name.
67289         (__sysconf): Pass it down.
67291 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
67293         [BZ #12671]
67294         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
67295         some situations.
67296         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
67297         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
67298         add in in __libc_use_alloca calls.  Adjust callers.
67299         (glob): Use malloc in some situations.
67301         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
67302         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
67303         pltexit.
67305 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
67307         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
67308         and CLOCK_BOOTTIME_ALARM.
67310         [BZ #12782]
67311         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
67312         is returned.
67314         * string/_strerror.c (__strerror_r): Print negative errors as signed
67315         numbers.
67317         [BZ #12777]
67318         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
67319         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
67320         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
67322         * configure.in: Fix typo in redirection and correct removal of test
67323         files in two cases.
67325         [BZ #12788]
67326         * locale/setlocale.c (new_composite_name): Fix test to check for
67327         identical name of all categories.
67329         [BZ #12792]
67330         * libio/filedoalloc.c (local_isatty): New function.
67331         (_IO_file_doallocate): Use local_isatty.
67332         * stdio-common/perror.c (perror): In case a new stream is used
67333         forward the stream error.
67334         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
67335         error flag.
67337 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
67339         [BZ #11869]
67340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
67341         alloca.
67342         * include/alloca.h (extend_alloca_account): Define.
67344         [BZ #11857]
67345         * posix/regex.h: Fix comments with documentation of user-accessible
67346         fields after compilation and describe correct free'ing of pattern
67347         after re_compile_pattern.
67348         Patch by Reuben Thomas <rrt@sc3d.org>.
67350 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
67352         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
67353         and -mno-altivec to prevent the compiler from using Altivec and/or
67354         VSX instructions when the corresponding registers are not available.
67356 2011-05-19  Andreas Schwab  <schwab@redhat.com>
67358         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
67360 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
67362         * libio/freopen.c (freopen): Use __dup2, not dup2.
67363         * libio/freopen64.c (freopen64): Likewise.
67365 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67367         [BZ #12775]
67368         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
67369         * math/Makefile (tests): Add test-powl.
67370         (CFLAGS-test-powl.c): Define.
67371         * math/test-powl.c: New file.
67373 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67375         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
67377 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
67379         [BZ #11837]
67380         * iconvdata/gb18030.c: Update to GB18020-2005.
67382 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
67384         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
67385         RE_SYNTAX_POSIX_AWK): Update to match recent development.
67386         Patch by Aharon Robbins <arnold@skeeve.com>.
67388         [BZ #11892]
67389         * stdlib/putenv.c (putenv): Don't always create copy of the variable
67390         on the stack.
67392         [BZ #11895]
67393         * misc/pselect.c (__pselect): Handle timeout value errors hidden
67394         through underflows.
67396         [BZ #12766]
67397         * misc/error.c (error_at_line): Ensure file_name and old_file_name
67398         point to strings before performing equality test for error_one_per_line
67399         mode.
67401         [BZ #11697]
67402         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
67404         [BZ #11820]
67405         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67406         (struct user_fpregs_struct): Avoid __uint*_t types.
67408         [BZ #6420]
67409         * malloc/mtrace.c (tr_where): Add additional parameter to point to
67410         symbol info.  Use it instead of calling _dl_addr locally.
67411         (lock_and_info): New function.
67412         (tr_freehook): Call lock_and_info and pass symbol info as additional
67413         parameter to tr_where.
67414         (tr_mallochook): Likewise.
67415         (tr_reallochook): Likewise.
67416         (tr_memalignhook): Likewise.
67418         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
67419         used and couldn't be at all thread-safe.
67421 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
67423         * libio/freopen.c (freopen): Don't close old file descriptor
67424         before the new one is opened.  Instead dup the new file descriptor
67425         to the old one after the new stream is created.
67426         * libio/freopen64.c (freopen64): Likewise.
67427         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
67428         * libio/fileops.c (_IO_new_file_close_it): Handle new
67429         _IO_FLAGS2_NOCLOSE flag.
67430         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
67431         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
67432         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
67433         _IO_FLAGS2_NOCLOSE flag.
67434         * include/unistd.h: Add hidden_proto for dup3.
67435         Define __have_dup3.
67436         * io/dup3.c: Define hidden symbol.
67437         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
67439         [BZ #7101]
67440         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
67441         when an incomplete long option is used.
67442         * posix/tst-getopt_long1.c: New file.
67443         * posix/Makefile (tests): Add tst-getopt_long1.
67445         [BZ #10138]
67446         * scripts/config.guess: Update from autoconf-2.68.
67447         * scripts/config.sub: Likewise.
67449         [BZ #10157]
67450         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
67451         tests into ...
67452         (has_cpuclock): ...this.  New function.
67453         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
67454         macro here based on has_cpuclock code.
67456         [BZ #10149]
67457         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67458         First byte (not low byte) is now always NUL.
67459         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
67461         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67462         Use non-cancelable interfaces.
67464         [BZ #9809]
67465         * locale/iso-639.def: Add entry for Sorani.
67467         [BZ #11901]
67468         * include/stdlib.h: Move include protection to the right place.
67469         Define abort_msg_s.  Declare __abort_msg with it.
67470         * stdlib/abort.c (__abort_msg): Adjust type.
67471         * assert/assert.c (__assert_fail_base): New function.  Majority
67472         of code from __assert_fail.  Allocate memory for __abort_msg with
67473         mmap.
67474         (__assert_fail): Now call __assert_fail_base.
67475         * assert/assert-perr.c: Remove bulk of implementation.  Use
67476         __assert_fail_base.
67477         * include/assert.hL Declare __assert_fail_base.
67478         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
67479         mmap.
67480         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
67482 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
67484         [BZ #11952]
67485         [BZ #12453]
67486         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
67487         until all modules are registered in the DTV.
67488         * elf/Makefile: Add rules to build and run tst-tls19.
67489         * elf/tst-tls19.c: New file.
67490         * elf/tst-tls19mod1.c: New file.
67491         * elf/tst-tls19mod2.c: New file.
67492         * elf/tst-tls19mod3.c: New file.
67493         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
67495         [BZ #12083]
67496         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
67497         correctly.
67499         [BZ #12601]
67500         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
67501         two-byte sequence errors.
67502         * iconvdata/Makefile (tests): Add bug-iconv8.
67503         * iconvdata/bug-iconv8.c: New file.
67505         [BZ #12626]
67506         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
67507         buf2 definition.
67509         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
67511         [BZ #12432]
67512         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
67513         (dummy_getcfa): New function.
67514         (init): Get _Unwind_GetCFA address, use dummy if not found.
67515         (backtrace_helper): In recursion check, also check whether CFA changes.
67516         (__backtrace): Completely initialize arg.
67518         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
67519         storing incomplete byte sequence in state object.  Avoid testing for
67520         guaranteed too small input if we know there is enough data available.
67522 2011-05-11  Andreas Schwab  <schwab@redhat.com>
67524         * Makeconfig (+link-pie): Indent.
67525         * Rules (binaries-pie): Define if $(have-fpie) and
67526         $(build-shared).
67527         (binaries-shared): Also filter out $(binaries-pie).
67528         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
67529         * nscd/Makefile (others-pie): Add nscd.
67530         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
67531         ($(objpfx)nscd): Remove command override.
67532         * login/Makefile (others-pie): Add pt_chown.
67533         ($(objpfx)pt_chown): Remove command override.
67534         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
67535         remove command overrides.
67537 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
67539         * libio/tst_putwc.c: Fix error messages.
67541         [BZ #12724]
67542         * libio/fileops.c (_IO_new_file_close_it): Always flush when
67543         currently writing and seek to current position when not.
67544         * libio/Makefile (tests): Add bug-fclose1.
67545         * libio/bug-fclose1.c: New file.
67547 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
67549         [BZ #12511]
67550         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
67551         don't set DF_1_NODELETE here.
67552         (do_lookup_x): When entering new entry test for copy relocation
67553         and if necessary set DF_1_NODELETE flag.
67554         * elf/tst-unique4.cc: New file.
67555         * elf/tst-unique4.h: New file.
67556         * elf/tst-unique4lib.cc: New file.
67557         * elf/Makefile: Add rules to build and run tst-unique4.
67558         Patch by Piotr Bury <pbury@goahead.com>.
67560 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
67562         [BZ #12052]
67563         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
67565         [BZ #12625]
67566         * misc/mntent_r.c (addmntent): Flush the stream after the output
67568         [BZ #12393]
67569         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
67570         (is_trusted_path_normalize): Skip initial colon.  Append slash
67571         to empty buffer.  Duplicate is_trusted_path code but allow
67572         constructed patch to be prefix.
67573         (is_dst): Allow $ORIGIN followed by /.
67574         (_dl_dst_substitute): Correct clearing of check_for_trusted.
67575         Correct testing of result of is_trusted_path_normalize
67576         (decompose_rpath): Fix warning.
67578 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
67580         [BZ #11257]
67581         * grp/initgroups.c (internal_getgrouplist): When we found the service
67582         list through the initgroups entry in nsswitch.conf do not always
67583         continue on a successful lookup.  Don't always use the
67584         __nss_group_database value if it is set.
67585         * nss/nsswitch.conf (initgroups): Change action for successful db
67586         lookup to continue for compatibility.
67588 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
67590         [BZ #11532]
67591         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
67592         and CP774 modules.
67593         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
67594         and CP774 modules.
67595         * iconvdata/tst-tables.sh: Likewise.
67596         * iconvdata/cp770.c: New file.
67597         * iconvdata/cp771.c: New file.
67598         * iconvdata/cp772.c: New file.
67599         * iconvdata/cp773.c: New file.
67600         * iconvdata/cp774.c: New file.
67601         * iconvdata/testdata/CP770: New file.
67602         * iconvdata/testdata/CP770..UTF8: New file.
67603         * iconvdata/testdata/CP771: New file.
67604         * iconvdata/testdata/CP771..UTF8: New file.
67605         * iconvdata/testdata/CP772: New file.
67606         * iconvdata/testdata/CP772..UTF8: New file.
67607         * iconvdata/testdata/CP773: New file.
67608         * iconvdata/testdata/CP773..UTF8: New file.
67609         * iconvdata/testdata/CP774: New file.
67610         * iconvdata/testdata/CP774..UTF8: New file.
67612         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
67613         END CHARMAP line.
67614         * iconvdata/gen-8bit-gap.sh: Likewise.
67615         * iconvdata/gen-8bit.sh: Likewise.
67617         * locale/iso-639.def: Add ary entry.
67619         [BZ #11258]
67620         * locale/C-translit.h.in: Add U20A1 transliteration.
67622         [BZ #12178]
67623         * locale/iso-639.def: Add wae entry.
67624         Patch by Kevin Bortis <bortis@translate-wae.ch>.
67626         [BZ #12545]
67627         * locale/programs/localedef.c (construct_output_path): Use ssize_t
67628         for n.
67630         [BZ #12711]
67631         * locale/C-translit.h.in: Add entry for U20B9.
67632         Patch by pravin.d.s@gmail.com.
67634 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
67636         [BZ #12713]
67637         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
67638         ENAMETOOLONG use generic getcwd.
67639         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
67640         in rtld.  Use *stat64.
67641         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
67642         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
67643         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
67644         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
67645         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
67646         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
67647         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
67648         __fstatat64 macros.
67649         * include/dirent.h: Add libc_hidden_proto for rewinddir.
67650         * dirent/rewinddir.c: Add libc_hidden_def.
67651         * sysdeps/mach/hurd/rewinddir.c: Likewise.
67652         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
67654         * include/dirent.h (__alloc_dir): Add flags parameter.
67655         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
67656         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
67657         __alloc_dir.
67658         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
67659         from fdopendir if O_CLOEXEC is already set.
67661 2011-03-15  Alan Modra  <amodra@gmail.com>
67663         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
67664         l_tls_firstbyte_offset non-zero.  Save padding offset in
67665         l_tls_firstbyte_offset for later use.
67666         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
67667         freeing static tls block.
67669 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
67671         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
67672         where #ifdef was intended.  The intent is to prevent ARG_MAX from
67673         being defined by the kernel headers.
67675 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
67677         [BZ #12734]
67678         * resolv/resolv.h: Define RES_NOTLDQUERY.
67679         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
67680         no-tld-query and set RES_NOTLDQUERY.
67681         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
67682         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
67683         modern BIND to search name as TLD unless forbidden.
67685 2011-05-07  Petr Baudis  <pasky@suse.cz>
67686             Ulrich Drepper  <drepper@gmail.com>
67688         [BZ #12393]
67689         * elf/dl-load.c (fillin_rpath): Move trusted path check...
67690         (is_trusted_path): ...to here.
67691         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
67692         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
67693         using is_trusted_path_normalize() in setuid scripts.
67695 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67697         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
67698         __BEGIN/__END_DECLS.
67700 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
67702         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
67703         NSS_STATUS_NOTFOUND if no record was found.
67705 2011-05-05  Andreas Schwab  <schwab@redhat.com>
67707         * sunrpc/Makefile (headers): Add rpc/netdb.h.
67708         (headers-not-in-tirpc): Remove rpc/netdb.h
67709         * resolv/netdb.h: Revert last change.
67711 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67713         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
67714         circular dependency between libgcc.a and libc.a.
67716 2011-05-05  Andreas Schwab  <schwab@redhat.com>
67718         * resolv/netdb.h: Don't include <rpc/netdb.h>.
67719         * nis/Makefile: Don't install rpcsvc/*.
67720         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
67721         instead of <rpc/types.h>.
67722         (MAXHOSTNAMELEN): Define.
67724 2011-05-03  Andreas Schwab  <schwab@redhat.com>
67726         * elf/ldconfig.c (add_dir): Don't crash on empty path.
67728 2011-04-28  Maciej Babinski  <mbabinski@google.com>
67730         [BZ #12714]
67731         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
67732         gethostbyname4_r when IPv6 results are possible.
67734 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
67736         [BZ #12723]
67737         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
67738         _PC_PIPE_BUF handling.
67740 2011-04-30  Bruno Haible  <bruno@clisp.org>
67742         [BZ #12717]
67743         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
67744         * resolv/netdb.h (getnameinfo): Change type of flags parameter
67745         to 'int'.
67746         * inet/getnameinfo.c (getnameinfo): Likewise.
67748 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
67750         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
67751         to groups setting in database lookup.
67752         * nss/nsswitch.conf: Add initgroups entry.
67754 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
67756         [BZ #12685]
67757         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
67758         mode string.
67759         Patch by Eric Blake <eblake@redhat.com>.
67761 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
67763         * sunrpc/Makefile (need-export-routines): Add svc_run.
67764         (routines): Remove svc_run.
67765         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
67766         * sunrpc/clnt_perr.c (clnt_perrno): Export.
67767         * sunrpc/svc_run.c (svc_run): Likewise.
67768         * sunrpc/svc_udp.c (svcudp_create): Likewise.
67770 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
67772         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
67773         problem in reallocation in last patch.
67775 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
67777         * sunrpc/Makefile: Move inclusion of Rules.
67779 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67781         * nss/nss_files/files-initgroups.c: New file.
67782         * nss/Makefile (libnss_files-routines): Add files-initgroups.
67783         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
67784         _nss_files_initgroups_dyn.
67786 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
67788         * elf/elf.h (R_ARM_IRELATIVE): Define.
67790 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67792         * po/ru.po: Update from translation team.
67794 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67796         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
67797         dependencies.
67799 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
67801         [BZ #12653]
67802         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
67803         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
67804         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67805         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67806         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67808 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
67810         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
67811         differing bytes.
67812         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67813         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67814         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67816 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67818         [BZ #12420]
67819         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
67820         storing it.
67821         * stdlib/bug-getcontext.c: New file.
67822         * stdlib/Makefile: Add rules to build and run bug-getcontext.
67824 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67826         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
67827         instructions into .machine "z9-109".
67828         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
67829         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
67831 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67833         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
67834         between environment variables and auxiliary vector.
67836 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
67838         * Makefile: Add rules to build linkobj/libc.so.
67839         * include/libc-symbols.h: Define libc_hidden_nolink.
67840         * include/rpc/auth.h: Mark functions which are to be hidden.
67841         * include/rpc/auth_des.h: Likewise.
67842         * include/rpc/auth_unix.h: Likewise.
67843         * include/rpc/clnt.h: Likewise.
67844         * include/rpc/des_crypt.h: Likewise.
67845         * include/rpc/key_prot.h: Likewise.
67846         * include/rpc/pmap_clnt.h: Likewise.
67847         * include/rpc/pmap_prot.h: Likewise.
67848         * include/rpc/pmap_rmt.h: Likewise.
67849         * include/rpc/rpc_msg.h: Likewise.
67850         * include/rpc/svc.h: Likewise.
67851         * include/rpc/svc_auth.h: Likewise.
67852         * include/rpc/xdr.h: Likewise.
67853         * nis/Makefile: Link all DSOs against linkobj/libc.so.
67854         * nss/Makefile: Likewise.
67855         * sunrpc/Makefile: Don't install headers.  Build library with normal
67856         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
67857         * sunrpc/auth_des.c: Hide exported symbols by default, export some
67858         for the compat linking library.  Remove use of INTDEF/INTUSE.
67859         * sunrpc/auth_none.c: Likewise.
67860         * sunrpc/auth_unix.c: Likewise.
67861         * sunrpc/authdes_prot.c: Likewise.
67862         * sunrpc/authuxprot.c: Likewise.
67863         * sunrpc/clnt_gen.c: Likewise.
67864         * sunrpc/clnt_perr.c: Likewise.
67865         * sunrpc/clnt_raw.c: Likewise.
67866         * sunrpc/clnt_simp.c: Likewise.
67867         * sunrpc/clnt_tcp.c: Likewise.
67868         * sunrpc/clnt_udp.c: Likewise.
67869         * sunrpc/clnt_unix.c: Likewise.
67870         * sunrpc/des_crypt.c: Likewise.
67871         * sunrpc/des_soft.c: Likewise.
67872         * sunrpc/get_myaddr.c: Likewise.
67873         * sunrpc/key_call.c: Likewise.
67874         * sunrpc/key_prot.c: Likewise.
67875         * sunrpc/netname.c: Likewise.
67876         * sunrpc/pm_getmaps.c: Likewise.
67877         * sunrpc/pm_getport.c: Likewise.
67878         * sunrpc/pmap_clnt.c: Likewise.
67879         * sunrpc/pmap_prot.c: Likewise.
67880         * sunrpc/pmap_prot2.c: Likewise.
67881         * sunrpc/pmap_rmt.c: Likewise.
67882         * sunrpc/publickey.c: Likewise.
67883         * sunrpc/rpc_cmsg.c: Likewise.
67884         * sunrpc/rpc_common.c: Likewise.
67885         * sunrpc/rpc_dtable.c: Likewise.
67886         * sunrpc/rpc_prot.c: Likewise.
67887         * sunrpc/rpc_thread.c: Likewise.
67888         * sunrpc/rtime.c: Likewise.
67889         * sunrpc/svc.c: Likewise.
67890         * sunrpc/svc_auth.c: Likewise.
67891         * sunrpc/svc_authux.c: Likewise.
67892         * sunrpc/svc_raw.c: Likewise.
67893         * sunrpc/svc_run.c: Likewise.
67894         * sunrpc/svc_simple.c: Likewise.
67895         * sunrpc/svc_tcp.c: Likewise.
67896         * sunrpc/svc_udp.c: Likewise.
67897         * sunrpc/svc_unix.c: Likewise.
67898         * sunrpc/svcauth_des.c: Likewise.
67899         * sunrpc/xcrypt.c: Likewise.
67900         * sunrpc/xdr.c: Likewise.
67901         * sunrpc/xdr_array.c: Likewise.
67902         * sunrpc/xdr_float.c: Likewise.
67903         * sunrpc/xdr_intXX_t.c: Likewise.
67904         * sunrpc/xdr_mem.c: Likewise.
67905         * sunrpc/xdr_rec.c: Likewise.
67906         * sunrpc/xdr_ref.c: Likewise.
67907         * sunrpc/xdr_sizeof.c: Likewise.
67908         * sunrpc/xdr_stdio.c: Likewise.
67910 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
67912         [BZ #12650]
67913         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
67914         * sysdeps/ia64/dl-tls.h: Likewise.
67915         * sysdeps/powerpc/dl-tls.h: Likewise.
67916         * sysdeps/s390/dl-tls.h: Likewise.
67917         * sysdeps/sh/dl-tls.h: Likewise.
67918         * sysdeps/sparc/dl-tls.h: Likewise.
67919         * sysdeps/x86_64/dl-tls.h: Likewise.
67920         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
67922 2011-03-14  Andreas Schwab  <schwab@redhat.com>
67924         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
67925         rpath element also skip the following colon.
67926         (expand_dynamic_string_token): Add is_path parameter and pass
67927         down to DL_DST_REQUIRED and _dl_dst_substitute.
67928         (decompose_rpath): Call expand_dynamic_string_token with
67929         non-zero is_path.  Ignore empty rpaths.
67930         (_dl_map_object_from_fd): Call expand_dynamic_string_token
67931         with zero is_path.
67933 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
67935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67936         Make cancelable.
67938 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
67940         [BZ #12655]
67941         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
67942         Patch by Filipe David Manana <fdmanana@apache.org>.
67944 2011-04-07  Andreas Schwab  <schwab@redhat.com>
67946         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
67947         Maintain aligned stack.
67948         (CHECK_RSP): Remove unused macro.
67950 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
67952         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
67953         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
67955 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
67957         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
67959         * include/features.h: Mention __USE_XOPEN2K8 in comment.
67961 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
67963         [BZ #12518]
67964         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
67965         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
67966         * sysdeps/x86_64/memmove.c: New file.
67967         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
67968         (memcpy): Renamed to ...
67969         (__new_memcpy): This.
67970         (memcpy): Provide GLIBC_2_14 memcpy.
67971         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
67972         (memcpy): Provide GLIBC_2_2_5 memcpy.
67974 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67976         [BZ #12631]
67977         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
67979 2011-03-30  Andreas Schwab  <schwab@redhat.com>
67981         * misc/syncfs.c: New file.
67982         * misc/Makefile (routines): Add syncfs.
67983         * posix/unistd.h: Declare syncfs.
67984         * sysdeps/unix/syscalls.list: Add syncfs.
67986 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67988         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
67989         open_by_handle_at.
67990         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
67991         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67992         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67993         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67994         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67995         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
67996         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67998 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68000         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
68001         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68002         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
68003         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68004         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68005         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68006         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68008         * io/Makefile: Compile fallocate.c, fallocate64.c, and
68009         sync_file_range.c with -fexceptions.
68010         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
68011         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
68012         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
68013         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
68014         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
68015         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68016         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
68017         sync_file_range as cancellation point
68018         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
68019         now a wrapper around __call_sync_file_range with cancellation handling.
68020         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
68021         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
68022         function name to __call_sync_file_range.
68023         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
68024         Add call_sync_file_range.
68026 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68028         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68029         bits/timex.h.
68031 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68033         * iconv/iconv.h: Fix typo in comment.
68034         * io/fcntl.h: Likewise.
68035         * libio/stdio.h: Likewise.
68036         * posix/spawn.h: Likewise.
68037         * posix/unistd.h: Likewise.
68038         * stdlib/stdlib.h: Likewise.
68039         * time/time.h: Likewise.
68040         * wcsmbs/wchar.h: Likewise.
68042         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
68043         open_by_handle): Add.
68044         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
68045         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
68046         Augment a few comments.
68047         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68048         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68049         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68050         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68051         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68052         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
68053         open_by_handle.
68055         * io/fcntl.h (AT_EMPTY_PATH): Define.
68057 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
68059         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
68060         * sysdeps/unix/sysv/linux/bits/time.h: New file.
68061         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
68062         to...
68063         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
68064         * Versions.def: Add GLIBC_2.14.
68065         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
68066         Export.
68068 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
68070         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
68071         round counter.
68072         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68074 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68076         [BZ #12597]
68077         * string/test-strncmp.c (do_page_test): New function.
68078         (check2): Likewise.
68079         (test_main): Call check2.
68080         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
68082 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
68084         [BZ #12587]
68085         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
68086         Handle cache information in CPU leaf 4.
68087         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68089 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
68091         [BZ #12583]
68092         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
68093         character representation.
68094         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
68096 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
68098         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
68099         END(__isnan) to END(__isnanf) to match function entry point/label
68100         EALIGN(__isnanf,...).
68102 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
68104         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
68106 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
68108         [BZ #12510]
68109         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
68110         copy from the symbol referenced in the relocation to initialize the
68111         used variable.
68112         Patch by Piotr Bury <pbury@goahead.com>.
68113         * elf/Makefile: Add rules to build and tst-unique3.
68114         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
68115         * elf/tst-unique3.cc: New file.
68116         * elf/tst-unique3.h: New file.
68117         * elf/tst-unique3lib.cc: New file.
68118         * elf/tst-unique3lib2.cc: New file.
68120         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
68122 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
68124         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
68125         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
68126         to _start.
68128 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
68130         * elf/dl-load.c (_dl_map_object): If we are looking for the first
68131         to-be-loaded object along a path to loader is ld.so.
68133 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68134             Ulrich Drepper  <drepper@gmail.com>
68136         * sysdeps/x86_64/memset.S: After aligning destination, code
68137         branches to different locations depending on the value of
68138         misalignment, when multiarch is enabled. Fix this.
68140 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68142         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
68143         Set _x86_64_preferred_memory_instruction for AMD processsors.
68144         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68145         Set bit_Prefer_SSE_for_memop for AMD processors.
68147 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
68149         * libio/fmemopen.c (fmemopen): Optimize a bit.
68151 2011-03-03  Andreas Schwab  <schwab@redhat.com>
68153         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
68155 2011-03-03  Roland McGrath  <roland@redhat.com>
68157         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
68159 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
68161         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
68162         __bzero_ultra1 instead of __memset_ultra1.
68164 2011-02-23  Andreas Schwab  <schwab@redhat.com>
68165             Ulrich Drepper  <drepper@gmail.com>
68167         [BZ #12509]
68168         * include/link.h (struct link_map): Add l_orig_initfini.
68169         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
68170         returning unsuccessfully.
68171         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
68172         close of a file loaded at startup, restore the original l_initfini
68173         list.
68174         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
68175         list, store the pointer.
68176         * elf/Makefile ($(objpfx)noload-mem): New rule.
68177         (noload-ENV): Define.
68178         (tests): Add $(objpfx)noload-mem.
68179         * elf/noload.c: Include <memcheck.h>.
68180         (main): Call mtrace.  Close all opened handles.
68182 2011-02-17  Andreas Schwab  <schwab@redhat.com>
68184         [BZ #12454]
68185         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
68186         dependencies are missing.
68188 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68190         Fix __if_freereq crash: Unlike the generic version which uses free,
68191         Hurd needs munmap.
68192         * sysdeps/mach/hurd/ifreq.h: New file.
68194 2011-01-27  Petr Baudis  <pasky@suse.cz>
68195             Ulrich Drepper  <drepper@gmail.com>
68197         [BZ 12445]#
68198         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
68199         to extend_alloca().
68200         * stdio-common/bug23.c: New file.
68201         * stdio-common/Makefile (tests): Add bug23.
68203 2010-09-28  Andreas Schwab  <schwab@redhat.com>
68204             Ulrich Drepper  <drepper@gmail.com>
68206         [BZ #12489]
68207         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
68208         before performing relro protection.  At old place add assertion
68209         to make sure nothing changed.
68211 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
68212             Glauber de Oliveira Costa  <glommer@gmail.com>
68214         * elf/elf.h: Add new ARM TLS relocs.
68216 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
68218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68219         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
68220         cast from r3.
68221         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
68222         'tests' variable.
68223         * sysdeps/wordsize-64/tst-writev.c: New file.
68225 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
68227         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
68228         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
68229         insns in _dl_start to prevent a TOC reference before relocs are
68230         resolved.
68232 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
68234         [BZ #12469]
68235         * Makeconfig: Remove RANLIB definition.
68236         * Makerules: Don't use RANLIB.
68237         * aclocal.m4: Remove ranlib test.
68238         * configure.in: No need to check for ranlib.
68239         * elf/rtld-Rules: Don't use RANLIB.
68241 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68243         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
68244         protection macro.
68245         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
68246         inclusion protection macro.
68248         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
68249         SIGRTMIN and SIGRTMAX and print information in that case only when
68250         SIGRTMIN is defined.
68252 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
68254         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
68255         arginfo fn returning -1.
68257         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
68258         and thousands string is zero terminated.
68260 2011-02-03  Andreas Schwab  <schwab@redhat.com>
68262         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
68263         sysdeps/unix/sysv/linux/bits/socket.h.
68265 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68267         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
68268         (__CPU_COUNT): Remove old macros.
68269         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
68270         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
68271         (__CPU_ALLOC, __CPU_FREE): Add macros.
68272         (__sched_cpualloc, __sched_cpufree): Add declarations.
68274 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
68276         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
68277         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
68278         * nscd/aicache.c (addhstaiX): Return timeout of added value.
68279         (readdhstai): Return value of addhstaiX call.
68280         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
68281         (addgrbyX): Return value returned by cache_addgr.
68282         (readdgrbyname): Return value returned by addgrbyX.
68283         (readdgrbygid): Likewise.
68284         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
68285         (addpwbyX): Return value returned by cache_addpw.
68286         (readdpwbyname): Return value returned by addhstbyX.
68287         (readdpwbyuid): Likewise.
68288         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
68289         (addservbyX): Return value returned by cache_addserv.
68290         (readdservbyname): Return value returned by addservbyX:
68291         (readdservbyport): Likewise.
68292         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
68293         (addhstbyX): Return value returned by cache_addhst.
68294         (readdhstbyname): Return value returned by addhstbyX.
68295         (readdhstbyaddr): Likewise.
68296         (readdhstbynamev6): Likewise.
68297         (readdhstbyaddrv6): Likewise.
68298         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
68299         (readdinitgroups): Return value returned by addinitgroupsX.
68300         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
68301         (prune_cache): Keep track of timeout value of re-added entries.
68302         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
68303         * nscd/nscd.h: Adjust prototypes of readd* functions.
68305 2011-02-04  Roland McGrath  <roland@redhat.com>
68307         * nis/nis_server.c (nis_servstate): Use the right name for 0.
68308         (nis_stats): Likewise.
68309         * nis/nis_modify.c (nis_modify): Likewise.
68310         * nis/nis_remove.c (nis_remove): Likewise.
68311         * nis/nis_add.c (nis_add): Likewise.
68313         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
68315         * posix/fnmatch_loop.c: Add some consts.
68317         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
68319 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
68321         [BZ #12460]
68322         * config.make.in (config-cflags-novzeroupper): Define.
68323         * configure.in: Substitute libc_cv_cc_novzeroupper.
68324         * elf/Makefile (AVX-CFLAGS): Define.
68325         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
68326         (CFLAGS-tst-auditmod4a.c): Likewise.
68327         (CFLAGS-tst-auditmod4b.c): Likewise.
68328         (CFLAGS-tst-auditmod6b.c): Likewise.
68329         (CFLAGS-tst-auditmod6c.c): Likewise.
68330         (CFLAGS-tst-auditmod7b.c): Likewise.
68331         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
68333 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
68335         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
68336         function to the callback.
68337         Patch partly by Jiri Olsa <jolsa@redhat.com>.
68339 2011-02-02  Andreas Schwab  <schwab@redhat.com>
68341         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
68342         of errno.
68344 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
68346         [BZ #11724]
68347         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
68348         of constructors.
68349         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
68350         of destructors.
68351         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
68353         [BZ #11724]
68354         * elf/Makefile: Add rules to build and run new test.
68355         * elf/tst-initorder.c: New file.
68356         * elf/tst-initorder.exp: New file.
68357         * elf/tst-initordera1.c: New file.
68358         * elf/tst-initordera2.c: New file.
68359         * elf/tst-initordera3.c: New file.
68360         * elf/tst-initordera4.c: New file.
68361         * elf/tst-initorderb1.c: New file.
68362         * elf/tst-initorderb2.c: New file.
68363         * elf/tst-order-a1.c: New file.
68364         * elf/tst-order-a2.c: New file.
68365         * elf/tst-order-a3.c: New file.
68366         * elf/tst-order-a4.c: New file.
68367         * elf/tst-order-b1.c: New file.
68368         * elf/tst-order-b2.c: New file.
68369         * elf/tst-order-main.c: New file.
68370         New test case by George Gensure <werkt0@gmail.com>.
68372 2010-10-01  Andreas Schwab  <schwab@redhat.com>
68374         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68375         decoding ACE if AI_CANONIDN.
68377 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
68379         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
68381 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
68383         * version.h (RELEASE): Bump for 2.13 release.
68384         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
68386         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
68388         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
68389         MADV_NOHUGEPAGE.
68390         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
68391         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68392         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68393         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68394         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68395         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68397         * posix/getconf.c: Update copyright year.
68398         * catgets/gencat.c: Likewise.
68399         * csu/version.c: Likewise.
68400         * debug/catchsegv.sh: Likewise.
68401         * debug/xtrace.sh: Likewise.
68402         * elf/ldconfig.c: Likewise.
68403         * elf/ldd.bash.in: Likewise.
68404         * elf/sprof.c (print_version): Likewise.
68405         * iconv/iconv_prog.c: Likewise.
68406         * iconv/iconvconfig.c: Likewise.
68407         * locale/programs/locale.c: Likewise.
68408         * locale/programs/localedef.c: Likewise.
68409         * malloc/memusage.sh: Likewise.
68410         * malloc/mtrace.pl: Likewise.
68411         * nscd/nscd.c (print_version): Likewise.
68412         * nss/getent.c: Likewise.
68414         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
68415         PF_CAIF, and PF_ALG.
68416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68418 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
68420         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
68421         (modules-names): Use them.
68422         (ifunc-test-modules, ifunc-pie-tests): Define.
68423         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
68424         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
68425         (test-extras): Likewise.
68426         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
68427         $(compile-command.c).
68428         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
68429         (all-built-dso): Define.
68430         (check-textrel.out, check-execstack.out): Depend on it.
68432         * configure.in: Don't override --enable-multi-arch.
68434 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
68436         [BZ #6812]
68437         * nscd/hstcache.c (tryagain): Define.
68438         (cache_addhst): Return tryagain not notfound for temporary errors.
68439         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
68440         failed.
68442 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
68444         [BZ #10563]
68445         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
68446         to make the syscall.
68447         * sysdeps/unix/sysv/linux/setgroups.c: New file.
68449         [BZ #12378]
68450         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
68451         and fall back to matching as normal character if the string ends before
68452         the matching ']' is found.  This is what POSIX requires.
68453         * posix/testfnm.c: Adjust test result.
68454         * posix/globtest.sh: Adjust test result.  Add new test.
68455         * posix/tst-fnmatch.input: Likewise.
68456         * posix/tst-fnmatch2.c: Add new test.
68458 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
68460         * elf/Makefile (check-execstack): Revert last change.  Depend on
68461         check-execstack.h.
68462         (check-execstack.h): New target.
68463         (generated): Add check-execstack.h.
68464         * elf/check-execstack.c: Include "check-execstack.h".
68465         (main): Revert last change.
68466         (handle_file): Return zero if GNU_STACK is absent and
68467         DEFAULT_STACK_PERMS doesn't include PF_X.
68469 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
68471         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
68472         in child fails because the descriptor is already closed.
68473         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
68474         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
68475         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
68477         [BZ #12397]
68478         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
68479         syscall.
68481         [BZ #10484]
68482         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
68483         temporary buffer used to handle multi lookups locally.
68484         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
68486 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
68488         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
68489         loader is ld.so.
68491 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
68493         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
68494         alignment for SSE2.
68496 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
68498         [BZ #12394]
68499         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
68500         characters.  When rounding increased number of integer digits recompute
68501         number of groups.
68502         * stdio-common/tst-grouping.c: New file.
68503         * stdio-common/Makefile: Add rules to build and run tst-grouping.
68505 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
68507         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
68508         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
68510         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
68511         void.
68512         * bits/select.h: Likewise.
68514 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
68516         * po/ja.po: Update from translation team.
68518 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
68520         [BZ #11155]
68521         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
68522         implementation just like for lxstat, fxstatat, et al.
68524 2010-12-27  Jim Meyering  <meyering@redhat.com>
68526         [BZ #12348]
68527         * posix/regexec.c (build_trtable): Return failure indication upon
68528         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
68530 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
68532         [BZ #12201]
68533         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
68534         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
68535         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
68536         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
68538         [BZ #12207]
68539         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
68541         [BZ #12204]
68542         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
68543         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
68545 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
68547         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
68548         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
68549         script has SORT_BY_INIT_PRIORITY.
68550         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
68551         NO_CTORS_DTORS_SECTIONS is defined.
68552         * elf/soinit.c: Likewise.
68553         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
68554         NO_CTORS_DTORS_SECTIONS is defined.
68555         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
68556         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
68557         * sysdeps/sh/init-first.c: Likewise.
68558         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
68560 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
68562         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
68563         always use the slow path.
68565 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
68567         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
68568         similar rule which adds the sysdep directories to the header search in
68569         order to pick up the correct platform stackinfo.h.
68570         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
68571         perform test if it is, otherwise return successfully without testing.
68572         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
68573         DEFAULT_STACK_PERMS define in stackinfo.h.
68574         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
68575         defined in stackinfo.h.
68576         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
68577         DEFAULT_STACK_PERMS defined in stackinfo.h.
68578         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
68579         * sysdeps/ia64/stackinfo.h: Likewise.
68580         * sysdeps/s390/stackinfo.h: Likewise.
68581         * sysdeps/sh/stackinfo.h: Likewise.
68582         * sysdeps/sparc/stackinfo.h: Likewise.
68583         * sysdeps/x86_64/stackinfo.h: Likewise.
68584         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
68585         PF_X for powerpc64.  Retain PF_X for powerpc32.
68587 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
68589         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
68590         accurately.
68591         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
68592         GETDENTS_64BIT_ALIGNED.
68594 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
68596         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
68598 2010-12-10  Andreas Schwab  <schwab@redhat.com>
68600         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
68601         _GNU_SOURCE.
68603         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
68604         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
68605         Remove __restrict.
68606         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
68607         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
68609 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
68611         [BZ #11655]
68612         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
68613         are initialized.
68615 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
68617         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
68619 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
68621         * po/it.po: Update from translation team.
68623 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
68625         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
68626         unused codes.
68628 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
68630         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
68632 2010-11-24  Andreas Schwab  <schwab@redhat.com>
68634         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
68635         specially.
68636         (gaih_getanswer_slice): Likewise.
68638 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
68640         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
68642 2010-05-31  Petr Baudis  <pasky@suse.cz>
68644         [BZ #11149]
68645         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
68646         silently even in the chroot mode.
68648 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
68650         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
68651         last patch a bit.  Pretty printing
68653 2010-05-31  Petr Baudis <pasky@suse.cz>
68655         [BZ #10085]
68656         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
68657         initialization of skip_initgroups_dyn.
68659 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
68661         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
68662         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68664 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
68666         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
68668 2010-11-11  Andreas Schwab  <schwab@redhat.com>
68670         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
68671         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
68672         (tst-fnmatch-ENV): Set MALLOC_TRACE.
68673         ($(objpfx)tst-fnmatch-mem): New rule.
68674         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
68675         * posix/tst-fnmatch.c (main): Call mtrace.
68677 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
68679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68680         Support Intel processor model 6 and model 0x2c.
68682 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
68684         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
68685           signed comparison.
68687 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
68689         [BZ #12205]
68690         * string/test-strncasecmp.c (check_result): New function.
68691         (do_one_test): Use it.
68692         (check1): New function.
68693         (test_main): Use it.
68694         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
68695         Support strcasecmp and strncasecmp.
68697 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
68699         [BZ #12194]
68700         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
68701         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68703 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68705         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
68706         IFUNC support.
68707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68708         memset-x86-64.
68709         * sysdeps/x86_64/multiarch/bzero.S: New file.
68710         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
68711         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
68712         * sysdeps/x86_64/multiarch/memset.S: New file.
68713         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
68714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68715         Set bit_Prefer_SSE_for_memop for Intel processors.
68716         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
68717         Define.
68718         (index_Prefer_SSE_for_memop): Define.
68719         (HAS_PREFER_SSE_FOR_MEMOP): Define.
68721 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
68723         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
68724         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
68726 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
68728         [BZ #12191]
68729         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
68730         (__x86_64_raw_data_cache_size_half): Likewise.
68731         (__x86_64_raw_shared_cache_size): Likewise.
68732         (__x86_64_raw_shared_cache_size_half): Likewise.
68734         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
68735         (__x86_64_raw_data_cache_size_half): Likewise.
68736         (__x86_64_raw_shared_cache_size): Likewise.
68737         (__x86_64_raw_shared_cache_size_half): Likewise.
68738         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
68739         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
68740         and __x86_64_raw_shared_cache_size_half.  Round
68741         __x86_64_data_cache_size_half, __x86_64_data_cache_size
68742         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
68743         to multiple of 256 bytes.
68745 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
68747         [BZ #12167]
68748         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
68749         of inacessible symlinks.  Verify result of symlink before returning it.
68750         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
68751         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
68753 2010-10-28  Erich Ritz  <erichritz@gmail.com>
68755         * math/math.h (isinf): Fix typo in comment.
68757 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
68759         * po/da.po: Update from translation team.
68761 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
68763         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
68764         is added to the list.
68766 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68767             Ulrich Drepper  <drepper@gmail.com>
68769         * elf/dl-object.c (_dl_new_object): Don't append the new object to
68770         the global list here.  Move code to...
68771         (_dl_add_to_namespace_list): ...here.  New function.
68772         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
68773         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
68774         * elf/dl-load.c (lose): Don't remove the element from the list.
68775         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
68776         (_dl_map_object): Likewise.
68778 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
68780         [BZ #12159]
68781         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
68782         into all bytes of SSE register.
68783         Patch by Richard Li <richardpku@gmail.com>.
68785 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
68787         [BZ #12140]
68788         * malloc/malloc.c (_int_free): Fill correct number of bytes when
68789         perturbing.
68791 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
68793         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
68794         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
68795         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
68796         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
68798         submachine.
68799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
68801 2010-10-22  Andreas Schwab  <schwab@redhat.com>
68803         * include/dlfcn.h (__RTLD_SECURE): Define.
68804         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
68805         mode & __RTLD_SECURE instead.
68806         (open_path): Rename preloaded parameter to secure.
68807         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
68808         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
68809         * elf/dl-deps.c (openaux): Likewise.
68810         * elf/rtld.c (struct map_args): Remove is_preloaded.
68811         (map_doit): Don't use it.
68812         (dl_main): Likewise.
68813         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
68814         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
68816 2010-09-09  Andreas Schwab  <schwab@redhat.com>
68818         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
68819         (sysd-rules-targets): Remove duplicates.
68820         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
68821         rtld-%.$o dependency.
68823 2010-10-18  Andreas Schwab  <schwab@redhat.com>
68825         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
68826         _dl_map_object do it.
68828 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
68830         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
68831         fast fma builtins, define the macros in the C99 standard.
68832         (FP_FAST_FMAF): Likewise.
68833         (FP_FAST_FMAL): Likewise.
68834         * sysdeps/x86_64/bits/mathdef.h: Likewise.
68836         * bits/mathdef.h: Update copyright year.
68837         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68839 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
68841         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
68842         builtins, define the macros in the C99 standard.
68843         (FP_FAST_FMAF): Likewise.
68844         (FP_FAST_FMAL): Likewise.
68845         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
68846         multiply/add.
68847         (FP_FAST_FMAF): Likewise.
68849 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
68851         [BZ #3268]
68852         * math/libm-test.inc (fma_test): Some new testcases.
68853         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
68854         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
68855         y and infinite z.  Do multiplication by C already in long double.
68856         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
68857         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
68858         y and infinite z.  Do bitwise or of inexact bit into u.d.
68859         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
68860         * sysdeps/i386/fpu/s_fmaf.S: Removed.
68861         * sysdeps/i386/fpu/s_fma.S: Removed.
68862         * sysdeps/i386/fpu/s_fmal.S: Removed.
68864 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
68866         [BZ #3268]
68867         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
68868         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
68869         computation is not scheduled after fetestexcept.  Fix value
68870         of minimum denormal long double.
68872 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
68874         [BZ #3268]
68875         * math/libm-test.inc (fma_test): Add some more tests.
68876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
68877         correctly.
68879 2010-10-15  Andreas Schwab  <schwab@redhat.com>
68881         * scripts/data/localplt-s390-linux-gnu.data: New file.
68882         * scripts/data/localplt-s390x-linux-gnu.data: New file.
68884 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
68886         [BZ #3268]
68887         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
68888         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
68889         instead of dbl-64.
68890         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
68891         inlines.
68892         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
68893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
68894         if one of x and y is very large and the other is subnormal.
68895         * sysdeps/s390/fpu/s_fmaf.c: New file.
68896         * sysdeps/s390/fpu/s_fma.c: New file.
68897         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
68898         * sysdeps/powerpc/fpu/s_fma.S: New file.
68899         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
68900         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
68901         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
68903 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
68905         [BZ #3268]
68906         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
68907         fma tests.
68908         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
68909         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
68910         * sysdeps/i386/i686/multiarch/s_fma.c: Include
68911         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
68912         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
68913         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
68914         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
68916 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
68918         [BZ #12078]
68919         * posix/regcomp.c (parse_branch): One more memory leak plugged.
68920         * posix/bug-regex31.input: Add test case.
68922 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68924         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
68925         * posix/bug-regex31.input: New file.
68927         [BZ #12078]
68928         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
68929         (parse_sub_exp): Fix last change, use postorder.
68931         * posix/bug-regex31.c: New file.
68932         * posix/Makefile: Add rules to build and run bug-regex31.
68934         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
68936         [BZ #12078]
68937         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
68939         [BZ #12108]
68940         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
68941         to have entries in sys_siglist.
68943         [BZ #12093]
68944         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
68945         be NULL.
68947 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
68949         [BZ #3268]
68950         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
68951         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
68952         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
68953         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
68954         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68955         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
68956         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
68957         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
68958         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
68959         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
68960         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
68961         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
68962         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
68963         * math/ftestexcept.c (fetestexcept): Likewise.
68964         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
68965         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
68966         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
68967         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
68968         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
68969         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
68970         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68972 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68974         [BZ #12107]
68975         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
68976         newline.
68978 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
68980         * string/bug-strstr1.c: New file.
68981         * string/Makefile: Add rules to build and run bug-strstr1.
68983 2010-10-05  Eric Blake  <eblake@redhat.com>
68985         [BZ #12092]
68986         * string/str-two-way.h (two_way_long_needle): Always clear memory
68987         when skipping input due to the shift table.
68989 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
68991         [BZ #12005]
68992         * malloc/mcheck.c: Handle large requests.
68994         [BZ #12077]
68995         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
68996         for strncmp and strncasecmp.
68997         * string/stratcliff.c: Add tests for strcmp and strncmp.
68998         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
69000 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69002         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
69003         __set_fpscr.
69005 2010-09-30  Andreas Jaeger  <aj@suse.de>
69007         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
69008         (CGROUP_SUPER_MAGIC): Define.
69009         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69010         Handle btrfs and cgroup file systems.
69011         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69012         Likewise.
69014 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
69016         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
69017         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
69019 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69021         [BZ #12067]
69022         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
69023         trying to locate the ELF header.
69025 2010-09-27  Andreas Schwab  <schwab@redhat.com>
69027         [BZ #11611]
69028         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
69029         Mask out sign-bit copies when constructing f_fsid.
69031 2010-09-24  Petr Baudis <pasky@suse.cz>
69033         * debug/stack_chk_fail_local.c: Add missing licence exception.
69034         * debug/warning-nop.c: Likewise.
69036 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
69038         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
69039         implementing getdents64 using getdents syscall, set d_type if
69040         __ASSUME_GETDENTS32_D_TYPE.
69042 2010-09-16  Andreas Schwab  <schwab@redhat.com>
69044         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
69045         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
69047 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
69049         [BZ #12037]
69050         * posix/unistd.h: Undo change of feature selection for ftruncate from
69051         2010-01-11.
69053 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
69055         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
69056         detection.
69058 2010-09-20  Andreas Schwab  <schwab@redhat.com>
69060         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
69061         fanotify_mark.
69062         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69064 2010-09-14  Andreas Schwab  <schwab@redhat.com>
69066         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
69067         variables after CHECK_SP call.
69068         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
69070 2010-09-13  Andreas Schwab  <schwab@redhat.com>
69071             Ulrich Drepper  <drepper@redhat.com>
69073         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
69074         re-relocationg ld.so.
69075         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
69076         _dl_init_paths call.
69077         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
69078         here anymore.
69080 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
69082         * resolv/res_init.c (__res_vinit): Count the default server we added.
69084 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
69085             Ulrich Drepper  <drepper@redhat.com>
69087         [BZ #11968]
69088         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69089         (____longjmp_chk): Use %ebx for saving value across system call.
69090         Add unwind info.
69092 2010-09-06  Andreas Schwab  <schwab@redhat.com>
69094         * manual/Makefile: Don't mix pattern rules with normal rules.
69096 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69098         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
69099         operation.
69100         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
69101         * libio/iofopncook.c (_IO_cookie_init): Likewise.
69102         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
69103         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
69104         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69105         Likewise.
69107 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
69109         [BZ #11979]
69110         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
69111         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
69113 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
69115         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
69116         * sysdeps/x86_64/addmul_1.S: Likewise.
69117         * sysdeps/x86_64/lshift.S: Likewise.
69118         * sysdeps/x86_64/mul_1.S: Likewise.
69119         * sysdeps/x86_64/rshift.S: Likewise.
69120         * sysdeps/x86_64/sub_n.S: Likewise.
69121         * sysdeps/x86_64/submul_1.S: Likewise.
69123 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69125         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
69126         Define __sched_param instead of SCHED_* and sched_param when
69127         <bits/sched.h> is included with __need_schedparam defined.
69128         * bits/sched.h [__need_schedparam]
69129         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
69130         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
69131         (__defined_schedparam): Define to 1.
69132         (__sched_param): New structure, identical to sched_param.
69133         (__need_schedparam): Undefine.
69135 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
69137         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
69138         (epoll_create1): Declare.
69140         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
69142 2010-08-31  Andreas Schwab  <schwab@redhat.com>
69144         [BZ #7066]
69145         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
69146         shifting retval into place.
69148 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
69150         * nis/rpcsvc/nis.h: Update copyright notice.
69151         * nis/rpcsvc/nis.x: Likewise.
69152         * nis/rpcsvc/nis_callback.h: Likewise.
69153         * nis/rpcsvc/nis_callback.x: Likewise.
69154         * nis/rpcsvc/nis_object.x: Likewise.
69155         * nis/rpcsvc/nis_tags.h: Likewise.
69156         * nis/rpcsvc/yp.h: Likewise.
69157         * nis/rpcsvc/yp.x: Likewise.
69158         * nis/rpcsvc/ypupd.h: Likewise.
69159         * nis/yp_xdr.c: Likewise.
69160         * nis/ypupdate_xdr.c: Likewise.
69162         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
69163         mainly the body of pmap_getport.  Add parameters to specify timeouts.
69164         (pmap_getport): Use __libc_rpc_getport.
69165         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
69166         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
69167         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
69169 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
69171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
69172         fanotify_mark.
69174 2010-08-27  Roland McGrath  <roland@redhat.com>
69176         * sysdeps/i386/i686/multiarch/Makefile
69177         (CFLAGS-varshift.c): New variable.
69179 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
69181         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
69182         * sysdeps/i386/i686/multiarch/varshift.c: New file.
69184         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
69186         * sysdeps/x86_64/strlen.S: Minimal code improvement.
69188 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
69190         * sysdeps/x86_64/strlen.S: Unroll the loop.
69191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69192         strlen-sse2 strlen-sse2-bsf.
69193         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
69194         __strlen_no_bsf if bit_Slow_BSF is set.
69195         (__strlen_sse42): Removed.
69196         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
69197         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
69199 2010-08-25  Roland McGrath  <roland@redhat.com>
69201         * sysdeps/x86_64/multiarch/varshift.S: File removed.
69202         * sysdeps/x86_64/multiarch/varshift.c: New file.
69203         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
69204         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
69205         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
69206         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69208 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
69210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69211         strlen-sse2 strlen-sse2-bsf.
69212         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
69213         __strlen_sse2_bsf if bit_Slow_BSF is unset.
69214         (__strlen_sse2): Removed.
69215         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
69216         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
69217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69218         bit_Slow_BSF for Atom.
69219         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
69220         (index_Slow_BSF): Define.
69221         (HAS_SLOW_BSF): Define.
69223 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
69225         [BZ #10851]
69226         * resolv/res_init.c (__res_vinit): When no server address at all
69227         is given default to loopback.
69229 2010-08-24  Roland McGrath  <roland@redhat.com>
69231         * configure.in: Remove config-name.h generation.
69232         * configure: Regenerated.
69233         * config-name.in: File removed.
69234         * scripts/config-uname.sh: New file.
69235         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
69236         ($(objdir)config-name.h): New target.
69238         * sunrpc/rpc_parse.h: Avoid nested comment.
69240 2010-08-24  Richard Henderson  <rth@redhat.com>
69241             Ulrich Drepper  <drepper@redhat.com>
69242             H.J. Lu  <hongjiu.lu@intel.com>
69244         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
69245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
69246         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
69247         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
69248         _mm_alignr_epi8 with _mm_loadu_si128.
69249         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69250         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
69251         (__m128i_shift_right): Removed.
69252         * sysdeps/i386/i686/multiarch/varshift.h: New file.
69253         * sysdeps/i386/i686/multiarch/varshift.S: New file.
69254         * sysdeps/x86_64/multiarch/varshift.h: New file.
69255         * sysdeps/x86_64/multiarch/varshift.S: New file.
69257 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
69259         * configure.in: Move assembler checks to before sysdep dir checking.
69261 2010-08-20  Petr Baudis  <pasky@suse.cz>
69263         * LICENSES: Sync the sunrpc license.
69265 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
69267         * sunrpc/auth_des.c: Update copyright notice once again.
69268         * sunrpc/auth_none.c: Likewise.
69269         * sunrpc/auth_unix.c: Likewise.
69270         * sunrpc/authdes_prot.c: Likewise.
69271         * sunrpc/authuxprot.c: Likewise.
69272         * sunrpc/bindrsvprt.c: Likewise.
69273         * sunrpc/clnt_gen.c: Likewise.
69274         * sunrpc/clnt_perr.c: Likewise.
69275         * sunrpc/clnt_raw.c: Likewise.
69276         * sunrpc/clnt_simp.c: Likewise.
69277         * sunrpc/clnt_tcp.c: Likewise.
69278         * sunrpc/clnt_udp.c: Likewise.
69279         * sunrpc/clnt_unix.c: Likewise.
69280         * sunrpc/des_crypt.c: Likewise.
69281         * sunrpc/des_soft.c: Likewise.
69282         * sunrpc/get_myaddr.c: Likewise.
69283         * sunrpc/getrpcport.c: Likewise.
69284         * sunrpc/key_call.c: Likewise.
69285         * sunrpc/key_prot.c: Likewise.
69286         * sunrpc/openchild.c: Likewise.
69287         * sunrpc/pm_getmaps.c: Likewise.
69288         * sunrpc/pm_getport.c: Likewise.
69289         * sunrpc/pmap_clnt.c: Likewise.
69290         * sunrpc/pmap_prot.c: Likewise.
69291         * sunrpc/pmap_prot2.c: Likewise.
69292         * sunrpc/pmap_rmt.c: Likewise.
69293         * sunrpc/rpc/auth.h: Likewise.
69294         * sunrpc/rpc/auth_unix.h: Likewise.
69295         * sunrpc/rpc/clnt.h: Likewise.
69296         * sunrpc/rpc/des_crypt.h: Likewise.
69297         * sunrpc/rpc/key_prot.h: Likewise.
69298         * sunrpc/rpc/netdb.h: Likewise.
69299         * sunrpc/rpc/pmap_clnt.h: Likewise.
69300         * sunrpc/rpc/pmap_prot.h: Likewise.
69301         * sunrpc/rpc/pmap_rmt.h: Likewise.
69302         * sunrpc/rpc/rpc.h: Likewise.
69303         * sunrpc/rpc/rpc_des.h: Likewise.
69304         * sunrpc/rpc/rpc_msg.h: Likewise.
69305         * sunrpc/rpc/svc.h: Likewise.
69306         * sunrpc/rpc/svc_auth.h: Likewise.
69307         * sunrpc/rpc/types.h: Likewise.
69308         * sunrpc/rpc/xdr.h: Likewise.
69309         * sunrpc/rpc_clntout.c: Likewise.
69310         * sunrpc/rpc_cmsg.c: Likewise.
69311         * sunrpc/rpc_common.c: Likewise.
69312         * sunrpc/rpc_cout.c: Likewise.
69313         * sunrpc/rpc_dtable.c: Likewise.
69314         * sunrpc/rpc_hout.c: Likewise.
69315         * sunrpc/rpc_main.c: Likewise.
69316         * sunrpc/rpc_parse.c: Likewise.
69317         * sunrpc/rpc_parse.h: Likewise.
69318         * sunrpc/rpc_prot.c: Likewise.
69319         * sunrpc/rpc_sample.c: Likewise.
69320         * sunrpc/rpc_scan.c: Likewise.
69321         * sunrpc/rpc_scan.h: Likewise.
69322         * sunrpc/rpc_svcout.c: Likewise.
69323         * sunrpc/rpc_tblout.c: Likewise.
69324         * sunrpc/rpc_util.c: Likewise.
69325         * sunrpc/rpc_util.h: Likewise.
69326         * sunrpc/rpcinfo.c: Likewise.
69327         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
69328         * sunrpc/rpcsvc/key_prot.x: Likewise.
69329         * sunrpc/rpcsvc/klm_prot.x: Likewise.
69330         * sunrpc/rpcsvc/mount.x: Likewise.
69331         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
69332         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
69333         * sunrpc/rpcsvc/rex.x: Likewise.
69334         * sunrpc/rpcsvc/rstat.x: Likewise.
69335         * sunrpc/rpcsvc/rusers.x: Likewise.
69336         * sunrpc/rpcsvc/sm_inter.x: Likewise.
69337         * sunrpc/rpcsvc/spray.x: Likewise.
69338         * sunrpc/rpcsvc/yppasswd.x: Likewise.
69339         * sunrpc/rtime.c: Likewise.
69340         * sunrpc/svc.c: Likewise.
69341         * sunrpc/svc_auth.c: Likewise.
69342         * sunrpc/svc_authux.c: Likewise.
69343         * sunrpc/svc_raw.c: Likewise.
69344         * sunrpc/svc_run.c: Likewise.
69345         * sunrpc/svc_simple.c: Likewise.
69346         * sunrpc/svc_tcp.c: Likewise.
69347         * sunrpc/svc_udp.c: Likewise.
69348         * sunrpc/svc_unix.c: Likewise.
69349         * sunrpc/svcauth_des.c: Likewise.
69350         * sunrpc/xcrypt.c: Likewise.
69351         * sunrpc/xdr.c: Likewise.
69352         * sunrpc/xdr_array.c: Likewise.
69353         * sunrpc/xdr_float.c: Likewise.
69354         * sunrpc/xdr_mem.c: Likewise.
69355         * sunrpc/xdr_rec.c: Likewise.
69356         * sunrpc/xdr_ref.c: Likewise.
69357         * sunrpc/xdr_sizeof.c: Likewise.
69358         * sunrpc/xdr_stdio.c: Likewise.
69360         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
69361         handling.
69363 2010-08-19  Andreas Schwab  <schwab@redhat.com>
69365         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
69367 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
69369         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
69370         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
69371         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
69372         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
69373         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
69374         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
69375         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
69376         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
69377         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
69378         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
69379         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
69380         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
69381         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
69382         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
69384 2010-07-26  Anton Blanchard  <anton@samba.org>
69386         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
69387         * malloc/arena.c (heap_trim): Likewise.
69389 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
69391         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
69392         here.  Not...
69393         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
69394         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
69396 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
69398         * sysdeps/i386/elf/Makefile: New file.
69400 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69402         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
69403         from fanotify_init.
69404         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
69405         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69407 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
69409         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
69410         of strncasecmp_l.
69411         * sysdeps/multiarch/strcmp.S: Likewise.
69413 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
69415         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69416         strncase_l-nonascii.
69417         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69418         Add strncase_l-ssse3.
69419         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
69420         * sysdeps/x86_64/strcmp.S: Likewise.
69421         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
69422         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
69423         * sysdeps/x86_64/strncase.S: New file.
69424         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
69425         * sysdeps/x86_64/strncase_l.S: New file.
69426         * string/Makefile (strop-tests): Add strncasecmp.
69427         * string/test-strncasecmp.c: New file.
69429         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
69430         warning.
69432         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
69433         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
69435 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69437         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
69439 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
69441         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
69442         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
69443         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
69445 2010-05-01  Alan Modra  <amodra@gmail.com>
69447         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
69448         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
69449         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
69450         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
69451         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
69452         tidying.  Don't tail-call __sigjmp_save for static lib.
69453         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
69454         save location.
69455         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
69456         (CALL_MCOUNT): Add eh info, and nop after bl.
69457         (TAIL_CALL_SYSCALL_ERROR): New macro.
69458         (PSEUDO_RET): Use it.
69459         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
69460         Correct save location of integer regs and cr.
69461         (_dl_profile_resolve): Correct cr save location.  Delete nops
69462         after bl when SHARED.  Reduce cfi size a little by better
69463         placement of cfi directives.
69464         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
69465         make a stack frame.  Instead use parm save area as a temp.
69466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
69467         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
69468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
69469         Don't make a stack frame for parent, use parm save area.
69470         Increase child stack frame to 112 bytes.  Don't save unused reg,
69471         and adjust reg usage.  Set up cfi on error recovery and
69472         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
69473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
69474         (__makecontext): Add dummy nop after jump to exit.
69475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
69476         Use correct parm save area and cr save, reduce stack frame.
69477         Correct cfi for possible PSEUDO_RET frame setup.
69478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
69479         Branch to local label emitted by PSEUDO_RET rather than
69480         __syscall_error.
69482 2010-08-12  Andreas Schwab  <schwab@redhat.com>
69484         [BZ #11904]
69485         * locale/programs/locale.c (print_assignment): New function.
69486         (show_locale_vars): Use it.
69488 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
69490         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
69491         field.
69492         (struct statfs64): Likewise.
69493         (_STATFS_F_FLAGS): Define.
69494         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
69495         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69496         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
69497         (ST_VALID): Define locally.
69498         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
69499         __statvfs_getflags, use the provided value.
69500         * sysdeps/unix/sysv/linux/kernel-features.h: Define
69501         __ASSUME_STATFS_F_FLAGS.
69503         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
69505         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
69506         Add sys/fanotify.h.
69507         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
69508         fanotify_mask for GLIBC_2.13.
69509         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
69510         fanotify_init and fanotify_mark.
69511         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69512         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
69514         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
69515         Add prlimit.
69516         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
69517         prlimit64 for GLIBC_2.13.
69518         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
69519         prlimit64.
69520         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
69521         syscall.
69522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
69523         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69524         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
69525         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
69526         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
69527         add prlimit alias.
69528         * sysdeps/unix/sysv/linux/prlimit.c: New file.
69530         [BZ #11903]
69531         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
69532         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
69534         * nss/Makefile: Add rules to build and run tst-nss-test1.
69535         * shlib-versions: Add entry for libnss_test1.
69536         * nss/nss_test1.c: New file.
69537         * nss/tst-nss-test1.c: New file.
69539         * nss/nsswitch.c (__nss_database_custom): Define new variable.
69540         (__nss_configure_lookup): Set appropriate entry in
69541         __nss_configure_lookup to true.
69542         * nss/nsswitch.h: Define enum with indeces of databases in
69543         databases and __nss_database_custom arrays.  Declare
69544         __nss_database_custom.
69545         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
69546         to avoid using nscd when custom rules are installed.
69547         * nss/getXXbyYY_r.c: Likewise.
69548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
69550         * nss/nss_files/files-parse.c: Whitespace fixes.
69552 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
69554         [BZ #11883]
69555         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
69556         * posix/fnmatch_loop.c: Likewise.
69558 2010-07-17  Andi Kleen  <ak@linux.intel.com>
69560         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
69561         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
69562         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
69563         * Versions.def [GLIBC_2.13]: Add.
69565 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
69567         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69568         Also fail if tpwd after pwuid call is NULL.
69570 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69572         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
69573         when converting to ms.
69575 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69577         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
69578         EOPNOTSUPP errors with ENOTTY.
69579         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
69580         EOPNOTSUPP errors with ENOTTY.
69582 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
69584         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69585         Add strcasecmp_l-ssse3.
69586         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
69587         strcasecmp.
69588         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
69589         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
69590         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
69592 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
69594         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
69596         * string/Makefile (strop-tests): Add strcasecmp.
69597         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69598         strcasecmp_l-nonascii.
69599         (gen-as-const-headers): Add locale-defines.sym.
69600         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
69601         * sysdeps/x86_64/strcasecmp.S: New file.
69602         * sysdeps/x86_64/strcasecmp_l.S: New file.
69603         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
69604         * sysdeps/x86_64/locale-defines.sym: New file.
69605         * string/test-strcasecmp.c: New file.
69607         * string/test-strcasestr.c: Test both ends of the range of characters.
69608         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
69610 2010-07-29  Roland McGrath  <roland@redhat.com>
69612         [BZ #11856]
69613         * manual/locale.texi (Yes-or-No Questions): Fix example code.
69615 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
69617         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
69618         for ld.so.
69620 2010-07-27  Andreas Schwab  <schwab@redhat.com>
69622         * manual/memory.texi (Malloc Tunable Parameters): Document
69623         M_PERTURB.
69625 2010-07-26  Roland McGrath  <roland@redhat.com>
69627         [BZ #11840]
69628         * configure.in (-fgnu89-inline check): Set and substitute
69629         gnu89_inline, not libc_cv_gnu89_inline.
69630         * configure: Regenerated.
69631         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
69633 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
69635         * string/test-strnlen.c: New file.
69636         * string/Makefile (strop-tests): Add strnlen.
69637         * string/tester.c (test_strnlen): Add a few more test cases.
69638         * string/tst-strlen.c: Better error reporting.
69640         * sysdeps/x86_64/strnlen.S: New file.
69642 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
69644         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
69645         lower-latency instructions.
69647 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
69649         * string/test-strcasestr.c: New file.
69650         * string/test-strstr.c: New file.
69651         * string/Makefile (strop-tests): Add strstr and strcasestr.
69652         * string/str-two-way.h: Don't undefine MAX.
69653         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
69655 2010-07-21  Andreas Schwab  <schwab@redhat.com>
69657         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69658         strcasestr-nonascii.
69659         (CFLAGS-strcasestr-nonascii.c): Define.
69660         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
69661         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
69662         Remove unused attribute.
69664 2010-07-20  Roland McGrath  <roland@redhat.com>
69666         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
69667         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
69668         ld.so.cache was broken.  With it, there is no way to disable dsocaps
69669         like LD_HWCAP_MASK can disable hwcaps.
69671 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69673         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
69675 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
69677         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
69678         call in strcasestr.
69679         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
69680         __strcasestr_sse42_nonascii.
69681         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
69682         strcasestr-nonascii.c.
69683         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
69685 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
69687         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
69688         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
69689         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
69690         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
69692 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
69694         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
69695         fcntl.
69697 2010-07-06  Andreas Schwab  <schwab@redhat.com>
69699         [BZ #11577]
69700         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
69701         dl_signal_cerror.
69703 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
69705         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
69706         _PC_PIPE_BUF using F_GETPIPE_SZ.
69708 2010-07-05  Roland McGrath  <roland@redhat.com>
69710         * manual/arith.texi (Rounding Functions): Fix rint description
69711         implicit in round description.
69713 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
69715         * elf/Makefile: Fix linking for a few tests to make recent linker
69716         happy.
69718 2010-06-30  Andreas Schwab  <schwab@redhat.com>
69720         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69721         $(common-objpfx)libc_nonshared.a.
69723 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
69725         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
69726         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
69727         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
69728         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
69729         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
69730         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
69731         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
69732         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
69733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
69734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
69735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
69736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
69737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
69738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
69739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
69740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
69741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
69742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
69743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
69744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
69745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
69746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
69747         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
69748         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
69749         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
69750         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
69751         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
69752         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
69753         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
69754         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
69755         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
69756         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
69757         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
69758         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
69759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
69760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
69761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
69762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
69763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
69764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
69765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
69766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
69767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
69768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
69769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
69770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
69771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
69772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
69774 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
69776         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
69777         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
69778         * string/memmove.c (memmove): Renamed to ...
69779         (MEMMOVE): ...this.  Default to memmove.
69780         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
69781         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
69782         (END_CHK): Define.
69783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69784         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
69785         mempcpy-ssse3-back memmove-ssse3-back.
69786         * sysdeps/x86_64/multiarch/bcopy.S: New file .
69787         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
69788         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
69789         * sysdeps/x86_64/multiarch/memcpy.S: New file.
69790         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
69791         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
69792         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
69793         * sysdeps/x86_64/multiarch/memmove.c: New file.
69794         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
69795         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
69796         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
69797         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
69798         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
69799         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
69800         Define.
69801         (index_Fast_Copy_Backward): Define.
69802         (HAS_ARCH_FEATURE): Define.
69803         (HAS_FAST_REP_STRING): Define.
69804         (HAS_FAST_COPY_BACKWARD): Define.
69806 2010-06-21  Andreas Schwab  <schwab@redhat.com>
69808         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69809         Restore proper fallback handling.
69811 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
69813         [BZ #11701]
69814         * posix/group_member.c (__group_member): Correct checking loop.
69816         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
69817         OOM in getpwuid_r correctly.  Return error number when the caller
69818         should return, otherwise -1.
69819         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
69820         call returning > 0 value.
69821         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
69823 2010-06-07  Andreas Schwab  <schwab@redhat.com>
69825         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
69826         libc_nonshared.a from targets in modules-names.
69828 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
69830         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
69831         requires it.
69833 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
69835         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
69836         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
69837         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
69838         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
69840 2010-06-02  Andreas Schwab  <schwab@redhat.com>
69842         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
69844 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
69846         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
69847         and F_GETPIPE_SZ.
69848         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69849         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69850         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69851         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69852         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69853         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
69855 2010-06-14  Roland McGrath  <roland@redhat.com>
69857         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
69859 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
69861         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
69862         __REDIRECT followed by __THROW.
69863         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
69864         * posix/getopt.h (getopt): Likewise.
69866 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69868         * hurd/lookup-at.c (__file_name_lookup_at): Accept
69869         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
69870         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
69871         in AT_FLAGS.
69872         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
69873         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
69875 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
69877         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
69879 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
69881         [BZ #11640]
69882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69883         Properly check family and model.
69885 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
69887         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
69889 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
69891         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
69893 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
69895         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
69896         symbol reference.
69898 2010-05-19  Andreas Schwab  <schwab@redhat.com>
69900         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
69901         symbol reference.
69903 2010-05-21  Andreas Schwab  <schwab@redhat.com>
69905         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
69906         and internal_recvmmsg.
69907         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
69908         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
69909         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
69910         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
69912         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
69913         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
69914         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
69916 2010-05-20  Andreas Schwab  <schwab@redhat.com>
69918         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
69920 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
69922         POWER7 optimizations.
69923         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
69924         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
69926 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
69928         * version.h: Update for 2.13 development version.
69930 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
69932         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
69933         exceptions.  Return 0.
69935 2010-05-07  Roland McGrath  <roland@redhat.com>
69937         * elf/ldconfig.c (main): Add a const.
69939 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
69941         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
69942         (args_options): Add no-idn option.
69943         (ahosts_keys_int): Add idn_flags to ai_flags.
69944         (parse_option): Handle 'i' option to clear idn_flags.
69946         * malloc/malloc.c (_int_free): Possible race in the most recently
69947         added check.  Only act on the data if no current modification
69948         happened.
69950 See ChangeLog.17 for earlier changes.